View previous topic :: View next topic |
Author |
Message |
ichbinsisyphos Guru
Joined: 08 Dec 2006 Posts: 547
|
Posted: Mon Mar 22, 2010 2:53 am Post subject: Does anybody here use the "Gentoo" Linux Distribut |
|
|
I don't know if you have heard of this awesome new program called "xorg-x11". It's in portage, if you want to give it a try.
My question is to those who are already acquainted with this very helpful program:
Can you zap (ctrl-alt-backspace) your X-Server? How?
The relevant part of my xorg.conf:
Code: | ...
Section "ServerFlags"
...
Option "DontZap" "False"
...
EndSection
... |
This stopped working probably a year ago, after Ubuntu got the devs to change the default behavior and never got it to work since. |
|
Back to top |
|
|
RedSquirrel Guru
Joined: 22 Apr 2008 Posts: 336
|
Posted: Mon Mar 22, 2010 3:05 am Post subject: |
|
|
Section 2 of the following might help:
xorg-server-1.6-upgrade-guide
I use the very last line in that guide. |
|
Back to top |
|
|
savalas n00b
Joined: 10 Dec 2009 Posts: 40
|
Posted: Mon Mar 22, 2010 3:57 am Post subject: |
|
|
And by the way, for those using KDE you have to enable it in System Settings > Regional & Language > Keyboard Layout > Advanced > Key sequence to kill the X server.
Takes me at least 5 minutes everytime I'm looking for that setting on a new install. |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1932
|
Posted: Mon Mar 22, 2010 5:50 am Post subject: |
|
|
I never actually got zapping to work. I just use Alt+SysRq+K if X is borked. |
|
Back to top |
|
|
nikaya Veteran
Joined: 13 May 2006 Posts: 1471 Location: Germany
|
Posted: Mon Mar 22, 2010 3:02 pm Post subject: |
|
|
I managed it like it is described in the The X Server Configuration HOWTO
Quote: | (Open the file in your preferred editor)
# nano -w /etc/hal/fdi/policy/10-x11-input.fdi
(Find the "input.keys" section)
<match key="info.capabilities" contains="input.keys">
(Add the "terminate" merge string as shown)
<match key="info.capabilities" contains="input.keys">
<merge key="input.x11_driver" type="string">keyboard</merge>
<merge key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.x11_driver" type="string">evdev<merge>
</match>
</match>
Once you're done, run /etc/init.d/hald restart so that HAL picks up your changes. |
_________________ Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera) |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1932
|
Posted: Mon Mar 22, 2010 6:49 pm Post subject: |
|
|
Unless you run hal-free, in which case that doesn't work... |
|
Back to top |
|
|
M Guru
Joined: 12 Dec 2006 Posts: 432
|
Posted: Mon Mar 22, 2010 7:04 pm Post subject: |
|
|
Gnome and KDE now requires to configure "Key sequence to kill the X server", at least they call it the same name I did have "setxkbmap -option terminate:ctrl_alt_bksp" in startup (gnome) and also had .fdi file but that didn't help until I found that option. How did those ubuntu guys convinced xorg people to change this anyway? |
|
Back to top |
|
|
RedSquirrel Guru
Joined: 22 Apr 2008 Posts: 336
|
Posted: Mon Mar 22, 2010 8:35 pm Post subject: |
|
|
AM088 wrote: | Unless you run hal-free, in which case that doesn't work... |
Does the following line work for you? From the guide I linked to above:
Quote: | If you still use xorg.conf to manage your input devices, just add the following to your keyboard's InputDevice section :
Option "XkbOptions" "terminate:ctrl_alt_bksp".
|
I run hal-free and that works for me (with xorg-server-1.6.5-r1). |
|
Back to top |
|
|
nick_already_taken Tux's lil' helper
Joined: 15 Jan 2005 Posts: 137
|
Posted: Mon Mar 22, 2010 9:19 pm Post subject: |
|
|
Funny, that no one here wrote about the subject of the post... What a nice teaser.
No, nobody reading this post does use the "gentoo linux distribution" |
|
Back to top |
|
|
ichbinsisyphos Guru
Joined: 08 Dec 2006 Posts: 547
|
Posted: Tue Mar 23, 2010 12:54 am Post subject: |
|
|
RedSquirrel wrote: | AM088 wrote: | Unless you run hal-free, in which case that doesn't work... |
Does the following line work for you? From the guide I linked to above:
Quote: | If you still use xorg.conf to manage your input devices, just add the following to your keyboard's InputDevice section :
Option "XkbOptions" "terminate:ctrl_alt_bksp".
|
I run hal-free and that works for me (with xorg-server-1.6.5-r1). | Does not work for me.
Whatever anybody says, writing XML config files by hand can only be the very VERY very last resort. I would therefor like to avoid using hal.
The only thing that works for now is to enable the option via setxkbmap.
Oh ... I'm not using GNOME or KDE either, just Openbox.
Btw, that's not the only thing that stopped working. I can also no longer light the keyboard leds with xset. Happened at the same time.
Until yesterday I only had xorg-server installed. Because I read that some functionality of the server was migrated to some other package I installed the xorg-x11 meta package today, which didn't change a thing either. |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1932
|
Posted: Tue Mar 23, 2010 2:44 am Post subject: |
|
|
Doesn't work for me either... gave up on it a long time ago. |
|
Back to top |
|
|
RedSquirrel Guru
Joined: 22 Apr 2008 Posts: 336
|
Posted: Tue Mar 23, 2010 3:40 am Post subject: |
|
|
AM088 wrote: | Doesn't work for me either... gave up on it a long time ago. |
It should work if you set your XkbOptions in the following manner:
Code: | Option "XkbOptions" "compose:ralt,terminate:ctrl_alt_bksp" |
|
|
Back to top |
|
|
ichbinsisyphos Guru
Joined: 08 Dec 2006 Posts: 547
|
Posted: Tue Mar 23, 2010 7:02 pm Post subject: |
|
|
RedSquirrel wrote: | AM088 wrote: | Doesn't work for me either... gave up on it a long time ago. |
It should work if you set your XkbOptions in the following manner:
Code: | Option "XkbOptions" "compose:ralt,terminate:ctrl_alt_bksp" |
| It doesn't for me. You know, the suggestions here are becoming more and more what Feynman would have called a cargo cult
Does anybody use a minimal desktop (just X, a WM and maybe a panel) not a complete DE and got this working without hald? Or maybe somebody knows someone who knows someone who ...?
I'm getting the feeling I'm missing some package here, even if X doesn't complain. Because the options do nothing at all. |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1932
|
Posted: Tue Mar 23, 2010 7:07 pm Post subject: |
|
|
RedSquirrel wrote: | AM088 wrote: | Doesn't work for me either... gave up on it a long time ago. |
It should work if you set your XkbOptions in the following manner:
Code: | Option "XkbOptions" "compose:ralt,terminate:ctrl_alt_bksp" |
|
Thanks! That worked
(And compose keys still work too ☺) |
|
Back to top |
|
|
ichbinsisyphos Guru
Joined: 08 Dec 2006 Posts: 547
|
Posted: Tue Mar 23, 2010 7:36 pm Post subject: |
|
|
edit: forget it. I had another XkbOptions-line in there.
All "XkbOptions"-options in one line, separated by commas and it works. |
|
Back to top |
|
|
|