SOLVED! install other keyboard layouts in LXDE

Forum rules
Before you post please read how to get help
ccc
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

SOLVED! install other keyboard layouts in LXDE

Postby ccc » Fri Mar 23, 2012 5:36 pm

hi

Howto install other keyboard layouts in LXDE, so I can change to each country, that I want?
BTW I need for sure US, DE and CH layout.
Last edited by ccc on Tue Sep 25, 2012 4:26 pm, edited 1 time in total.

seppalta
Level 4
Level 4
Posts: 388
Joined: Wed Jun 08, 2011 12:08 pm

Re: install other keyboard layouts in LXDE

Postby seppalta » Fri Mar 23, 2012 6:50 pm


ccc
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

Re: install other keyboard layouts in LXDE

Postby ccc » Sat May 19, 2012 11:30 am

Code: Select all

To add the functionality of multiple keyboards, first add (as root) to the autostart file (see Section 16) your language choices, for example, for US and French, add
   @setxkbmap -layout "us,fr" .

Thx a lot, but should I add this entry:

Code: Select all

 @setxkbmap -layout "us,de,ch"
in /etc/xdg/lxsession/lubuntu/autostart and that's it?

seppalta
Level 4
Level 4
Posts: 388
Joined: Wed Jun 08, 2011 12:08 pm

Re: install other keyboard layouts in LXDE

Postby seppalta » Sat May 19, 2012 12:18 pm

"To finalize the procedure, right click a panel (taskbar) and add Keyboard Layout Switcher (see Section 4). The flag of the default keyboard country will appear on the panel. When clicked the keyboard will change and the icon should display a new flag."

User avatar
goetzkluge
Level 2
Level 2
Posts: 80
Joined: Thu Nov 15, 2007 9:41 am
Location: Germany
Contact:

Re: install other keyboard layouts in LXDE

Postby goetzkluge » Thu May 24, 2012 6:06 am

ccc wrote:

Code: Select all

To add the functionality of multiple keyboards, first add (as root) to the autostart file (see Section 16) your language choices, for example, for US and French, add
   @setxkbmap -layout "us,fr" .

Thx a lot, but should I add this entry:

Code: Select all

 @setxkbmap -layout "us,de,ch"
in /etc/xdg/lxsession/lubuntu/autostart and that's it?


Thank you. That helped me to enable in LXDE switching between
- us
- us intl
- de
.

Code: Select all

@setxkbmap -layout "us,us,de" -variant ",altgr-intl,"
in /etc/xdg/lxsession/Mint-LXDE/autoconf works (Mint LXDE 12).

(In the task bar, the keyboard switcher display unfortunately doesn't indicate the difference between us and us-intl, but that is a minor issue.)

Mihujoy
Level 1
Level 1
Posts: 6
Joined: Sun Apr 08, 2012 12:08 pm

Re: install other keyboard layouts in LXDE

Postby Mihujoy » Fri May 25, 2012 12:28 pm

Hello, I have done the same but it seems each time I so a restart it has only US keyboard. Is there something else I need to do?

User avatar
goetzkluge
Level 2
Level 2
Posts: 80
Joined: Thu Nov 15, 2007 9:41 am
Location: Germany
Contact:

Re: install other keyboard layouts in LXDE

Postby goetzkluge » Sat May 26, 2012 5:39 am

Mihujoy wrote:Hello, I have done the same but it seems each time I so a restart it has only US keyboard. Is there something else I need to do?


After it worked initially, I now have the same problem as described by you.
There seem to be many places where keyboard settings are made by different applications.


Best regards frrom Munich
Goetz

ccc
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

Re: install other keyboard layouts in LXDE

Postby ccc » Mon Jun 11, 2012 7:36 am

I changed in /etc/default/keyboard:

Code: Select all

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="us,de,ch"
XKBVARIANT="nodeadkeys"
XKBOPTIONS=""

BACKSPACE="guess"
and now it seems to work.

User avatar
goetzkluge
Level 2
Level 2
Posts: 80
Joined: Thu Nov 15, 2007 9:41 am
Location: Germany
Contact:

倉頡/注音鍵盤 (Keyboard (Taiwan))

Postby goetzkluge » Wed Jun 13, 2012 2:50 pm

Thank you, ccc: I'll try that out. Strangely presently my choices (US-English, US-English international, German) sometimes worke and sometimes don't work than it's (US-English, US-English, German). There also may be a conflict with SCIM (Chinese for my wife, Japanese for me). And there surely will be a conlict with IBUS and GCIN (yet not as good as SCIM, but SCIM hasn't upstrem support anymore). As I have no time for experiments, I use the German keyboard for German and probably later will try out Mageia and check, whether they continue the excellent multi language support which their "ancestors" had in the past.

My preferred keyboard has a Chinese (Taiwan) keyboard layout, a US keyboard with Zhuyin, Cangjie and Dayi key labels (倉頡/注音鍵盤).

ccc
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

Re: SOLVED! install other keyboard layouts in LXDE

Postby ccc » Sat Jul 06, 2013 1:06 pm

Which layout can I use for british keyboard in LXDE?

Code: Select all

cat /etc/default/keyboards:

XKBMODEL="pc105"
XKBLAYOUT="gb"
XKBVARIANT="nodeadkeys"
XKBOPTIONS=""

BACKSPACE="guess"


If I use Keyboard Layout Switcher with gb then I don't get british image displayed.

In /usr/share/lxpanel/images/xkb-flags gb.png doesn't exist, I have only uk.png.


Return to “Others”

Who is online

Users browsing this forum: No registered users and 2 guests