making Ctrl-Alt-Bksp work (was: first and only X needs to be on tty7)
Sérgio Basto
sergio at serjux.com
Wed May 7 17:22:45 UTC 2014
answering to the subject
my /etc/X11/xorg.conf is:
Section "ServerLayout"
Identifier "single head configuration"
Option "DontZap" "false"
Option "DontZoom" "false"
EndSection
On Qua, 2014-05-07 at 21:09 +1000, Peter Hutterer wrote:
> On Tue, May 06, 2014 at 06:15:12AM -0400, Felix Miata wrote:
> > 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
>
> fwiw (only answering one email) this is what systemd-localed should drop
> into /etc/X11/xorg.conf.d/00-keyboard.conf, with configuration based on
> whatever language settings you picked. so you shouldn't need this section.
>
> > Thank you!
> >
> > Turns out DontZap works with either false or off, but the difference
>
> the option parser in X is entertaining. "no", "off", "false", and "0" all
> work to disable, and so does prefixing the option with "No". So Option
> "NoDontZap" "off" is valid, just don't expect anyone to understand a
> triple-negation :) you can also sprinkle random whitespaces or underscores
> in there, in case you have too many of them.
>
> Cheers,
> Peter
>
> > 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 at lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/devel
> > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> >
--
Sérgio M. B.
More information about the devel
mailing list