Re: making Ctrl-Alt-Bksp work (was: first and only X needs to be on tty7)

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

 



On 2014-05-06 00:13 (GMT-0700) Samuel Sieb composed:

Felix Miata wrote:

For years, probably since the time of that document, I've had

     Option    "DontZap"    "off"
     Option    "ZapWarning"    "off"

somewhere in /etc/X11/xorg.con*. It used to work. Now it fails, but only
in Fedora (at least as far back as F14, worked as recent at least as
F8), so far that I've noticed.

I use the following that works on F20:
# cat /etc/X11/xorg.conf.d/99-zap.conf
Section "ServerFlags"
          Option "DontZap" "false"
EndSection

Section "InputClass"
      Identifier      "Keyboard Defaults"
      MatchIsKeyboard "yes"
      Option          "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Thank you!

Turns out DontZap works with either false or off, but the difference between SUSE and Fedora is the addtional need for XkbOptions in Fedora, and here's why:

/usr/share/X11/xkb/rules/
--- evdev	2014-01-29 22:45:32.000000000 -0500
+++ evdev-suse	2014-04-09 15:51:53.000000000 -0400
@@ -857,9 +857,9 @@
   *		yu		unicodeyz	=	+srp(latinunicodeyz):4

 ! model		=	symbols
-  $evdevkbds    =   +inet(evdev)+inet(%m)
-  applealu_jis  =   +inet(evdev)+macintosh_vndr/jp(alujiskeys)
-  *             =   +inet(evdev)
+  $evdevkbds    =   +inet(evdev)+inet(%m)+terminate(ctrl_alt_bksp)
+  applealu_jis  =   +inet(evdev)+macintosh_vndr/jp(alujiskeys)+terminate(ctrl_alt_bksp)
+  *             =   +inet(evdev)+terminate(ctrl_alt_bksp)

 ! model		layout		=	symbols

Using the SUSE evdev file in place of Fedora's my original xorg.con* that used to work also in Fedora works in it again without need for the XkbOptions addition.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux