xmodmap settings are voided after a sleep
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I use Macbook Air. To switch Command and Control buttons, I created ~/.Xmodmap and added the following command to the startup applications list:
xmodmap /home/nnrowan/
This works fine until I close my laptop's lid and open it again. After waking up, my xmodmap settings do not work anymore. More importantly, it does not happen every time. Longer sleeps seem to be more likely to affect the settings of xmodmap.
Here is the contents of .Xmodmap:
clear control
clear mod4
keycode 105 =
keycode 206 =
keycode 133 = Control_L NoSymbol Control_L
keycode 134 = Control_R NoSymbol Control_R
keycode 37 = Super_L NoSymbol Super_L
add control = Control_L
add control = Control_R
add mod4 = Super_L
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: compiz-core 1:0.9.11.
ProcVersionSign
Uname: Linux 3.13.0-40-generic x86_64
NonfreeKernelMo
.tmp.unity.
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
Date: Tue Dec 2 14:51:26 2014
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus:
bcmwl, 6.30.223.141+bdcom, 3.13.0-40-generic, x86_64: installed
mba6xbl, 0.0.1, 3.12.7-
mba6xbl, 0.0.1, 3.13.0-40-generic, x86_64: installed
ExecutablePath: /usr/bin/compiz
GraphicsCard:
Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a26] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. Device [106b:011a]
InstallationDate: Installed on 2014-12-01 (1 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 05ac:0290 Apple, Inc.
Bus 001 Device 006: ID 05ac:828f Apple, Inc.
Bus 001 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Apple Inc. MacBookAir6,1
ProcEnviron:
LANGUAGE=en_US
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
XorgConf:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "mba6x_backlight"
EndSection
dmi.bios.date: 08/29/2014
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBA61.88Z.
dmi.board.
dmi.board.name: Mac-35C1E88140C
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookAir6,1
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookAir6,1
dmi.product.
dmi.sys.vendor: Apple Inc.
version.compiz: compiz 1:0.9.11.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.52-1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Tue Dec 2 13:36:19 2014
xserver.configfile: /etc/X11/xorg.conf
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
product id 40179
vendor APP
xserver.version: 2:1.15.1-0ubuntu2.1