PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 02:55:46 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: PCLINUXOS 2010 LXDE - configure two keyboard layouts and switching [SOLVED]  (Read 1465 times)
MilosK
Guest
« on: May 16, 2010, 06:52:54 AM »

I have updated from PCLINUXOS 2009 to PCLINUXOS 2010 having old machine P2-400 I am using LXDE edition.
I could setup Czech qwerty keyboard (via desktop GUI config) but I do not know how to set up two keyboard layouts (maps) and  configure their switching by simultaneous press of keys ALT+SHIFT in PCLINUXOS2010.

The configuration was done by modification of file /etc/X11/xorg.conf in PCLINUXOS 2009:


Section "InputDevice"
  Identifier "Generic Keyboard"
  Driver "kbd"
  option "CoreKeyboard"
  option "XkbRules" "xorg"
  option "XkbModel" "pc105"
  option "XkbLayout"     "us,cz(qwerty)"
  option "XKbOptions" "grp:alt_shift_toggle,grp:switch,grp_led:scroll"
EndSection


The above mentioned configuration of keyboard no more works in LXDE 2010.
Even, there is no input device section related keyboard in xorg.conf LXDE2010 / its manual addition has no impact.

Please could you point to any documentation related keyboard config in PCLINUXOS 2010 (LXDE - having old machine really do not preffer to install additional SW / manual config is sufficient) //I have even no idea where is the current X keyboard config stored // give me any working example for dual keyboard layout config in PCLINUXOS 2010 LXDE?



Finally, after some googling, I found a solution.
Equivalent parameters are now located in file /etc/sysconfig/keyboard:


XkbModel=pc105
XkbLayout="us,cz(qwerty)"
KEYBOARD=cz_qwerty
XkbOptions="grp:alt_shift_toggle,grp_led:scroll,compose:rwin"
KEYTABLE=cz-lat2



Hopefully, this will help somebody else  Wink.
Logged
uncleV
Guest
« Reply #1 on: May 20, 2010, 02:20:24 AM »

Hi!
I don't understand why didn't you use the "normal" GUI way Configure your computer-->Hardware-->Configure mouse and keyboard and choose there one of the Czech options?

I did it this way w/o problems on my LXDE 2010 for the second kb-layout.

Here I'd like to ask techies:
- how do I choose in LXDE the kb-LED indicating that the second layout is switched on? Now it is "Scroll Lock" and I want it exactly this way but can I change it?
- is it possible to change to the other layout only while a certain key is pressed and how to configure to?
Logged
v_andal
Jr. Member
**
Offline Offline

Posts: 16


« Reply #2 on: November 26, 2010, 03:08:57 AM »

Actually you can change the led by editing the /etc/sysconfig/keyboard file. The option "grp_led:scroll" specifies,
that the ScrollLock shall be used as indicator Smiley

So, I'd like to thank uncleV for the pointer to this file. It is most helpful.
Logged
uncleV
Guest
« Reply #3 on: November 26, 2010, 03:23:59 AM »

Actually you can change the led by editing the /etc/sysconfig/keyboard file. The option "grp_led:scroll" specifies,
that the ScrollLock shall be used as indicator Smiley

So, I'd like to thank uncleV for the pointer to this file. It is most helpful.
Actually MilosK pointed to /etc/sysconfig/keyboard file.

I thank you for explaining the LED-indicator thing. Smiley
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM