← Back to team overview

desktop-packages team mailing list archive

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

 

You are right. And though you don't have to change all of the 273 files
in there, it would be desireable for there to exist a user-level change
like was the case with .Xmodmap. I've seen a few explanations on the web
as to why Canonical would have wanted to break the old behavior, but
I'm still not sure why.

In any case, you don't have to change all of the 273 files. In most
cases, not even one. You can see a list of the already coded tweaks on
`/usr/share/X11/xkb/rules/evdev.lst` and add them. I managed to
permanently add the `grp:shifts_toggle`, `terminate:ctrl_alt_bksp` and
`caps:swapescape` tweaks (you can grep the the file `evdev.lst` to see a
more verbose description of what they do) by issuing the following
command:

`gsettings set org.gnome.desktop.input-sources xkb-options
"['grp:shifts_toggle', 'terminate:ctrl_alt_bksp', 'caps:swapescape']"`

Best,
Rafa

On Sun, Mar 01, 2015 at 11:03:07AM -0000, HaraldK wrote:
> Well,
> 
> % find /usr/share/X11/xkb/ -type f|wc -l
> 273
> 
> there are 273 files in this folder a I would definitively need a whole
> tutorial to change keyboard settings. My hunch is that changing xkb is a
> developer's job, while .Xmodmap is just great to change these one or two
> odd keys on the keyboard.
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1243642
> 
> Title:
>   .Xmodmap not automatically loaded on start
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions

-- 
You received this bug notification because you are a member of Desktop
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