Prev: Buffer I/O error on device ... logical block ...
Next: It looks as if OpenOffice is sick. Was: Looking for a .fodt validator
From: Camaleón on 6 Jun 2010 05:50 On Sat, 05 Jun 2010 22:28:01 -0700, Kelly Clowers wrote: > That doesn't even work anymore, does it? At least for a while when the > changeover first happened, I had that stuff in xorg.conf, but it had no > effect until I put it in /etc/default/console-setup (later > /etc/default/keyboard) It should! :-) *** http://www.x.org/releases/X11R7.5/doc/RELNOTES.html Configuration File The Xorg server uses a configuration file as the primary mechanism for providing configuration and run-time parameters. The configuration file format is described in detail in the xorg.conf(5) manual page. Note that this release features significant improvements for running the server without a configuration file, so many users may find that that they don't need a configuration file. If you do need to customize the configuration file, see the xorg.conf manual page . You can also check the driver-specific manual pages and the related documentation (found at driver tables) also. The recommended method for generating a configuration file is to use the Xorg server itself. Run as root: Xorg -configure and follow the instructions. *** And also, there is specific guide for input devices: http://www.x.org/releases/X11R7.5/doc/input/XKB-Config.html We all know that "xorg.conf" is deprecated but still useful when things go wrong. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.06.06.09.44.54(a)gmail.com
From: Camaleón on 6 Jun 2010 16:00 On Sun, 06 Jun 2010 21:16:51 +0200, Paul Chany wrote: > Yes, but did you tryed more than one XkbLayout, like eg.: "es,fr"? In my > /etc/X11/xorg.conf I have now: > *** > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > Option "XkbRules" "xorg" > Option "XkbModel" "pc105" > Option "XkbLayout" "hu,hr,cs" > Option "XkbVariant" "nodeadkeys" > EndSection > *** > > but it doesn't works. :( On Debian Lenny this setup just works and I can > there us fookb-wmaker successfully. If you carefully look the link I sent before, you'll note that your setup is also managed by xorg (jump to "Advanced Configuration"): *** http://www.x.org/releases/X11R7.5/doc/input/XKB-Config.html Advanced Configuration You can use multi-layouts xkb configuration. What does it mean? Basically it allows to load up to four different keyboard layouts at a time. Each such layout would reside in its own group. The groups (unlike complete keyboard remapping) can be switched very fast from one to another by a combination of keys. Let's say you want to configure your new Logitech cordless desktop keyboard, you intend to use three different layouts at the same time - us, czech and german (in this order), and that you are used to Alt-Shift combination for switching among them. *** It's documented and should work. If it does not, it can be a bug you should report at BTS. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.06.06.19.53.53(a)gmail.com
From: Javier Vasquez on 6 Jun 2010 16:10 On 6/5/10, Kelly Clowers <kelly.clowers(a)gmail.com> wrote: > On Sat, Jun 5, 2010 at 03:47, Camaleón <noelamac(a)gmail.com> wrote: >> On Fri, 04 Jun 2010 23:32:17 +0200, Paul Chany wrote: >> >>> Phil Requirements writes: >> >>>> Yes, you need to create a simple xorg.conf, because they aren't used by >>>> default. I had to create xorg.conf on my system to specify some >>>> keyboard options. It works nicely. >>> >>> For me the command X -configure doesn't works, because the system hangs >>> forever. >>> >>> What do you command use for xorg.conf to get it? Or, maybe it is there >>> another way (udev rules maybe) to setup xkeyboard layouts? >> >> This is what I am using in Lenny in my "/etc/X11/xorg.conf" file (the >> file is bigger, this is just the section for setting the keyboard). It >> should be still valid: >> >> *** >> Section "InputDevice" >> Identifier "Generic Keyboard" >> Driver "kbd" >> Option "XkbRules" "xorg" >> Option "XkbModel" "pc105" >> Option "XkbLayout" "es" >> EndSection >> *** > > That doesn't even work anymore, does it? At least for a while when the > changeover first happened, I had that stuff in xorg.conf, but it had no > effect > until I put it in /etc/default/console-setup (later /etc/default/keyboard) > > > Cheers, > Kelly Clowers xorg.conf accepts the following server flags: Section "ServerFlags" Option "AutoAddDevices" "False" Option "AllowEmptyInput" "False" EndSection If you have them, then you must specify the keyboard and mouse configurations on xorg.conf, and xorg won't autodetect them through whether hal or udev, but only will use what is specified under xorg.conf. I've been using this to keep inmune to all the changes happening around xorg and autodetection (and to prevent using hal)... So I haven't had the need to go configure anything else than xorg.conf... Perhaps it's time to take a look at /etc/defaults/keyboard (I never had), :-) -- Javier. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/AANLkTilVidznagf5cvbsFFOwFgrXes5egiAbryiijulf(a)mail.gmail.com
From: Javier Vasquez on 7 Jun 2010 11:20 On 6/6/10, Paul Chany <csanyipal(a)gmail.com> wrote: > Javier Vasquez <j.e.vasquez.v(a)gmail.com> writes: > >> xorg.conf accepts the following server flags: >> >> Section "ServerFlags" >> Option "AutoAddDevices" "False" >> Option "AllowEmptyInput" "False" >> EndSection >> >> If you have them, then you must specify the keyboard and mouse >> configurations on xorg.conf, and xorg won't autodetect them through >> whether hal or udev, but only will use what is specified under >> xorg.conf. >> >> I've been using this to keep inmune to all the changes happening >> around xorg and autodetection (and to prevent using hal)... >> >> So I haven't had the need to go configure anything else than >> xorg.conf... Perhaps it's time to take a look at >> /etc/defaults/keyboard (I never had), :-) > > Now when I have beside /etc/default/keyboard > *** > XKBMODEL="pc105" > XKBLAYOUT="hu,hr,cs" > XKBVARIANT="nodeadkeys" > XKBOPTIONS="" > *** > > the /etc/X11/xorg.conf file too > *** > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > Option "XkbRules" "xorg" > Option "XkbModel" "pc105" > Option "XkbLayout" "hu,hr,cs" > Option "XkbVariant" "nodeadkeys" > EndSection > *** > > I try out that that I rename xorg.conf so Xorg not to find it at start > and keep the /etc/default/keyboard file only. After I rebooted I get the > multi layout XWindow system wit Hungaruan, Croatian and Serbian Cyrillic > languages. > > However I have installed hal but that isn't necessary to get this setup > to work, right? > > -- > Regards, > Paul Chany Well I don't know. it depends on the Xorg version you have. Some time back autodetection was using hal for that purpose. Newer Xorg uses udev. If the Xorg you're using relies on hal, you need it (I presume you can try uninstalling, then if it's not a dependency things will still work, and if it it, you'll have to reinstall it, perhaps even xorg-server will uninstall if hal is a dependency)... If you use the flags, then Xorg won't use hal neither any other kind of autodetection mechanism, just whatever is in xorg.conf... So whether hal is installed and daemon started or not, is of no concern for Xorg while using the flags. >> Section "ServerFlags" >> Option "AutoAddDevices" "False" >> Option "AllowEmptyInput" "False" >> EndSection That's just a way to prevent autodetection to get in your way if you don't want it, :-) -- Javier. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/AANLkTim5nF90yYnhQEy9KE7LPfEIr0dh1zJELv_EzSgq(a)mail.gmail.com
From: Tzafrir Cohen on 8 Jun 2010 03:20
On Sat, Jun 05, 2010 at 06:39:03PM +0200, Wolodja Wentland wrote: > There are a variety of ways to *switch* keymaps within X and most > desktop environments provide their own tools to do so. > (gnome-keyboard-properties for example), but you can always use a tool > such as "setxkbmap" to switch to a different keymap without the need to > run "gnome-settings-daemon" (or other applicable DE daemons/tools). It is > fairly easy to define hotkeys that trigger different "setxkbmap" > commands in most window managers. setxkbmap *defines* the layouts. Using it to *switch* between layouts is broken. IIRC KDE's default switcher was once broken in that sense. Most keyboard switchers just switch between the existing layouts. Alt-Shift and such are handled by X. -- Tzafrir Cohen | tzafrir(a)jabber.org | VIM is http://tzafrir.org.il | | a Mutt's tzafrir(a)cohens.org.il | | best tzafrir(a)debian.org | | friend -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100608071806.GQ16560(a)pear.tzafrir.org.il |