On Mon, 29 Mar 2010, Carlos R. Mafra wrote:

 > > it is defined in wconfig.h if you --enable-modelock.
 > 
 > I tried that before removing it because I wanted to see what it 
 > would do, but no extra button appeared in the titlebar.
 > The only difference I saw was the added option "dont show language
 > button" on Advanced Options menu. Hmm...

i have the following in my xorg.conf:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us,hu"
        Option          "XkbVariant"    ",qwerty"
        Option          "XkbOptions"    "grp:alt_shift_toggle"
EndSection

its the xkb stuff that matters; i think the same can be achieved by 
running `setxkbmap us,hu ,qwerty grp:alt_shift_toggle' if you want to 
try it quickly.

this, together with --enable-modelock lets me switch between us and hu 
layouts by alt-shift (left-alt right-shift, i don't think the other 
combinations work), and this is indicated on the title bar by a button 
alternating between an E-ish shape and a heart-ish shape (you need to 
yes show the language button for that).

the nice thing is that it's on a per-window basis, so i can keep my 
natural environment of us layout for most of the windows, and switch 
to hu for windows (usually the browser) that need it, when they need 
it.

i figure this is an extremely nice feature for old farts like me, who 
feel at home with the us layout, but sometimes have to type in their 
native character sets.

-- 
[-]

mkdir /nonexistent


-- 
To unsubscribe, send mail to [email protected].

Reply via email to