You are not logged in.
Pages: 1
Topic closed
Hi,
I can't find any definitive how-tos on the subject. I followed some Google and Wiki suggestions, unsuccessfully:
/etc/hal/fdi/policy/10-keymap.fdi:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">base</merge>
<!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<merge key="input.xkb.model" type="string">keyboard</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.xkb.model" type="string">evdev</merge>
</match>
<merge key="input.xkb.layout" type="string">us,ru</merge>
<merge key="input.xkb.variant" type="string" />
<merge key="input.xkb.options" type="string">grp:caps_toggle</merge>
</match>
</device>
</deviceinfo>
/etc/xdg/lxsession/LXDE/autostart:
@xscreensaver -no-splash
@lxpanel --profile LXDE
@pcmanfm -d
@setxkbmap -model evdev -layout us,ru -variant,
I want Russian and US layouts, switch by CapsLock .
Keyboard Layout Switcher won't react and doesn't show any layout but US.
Any suggestions?
Last edited by Llama (2010-03-08 15:54:05)
Offline
Change to
/etc/xdg/lxsession/LXDE/autostart:
@xscreensaver -no-splash
@lxpanel --profile LXDE
@pcmanfm -d
@setxkbmap -model evdev -layout us,ru -variant , -option -option grp:caps_toggle
seems to be adequate...
Offline
Great stuff - I was farting around with /etc/rc.local, .X* et al, but this did the trick - thanks
Perhaps you would like to mark it as solved so as to help others?
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Hi all,
For me, this did not work. But following the instructions in the LXDE wiki did.
Just in case someone is in the same σιτυατιον.
: )
Offline
This thread is 3 years old, no wonder it might not work.
Have you read the wiki: https://wiki.archlinux.org/index.php/LX … ard_layout ?
With regard to what the LXDE wiki suggests, putting X-specific stuff like setxkbmap in ~/.bashrc is a weird idea. ~/.xinitrc is a much better place for it.
Edit: In case anyone wanders what does 'σιτυατιον' mean - it means 'situation'.
Last edited by karol (2013-09-26 18:39:23)
Offline
Welcome to the forums hajate. Please take a look at the Forum Etiquette, particularly the section on old threads / necro-bumping. Thanks.
Closing.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1
Topic closed