Bug#518183: stumpwm: Doesn't honour keyboard settings in xorg.conf

Antony Gelberg antony.gelberg at wayforth.com
Wed Mar 4 16:59:15 UTC 2009

Package: stumpwm
Version: 1:20080721-2
Severity: normal

I'm just trying stumpwm for the first time, and it seems to ignore my Dvorak
keyboard setting in xorg.conf, and keyboard repeat on which isn't explicitly
set, but is the default in all other window managers.  My workaround is in my
.stumpwmrc, but I do believe this is a bug.

I have attached both .stumpwmrc and xorg.conf.

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages stumpwm depends on:
ii  cl-ppcre                    1.3.2-2      Portable Regular Express Library f
ii  clisp                       1:2.44.1-4.1 GNU CLISP, a Common Lisp implement
ii  common-lisp-controller      6.17         Common Lisp source and compiler ma

stumpwm recommends no packages.

Versions of packages stumpwm suggests:
ii  elinks [www-browser]       0.11.4-3      advanced text-mode WWW browser
ii  emacs22-gtk [info-browser] 22.2+2-5      The GNU Emacs editor (with GTK use
ii  iceweasel [www-browser]    3.0.6-1       lightweight web browser based on M
ii  info [info-browser]        4.11.dfsg.1-4 Standalone GNU Info documentation 
ii  lynx-cur [www-browser]     2.8.7dev9-2.1 Text-mode WWW Browser with NLS sup
ii  menu                       2.1.41        generates programs menu for all me
pn  rlwrap                     <none>        (no description available)
ii  rxvt-unicode [x-terminal-e 9.05-1+lenny1 RXVT-like terminal emulator with U
pn  slime                      <none>        (no description available)
ii  x11-utils                  7.3+2+nmu1    X11 utilities
ii  xterm [x-terminal-emulator 235-2         X terminal emulator

-- no debconf information
-------------- next part --------------
;;; -*- lisp -*-
;;; #Date#: Thu Aug 24 13:11:02 2006

(in-package :stumpwm)

(stumpwm:run-shell-command "setxkbmap dvorak") 
(stumpwm:run-shell-command "xset r") 

;; Debian code
(load "/usr/share/common-lisp/source/stumpwm/contrib/cpu.lisp")
(load "/usr/share/common-lisp/source/stumpwm/contrib/surfraw.lisp")

;; Turn on the modeline
(if (not (head-mode-line (current-head)))
     (toggle-mode-line (current-screen) (current-head)))

;; Show the time in the modeline
(setf *screen-mode-line-format*
      (list '(:eval (run-shell-command "date '+%R, %F %a'|tr -d [:cntrl:]" t))" | [^B%n^b] %W"))

;; Code by Male
;; Display the keysequence in progress
(defun key-press-hook (key key-seq cmd)
  (declare (ignore key))
  (unless (eq *top-map* *resize-map*)
    (let ((*message-window-gravity* :bottom-right))
      (message "Key sequence: ~A" (print-key-seq (reverse key-seq))))
    (when (stringp cmd)
      ;; Give 'em time to read it.
      (sleep 0.5))))

(defmacro replace-hook (hook fn)
 `(remove-hook ,hook ,fn)
 `(add-hook ,hook ,fn))

(replace-hook *key-press-hook* 'key-press-hook)

-------------- next part --------------
#Section "Device"
#	Identifier	"ATI Technologies Inc Mobility Radeon HD 3600 Series"
#	Driver		"fglrx"	
#	Option "UseEdidFreqs" "True"

Section "Device"
	Identifier      "ATI Technologies Inc Mobility Radeon HD 3600 Series"
	Driver		"radeonhd"
	Option		"Monitor-DVI-I_1/digital" "wide"
	Option		"Monitor-DVI-I_2/digital" "full"

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc102"
	Option		"XkbLayout"	"dvorak,il,gb"
	#Option "XKbOptions" "grp:alt_shift_toggle"

Section "Monitor"
        Identifier      "full"
	# 1600x1200 @ 60.00 Hz (GTF) hsync: 74.52 kHz; pclk: 160.96 MHz
	Modeline "1600x1200_60.00"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync
	Option		"PreferredMode"	"1600x1200_60.00"

Section "Monitor"
	Identifier 	"wide"
	# 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
	Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
	Option		"PreferredMode"	"1680x1050_60.00"
#	Option		"RightOf"	"full"

Section "Screen"
#	DefaultDepth	24
	Device		"ATI Technologies Inc Mobility Radeon HD 3600 Series"
	Identifier	"Philips"
	SubSection	"Display"
#		Depth	24
#		Modes	"1680x1050"
		Virtual 3280 1200

More information about the pkg-common-lisp-devel mailing list