Unix Technical Forum

HOWTO set national keyboard per account?

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. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 10:29 AM
S
 
Posts: n/a
Default HOWTO set national keyboard per account?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 10:29 AM
Sven Vermeulen
 
Posts: n/a
Default Re: HOWTO set national keyboard per account?

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).

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 10:29 AM
S
 
Posts: n/a
Default Re: HOWTO set national keyboard per account?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 10:29 AM
Sven Vermeulen
 
Posts: n/a
Default Re: HOWTO set national keyboard per account?

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 10:30 AM
S
 
Posts: n/a
Default Re: HOWTO set national keyboard per account?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 10:30 AM
Arthur Hagen
 
Posts: n/a
Default Re: HOWTO set national keyboard per account?

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 10:30 AM
Ben Measures
 
Posts: n/a
Default Re: HOWTO set national keyboard per account?

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:19 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com