# HG changeset patch # User Aleksej Bobylev # Date 1491866930 -10800 # Node ID c187e3d49df6f74712844547c2aa1e5a79618201 # Parent ff7076d04f2e056e397c1ac3a2722d16bdfbc4e8 tinyutils/tazx: do not override saved user settings on LXPanel (don't add/remove "xkb" applet) diff -r ff7076d04f2e -r c187e3d49df6 tinyutils/tazx --- a/tinyutils/tazx Tue Mar 14 02:36:18 2017 +0200 +++ b/tinyutils/tazx Tue Apr 11 02:28:50 2017 +0300 @@ -1,10 +1,10 @@ #!/bin/sh # # Tazx - Ncurses X configuration for SliTaz GNU/Linux using Dialog boxes. -# This tinyutil is part of slitaz-tools. Tazx can configure Xorg with +# This tiny util is part of slitaz-tools. Tazx can configure Xorg with # several Window Managers. The GTK interface to configure X is in tazbox. # -# (c) 2011-2015 SliTaz GNU/Linux - GNU GPL v3. +# (c) 2011-2017 SliTaz GNU/Linux - GNU GPL v3. # Authors: Christophe Lincoln # Pascal Bellard # @@ -45,7 +45,7 @@ gen_xorg_conf_file() { if [ ! -f /etc/X11/xorg.conf ]; then - cat > /etc/X11/xorg.conf << EOT + cat > /etc/X11/xorg.conf < $keyboard_config << EOC + [ -n "$update_conf" ] && cat > $keyboard_config < /dev/null + tar -cf $xorg_config/../Previous_xorg.conf.d.tar $xorg_config/ &>/dev/null # Put the different sections in separate files in the config directory. save_chunk 10-ServerLayout @@ -601,10 +526,6 @@ proc_cmdline set_depth $2 ;; - xkb) - xkb ;; - - *help|-h|-?) emsg " tazx - $(_ 'Configuration tool for SliTaz GNU/Linux')