On Wed, Feb 11, 2015 at 3:10 PM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > Rustom Mody wrote: > >> $ setxkbmap -query # examine current settings > > Alas, that does not appear to work in Debian squeeze: > > steve@runes:~$ setxkbmap -query > Error! Option "-query" not recognized > > Or Centos. > > What are you using?
Works for me on Debian Wheezy. Either it's a version difference (I don't have any Squeeze machines any more, we're all on Wheezy or Jessie), or there's some additional package that I have installed here. Mind you, I have no idea what I'm looking at. rosuav@sikorsky:~$ setxkbmap -query rules: evdev model: pc105 layout: us I guess that means I have a 105-key PC keyboard in en_US layout, but what 'evdev' means I would have to go manpage digging to find out. ChrisA -- https://mail.python.org/mailman/listinfo/python-list