Great, thank you very much.<br>Cheers,<br>Giuseppe.<br><br><br><br><div class="gmail_quote">On Fri, Jun 22, 2012 at 2:07 AM, Peter Hutterer <span dir="ltr"><<a href="mailto:peter.hutterer@who-t.net" target="_blank">peter.hutterer@who-t.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, Jun 21, 2012 at 11:49:10PM +0200, Giuseppe Penone wrote:<br>
> I'm running lxde (lubuntu 12.04) and since I need to handle 4 keyboard<br>
> layouts and there's no applet allowing this I made it manually this way:<br>
><br>
> sudo nano /etc/default/keyboard<br>
><br>
> XKBMODEL="pc105"<br>
> XKBLAYOUT="it,us,ru,ua"<br>
> XKBVARIANT=","<br>
> XKBOPTIONS="grp:switch,grp:shift_caps_toggle,terminate:ctrl_alt_bksp,grp_led:scroll"<br>
<br>
</div>this translates into<br>
setxkbmap -layout "it,us,ru,ua" -variant "," -option ".... "<br>
you can run that anytime<br>
<div class="im"><br>
> this works fine included the keyboard shortcut to switch layout, but I was<br>
> wondering if it was possible<br>
> somewhere to set this for the logged user only.<br>
> actually I'm thinking about writing an applet or an indicator and would<br>
> like to be able to avoid the need for<br>
> admin rights to add/remove keyboard layouts.<br>
<br>
</div>if you want it properly set, and remembered, per user, etc. you can either<br>
look at xinitrc or, better, extending your desktop environment to handle<br>
this.<br>
<br>
Cheers,<br>
Peter<br>
</blockquote></div><br>