Re: How to enable CTRL+ALT+BACKSPACE

2011-07-07 Thread Daniele Guerrieri
Yes, maybe ALT+PRINT+K would be better :) i have to try it.

From wikipedia (probably also in kernel/Documentation but now i'm on a
win machine) i've read:

On newer kernels (exact version unknown), it is possible to have a
more fine-grained control. [...]

#$ echo #number  /proc/sys/kernel/sysrq

Possible values are:

0 - disable sysrq
1 - enable sysrq completely
1 - bitmask of enabled sysrq functions:
2 - control of console logging level
4 - control of keyboard (SAK, unraw)
8 - debugging dumps of processes etc.
16 - sync command
32 - remount read-only
64 - signalling of processes (term, kill, oom-kill)


maybe a damage-free number could be 16?

 R,E,I,S,U,B = nice but Raising Elephants Is So Utterly Boring
 for non-english peopole not helpful and if you use the wrong
 order you have a problem
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-07 Thread Reindl Harald


Am 07.07.2011 11:53, schrieb Daniele Guerrieri:
 Yes, maybe ALT+PRINT+K would be better :) i have to try it.

ok :-)

 From wikipedia (probably also in kernel/Documentation but now i'm on
 a win machine) i've read:

have you a link?
i do not find this on wikipedia
http://en.wikipedia.org/wiki/Sysrq

 On newer kernels (exact version unknown), it is possible to have a
 more fine-grained control. [...]
 
 #$ echo #number  /proc/sys/kernel/sysrq
 
 Possible values are:
 
 0 - disable sysrq
 1 - enable sysrq completely
 1 - bitmask of enabled sysrq functions:
 2 - control of console logging level
 4 - control of keyboard (SAK, unraw)
 8 - debugging dumps of processes etc.
 16 - sync command
 32 - remount read-only
 64 - signalling of processes (term, kill, oom-kill)

 maybe a damage-free number could be 16?

i think this is not enough for ALT+PRINT+K because sync
is only for flushing disk-buffers, maybe i play around a
little bit at the weekend but i guess we need something
like 4 + 64 for ALT+PRINT+K and 16 is really nice if
all hangs to use it before a hrad power-cycle

what i nat want are the reboot/halt-options because without
sync/umount they are the same like a hard-reset/power-cycle





signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-07 Thread Daniele Guerrieri
 ok :-)

 From wikipedia (probably also in kernel/Documentation but now i'm on
 a win machine) i've read:

 have you a link?
 i do not find this on wikipedia
 http://en.wikipedia.org/wiki/Sysrq

here the link: http://en.wikipedia.org/wiki/Magic_SysRq_key :)

this value is a bitmask:

 i think this is not enough for ALT+PRINT+K because sync
 is only for flushing disk-buffers, maybe i play around a
hm, you're right, i think that, since it's a bitmask we need to sum
the values we want: e.g. if we want
sync (16),debugging(8), signalling(64), we have to sum
-# value=8+16+64=88, which binary is: 01 01 10 00
---example:-
__
01: 00 00 00 01  |
02: 00 00 00 10  |
04: 00 00 01 00  |
08: 00 00 10 00  |
16: 00 01 00 00  |
32: 00 10 00 00  |
64: 01 00 00 00  |
__|
 01 01 10 00
-
So the magic number would be 88 :) this night i'll try it.

 little bit at the weekend but i guess we need something
 like 4 + 64 for ALT+PRINT+K and 16 is really nice if
 all hangs to use it before a hrad power-cycle

 what i nat want are the reboot/halt-options because without
 sync/umount they are the same like a hard-reset/power-cycle
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-07 Thread Ed Greshko
On 07/07/2011 10:57 PM, Daniele Guerrieri wrote:

 here the link: http://en.wikipedia.org/wiki/Magic_SysRq_key :)

 this value is a bitmask:

It is good to know about thisespecially /proc/sysrq-trigger.

FWIW, I'll would still go about ssh'ing in as the first resort and
trying to kill off  apps in a clean way first before following up with
an echo to sysrq-trigger.  In the past, CTRL+ALT+BACKSPACE would/could
result in files in a corrupt state. 

