Bug#872398: x11-xkb-utils: setxkbmap, when run at startup, has no effect

2017-08-16 Thread Christopher Cramer
Package: x11-xkb-utils
Version: 7.7+3+b1
Severity: normal

This is my .xsession (which is executed by xdm):

xsetroot -solid black
xset -b
xset s 0
xset s off
xset dpms 0 0 0
xset -dpms
xset r rate 250 30
setxkbmap -keycodes evdev -types default -compat 
'basic+misc+iso9995+ledcaps(group_lock)' -symbols 
'pc+us+kh:2+level3(ralt_switch)+ctrl(nocaps)'
xkbset -bell -feedback sticky -twokey latchlock
xkbset exp '=sticky'
ssh-agent &
export _JAVA_AWT_WM_NONREPARENTING=1
exec ratpoison

It all used to work perfectly. But at some point, the setxkbmap command
stopped having any effect when run from the .xsession file. I notice
this immediately after Ratpoison has started because I am used to hitting
the Caps Lock key, intending for it to be remapped as Control, to enter
a Ratpoison command. But instead it acts as Caps Lock. It is as if the
setxkbmap command was never run at all.

However, if I enter that same command manually (in bash, running in
urxvt), it works. The .xsession file is definitely being executed,
because the effects of all the other commands are happening.  I tried
also putting the command into the Ratpoison startup file, .ratpoisonrc,
but it didn't work there either.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.11.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages x11-xkb-utils depends on:
ii  libc62.24-14
ii  libx11-6 2:1.6.4-3
ii  libxaw7  2:1.0.13-1+b2
ii  libxkbfile1  1:1.0.9-2
ii  libxt6   1:1.1.5-1

x11-xkb-utils recommends no packages.

x11-xkb-utils suggests no packages.

-- no debconf information



xorg-server: Changes to 'debian-unstable'

2017-08-16 Thread Timo Aaltonen
 debian/changelog |2 +-
 debian/rules |4 
 2 files changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 4882c259562ea7f36cee599c7165fb3b9cd2fca2
Author: Timo Aaltonen 
Date:   Wed Aug 16 09:49:26 2017 +0300

rules: Drop dh_strip override, dbgsym transition is done.

diff --git a/debian/changelog b/debian/changelog
index 04fd54b..4e5b6b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,7 +5,7 @@ xorg-server (2:1.19.3-3) UNRELEASED; urgency=medium
 (Closes: #868876, LP: #1059947).
 
   [ Timo Aaltonen ]
-  * rules: -dbg is gone, drop it from dh_strip arguments.
+  * rules: Drop dh_strip override, dbgsym transition is done.
 
  -- Sven Joachim   Sat, 22 Jul 2017 16:55:40 +0200
 
diff --git a/debian/rules b/debian/rules
index 67b244f..11f8ff4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -292,7 +292,3 @@ ifeq ($(DEB_HOST_ARCH_OS), linux)
install -d debian/xserver-xorg-core-udeb/lib/udev/rules.d
install -m 644 debian/local/64-xorg-xkb.rules 
debian/xserver-xorg-core-udeb/lib/udev/rules.d
 endif
-
-override_dh_strip:
-   dh_strip -pxserver-xorg-core --dbgsym-migration="xserver-xorg-core-dbg 
(<< 2:1.19.0-3~)"
-   dh_strip -s -Nxserver-xorg-core