[LXDE] Keyboard layout not saved on reboot

Forum rules
Before you post please read this

[LXDE] Keyboard layout not saved on reboot

Postby samyboy on Sun Oct 23, 2011 7:14 am

Hi,

I just installed Linux Mint, this is an awesome piece of Linux.

However LXDE is giving me trouble with the keyboard layout.

I've got a swiss french (fr_CH) keyboard an change with lxkeymap.
The layout changes accordingly but on next reboot the layout is en_US again.

This is very annoying. I ran accross this issue with Ubuntu Natty. They've got an open bug about it:
https://bugs.launchpad.net/ubuntu/+sour ... bug/729880

Thanks for your help.

Code: Select all
 $ lsb_release -a
No LSB modules are available.
Distributor ID:   LinuxMint
Description:   Linux Mint 11 LXDE
Release:   11
Codename:   katya
samyboy
Level 1
Level 1
 
Posts: 1
Joined: Sun Oct 23, 2011 6:50 am

Linux Mint is funded by ads and donations.
 

Re: [LXDE] Keyboard layout not saved on reboot

Postby Garvan on Sun Oct 23, 2011 8:59 am

I have no experience of this, but I saw in other threads that this is a known issue, and you need to modify the file ~/.dmrc with a text editor. See http://forums.linuxmint.com/viewtopic.php?f=47&t=83123&p=482067&hilit=dmrc#p482067.

Garvan
Desktop: Dell, Intel Core 2 Duo E7500 @ 2.93Ghz, 2GiB RAM, Linux Mint 13 Maya.
Net-book: SAMSUNG N148-Plus, 2x Intel Atom CPU N450 @1.66Ghz, 1GB RAM, lubuntu 12.04.
User avatar
Garvan
Level 4
Level 4
 
Posts: 273
Joined: Sun May 29, 2011 3:26 am
Location: Cambodia

Re: [LXDE] Keyboard layout not saved on reboot

Postby kelebek333 on Mon Feb 27, 2012 5:59 pm

I solve this problem following.

For autologin.

Run following code with lxtermial.

Code: Select all
sudo gedit /etc/xdg/lxsession/Mint-LXDE/autostart


Add following line on autostart file and save.

Code: Select all
@setxkbmap -layout "your_layout"


I use for turkish f keyboard

Code: Select all
@setxkbmap -layout "tr(f)"



For using LXDM

I change keyboard layout form bottom panel on LXDM.
But layout reset every time on LXDM.
Fix it following.

I run following code on lxterminal for get info from .dmrc

Code: Select all
cat ~/.dmrc


Give me following print.

[Desktop]
Code: Select all
Language=tr_TR
Langlist=tr_TR:en
LCMesstr_TR.UTF-8
Layout=tr   f


I open lxdm.conf file by run following code on lxterminal

Code: Select all
sudo gedit /etc/xdg/mint-lxde/lxdm/lxdm.conf


I find [Input] line on lxdm.conf file and add last line from .dmrc file.

Code: Select all
[Input]
Layout=tr   f


I save lxdm.conf file and logout, not change keyboard layout on LXDM.
kelebek333
Level 1
Level 1
 
Posts: 48
Joined: Sat Jun 25, 2011 11:57 am
Location: Turkey


Return to Other desktops

Who is online

Users browsing this forum: No registered users and 2 guests