-- 
Even if you do learn to speak correct English, whom are you going to
speak it to? -- Clarence Darrow
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Andras Simon
On 7/5/11, Reindl Harald h.rei...@thelounge.net wrote:
 in the newest release the shortcut for restart X11 is disabled
 and i hate it because if X11 drives crazy it is really useful
 and where i work nobody kills my X11 if he won't killed self

 i guess the following config-file does this disable but
 the comment says changes here are useless, so how tell
 system-setup-keyboard not wanting the last line?

 [root@rh:/etc/X11/xorg.conf.d]$ cat 00-system-setup-keyboard.conf
 # This file is autogenerated by system-setup-keyboard. Any
 # modifications will be lost.

 Section InputClass
 Identifier  system-setup-keyboard
 MatchIsKeyboard on
 Option  XkbModel  pc105
 Option  XkbLayout de
 Option  XkbVariantnodeadkeys
 Option  XkbOptionsterminate:ctrl_alt_bksp,
 EndSection


I'm not sure I understand what you want to achieve, but
  man system-setup-keyboard
may help you.

Andras
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread John Aldrich
On Wed July 6 2011, Andras Simon wrote:
 
 I'm not sure I understand what you want to achieve, but
   man system-setup-keyboard
 may help you.
 
What would one put in /etc/sysconfig/keyboard if one DID want to enable 
CTL+ALT+BKSP to kill X?

I looked at the man page for system-setup-keyboard, but it doesn't say 
*anything* about re-enabling CTL+ALT+BKSP...

I, for one, would find it convenient to re-enable that, as there are times 
(such as an updated graphics driver) where it would be convenient to 
restart X without having to completely change init levels or restart the 
whole computer.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Ed Greshko
On 07/06/2011 06:30 PM, John Aldrich wrote:
 On Wed July 6 2011, Andras Simon wrote:
 I'm not sure I understand what you want to achieve, but
   man system-setup-keyboard
 may help you.

 What would one put in /etc/sysconfig/keyboard if one DID want to enable 
 CTL+ALT+BKSP to kill X?

 I looked at the man page for system-setup-keyboard, but it doesn't say 
 *anything* about re-enabling CTL+ALT+BKSP...

 I, for one, would find it convenient to re-enable that, as there are times 
 (such as an updated graphics driver) where it would be convenient to 
 restart X without having to completely change init levels or restart the 
 whole computer.

I don't know what the incantation would be

However, a logout/login would suggest that is all that is needed to
restart the X server.

Logout and login and you will see a new  /usr/bin/Xorg has been
started.  Also, note that you'll have a new /var/log/Xorg.0.log.

Ed


-- 
Even if you do learn to speak correct English, whom are you going to
speak it to? -- Clarence Darrow
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Tom H
On Wed, Jul 6, 2011 at 6:30 AM, John Aldrich jmaldr...@yahoo.com wrote:
 On Wed July 6 2011, Andras Simon wrote:

 I'm not sure I understand what you want to achieve, but
   man system-setup-keyboard
 may help you.

 What would one put in /etc/sysconfig/keyboard if one DID want to enable
 CTL+ALT+BKSP to kill X?

How about 'XKBOPTIONS=terminate:ctrl_alt_bksp'? (untested!)

Otherwise (also untested) setxkbmap -option terminate:ctrl_alt_bksp
in .profile could be an option.

In GNOME, it can be done through the keyboard preferences (Layouts
tab and Layout Options).
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Alan Cox
The DontZap option in Xorg.conf from memory (see man xorg.conf)

Alan
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Reindl Harald


