Comment 24 for bug 7183

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040911213020.GA18633@localhost>
Date: Sat, 11 Sep 2004 14:30:20 -0700
From: Scott Robinson <email address hidden>
To: Denis Barbier <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#259740: xlibs: Windows key no longer treated as modifer,just as Super_L

--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Sep 11, 2004 at 10:45:10PM +0200, Denis Barbier wrote:
> On Sat, Sep 11, 2004 at 12:13:48PM -0700, Scott Robinson wrote:
> > I tried that setting. (See my current X config attached.)
> >=20
> > The behavior still occurs.
> [...]
> > Option "XkbRules" "xfree86"
> > Option "XkbModel" "pc104"
> > Option "XkbLayout" "dvorak"
> > Option "XkbOption" "altwin:super_win"
>=20
> To reproduce your settings, I ran:
> $ setxkbmap -model pc104 -layout dvorak -option -option altwin:super_win
> $ killall WindowMaker && metacity
> I am then able to switch between windows with any window key + Tab.
>=20
> My $HOME/.gconf/apps/metacity/global_keybindings/%gconf.xml contains:
> <entry name=3D"switch_windows" mtime=3D"1094910045" type=3D"strin=
g">
> <stringvalue>&lt;Mod4&gt;Tab</stringvalue>
> </entry>
> It also works when set to "<Super>Tab" with gconf-editor.
>=20
> Some GNOME component surely alter X settings, but I can't help much.
> If you can reproduce the steps above, I would say that this bug can
> be closed if a note is added to some README file to help people
> upgrading from woody. On fresh installs, I believe that this option
> should be set by default for pc104/pc105 keyboards.
>=20
> Denis

I removed my keyboard remapping applet, and "reset to defaults" the GNOME
Keyboard settings:

scott@tara:~$ [0] xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) =3D "xfree86", "pc104", "dvorak", "", ""
_XKB_RULES_NAMES(STRING) =3D "xfree86", "pc104", "dvorak", "", ""
scott@tara:~$ [0] gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb
 layouts =3D [dvorak]
 model =3D pc104
 overrideSettings =3D false
 options =3D []

My metacity settings are the same as yours. Windows Key-Tab'ing results in
the same stuck window. But, I did find a way to make it work:

(immediately after logging in)
scott@tara:~$ [0] xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) =3D "xfree86", "pc104", "dvorak", "", ""
_XKB_RULES_NAMES(STRING) =3D "xfree86", "pc104", "dvorak", "", ""
scott@tara:~$ [0] setxkbmap -model pc104 -layout dvorak -option -option alt=
win:super_win
scott@tara:~$ [0] xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) =3D "xfree86", "pc104", "dvorak", "", ""
_XKB_RULES_NAMES(STRING) =3D "xfree86", "pc104", "dvorak", "", "altwin:supe=
r_win"
scott@tara:~$ [0] killall metacity=20
(Windows-Tab works now.)

It seems the GNOME Keyboard applet is screwing stuff up. However, I don't
see how to prevent it. Resetting to defaults didn't work, and there seems to
be no place in which to add the "altwin:super_win" option. None of the
available Alt/Win keyboard options specify that particular altwin option.
(though they specify just about every other...)

The gnome-settings-daemon is responible for resetting the keyboard options.
gnome-keyboard-properties is responsible for setting those options. Both are
in the capplets package. The bug is definitely not in X, but in GNOME.

Perhaps a reassign is necessary? I can't exactly remove
gnome-settings-daemon from my session, since it's responsible for other
things. GNOME needs to either add the altwin:super_win option to its list or
force "reset to defaults" to actually respect the settings in the server
config. Preferably both...

Scott.

--=20
http://quadhome.com/ - Personal webpage

--xHFwDpU9dbj6ez1V
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iEYEARECAAYFAkFDbmwACgkQ2wcaZqTSGsQi2QCgw6SEqtCABR1LzZhA17iaSeml
oRAAn3Dwsg0afBpdvkC0OVWggY3uMvGv
=DBJe
-----END PGP SIGNATURE-----

--xHFwDpU9dbj6ez1V--