slitaz-tools rev 515

tazx: tiny edits/typos
author Paul Issott <paul@slitaz.org>
date Thu Nov 04 09:28:10 2010 +0000 (2010-11-04)
parents 147bd1b8757f
children 1442140ec3d0
files tinyutils/tazx
line diff
     1.1 --- a/tinyutils/tazx	Sun Oct 31 16:47:32 2010 +0100
     1.2 +++ b/tinyutils/tazx	Thu Nov 04 09:28:10 2010 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4  #
     1.5  # Tazx - Ncurses X configuration for SliTaz GNU/Linux using Dialog boxes.
     1.6  # This tinyutils is part of slitaz-tools. Tazx can configure Xvesa kdrive
     1.7 -# and Xorg with several Window Manager.
     1.8 +# and Xorg with several Window Managers.
     1.9  #
    1.10  # (c) 2010 SliTaz GNU/Linux - GNU gpl v3.
    1.11  # Authors: Christophe Lincoln <pankso@slitaz.org>
    1.12 @@ -35,7 +35,7 @@
    1.13  	# Obtain a default configuration file from Xorg.
    1.14  	Xorg -configure :1
    1.15  
    1.16 -	#backup existing config
    1.17 +	# Backup existing config.
    1.18  	tar -cf $xorg_config/../Previous_xorg.conf.d.tar $xorg_config/ &> /dev/null 
    1.19  
    1.20  	# Put the differents sections in separate files in the configuration directory.
    1.21 @@ -89,9 +89,9 @@
    1.22  	echo 'Endsection' >> $keyboard_config
    1.23  
    1.24  	# Create a xorg.conf if needed.
    1.25 -	[ ! -f /etc/X11/xorg.conf ] && echo "# You can put here you're own Xorg configurations.
    1.26 -	# This configuration file is readed before all files in /etc/X11/xorg.conf.d
    1.27 -	# This file will not be erased by next updates." > /etc/X11/xorg.conf
    1.28 +	[ ! -f /etc/X11/xorg.conf ] && echo "# You can put here your own Xorg configurations.
    1.29 +	# This configuration file is read before all files in /etc/X11/xorg.conf.d
    1.30 +	# This file will not be erased by any updates." > /etc/X11/xorg.conf
    1.31  }
    1.32  
    1.33  # Install xorg server
    1.34 @@ -186,7 +186,7 @@
    1.35  		xorg)
    1.36  			install_xorg ;;
    1.37  		xterm)
    1.38 -			# Only with Xvesa
    1.39 +			# Only with Xvesa.
    1.40  			Xvesa -ac -shadow -screen 800x600x16 -br &
    1.41  			exec xterm -cr orange -geometry 80x35+0-0 ;;
    1.42  		text)
    1.43 @@ -301,8 +301,8 @@
    1.44  {
    1.45  	cat >  $FILE << "EOF"
    1.46  # ~/.xinitrc: Executed by slim login manager to startx X session.
    1.47 -# You can use F1 with Slim to chage your window manager or configure
    1.48 -# it permanently with your personnal applications.conf file.
    1.49 +# You can use F1 with Slim to change your window manager or configure
    1.50 +# it permanently with your personal applications.conf file.
    1.51  #
    1.52  . $HOME/.config/slitaz/applications.conf
    1.53  
    1.54 @@ -331,7 +331,7 @@
    1.55  esac
    1.56  EOF
    1.57  	# Set default WM in applications.conf user file. Default WM can be
    1.58 -	# configured graphicaly with 'desktopbox tazapps'
    1.59 +	# configured graphically with 'desktopbox tazapps'
    1.60  	. $CONFIG
    1.61  	sed -i s/"WINDOW_MANAGER=.*"/"WINDOW_MANAGER=\"$WM\""/ \
    1.62  		$CONFIG