Am 06.07.2011 12:45, schrieb Ed Greshko:
 On 07/06/2011 06:30 PM, John Aldrich wrote:
 On Wed July 6 2011, Andras Simon wrote:
 I'm not sure I understand what you want to achieve, but
   man system-setup-keyboard
 may help you.

 What would one put in /etc/sysconfig/keyboard if one DID want to enable 
 CTL+ALT+BKSP to kill X?

 I looked at the man page for system-setup-keyboard, but it doesn't say 
 *anything* about re-enabling CTL+ALT+BKSP...

 I, for one, would find it convenient to re-enable that, as there are times 
 (such as an updated graphics driver) where it would be convenient to 
 restart X without having to completely change init levels or restart the 
 whole computer.
 
 I don't know what the incantation would be
 
 However, a logout/login would suggest that is all that is needed to
 restart the X server.
 
 Logout and login and you will see a new  /usr/bin/Xorg has been
 started.  Also, note that you'll have a new /var/log/Xorg.0.log

yeah and sometimes X is buggy and hangs with consuming 100% CPU
while every mouse-click will be registrated many seconds later
and you are unable to logout properly

in this state CTRL+ALT+F2 does not work even

so if CTRL+ALT+BACKSPACE would be active as all the years before
you could use this and 20-40 seconds later you get a login-screen
instead shutdown with ACPI-Power-Down



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Reindl Harald


Am 06.07.2011 00:13, schrieb Petrus de Calguarium:
 Reindl Harald wrote:
 
 00-system-setup-keyboard.conf
 # This file is autogenerated by system-setup-keyboard. Any
 # modifications will be lost.

 Section InputClass
 Identifier  system-setup-keyboard
 MatchIsKeyboard on
 Option  XkbModel  pc105
 Option  XkbLayout de
 Option  XkbVariantnodeadkeys
 Option  XkbOptionsterminate:ctrl_alt_bksp,
 
 My file is exactly the same and the key combination of ctrl-alt-backspace 
 *does* produce the desired result. I *think* that kdesettings must have 
 created it, but I am not certain. I don't quite understand whether you want 
 to have ctrl-alt-backspace working sensibly, or whether you want it disabled. 
 The file enables it. If you want it disabled, I presume you could delete it 
 or move it to a backup location, to experiment

hm i want it ENABLED

i have also the following in /etc/X11/xorg.conf on my older machine
and in /etc/X11/xorg.conf.d/local.conf on my brand new and i am
unable on both of them to restart the xserver with CTRL+ALT+BACKSPACE

Section ServerFlags
 Option  AIGLXon
 Option  DontZap  off
EndSection



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Reindl Harald


Am 06.07.2011 13:02, schrieb Alan Cox:
 The DontZap option in Xorg.conf from memory (see man xorg.conf)

this does not interest my system :-(

[root@rh:~]$ cat /etc/X11/xorg.conf.d/01-local.conf
Section Module
 Loadvnc
EndSection

Section ServerFlags
 Option  DontZap on
EndSection

Section Device
 Identifier  Videocard0
EndSection

Section InputClass
 Identifier  Keyboard
 Option  XkbOptions ctrl:nocaps
EndSection

Section Screen
 Identifier  Screen0
 Option  passwordFile /root/.vnc/passwd
EndSection



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Bryn M. Reeves
On 07/06/2011 11:45 AM, Ed Greshko wrote:
 On 07/06/2011 06:30 PM, John Aldrich wrote:
 On Wed July 6 2011, Andras Simon wrote:
 I'm not sure I understand what you want to achieve, but
   man system-setup-keyboard
 may help you.

 What would one put in /etc/sysconfig/keyboard if one DID want to enable 
 CTL+ALT+BKSP to kill X?

 I looked at the man page for system-setup-keyboard, but it doesn't say 
 *anything* about re-enabling CTL+ALT+BKSP...

 I, for one, would find it convenient to re-enable that, as there are times 
 (such as an updated graphics driver) where it would be convenient to 
 restart X without having to completely change init levels or restart the 
 whole computer.
 
 I don't know what the incantation would be
 
 However, a logout/login would suggest that is all that is needed to
 restart the X server.

Not much use when your desktop session is already too broken to respond to a
polite logout request.

It's like Alan said: set the DontZap option to false but it needs to go into
the ServerFlags section rather than the InputClass section that you have by
default in the 00-system-setup-keyboard.conf file.

So something like:

$ cat /etc/X11/xorg.conf.d/00-zap-my-x-up.conf
Section ServerFlags
OptionDontZapfalse
EndSection

Regards,
Bryn.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Ed Greshko
Reindl Harald h.rei...@thelounge.net wrote:

yeah and sometimes X is buggy and hangs with consuming 100% CPU
while every mouse-click will be registrated many seconds later
and you are unable to logout properly

in this state CTRL+ALT+F2 does not work even

so if CTRL+ALT+BACKSPACE would be active as all the years before
you could use this and 20-40 seconds later you get a login-screen
instead shutdown with ACPI-Power-Down


I suppose I'm just one of the lucky ones that have rarely needed this feature 
in the past several years.  When I've had this situation recently, due to bad 
nvidia driver, I just ssh'd in and did what needed to be done. No shut down was 
needed. But I could see the desire to be expeditious.




-- 
Sent from my Android tablet with K-9 Mail.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Reindl Harald


Am 06.07.2011 15:52, schrieb Ed Greshko:
 Reindl Harald h.rei...@thelounge.net wrote:
 
 yeah and sometimes X is buggy and hangs with consuming 100% CPU
 while every mouse-click will be registrated many seconds later
 and you are unable to logout properly

 in this state CTRL+ALT+F2 does not work even

 so if CTRL+ALT+BACKSPACE would be active as all the years before
 you could use this and 20-40 seconds later you get a login-screen
 instead shutdown with ACPI-Power-Down

 
 I suppose I'm just one of the lucky ones that have rarely needed this feature 
 in 
 the past several years.  When I've had this situation recently, due to bad 
 nvidia driver

and with F14 on Intel-Sandy-Bridge you need it too because X freezes permanently

 I just ssh'd in and did what needed to be done. No shut down was needed. 
 But I could see the desire to be expeditious

well if your two machines are on two different edges of the country and
you have to take your android-handy, unlock a ssh-key, hope that
you can read the damned process-id of the crazy X, type killall -S SIGKILL pid
on the virtual keyboard and this happens more than one time you begin
to hate X11 and/or the new defaults



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Reindl Harald


Am 06.07.2011 15:45, schrieb Bryn M. Reeves:
 $ cat /etc/X11/xorg.conf.d/00-zap-my-x-up.conf
 Section ServerFlags
 OptionDontZapfalse
 EndSection

if it would work

as i wrote yesterday:
 i have also the following in /etc/X11/xorg.conf on my older machine
 and in /etc/X11/xorg.conf.d/local.conf on my brand new and i am
 unable on both of them to restart the xserver with CTRL+ALT+BACKSPACE

 Section ServerFlags
 Option  AIGLXon
 Option  DontZap  off
 EndSection
__

and even remove xorg.conf and splitting this all under /etc/X11/xorg.conf.d
does not help - so WHAT blocks this shortcut? KDM?
__

[root@rh:/etc/X11/xorg.conf.d]$ cat 01-nocaps.conf
Section InputClass
 Identifier  Keyboard
 Option  XkbOptions ctrl:nocaps
EndSection
[root@rh:/etc/X11/xorg.conf.d]$ cat 02-dont-zap.conf
Section ServerFlags
OptionDontZapfalse
EndSection

[root@rh:/etc/X11/xorg.conf.d]$ cat 03-vnc.conf
Section Module
 Loadvnc
EndSection

Section Screen
 Identifier  Screen0
 Option  passwordFile /root/.vnc/passwd
EndSection




signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Reindl Harald

Am 06.07.2011 16:06, schrieb Reindl Harald:
 [root@rh:/etc/X11/xorg.conf.d]$ cat 02-dont-zap.conf
 Section ServerFlags
 OptionDontZapfalse
 EndSection

this does all not work and it needs ubuntu-users for help
http://www.ubuntugeek.com/how-to-enabledisable-ctrlaltbackspace-in-ubuntu-9-10-karmic.html

 This is due to the fact that “DontZap” is no longer an option in the X server 
 and
 has become an option in XKB instead

/etc/X11/xinit/xinitrc.d/dont-zap.sh needs chmod 755

[root@rh:~]$ cat /etc/X11/xinit/xinitrc.d/dont-zap.sh
#!/bin/sh
setxkbmap -option terminate:ctrl_alt_bksp

after that as user you can restart X as all the years before



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Alan Cox
On Wed, 06 Jul 2011 13:02:43 +0200
Reindl Harald h.rei...@thelounge.net wrote:

 
 
 Am 06.07.2011 13:02, schrieb Alan Cox:
  The DontZap option in Xorg.conf from memory (see man xorg.conf)
 
 this does not interest my system :-(
 Section ServerFlags
  Option  DontZap on
 EndSection

You probably want it off not on...

Alan
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Reindl Harald


Am 06.07.2011 16:48, schrieb Alan Cox:
 On Wed, 06 Jul 2011 13:02:43 +0200
 Reindl Harald h.rei...@thelounge.net wrote:
 
 Am 06.07.2011 13:02, schrieb Alan Cox:
 The DontZap option in Xorg.conf from memory (see man xorg.conf)

 this does not interest my system :-(
 Section ServerFlags
  Option  DontZap on
 EndSection
 
 You probably want it off not on...
 Alan

probably such things should not be changed permanently what happens
on many edges in linux-subsystems the last 2-3 years to make people
crazy with destroying their knowledge over and over

http://www.ubuntugeek.com/how-to-enabledisable-ctrlaltbackspace-in-ubuntu-9-10-karmic.html
This is due to the fact that “DontZap” is no longer an option in the X server 
and has
become an option in XKB instead



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Bryn M. Reeves
On 07/06/2011 03:36 PM, Reindl Harald wrote:
 
 Am 06.07.2011 16:06, schrieb Reindl Harald:
 [root@rh:/etc/X11/xorg.conf.d]$ cat 02-dont-zap.conf
 Section ServerFlags
 OptionDontZapfalse
 EndSection
 
 this does all not work and it needs ubuntu-users for help
 http://www.ubuntugeek.com/how-to-enabledisable-ctrlaltbackspace-in-ubuntu-9-10-karmic.html
 
 This is due to the fact that “DontZap” is no longer an option in the X 
 server and
 has become an option in XKB instead
 
 /etc/X11/xinit/xinitrc.d/dont-zap.sh needs chmod 755
 
 [root@rh:~]$ cat /etc/X11/xinit/xinitrc.d/dont-zap.sh
 #!/bin/sh
 setxkbmap -option terminate:ctrl_alt_bksp

This should already be set up by the default 00-system-setup-keyboard.conf. This
is the case on my system:

$ grep terminate /etc/X11/xorg.conf.d/00-system-setup-keyboard.conf
Option  XkbOptionsterminate:ctrl_alt_bksp,

If the file is missing or altered on your machine you may be better off
restoring it than adding the xinit hack above.

Looking at the 01-local.conf you posted it appears you have changed XkbOptions
on your system:

Section InputClass
 Identifier  Keyboard
 Option  XkbOptions ctrl:nocaps
EndSection

You may like to revert that or add terminate back into it..

 after that as user you can restart X as all the years before

I wouldn't take a random ubuntu help site as canon. If this is the case then
someone forgot to tell the fedora packages; it's still documented in the man
page on f15 and still exists in the xorg-server sources:

$ grep -r DontZap xorg-server-1.10.2/
xorg-server-1.10.2/hw/xfree86/common/xf86Config.c:  { FLAG_DONTZAP, 
DontZap,  OPTV_BOOLEAN,
xorg-server-1.10.2/hw/xfree86/doc/man/Xorg.man:.B DontZap
xorg-server-1.10.2/hw/xfree86/doc/man/xorg.conf.man:.BI Option \*qDontZap\*q
\*q boolean \*q
xorg-server-1.10.2/hw/xfree86/doc/devel/Registry:DontZap   B
 Fdisable Ctrl-Alt-BS sequence
xorg-server-1.10.2/hw/xfree86/xorgconf.cpp:#Option  DontZap   false
[...]

It still sets the global xf86Info.dontZap variable and adding the option causes
my X server to accept the zap keystroke. Removing it causes it to stop
responding to ctrl-alt-backspace.

I can't explain why you're seeing different behaviour on your system but I don't
claim to be an X expert.

If this has been removed from the X server in Ubuntu 9.10 that would appear to
be an ubuntu-specific change.

Regards,
Bryn.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Tom Horsley
On Wed, 06 Jul 2011 17:16:46 +0100
Bryn M. Reeves wrote:

 This should already be set up by the default 00-system-setup-keyboard.conf. 
 This
 is the case on my system:

That is apparently a recent change. I know for sure that Ctrl-Alt-Bksp
disappeared for a while in the default fedora config, but it does seem
to be back in fedora 15 at least. Not sure when it reappeared as being
enabled by default, but if you google the fedora users list, you should
be able to find many outraged emails from when it first disappeared a
few releases ago. You can even find all the folks explaining why it
obviously should go away and it was always stupid to have it (which makes
me wonder why it came back :-).
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread John Aldrich
Ok... I just got pointed to a Wiki article for ArchLinux that describes how 
to do this for KDE (which is all /I/ am concerned about *grin*) Basically 
you open up Systemsettings, go to input devices, select the keyboard, go 
to the advanced tab and expandthe key sequence to kill x server and 
select CTRL+ALT+BACKSPACE and then apply and quit systemsettings.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Reindl Harald


Am 06.07.2011 18:16, schrieb Bryn M. Reeves:
 On 07/06/2011 03:36 PM, Reindl Harald wrote:

 Am 06.07.2011 16:06, schrieb Reindl Harald:
 [root@rh:/etc/X11/xorg.conf.d]$ cat 02-dont-zap.conf
 Section ServerFlags
 OptionDontZapfalse
 EndSection

 this does all not work and it needs ubuntu-users for help
 http://www.ubuntugeek.com/how-to-enabledisable-ctrlaltbackspace-in-ubuntu-9-10-karmic.html

 This is due to the fact that “DontZap” is no longer an option in the X 
 server and
 has become an option in XKB instead

 /etc/X11/xinit/xinitrc.d/dont-zap.sh needs chmod 755

 [root@rh:~]$ cat /etc/X11/xinit/xinitrc.d/dont-zap.sh
 #!/bin/sh
 setxkbmap -option terminate:ctrl_alt_bksp
 
 This should already be set up by the default 00-system-setup-keyboard.conf. 
 This
 is the case on my system:
 
 $ grep terminate /etc/X11/xorg.conf.d/00-system-setup-keyboard.conf
   Option  XkbOptionsterminate:ctrl_alt_bksp,

should is not enough and i posted this default-file
which has comments to not edit it and looks like yours

 If the file is missing or altered on your machine you may be better off
 restoring it than adding the xinit hack above.

it was never touched
it does not work out of the box

 Looking at the 01-local.conf you posted it appears you have changed XkbOptions
 on your system:
 
 Section InputClass
  Identifier  Keyboard
  Option  XkbOptions ctrl:nocaps
 EndSection
 
 You may like to revert that or add terminate back into it..

i may not because this disables CAPS-LOCK

 after that as user you can restart X as all the years before

he does not

 I wouldn't take a random ubuntu help site as canon. If this is the case then
 someone forgot to tell the fedora packages; it's still documented in the man
 page on f15 and still exists in the xorg-server sources:

but it does not work
so nice that something is in some manual but helps not

 It still sets the global xf86Info.dontZap variable and adding the option 
 causes
 my X server to accept the zap keystroke. Removing it causes it to stop
 responding to ctrl-alt-backspace.
 
 I can't explain why you're seeing different behaviour on your system but I 
 don't
 claim to be an X expert.
 
 If this has been removed from the X server in Ubuntu 9.10 that would appear to
 be an ubuntu-specific change.

anyways, the ubuntu trick does help, but it is not the same as all the years
before because this works only after gui login and not on the login-screen

so i guess if X hangs it will probably not work




signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-06 Thread Reindl Harald
really nice, after some investigation: why not using ALT+PRINT+K

the only problem i see is that there are combinations
open no one would really like (B without S)

R,E,I,S,U,B = nice but Raising Elephants Is So Utterly Boring
for non-english peopole not helpful and if you use the wrong
order you have a problem

Am 06.07.2011 23:37, schrieb Daniele Guerrieri:
 And what do you think about enabling sysrq in sysctl.conf? i've done
 it on my system,and when X freezes i just have to enter the rescue
 mode with alt-print followed by R I , and init respawns gdm.
 
 Daniele
 
 2011/7/6, Bryn M. Reeves b...@redhat.com:
 On 07/06/2011 05:29 PM, Tom Horsley wrote:
 On Wed, 06 Jul 2011 17:16:46 +0100
 Bryn M. Reeves wrote:

 This should already be set up by the default
 00-system-setup-keyboard.conf. This
 is the case on my system:

 That is apparently a recent change. I know for sure that Ctrl-Alt-Bksp
 disappeared for a while in the default fedora config, but it does seem

 Heh - turns out my testing was broken :)

 The 00-system-setup-keyboard.conf change has been there all along in f15
 (timestamp on my system is back in April when I first installed this box
 from
 alpha and doesn't seem to have been updated since).

 to be back in fedora 15 at least. Not sure when it reappeared as being
 enabled by default, but if you google the fedora users list, you should
 be able to find many outraged emails from when it first disappeared a
 few releases ago. You can even find all the folks explaining why it

 Yep, I was there at the time.. adding the config option back in for users
 who
 wanted it just never seemed like such a big deal to me..

 obviously should go away and it was always stupid to have it (which makes
 me wonder why it came back :-).

 I assumed when I installed f15 alpha for the first time it was to make life
 easier testing gnome-shell - I had a few occasions when I needed it during
 alpha/beta and it was on by default.

 When Reindl first asked I assumed something had changed in post-GA f15 - I
 re-tested and it didn't seem to work - I added DontZap false, checked again
 and
 it was working.

 Problem is my testing was flawed - the first time I tried it (when it
 appeared
 not to work) I was using synergy from another machine. After restarting X
 with
 DontZap I tested from the physical keyboard.. It turns out that
 ctrl-alt-delete
 appears to get filtered out somewhere when it's coming from a remote synergy
 client.

 Reverting everything back to how it was originally and zap is definitely on
 by
 default in f15 (via XKB)



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


How to enable CTRL+ALT+BACKSPACE

2011-07-05 Thread Reindl Harald
in the newest release the shortcut for restart X11 is disabled
and i hate it because if X11 drives crazy it is really useful
and where i work nobody kills my X11 if he won't killed self

i guess the following config-file does this disable but
the comment says changes here are useless, so how tell
system-setup-keyboard not wanting the last line?

[root@rh:/etc/X11/xorg.conf.d]$ cat 00-system-setup-keyboard.conf
# This file is autogenerated by system-setup-keyboard. Any
# modifications will be lost.

Section InputClass
Identifier  system-setup-keyboard
MatchIsKeyboard on
Option  XkbModel  pc105
Option  XkbLayout de
Option  XkbVariantnodeadkeys
Option  XkbOptionsterminate:ctrl_alt_bksp,
EndSection



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to enable CTRL+ALT+BACKSPACE

2011-07-05 Thread Petrus de Calguarium
Reindl Harald wrote:

 00-system-setup-keyboard.conf
 # This file is autogenerated by system-setup-keyboard. Any
 # modifications will be lost.
 
 Section InputClass
 Identifier  system-setup-keyboard
 MatchIsKeyboard on
 Option  XkbModel  pc105
 Option  XkbLayout de
 Option  XkbVariantnodeadkeys
 Option  XkbOptionsterminate:ctrl_alt_bksp,

My file is exactly the same and the key combination of ctrl-alt-backspace 
*does* produce the desired result. I *think* that kdesettings must have 
created it, but I am not certain. I don't quite understand whether you want 
to have ctrl-alt-backspace working sensibly, or whether you want it disabled. 
The file enables it. If you want it disabled, I presume you could delete it 
or move it to a backup location, to experiment.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines