Re: keyboard mapping problem under X
Jan Willem Stumpel wrote: Andrei Popescu wrote: changing /etc/default/console-setup should be enough, xorg.conf is ignored. Aah.. That explains it. Restart hal, at least in theory. Yes, in theory. In practice it may be different. I restarted it by means of /etc/init.d/hal restart, and got some weird results. It is also possible to make X ignore evdev altogether by setting in the ServerFlags section of xorg.conf: Option "AutoAddDevices" "off" Then you get the old behaviour back. xorg.conf again determines what is going on. Of course without the benefits of evdev. But I do not know what these benefits are anyway, so I do not miss them! In theory, again. I added the 'Option "AutoAddDevices" "off"' but the odd behavior of 2 arrow keys not repeating never ceased. The latest X is a mess for my purposes: http://bugs.debian.org/525736 Hugo -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Re: keyboard mapping problem under X
On Sat,23.May.09, 13:37:00, Jan Willem Stumpel wrote: > > Restart hal, at least in theory. > > Yes, in theory. In practice it may be different. I restarted it by > means of /etc/init.d/hal restart, and got some weird results. Yes, that's why I said "in theory". You did restart X after restarting hal, did you? I hope these quirks get solved until squeeze is released. > It is also possible to make X ignore evdev altogether by setting > in the ServerFlags section of xorg.conf: > > Option "AutoAddDevices" "off" > > Then you get the old behaviour back. xorg.conf again determines > what is going on. Of course without the benefits of evdev. But I > do not know what these benefits are anyway, so I do not miss them! Having only one place to configure all inputs and having a clean way to configure each individual input (my laptop has both a trackpoint and a touchpad and sometimes I use an external mouse). Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: Re: keyboard mapping problem under X
Andrei Popescu wrote: > changing /etc/default/console-setup should be enough, xorg.conf > is ignored. Aah.. That explains it. > Restart hal, at least in theory. Yes, in theory. In practice it may be different. I restarted it by means of /etc/init.d/hal restart, and got some weird results. It is also possible to make X ignore evdev altogether by setting in the ServerFlags section of xorg.conf: Option "AutoAddDevices" "off" Then you get the old behaviour back. xorg.conf again determines what is going on. Of course without the benefits of evdev. But I do not know what these benefits are anyway, so I do not miss them! Regards, Jan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: keyboard mapping problem under X
On Wed,20.May.09, 22:45:23, Jan Willem Stumpel wrote: > Bruno Boettcher wrote: > > > kbd is still on nodeadkeys... > > It appears that the keyboard system in X has changed. There is now > something new and mysterious called evdev. To see if you have a > system with evdev, type > > setxkbmap -print > > and see if evdev is mentioned. > > If it is, it seems that at the moment, to change the behaviour of > the keyboard, you must specify things not only in > etc/X11/xorg.conf, but *also* in /etc/default/console-setup. And changing /etc/default/console-setup should be enough, xorg.conf is ignored. > then you must reboot! Stopping and restarting X is NOT enough. > (There must be a better way though; I am going to investigate > this, because obviously my "international keyboards and fonts" > page needs serious updating.) Restart hal, at least in theory. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: keyboard mapping problem under X
Bruno Boettcher wrote: > kbd is still on nodeadkeys... It appears that the keyboard system in X has changed. There is now something new and mysterious called evdev. To see if you have a system with evdev, type setxkbmap -print and see if evdev is mentioned. If it is, it seems that at the moment, to change the behaviour of the keyboard, you must specify things not only in etc/X11/xorg.conf, but *also* in /etc/default/console-setup. And then you must reboot! Stopping and restarting X is NOT enough. (There must be a better way though; I am going to investigate this, because obviously my "international keyboards and fonts" page needs serious updating.) Regards, Jan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: keyboard mapping problem under X
- "Jan Willem Stumpel" a écrit : > > i use, whilst living in France, a german keyboard... > > You take the trouble to mention this: any special reason? For > instance, do you want to type mostly French on a German keyboard? exactly! and if you ask why: the french layout is completely out of my taste... > KDE or Gnome have GUI utilities that will make the keyboard do > what you want (i.e. without directly editing system files). > Probably in something called "System, Keyboard". well my students call me "dino"... all that graphical stuff isn't really what i fancy, even if iy have to admit that having X running, that allows an impressive number of shells to be opened at the same moment and visible (still use screen though :D) and if i see how much ram that stuff takes that isn't then available to my numerical simulations > If (like me) you want to avoid using KDE/Gnome, you can *also* > make the keyboard do what you want. The German keyboard is called > "de". It has several so-called "variants": i tried that in the xorg.conf without result > setxkbmap de [-variant ] heh, never too old to learn new stuff! that did it! and that's awesome! i directly integrated it into my bashrc that does bypass all those automatisms that don't seem to work at the moment! thanks a lot! > You can use the setxkbmap command to experiment with keyboard > layouts and variants. Once you have selected what you want, you > can put it in /etc/X11/xorg.conf, in the keyboard section, in a > slightly different format, using one line for the keyboard and > another for the variant, e.g.: > > Option "XkbLayout" "de" > Option "XkbVariant" "deadgraveacute" well that's the stuff i tryed and that didn't work... here's the section i tryed: Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "de" Option "XkbOptions""ctrl:nocaps" EndSection kbd is still on nodeadkeys... but with the solution of setxkbdmap it works fine! -- ciao bboett == bbo...@adlp.org http://bboett.free.fr -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: keyboard mapping problem under X
Bruno Boettcher wrote: > Hello [..] > i use, whilst living in France, a german keyboard... You take the trouble to mention this: any special reason? For instance, do you want to type mostly French on a German keyboard? > still, dead-keys aren't working > so, what possibilities remain to activate them? without > redefining a whole new keymapping, especially since the system > seems to have changed? KDE or Gnome have GUI utilities that will make the keyboard do what you want (i.e. without directly editing system files). Probably in something called "System, Keyboard". If (like me) you want to avoid using KDE/Gnome, you can *also* make the keyboard do what you want. The German keyboard is called "de". It has several so-called "variants": -basic (this is the default, which has several dead keys) -nodeadkeys (no keys are dead) -deadgraveacute (only grave and acute are dead) -deadacute (only acute is dead) -ro (includes special characters for Romanian. I don't know why this is included in a German keyboard description; maybe German keyboards are commonly used in Romania) -ro_nodeadkeys -... etc, etc, ... See the file /usr/share/X11/xkb/symbols/de. The "variants" are described in sections beginning with xkb_symbols. You can select whatever variant you want by typing in a terminal (e.g. xterm) window: setxkbmap de [-variant ] E.g. setxkbmap de -variant deadgraveacute If you just want to use the "basic" variant, you just type setxkbmap de You can use the setxkbmap command to experiment with keyboard layouts and variants. Once you have selected what you want, you can put it in /etc/X11/xorg.conf, in the keyboard section, in a slightly different format, using one line for the keyboard and another for the variant, e.g.: Option "XkbLayout" "de" Option "XkbVariant" "deadgraveacute" This will make your selection (semi-)permanent. There are many more possibilities for handling the keyboard in X (not so many on the console). For instance, you can switch between entirely different keyboard layouts by defining a special key. For details, see below, sections 6.1 and 6.2. Regards, Jan http://www.jw-stumpel.nl/stestu.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
keyboard mapping problem under X
Hello i have a problem on my debian machines lately concerning the keymapping of the keyboard... i use, whilst living in France, a german keyboard... from the beginning the default setting of no-dead-keys was annoying, but with a leattle tweakiing and configuring i could get rid of that annoying switch now it seems impossible to activate the dead-keys... as usual i reset the console keymap to use the normal de-latin1 mapping, and on the console i have the dead-keys but as of lately under X there seems no way to activate them i edited the xorg.conf, also found on old discussions /etc/default/console-setup where indeed was the dreaded nodeadkeys-switch i even made a grep on whole /etc to track down further occurences of that damned setting, but couldn't find none still, dead-keys aren't working so, what possibilities remain to activate them? without redefining a whole new keymapping, especially since the system seems to have changed? -- ciao bboett == bbo...@adlp.org http://inforezo.u-strasbg.fr/~bboett/ === -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org