From owner-freebsd-questions@FreeBSD.ORG Tue May 22 16:36:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C7D216A41F for ; Tue, 22 May 2007 16:36:18 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 19D1A13C469 for ; Tue, 22 May 2007 16:36:17 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 22339 invoked from network); 22 May 2007 11:36:17 -0500 Received: from 210-84-60-60.dyn.iinet.net.au (HELO localhost) (210.84.60.60) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 22 May 2007 11:36:17 -0500 Date: Wed, 23 May 2007 02:36:14 +1000 From: Norberto Meijome To: freebsd-questions@freebsd.org Message-ID: <20070523023614.71e20d28@localhost> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Alternative keyboard layouts not working with xorg7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 16:36:18 -0000 Hello everyone, I've had xorg 6.x configured to allow me to switch from US English keyboard to US English with international support (for accented characters) as follows: in xorg.conf: [...] Section "InputDevice" Identifier "KeyboardThinkpadZ60M" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "inspiron" Option "XkbLayout" "us,us" Option "XkbVariant" ",intl" Option "XKbOptions" "grp:alt_shift_toggle" EndSection [...] and in /usr/X11R6/lib/X11/xkb/X0-config.keyboard (now under /usr/local/.... ) Rules = "xorg" Model = "inspiron" Layout = "us,us" Variant = ",intl" MouseKeysCurve = 0 I use XFCE4.4 as my environment, and both the 'Keyboard Layout Switcher' applet and the left alt-shift combos would allow me to switch between the 2 modes flawlessly. After the upgrade to xorg 7.2, using the same configuration, I noticed several problems related to the keyboard behaviour, namely: 1) - neither method to change the keyboard layout works. 2) - Several shortcuts that involve the Alt (left) key work either : alt-tab to cycle through windows, ctrl-alt-arrows to move through desktops. 3) - When launching the application 'skippy' (x11-wm/skippy) or skippy-xd (x11-wm/skippy-xd), i get : $ skippy-xd X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 33 (X_GrabKey) Serial number of failed request: 75 Current serial number in output stream: 75 This never used to happen before (notice the X_GrabKey error). I tried a clean keyboard config (only 1 layout) and the problem with the normal XFCE shortcuts (problem #2) is solved... I tried creating a separate keyboard using xorgcfg with the 'intl' layout, but it didnt do what I wanted - problem #2 was still solved, but I couldnt switch between layouts (which is rather obvious, as they were defined as different keyboards...) If anyone could shed some light on this, it'd be greatly appreciated :) Thanks! Beto _________________________ {Beto|Norberto|Numard} Meijome "All that is necessary for the triumph of evil is that good men do nothing." Edmund Burke I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.