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

2009-05-08 Thread Luca Capello
Hi Antony!

On Wed, 04 Mar 2009 17:59:15 +0100, Antony Gelberg wrote:
 Version: 1:20080721-2

Please, can you check if the latest version I just uploaded,
i.e. 1:20090502.git482df740-1, still has the same bug?

 I'm just trying stumpwm for the first time, and it seems to ignore my
 Dvorak keyboard setting in xorg.conf,

This is one bug...

 and keyboard repeat on which isn't explicitly set, but is the default
 in all other window managers.

...this could be another one, but if you have not set it, then it
depends by the default X11 value (other WMs can explicitly set it).

Thx, bye,
Gismo / Luca


pgpsoKyqbEtbm.pgp
Description: PGP signature


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

2009-03-04 Thread Antony Gelberg
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-ppcre1.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.41generates 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+nmu1X11 utilities
ii  xterm [x-terminal-emulator 235-2 X terminal emulator

-- no debconf information
;;; -*- 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)

#Section Device
#   Identifier  ATI Technologies Inc Mobility Radeon HD 3600 Series
#   Driver  fglrx 
#   Option UseEdidFreqs True
#EndSection

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
EndSection

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
EndSection

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
EndSection

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
EndSection

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