[LXDE] Keyboard layout not saved on reboot

Forum rules
Before you post please read how to get help

[LXDE] Keyboard layout not saved on reboot

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


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
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.

Notebook: HP 14 Notebook PC 14-r003TX, i5-4210U @ 1.7 GHz, 8GB RAM, Linux Mint 17.2 (Dual boot with Win 10)
Notebook: DELL latitude E5520, i5-2520M @ 2.50 GHz, 4GB RAM, Linux Mint 17.2
User avatar
Level 4
Level 4
Posts: 292
Joined: Sun May 29, 2011 3:26 am
Location: Lao PDR

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.

Code: Select all
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
Layout=tr   f

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

Return to Others

Who is online

Users browsing this forum: No registered users and 4 guests