Bug#581758: keyboard-configuration: way to enable xserver zapping not documented
clone 581758 -1 severity -1 normal tags -1 - patch retitle -1 way to enable xserver zapping not documented reassign -1 release-notes thank you On Mon, May 17, 2010 at 12:28:13PM +0200, Petr Baudis wrote: What about adding this in /etc/default/keyboard ? # The following variables describe your keyboard and can have the same # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options -# in /etc/X11/xorg.conf. +# in /etc/X11/xorg.conf. Notably, XkbOptions now needs to explicitly +# set terminate:ctrl_alt_bksp to enable the traditional X server +# zapping behavior. Another option would be to at least make sure that the Squeeze release notes outline this clearly. I'm not sure what the process for this would be as there seem to be no release notes available yet. I am reassigning a clone of this bug to release-notes. I can not provide the exact wording but I suppose s.t. like the following can be used (based on /usr/share/doc/xkb-data/NEWS.Debian.gz and the text of Petr Baudis): After the upgrade, the Ctrl-Alt-Backspace key combination can no longer be used to kill the X server. If you would like to re-enable this functionality globally, use dpkg-reconfigure keyboard-configuration or simply add an option terminate:ctrl_alt_bksp in /etc/default/keyboard to the value of the variable XKBOPTIONS. If you would like to re-enable this feature for a particular user only, you may do so with the desktop's Keyboard Preferences application of the respective user. You may also enable it for the current session using the command setxkbmap -option terminate:ctrl_alt_bksp. Anton Zinoviev -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#581758: keyboard-configuration: way to enable xserver zapping not documented
tags 581758 patch severity 581758 minor thank you I'm lowering the severity because this is not realy a bug of console-setup. I think I'd better postpone the following patch until squeeze is released. On Sat, May 15, 2010 at 05:30:46PM +0200, Petr Baudis wrote: Either keyboard-configuration setup should handle enabling the zapping without touching the rest of the layout setup, or it needs to be clearly documented that users can enable it themselves by appending terminate:ctrl_alt_bksp to XKBOPTIONS. The following patch should make keyboard-configuration ask the option questions even if the layout is not supported. Index: debian/keyboard-configuration.config === --- debian/keyboard-configuration.config(revision 64701) +++ debian/keyboard-configuration.config(working copy) @@ -1147,6 +1147,14 @@ db_metaget keyboard-configuration/other description other=$RET if [ $unsupported_layout = yes ]; then +case $XKBLAYOUT in +*,*) +latin=no +;; +*) +latin=yes +;; +esac db_set keyboard-configuration/variantcode $XKBVARIANT # skip the question without making Debconf loop STATE=$(( $STATE + $STATE - $old_state )) @@ -1236,10 +1244,7 @@ fi ;; 5) - if \ - [ ! $unsupported_layout = yes \ - -a $unsupported_options = yes ] - then + if [ $unsupported_options = yes ]; then if [ -f $CONFIGFILE ]; then db_subst keyboard-configuration/unsupported_config_options \ XKBOPTIONS $XKBOPTIONS @@ -1275,10 +1280,7 @@ fi ;; 6) - if \ - [ $unsupported_layout = yes \ - -o $unsupported_options = yes ] - then + if [ $unsupported_options = yes ]; then db_set keyboard-configuration/optionscode $XKBOPTIONS # skip the questions without making Debconf loop STATE=$(( $STATE + $STATE - $old_state )) Anton Zinoviev -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#581758: keyboard-configuration: way to enable xserver zapping not documented
On Sat, May 15, 2010 at 06:34:28PM +0200, Julien Cristau wrote: On Sat, May 15, 2010 at 17:30:46 +0200, Petr Baudis wrote: There is no documentation on how to enable xserver zapping functionality in keyboard-setup, a rather important feature which changed default behavior since last stable release. The only way to normally find out is to run dpkg-reconfigure keyboard-configuration _and_ let keyboard-configuration completely rewrite all the setting (it cannot reproduce more complex multi-layout settings easily, it seems). Either keyboard-configuration setup should handle enabling the zapping without touching the rest of the layout setup, or it needs to be clearly documented that users can enable it themselves by appending terminate:ctrl_alt_bksp to XKBOPTIONS. There's some info about that change in /usr/share/doc/xkb-data/NEWS.Debian.gz. I think it's more appropriate to have it there rather than in keyboard-configuration, since that's where the change was made, and that's also the package that's getting upgraded from lenny as opposed to a new package. Suggestions for improvement of that text are welcome. I was looking really hard for this information, but xkb-data is one package that never occured to me to look at - I saw it in the list of xkb-related packages, but it seemed obvious to me that it would just contain definitions of particular layouts and not concern itself with talking about general xkb options. I think the wording is fine, it is just not obvious to look for that information in xkb-data. Traditionally, the shortcut to zap the X server has been regarded as a core X server functionality, so traditional users are also not that likely to look at xkb-data docs. What about adding this in /etc/default/keyboard ? # The following variables describe your keyboard and can have the same # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options -# in /etc/X11/xorg.conf. +# in /etc/X11/xorg.conf. Notably, XkbOptions now needs to explicitly +# set terminate:ctrl_alt_bksp to enable the traditional X server +# zapping behavior. Another option would be to at least make sure that the Squeeze release notes outline this clearly. I'm not sure what the process for this would be as there seem to be no release notes available yet. -- Petr Pasky Baudis When I feel like exercising, I just lie down until the feeling goes away. -- xed_over -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#581758: keyboard-configuration: way to enable xserver zapping not documented
On Mon, May 17, 2010 at 12:28:13 +0200, Petr Baudis wrote: On Sat, May 15, 2010 at 06:34:28PM +0200, Julien Cristau wrote: There's some info about that change in /usr/share/doc/xkb-data/NEWS.Debian.gz. I think it's more appropriate to have it there rather than in keyboard-configuration, since that's where the change was made, and that's also the package that's getting upgraded from lenny as opposed to a new package. Suggestions for improvement of that text are welcome. I was looking really hard for this information, but xkb-data is one package that never occured to me to look at - I saw it in the list of xkb-related packages, but it seemed obvious to me that it would just contain definitions of particular layouts and not concern itself with talking about general xkb options. Well, it defines all the various layouts, variants, options, etc, but point taken. I think the wording is fine, it is just not obvious to look for that information in xkb-data. Traditionally, the shortcut to zap the X server has been regarded as a core X server functionality, so traditional users are also not that likely to look at xkb-data docs. The NEWS file is shown on upgrade if apt-listchanges is installed. What about adding this in /etc/default/keyboard ? # The following variables describe your keyboard and can have the same # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options -# in /etc/X11/xorg.conf. +# in /etc/X11/xorg.conf. Notably, XkbOptions now needs to explicitly +# set terminate:ctrl_alt_bksp to enable the traditional X server +# zapping behavior. I don't really like this. It really is a 'default changed between lenny and squeeze' issue, so I think a NEWS file and release notes are more appropriate than cluttering the config file with it. Another option would be to at least make sure that the Squeeze release notes outline this clearly. I'm not sure what the process for this would be as there seem to be no release notes available yet. Bugs can be filed against the release-notes pseudo-package. Better yet to include suggested wording ;) Cheers, Julien signature.asc Description: Digital signature
Bug#581758: keyboard-configuration: way to enable xserver zapping not documented
Package: keyboard-configuration Version: 1.51 Severity: normal There is no documentation on how to enable xserver zapping functionality in keyboard-setup, a rather important feature which changed default behavior since last stable release. The only way to normally find out is to run dpkg-reconfigure keyboard-configuration _and_ let keyboard-configuration completely rewrite all the setting (it cannot reproduce more complex multi-layout settings easily, it seems). Either keyboard-configuration setup should handle enabling the zapping without touching the rest of the layout setup, or it needs to be clearly documented that users can enable it themselves by appending terminate:ctrl_alt_bksp to XKBOPTIONS. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages keyboard-configuration depends on: ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy keyboard-configuration recommends no packages. keyboard-configuration suggests no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#581758: keyboard-configuration: way to enable xserver zapping not documented
On Sat, May 15, 2010 at 17:30:46 +0200, Petr Baudis wrote: There is no documentation on how to enable xserver zapping functionality in keyboard-setup, a rather important feature which changed default behavior since last stable release. The only way to normally find out is to run dpkg-reconfigure keyboard-configuration _and_ let keyboard-configuration completely rewrite all the setting (it cannot reproduce more complex multi-layout settings easily, it seems). Either keyboard-configuration setup should handle enabling the zapping without touching the rest of the layout setup, or it needs to be clearly documented that users can enable it themselves by appending terminate:ctrl_alt_bksp to XKBOPTIONS. There's some info about that change in /usr/share/doc/xkb-data/NEWS.Debian.gz. I think it's more appropriate to have it there rather than in keyboard-configuration, since that's where the change was made, and that's also the package that's getting upgraded from lenny as opposed to a new package. Suggestions for improvement of that text are welcome. Cheers, Julien signature.asc Description: Digital signature