On Thu, Jun 21, 2012 at 11:49:10PM +0200, Giuseppe Penone wrote: > I'm running lxde (lubuntu 12.04) and since I need to handle 4 keyboard > layouts and there's no applet allowing this I made it manually this way: > > sudo nano /etc/default/keyboard > > XKBMODEL="pc105" > XKBLAYOUT="it,us,ru,ua" > XKBVARIANT="," > XKBOPTIONS="grp:switch,grp:shift_caps_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"
this translates into setxkbmap -layout "it,us,ru,ua" -variant "," -option ".... " you can run that anytime > this works fine included the keyboard shortcut to switch layout, but I was > wondering if it was possible > somewhere to set this for the logged user only. > actually I'm thinking about writing an applet or an indicator and would > like to be able to avoid the need for > admin rights to add/remove keyboard layouts. if you want it properly set, and remembered, per user, etc. you can either look at xinitrc or, better, extending your desktop environment to handle this. Cheers, Peter _______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com