Re: making Ctrl-Alt-Bksp work
On Tue, 2014-05-13 at 09:56 +1000, Peter Hutterer wrote: > > After reboot it succeeded, but I still wonder why CAD gets enabled > > there at installation time for pt and de by not us. :-( > > what's in your /etc/vconsole.conf? We've now reached a point where it's > better to file a bug report though. This could get messy. For one thing I suspect i may be to do with it being the default layout; perhaps this means anaconda never explicitly calls localed to write out a config if you never change the layout from us. I'd have to dig into anaconda to make sure. The thing that makes it messy, though, is the vestigial bit of system-config-keyboard / system-setup-keyboard that systemd/localed is still lugging around, the Magic List of keyboard layouts called kbd-model-map . It's in /usr/share/systemd/kbd-model-map on an installed system, src/locale/kbd-model-map in a systemd git checkout. A layout setting operation that gets run through that list is probably going to get the terminate:ctrl_alt_bksp option set, because it's listed in the 'xoptions' column of kbd-model-map for every layout that file contains. I no longer recall exactly when localed does and possibly does not use kbd-model-map. I'd have to investigate a bit. And there may be other wrinkles around the place. But that's at least one place to look. (An obvious first test is to try an install with two similar non-default keyboard layouts, one that's listed in kbd-model-map and one that isn't, and see what happens). -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net http://www.happyassassin.net -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
On Thu, May 08, 2014 at 11:43:08PM -0400, Felix Miata wrote: > On 2014-05-08 08:43 (GMT+1000) Peter Hutterer composed: > > >On Wed, May 07, 2014 at 02:38:59PM -0400, Felix Miata wrote: > > >>Your (locale pt) and Reindl's (locale de) answers beg two questions: > > >>1-why do 00-keyboard.conf for pt and de contain > >>terminate:ctrl_alt_bksp, but for locale us it is absent? > > >>2-what creates 00-keyboard.conf in the first place, since it doesn't > >>get automatically recreated even by rebooting if deleted? > > >systemd-localed. This file is written when you change the locale, either > >during install or later with localectl. It doesn't automatically get > >restored when you delete it. > > >http://fedoraproject.org/wiki/Input_device_configuration > >lists the magic command as: > >localectl set-x11-keymap "us" "" "" "terminate:ctrl_alt_bksp" > > On a Rawhide system originally installed 6 weeks ago running in > multi-user I deleted 00-keyboard.conf, then did yum upgrade, and > before rebooting the new kernel tried that command, with these > results: > > Failed to set keymap: Connection timed out > new 00-keyboard.conf not written > I had to force a reboot, as most anything I tried related to shutting down > timed out. loginctl doesn't write the file, it talks over dbus to systemd-logind which writes out the file. This is the connection that failed, for some reason. > After reboot it succeeded, but I still wonder why CAD gets enabled > there at installation time for pt and de by not us. :-( what's in your /etc/vconsole.conf? We've now reached a point where it's better to file a bug report though. Cheers, Peter > >which communicates the new keymap to systemd-localed, which then writes out > >the file. > > >but having just tested this on F20, just running "localectl set-keymap us" > >also writes out the right configuration, including the terminate option. The > >above is needed for custom x11 keymaps, but shouldn't be needed for normal > >setup. > > >>re 2: Maybe your two installations have 00-keyboard.conf carried > >>over from before xorg-x11-drv-keyboard was superceded by > >>xorg-x11-drv-evdev, which on (re)installation does not create it if > >>it does not exist? > > >neither the keyboard nor the evdev driver have anything to do with it. the > >retirement of the keyboard driver should have no effect on anything newer > >than, say, Fedora 12. > > >Zapping in the server works as a two-stage process. A key combination is > >interpreted by a XKB as a Terminate_Server action. The server then > >interprets that and terminates. With DontZap you only control the > >second part, i.e. whether the server terminates when the action is triggered. > >If you don't have the XKB setting, you can't trigger it in the first place. > >And DontZap is only useful if you want to _prohibit_ zapping completely. It > >just makes Terminate_Server do nothing. > > >For your use-case, forget about DontZap, it has no effect. I'm the > >maintainer for these parts of the server, so regardless of how many > >configurations you find that tell you to enable it, please trust my word > >here. You need to get the terminate XKB option into your keymap, that's all > >that matters. > > FWIW, on one F21 system with radeon video here even a normal exit > from a startx KDE session is leaving the screen on the tty started > from black. A shift to a tty and back then draws what had been > expected. I've tried on 6+ other installations, one with radeon, and > all the others behave as expected. > -- > "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@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/devel > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
On 2014-05-08 08:43 (GMT+1000) Peter Hutterer composed: On Wed, May 07, 2014 at 02:38:59PM -0400, Felix Miata wrote: Your (locale pt) and Reindl's (locale de) answers beg two questions: 1-why do 00-keyboard.conf for pt and de contain terminate:ctrl_alt_bksp, but for locale us it is absent? 2-what creates 00-keyboard.conf in the first place, since it doesn't get automatically recreated even by rebooting if deleted? systemd-localed. This file is written when you change the locale, either during install or later with localectl. It doesn't automatically get restored when you delete it. http://fedoraproject.org/wiki/Input_device_configuration lists the magic command as: localectl set-x11-keymap "us" "" "" "terminate:ctrl_alt_bksp" On a Rawhide system originally installed 6 weeks ago running in multi-user I deleted 00-keyboard.conf, then did yum upgrade, and before rebooting the new kernel tried that command, with these results: Failed to set keymap: Connection timed out new 00-keyboard.conf not written I had to force a reboot, as most anything I tried related to shutting down timed out. After reboot it succeeded, but I still wonder why CAD gets enabled there at installation time for pt and de by not us. :-( which communicates the new keymap to systemd-localed, which then writes out the file. but having just tested this on F20, just running "localectl set-keymap us" also writes out the right configuration, including the terminate option. The above is needed for custom x11 keymaps, but shouldn't be needed for normal setup. re 2: Maybe your two installations have 00-keyboard.conf carried over from before xorg-x11-drv-keyboard was superceded by xorg-x11-drv-evdev, which on (re)installation does not create it if it does not exist? neither the keyboard nor the evdev driver have anything to do with it. the retirement of the keyboard driver should have no effect on anything newer than, say, Fedora 12. Zapping in the server works as a two-stage process. A key combination is interpreted by a XKB as a Terminate_Server action. The server then interprets that and terminates. With DontZap you only control the second part, i.e. whether the server terminates when the action is triggered. If you don't have the XKB setting, you can't trigger it in the first place. And DontZap is only useful if you want to _prohibit_ zapping completely. It just makes Terminate_Server do nothing. For your use-case, forget about DontZap, it has no effect. I'm the maintainer for these parts of the server, so regardless of how many configurations you find that tell you to enable it, please trust my word here. You need to get the terminate XKB option into your keymap, that's all that matters. FWIW, on one F21 system with radeon video here even a normal exit from a startx KDE session is leaving the screen on the tty started from black. A shift to a tty and back then draws what had been expected. I've tried on 6+ other installations, one with radeon, and all the others behave as expected. -- "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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
On Wed, May 07, 2014 at 02:38:59PM -0400, Felix Miata wrote: > On 2014-05-07 19:03 (GMT+0100) Sérgio Basto composed: > > >yes Ctrl-Alt-Bksp works and restart X , as Reindl Harald notice, I also have > > >Option "XkbOptions" "terminate:ctrl_alt_bksp, > > >cat /etc/X11/xorg.conf.d/00-keyboard.conf > > > Option "XkbModel" "pc105" > > Option "XkbLayout" "pt" > > Option "XkbOptions""terminate:ctrl_alt_bksp," > > >my video card is : > >[52.601] (II) intel(0): [DRI2] DRI driver: i965 > > >"DontZoom" don't works , you are right > > Your (locale pt) and Reindl's (locale de) answers beg two questions: > > 1-why do 00-keyboard.conf for pt and de contain > terminate:ctrl_alt_bksp, but for locale us it is absent? > > 2-what creates 00-keyboard.conf in the first place, since it doesn't > get automatically recreated even by rebooting if deleted? systemd-localed. This file is written when you change the locale, either during install or later with localectl. It doesn't automatically get restored when you delete it. http://fedoraproject.org/wiki/Input_device_configuration lists the magic command as: localectl set-x11-keymap "us" "" "" "terminate:ctrl_alt_bksp" which communicates the new keymap to systemd-localed, which then writes out the file. but having just tested this on F20, just running "localectl set-keymap us" also writes out the right configuration, including the terminate option. The above is needed for custom x11 keymaps, but shouldn't be needed for normal setup. > re 2: Maybe your two installations have 00-keyboard.conf carried > over from before xorg-x11-drv-keyboard was superceded by > xorg-x11-drv-evdev, which on (re)installation does not create it if > it does not exist? neither the keyboard nor the evdev driver have anything to do with it. the retirement of the keyboard driver should have no effect on anything newer than, say, Fedora 12. Zapping in the server works as a two-stage process. A key combination is interpreted by a XKB as a Terminate_Server action. The server then interprets that and terminates. With DontZap you only control the second part, i.e. whether the server terminates when the action is triggered. If you don't have the XKB setting, you can't trigger it in the first place. And DontZap is only useful if you want to _prohibit_ zapping completely. It just makes Terminate_Server do nothing. For your use-case, forget about DontZap, it has no effect. I'm the maintainer for these parts of the server, so regardless of how many configurations you find that tell you to enable it, please trust my word here. You need to get the terminate XKB option into your keymap, that's all that matters. Cheers, Peter -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
On Wednesday 07 May 2014 16:01:53 Felix Miata wrote: > On 2014-05-07 20:49 (GMT+0200) Fidel Leon composed: > >> re 2: Maybe your two installations have 00-keyboard.conf carried over > >> from > >> before xorg-x11-drv-keyboard was superceded by xorg-x11-drv-evdev, which > >> on > >> (re)installation does not create it if it does not exist? > > > > My case was a clean install. > > Every install had to be a clean install by going far enough back in time. Yes, of course, my point was saying "I haven't upgraded from past releases", no old files which could carry such setup. Anyway: # ll -dt /boot/grub2/grub.cfg /boot/lost+found/ /boot/initramfs-3.14.2-200.fc20.i686+PAE.img /etc/X11/xorg.conf.d/00-keyboard.conf -rw---. 1 root root 4799 May 4 00:05 /boot/grub2/grub.cfg -rw---. 1 root root 19034041 May 4 00:04 /boot/initramfs-3.14.2-200.fc20.i686+PAE.img -rw-r--r--. 1 root root 324 May 4 00:02 /etc/X11/xorg.conf.d/00-keyboard.conf drwx--. 2 root root12288 May 3 20:38 /boot/lost+found/ That was four days ago - exactly when I (re)installed F20. I did a network installation, so most installed packages were already in the most current versions. Hence, in some moment after package installation but before the dracut and grub installation steps, was my keyboard file created (.conf file which follows what anaconda wrote in the kickstart files). That's consistent with what I see on another system I manage, which used a Xfce live CD to be installed. -- Fidel Leon fidell...@mykolab.com GSM: +34 639 000 390 GPG: AD74FB97 "Developers have the attention spans of slightly moronic woodland creatures." -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
On 2014-05-07 20:49 (GMT+0200) Fidel Leon composed: re 2: Maybe your two installations have 00-keyboard.conf carried over from before xorg-x11-drv-keyboard was superceded by xorg-x11-drv-evdev, which on (re)installation does not create it if it does not exist? My case was a clean install. Every install had to be a clean install by going far enough back in time. The question remains when you did a clean install, as retirement of the keyboard driver was recent, and may have occurred after your clean installation. -- "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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
Am 07.05.2014 20:38, schrieb Felix Miata: > On 2014-05-07 19:03 (GMT+0100) Sérgio Basto composed: > >> yes Ctrl-Alt-Bksp works and restart X , as Reindl Harald notice, I also have > >> Option "XkbOptions" "terminate:ctrl_alt_bksp, > >> cat /etc/X11/xorg.conf.d/00-keyboard.conf > >> Option "XkbModel" "pc105" >> Option "XkbLayout" "pt" >> Option "XkbOptions""terminate:ctrl_alt_bksp," > >> my video card is : >> [52.601] (II) intel(0): [DRI2] DRI driver: i965 > >> "DontZoom" don't works , you are right > > Your (locale pt) and Reindl's (locale de) answers beg two questions: > > 1-why do 00-keyboard.conf for pt and de contain terminate:ctrl_alt_bksp, but > for locale us it is absent? because nobody did write it there? > 2-what creates 00-keyboard.conf in the first place, since it doesn't get > automatically > recreated even by rebooting if deleted? not what - who - a smart admin in my case which just used google years ago: https://bbs.archlinux.org/viewtopic.php?pid=602885 signature.asc Description: OpenPGP digital signature -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
Just adding my two cents as I don't use the us locale. On Wednesday 07 May 2014 14:38:59 Felix Miata wrote: > On 2014-05-07 19:03 (GMT+0100) Sérgio Basto composed: > > yes Ctrl-Alt-Bksp works and restart X , as Reindl Harald notice, I also > > have > > > 1-why do 00-keyboard.conf for pt and de contain terminate:ctrl_alt_bksp, but > for locale us it is absent? The es locale doesn't have a terminate subsection...: # Read and parsed by systemd-localed. It's probably wise not to edit this file # manually too freely. Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbLayout" "es,si,rs" Option "XkbVariant" ",," Option "XkbOptions" "grp:lalt_lshift_toggle" EndSection > 2-what creates 00-keyboard.conf in the first place, since it doesn't get > automatically recreated even by rebooting if deleted? I installed my Fedora from a network install image, and the three locales I have were the languages I itold anaconda I wanted support for. Hence, at least for me, it was the system installation which created it. > re 2: Maybe your two installations have 00-keyboard.conf carried over from > before xorg-x11-drv-keyboard was superceded by xorg-x11-drv-evdev, which on > (re)installation does not create it if it does not exist? My case was a clean install. -- Fidel Leon fidell...@mykolab.com GSM: +34 639 000 390 GPG: AD74FB97 "Developers have the attention spans of slightly moronic woodland creatures." -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
On 2014-05-07 19:03 (GMT+0100) Sérgio Basto composed: yes Ctrl-Alt-Bksp works and restart X , as Reindl Harald notice, I also have Option "XkbOptions" "terminate:ctrl_alt_bksp, cat /etc/X11/xorg.conf.d/00-keyboard.conf Option "XkbModel" "pc105" Option "XkbLayout" "pt" Option "XkbOptions""terminate:ctrl_alt_bksp," my video card is : [52.601] (II) intel(0): [DRI2] DRI driver: i965 "DontZoom" don't works , you are right Your (locale pt) and Reindl's (locale de) answers beg two questions: 1-why do 00-keyboard.conf for pt and de contain terminate:ctrl_alt_bksp, but for locale us it is absent? 2-what creates 00-keyboard.conf in the first place, since it doesn't get automatically recreated even by rebooting if deleted? re 2: Maybe your two installations have 00-keyboard.conf carried over from before xorg-x11-drv-keyboard was superceded by xorg-x11-drv-evdev, which on (re)installation does not create it if it does not exist? -- "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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
On Qua, 2014-05-07 at 19:45 +0200, Reindl Harald wrote: > > Am 07.05.2014 19:41, schrieb Felix Miata: > > On 2014-05-07 18:22 (GMT+0100) Sérgio Basto composed: > > > >> answering to the subject > > > >> my /etc/X11/xorg.conf is: > > > >> Section "ServerLayout" > >> Identifier "single head configuration" > >> Option "DontZap" "false" > >> Option "DontZoom" "false" > >> EndSection > > > > In what way does that answer anything? Unless you are using a UMS video > > driver, I doubt DontZoom has any effect on > > anything. Does Ctrl-Alt-Bksp do anything on your system? If so, what locale > > do you use, and which video driver? yes Ctrl-Alt-Bksp works and restart X , as Reindl Harald notice, I also have Option "XkbOptions" "terminate:ctrl_alt_bksp, cat /etc/X11/xorg.conf.d/00-keyboard.conf Section "InputClass" Identifier "system-setup-keyboard" MatchIsKeyboard "on" Option "XkbModel" "pc105" Option "XkbLayout" "pt" Option "XkbOptions""terminate:ctrl_alt_bksp," EndSection my video card is : [52.601] (II) intel(0): [DRI2] DRI driver: i965 "DontZoom" don't works , you are right > that bring sme back to the login-creen on any pyhsical machine > with Ctrl-Alt-Bksp over years > > [root@srv-rhsoft:/etc/X11/xorg.conf.d]$ cat 00-keyboard.conf > Section "InputClass" > Identifier "system-setup-keyboard" > MatchIsKeyboard "on" > Option "XkbModel" "pc105" > Option "XkbLayout" "de" > Option "XkbVariant" "nodeadkeys" > Option "XkbOptions" "terminate:ctrl_alt_bksp," > EndSection > -- Sérgio M. B. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
Am 07.05.2014 19:41, schrieb Felix Miata: > On 2014-05-07 18:22 (GMT+0100) Sérgio Basto composed: > >> answering to the subject > >> my /etc/X11/xorg.conf is: > >> Section "ServerLayout" >> Identifier "single head configuration" >> Option "DontZap" "false" >> Option "DontZoom" "false" >> EndSection > > In what way does that answer anything? Unless you are using a UMS video > driver, I doubt DontZoom has any effect on > anything. Does Ctrl-Alt-Bksp do anything on your system? If so, what locale > do you use, and which video driver? that bring sme back to the login-creen on any pyhsical machine with Ctrl-Alt-Bksp over years [root@srv-rhsoft:/etc/X11/xorg.conf.d]$ cat 00-keyboard.conf Section "InputClass" Identifier "system-setup-keyboard" MatchIsKeyboard "on" Option "XkbModel" "pc105" Option "XkbLayout" "de" Option "XkbVariant" "nodeadkeys" Option "XkbOptions" "terminate:ctrl_alt_bksp," EndSection signature.asc Description: OpenPGP digital signature -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
On 2014-05-07 18:22 (GMT+0100) Sérgio Basto composed: answering to the subject my /etc/X11/xorg.conf is: Section "ServerLayout" Identifier "single head configuration" Option "DontZap" "false" Option "DontZoom" "false" EndSection In what way does that answer anything? Unless you are using a UMS video driver, I doubt DontZoom has any effect on anything. Does Ctrl-Alt-Bksp do anything on your system? If so, what locale do you use, and which video driver? -- "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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work (was: first and only X needs to be on tty7)
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.0 -0500 > > +++ evdev-suse 2014-04-09 15:51:53.0 -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) > > > > ! modellayout = 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@lists.fedoraproject.org > > https://admin.fedoraproject.org/mailman/listinfo/devel > > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > > -- Sérgio M. B. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work
On 2014-05-07 21:09 (GMT+1000) Peter Hutterer composed: >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. An F21 boot to multiuser, delete of 00-keyboard.conf, and then startx leaves /etc/X11/xorg.conf.d/ void of 00-keyboard.conf, so apparently systemd-localed currently drops nothing at all there. 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. -- "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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work (was: first and only X needs to be on tty7)
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.0 -0500 > +++ evdev-suse2014-04-09 15:51:53.0 -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@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/devel > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: making Ctrl-Alt-Bksp work (was: first and only X needs to be on tty7)
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.0 -0500 +++ evdev-suse 2014-04-09 15:51:53.0 -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) ! modellayout = 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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct