← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1243642] Re: .Xmodmap not automatically loaded on start

 

Yes, different. Editing those system-level files affects keyboard 
mapping for ALL users. But this bug is about .Xmodmap, which is 
per-user. My post noted that even xkb maps are lost on suspend/sleep.

Converting .Xmodmap files to xkb is straightforward. After manually 
loading the desired .Xmodmap file, then:

[[ -d "$HOME/.xkb" ]] || mkdir $HOME/.xkb
xkbcomp $DISPLAY $HOME/.xkb/xkb-map

Then edit $HOME/.xkb/xkb-map, which is fairly intuitive, if needed. 
Next, since the file won't load automatically no matter what, I did:

echo 'xkbcomp $HOME/.xkb/xkb-map $DISPLAY' >> ~/.bashrc

This way, at least the map can be loaded by just popping open a 
terminal. (Remove the 'xmodmap .Xmodmap' line in .bashrc, if it was there.)

On single-head, multi-user systems where everyone doesn't use the same 
keyboard map, instead of just being able to switch users, it would be 
necessary to change configuration and restart (if control is only 
system-wide). Completely unacceptable. This bug really needs fixing.


On 03/01/2015 12:03 AM, Rafael Nonato wrote:
> I don't think we are talking about the same thing when we talk of XKB. To
> clarify what I am talking about, I meant editing the files under
> /usr/share/X11/xkb/
>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1243642

Title:
  .Xmodmap not automatically loaded on start

Status in xorg package in Ubuntu:
  Confirmed

Bug description:
  I'm using a ~/.Xmodmap file to define two keycode mappings.

  13.10 doesn't seem to automatically load this file any more.
  13.04 did. (same file, same laptop)

  manual execution of "xmodmap ~/.Xmodmap" works on 13.10!
  That means I'm e.g. able to use this key in a terminal or in geany.

  I discovered, that by switching the keyboard layouts using "gnome-
  control-center region layouts" the mappings of the "xmodmap
  ~/.Xmodmap" will be lost again. Then another manual execution of
  "xmodmap ~/.Xmodmap" has to be executed and it works again.

  Perhaps the ~/.Xmodmap is loaded and lost by the the gnome-control-
  center () later.

  Sorry, I can't figure out which packet this bug has to be asigned to.
  By using apport-bug "xorg" was choosen, but it could be "xorg-server"
  or "gnome-control-center", also.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: xorg 1:7.7+1ubuntu6
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: amd64
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  Date: Wed Oct 23 12:05:11 2013
  DistUpgraded: Fresh install
  DistroCodename: saucy
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 09) (prog-if 00 [VGA controller])
     Subsystem: Acer Incorporated [ALI] Device [1025:013c]
     Subsystem: Acer Incorporated [ALI] Device [1025:013c]
  InstallationDate: Installed on 2013-10-18 (4 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MachineType: Acer Extensa 5630
  MarkForUpload: True
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-12-generic root=/dev/mapper/vg01-root ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/11/2009
  dmi.bios.vendor: Phoenix Technologies LTD
  dmi.bios.version: V1.34
  dmi.board.name: Homa
  dmi.board.vendor: Acer
  dmi.board.version: Rev
  dmi.chassis.type: 10
  dmi.chassis.vendor: Acer
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.34:bd08/11/2009:svnAcer:pnExtensa5630:pvr0100:rvnAcer:rnHoma:rvrRev:cvnAcer:ct10:cvrN/A:
  dmi.product.name: Extensa 5630
  dmi.product.version: 0100
  dmi.sys.vendor: Acer
  version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.46-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 9.2.1-1ubuntu3
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 9.2.1-1ubuntu3
  version.xserver-xorg-core: xserver-xorg-core 2:1.14.3-3ubuntu2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.904-0ubuntu2
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1
  xserver.bootTime: Wed Oct 23 11:15:16 2013
  xserver.configfile: default
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.outputs:
   product id                                5459 
   vendor                                     CMO
  xserver.version: 2:1.14.3-3ubuntu2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions


References