Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-15-2014, 01:45 AM
|
#1
|
Member
Registered: Oct 2011
Location: Russia
Distribution: Debian 11, amd64, KDE
Posts: 43
Rep:
|
Switching the keyboard layout on window switch
I'd like to have a particular keyboard layout activated every time I switch a window (or an application). So that I don't have to look at the layout icon to know the current layout.
I can set a hotkey for a particular layout switch in KDE. Still, I have to activate this hotkey somehow. How can it be done?
Last edited by Lixt; 09-15-2014 at 05:50 AM.
|
|
|
09-15-2014, 12:23 PM
|
#2
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,243
|
Quote:
Originally Posted by Lixt
I'd like to have a particular keyboard layout activated every time I switch a window (or an application).
|
I'm not quite sure what you want to do here. Do you mean that you want to have one application using Latin and another Cyrillic by default? If you do, then it can't be done, as far as I know.
What you can do with multiple drivers is chose whether changing a keyboard affects (a) everything, (b) only the current program, or (c) only the current window.
|
|
|
09-15-2014, 01:08 PM
|
#3
|
Member
Registered: Oct 2011
Location: Russia
Distribution: Debian 11, amd64, KDE
Posts: 43
Original Poster
Rep:
|
DavidMcCann, no I'd like the Latin layout to be activated on every window (or app) switch. So that I knew that if I swith a window the layout would be Latin and I don't have to look at the tray icon to check the layout. I think it could save me some time.
|
|
|
09-15-2014, 01:27 PM
|
#4
|
Member
Registered: Oct 2011
Location: Russia
Distribution: Debian 11, amd64, KDE
Posts: 43
Original Poster
Rep:
|
The point is, pressing a key to shift to Cyrillic layout (if needed) should be a simpler task then checking the current layout in the tray (because I often forget what the current layout is).
|
|
|
09-16-2014, 10:25 AM
|
#5
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,243
|
Then what you need is Latin set as default and what I called option (c). That way, even if you've just switched to Cyrillic, the next program started (or even a new window in the same program) will revert to Latin.
|
|
|
09-16-2014, 10:40 AM
|
#6
|
Member
Registered: Oct 2011
Location: Russia
Distribution: Debian 11, amd64, KDE
Posts: 43
Original Poster
Rep:
|
I'm sorry, I don't get it. Should the installation of another keyboard driver solve the problem?
I guess there should be a software that is able to send a key combination every time the window in focus switches. But I'm still to find it's name.
|
|
|
09-17-2014, 10:47 AM
|
#7
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,243
|
Quote:
Originally Posted by Lixt
I'm sorry, I don't get it.
|
The same here! It seems that either I'm not understanding you, or you're not understanding me, or both. 
|
|
|
09-17-2014, 11:14 AM
|
#8
|
Member
Registered: Oct 2011
Location: Russia
Distribution: Debian 11, amd64, KDE
Posts: 43
Original Poster
Rep:
|
Quote:
Originally Posted by DavidMcCann
The same here! It seems that either I'm not understanding you, or you're not understanding me, or both. 
|
OK, I'll try to put it in other words. KDE can switch to the default layout on pressing say Left Ctrl + Left Meta combination. Now, I only need a software which can send this combination ( Left Ctrl + Left Meta) every time a window in focus is changed.
Last edited by Lixt; 09-17-2014 at 11:15 AM.
|
|
|
09-18-2014, 10:37 AM
|
#9
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,243
|
I don't think that such a program would be easy to write, as it would have to keep track of the activities of KDE. I've just searched SourceForge and I can't see anything like it.
|
|
|
All times are GMT -5. The time now is 08:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|