xmodmap modifications get reset once and a while

Bug #1084451 reported by Björn Tillenius on 2012-11-29
This bug affects 4 people
Affects Status Importance Assigned to Milestone
indicator-keyboard (Ubuntu)

Bug Description

I change my keyboard layout using and .Xmodmap file. First of all, after upgrading to quantal,
the changes were no longer applied when logging in with lightdm, so I have to manually run
xmodmap ~/.Xmodmap in a termina.. This might be related to lightdm, but I suspect not, since
also, once in a while being logged in for a long time, the keyboard layout changes are completely
gone, and I have to rerun xmodmap ~/.Xmodmap again.

I haven't yet found a reliable way of reproducing it, apart from that it usually happens a few
times each day.

I don't know whether this bug is related to unity, but if you give me some hints on how
to find out where the bug is, I'd be happy to investigate.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: unity 6.10.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,gnomecompat,snap,regex,mousepoll,resize,vpswitch,imgpng,place,resizeinfo,move,animation,grid,workarounds,wall,unitymtgrabhandles,expo,session,fade,ezoom,scale,unityshell]
Date: Thu Nov 29 11:50:04 2012
MarkForUpload: True
 PATH=(custom, no user)
SourcePackage: unity
UpgradeStatus: Upgraded to quantal on 2012-09-18 (71 days ago)

Björn Tillenius (bjornt) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
hamen (hamen) wrote :

This solved for me:


I edited the file which on my machine was found at:

and changed the 'never_modify_config' option to true. i then 'kill -9'
the xfce4-xkb-plugin process which respawned and reloaded the conf file.

Vulpes (business-relations-kr) wrote :

I am on 14.04, this happens to me every time I switch input between English and Korean (Hangul).

This happens no matter which keyboard layout I use for English input. I've tried English(US), Korean, and Korean (101/104 Key Compatible) from the Text Entry Settings and in all scenarios, xmodmap setting was reset when I switched to and from Korean (Hangul)

Changed in unity:
status: New → Confirmed
alexeiz (alexeiz) wrote :

Still reproduces on 16.04. When I change the language, xmodmap gets reset.

Andrea Azzarone (azzar1) on 2016-08-13
no longer affects: unity
no longer affects: unity (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers