Re: How to enable CTRL+ALT+BACKSPACE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"
>>         Option    "DontZap"    "false"
>> 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		"XkbOptions"	"terminate: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
 F    disable 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux