This is a discussion on HOWTO set national keyboard per account? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Please tell me how to set national keboard layout so that it lasts in the users account scope only. ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Please tell me how to set national keboard layout so that it lasts in the users account scope only. I mean one user logs in his/her account and he/she has his/her national characters input supported. But when someone else logs in a different account it is not so, or if someone wishes it might be completely different national language on the another account... I tried out to put a line 'xmodmap ~/xmodmap.my_language' into the file: ~/.xinitrc ant it *works* ! *But* it DOES NOT ALLOW to switch a console, a key combination of type e.g. 'Ctrl+Alt+F3' does not work any more (while other keys still works well in combination with Ctr+Alt, e.g. 'Ctrl+Alt+BackSpace' etc. is still OK, just the keys F1-F12 are excluded, why?) I have come into a possesion of the particular "modemap" file 'xmodmap.pl' absolutely accidently, I have no knowledge of the format and the rules applied to the content of such files nor I have any idea how to find other their instances... Please help! -- S |
| |||
| Someone wrote: > Please tell me how to set national keboard layout so that it lasts in the > users account scope only. The keyboard itself doesn't change does it? If you *do* have multiple keyboards with different layouts, just configure them both. You'll be able to use them both at the same time (although that's not very interesting Any setting regarding keyboard layout (in xorg.conf and using /etc/conf.d/keymaps) is specific to the system you are sitting at. It stays when you log on a different system through your system (like through SSH or VNC). |
| |||
| Sven Vermeulen wrote: > The keyboard itself doesn't change does it? Yes, of course I meant there is only 1 *physical* keyboard but I want its layouts to be "dynamicaly" changed and bound to the specific accounts... > Any setting regarding keyboard layout (in xorg.conf and using > /etc/conf.d/keymaps) is specific to the system you are sitting at. So, your answer is "no"? So what about 'xmodmap' command? -- S |
| |||
| Sven Vermeulen wrote: > > The keyboard itself doesn't change does it? > > Yes, of course I meant there is only 1 *physical* keyboard > but I want its layouts to be "dynamicaly" changed and bound to the specific > accounts... > > Any setting regarding keyboard layout (in xorg.conf and using > > /etc/conf.d/keymaps) is specific to the system you are sitting at. > > So, your answer is "no"? So what about 'xmodmap' command? It is possible, sure, but it's just a weird request. You can use xmodmap to alter keybindings. You can also use "xsetkb" (the command) to switch between layouts. In some graphical environments, you can even select a multitude of keyboard layouts. |
| |||
| Sven Vermeulen wrote: > It is possible, sure, but it's just a weird request. You can use > xmodmap to alter keybindings. Why "wierd"? Imagine 2 persons of different nationalities living at the same home ;-) -- S |
| |||
| S <s7s.imagine@op.pl> wrote: > Sven Vermeulen wrote: > >> It is possible, sure, but it's just a weird request. You can use >> xmodmap to alter keybindings. > > Why "wierd"? > Imagine 2 persons of different nationalities living at the same home Or, like me, a person that grew up in one country and lives in another. I still communicate with people back home, and I then need a different keyboard layout with the extra letters. It's a shame to say, but Windows has this right. I can switch between locales simply by pressing LeftAlt+LeftShift, and even have different layouts for different windows. That's *useful*. Regards, -- *Art |
| ||||
| Arthur Hagen wrote: > S wrote: > >>Why "wierd"? >>Imagine 2 persons of different nationalities living at the same home > > Or, like me, a person that grew up in one country and lives in another. > I still communicate with people back home, and I then need a different > keyboard layout with the extra letters. > > It's a shame to say, but Windows has this right. I can switch between > locales simply by pressing LeftAlt+LeftShift, and even have different > layouts for different windows. That's *useful*. X has had this for years (though perhaps not the keyboard layout per window - that's just confusing IMO). <http://www.xfree86.org/current/XKB-Config.pdf> -- Ben M. |