#!/bin/sh # by Chris_(medico_2001) for Klikit-Linux (2007) # modified from a script by por Carlos E. Morimoto (kurumin Linux) export XDIALOG_HIGH_DIALOG_COMPAT=1 DIALOG=Xdialog DIA=Xdialog $DIALOG --title "Klikit Wizard" \ --backtitle " Install and Change the desktop mouse cursor " \ --radiolist "This wizard will download and install new mouse cursors for your Klikit-Linux desktop" 55 65 0 \ "a" "Install and use aeromouse cursor" off \ "b" "Install and use basenation cursor" off \ "c" "Install and use blueglass cursor" off \ "d" "Install and use crystal-blue cursor" off \ "e" "Install and use crystal-green cursor" off \ "f" "Install and use crystal-white cursor" off \ "g" "Install and use grounation cursor" off \ "h" "Install and use jaguarx cursor" off \ "i" "Install and use neutral cursor" off \ "j" "Install and use polar-blue cursor" off \ "k" "Install and use polar-green cursor" off \ "l" "Install and use polar-white cursor" off \ "m" "Install and use silver cursor" off \ "Exit" "Exit this wizard" off 2> /tmp/checklist.tmp.$$ retval=$? if [ $retval = 1 ]; then exit 0 fi choice=`cat /tmp/checklist.tmp.$$` rm -f /tmp/checklist.tmp.$$ # ----------------------------------- if [ "$choice" = "a" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/aero.tar.gz tar -zxvf aero.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/aero/ ~/.icons/ kdialog --title="klikit info" --msgbox "The aero cursor theme was successfuly installed. \n Now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select aero to use it." kcmshell mouse.desktop rm -rf /tmp/aero.tar.gz fi # ----------------------------------- if [ "$choice" = "b" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/basenation.tar.gz tar -zxvf basenation.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/basenation/ ~/.icons/ kdialog --title="klikit info" --msgbox "The basenation cursor theme was successfuly installed. \n Now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select basenation to use it." kcmshell mouse.desktop rm -rf /tmp/basenation.tar.gz fi # ----------------------------------- if [ "$choice" = "c" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/blueglass.tar.gz tar -zxvf blueglass.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/blueglass/ ~/.icons/ kdialog --title="klikit info" --msgbox "The blueglass cursor theme was successfuly installed \n now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select blueglass to use it." kcmshell mouse.desktop rm -rf /tmp/blueglass.tar.gz fi # ----------------------------------- if [ "$choice" = "d" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/crystal-blue.tar.gz tar -zxvf crystal-blue.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/crystal-blue/ ~/.icons/ kdialog --title="klikit info" --msgbox "The crystal-blue cursor theme was successfuly installed \n now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select crystal-blue to use it." kcmshell mouse.desktop rm -rf /tmp/crystal-blue.tar.gz fi # ----------------------------------- if [ "$choice" = "e" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/crystal-green.tar.gz tar -zxvf crystal-green.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/crystal-green/ ~/.icons/ kdialog --title="klikit info" --msgbox "The crystal-green cursor theme was successfuly installed \n now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select crystal-green to use it." kcmshell mouse.desktop rm -rf /tmp/crystal-green.tar.gz fi # ----------------------------------- if [ "$choice" = "f" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/crystal-white.tar.gz tar -zxvf crystal-white.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/crystal-white/ ~/.icons/ kdialog --title="klikit info" --msgbox "The crystal-white cursor theme was successfuly installed \n now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select crystal-white to use it." kcmshell mouse.desktop rm -rf /tmp/crystal-white.tar.gz fi # ----------------------------------- if [ "$choice" = "g" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/grounation.tar.gz tar -zxvf grounation.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/grounation/ ~/.icons/ kdialog --title="klikit info" --msgbox "The grounation cursor theme was successfuly installed \n now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select grounation to use it." kcmshell mouse.desktop rm -rf /tmp/grounation.tar.gz fi # ----------------------------------- if [ "$choice" = "h" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/jaguarx.tar.gz tar -zxvf jaguarx.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/jaguarx/ ~/.icons/ kdialog --title="klikit info" --msgbox "The jaguarx cursor theme was successfuly installed \n now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select jaguarx to use it." kcmshell mouse.desktop rm -rf /tmp/jaguarx.tar.gz fi # ----------------------------------- if [ "$choice" = "i" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/neutral.tar.gz tar -zxvf neutral.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/neutral/ ~/.icons/ kdialog --title="klikit info" --msgbox "The neutral cursor theme was successfuly installed \n now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select neutral to use it." kcmshell mouse.desktop rm -rf /tmp/neutral.tar.gz fi # ----------------------------------- if [ "$choice" = "j" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/polar-blue.tar.gz tar -zxvf polar-blue.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/polar-blue/ ~/.icons/ kdialog --title="klikit info" --msgbox "The polar-blue cursor theme was successfuly installed \n now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select polar-blue to use it." kcmshell mouse.desktop rm -rf /tmp/polar-blue.tar.gz fi # ----------------------------------- if [ "$choice" = "k" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/polar-green.tar.gz tar -zxvf polar-green.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/polar-green/ ~/.icons/ kdialog --title="klikit info" --msgbox "The polar-green cursor theme was successfuly installed \n now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select polar-green to use it." kcmshell mouse.desktop rm -rf /tmp/polar-green.tar.gz fi # ----------------------------------- if [ "$choice" = "l" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/polar-white.tar.gz tar -zxvf polar-white.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/polar-white/ ~/.icons/ kdialog --title="klikit info" --msgbox "The polar-white cursor theme was successfuly installed \n now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select polar-white to use it." kcmshell mouse.desktop rm -rf /tmp/polar-white.tar.gz fi # ----------------------------------- if [ "$choice" = "m" ]; then cd /tmp xterm -e wget -c http://www.klikit.org/packages/mouse_cursors/silver.tar.gz tar -zxvf silver.tar.gz rm -rf ~/.icons/default/ mkdir ~/.icons cd /tmp/ cp -r /tmp/silver/ ~/.icons/ kdialog --title="klikit info" --msgbox "The silver cursor theme was successfuly installed \n now I'm going to open the mouse configuration applet, go to the Cursor_Theme tab and select silver to use it." kcmshell mouse.desktop rm -rf /tmp/silver.tar.gz fi # ----------------------------------- if [ "$choice" = "Exit" ]; then exit 0 fi kdialog --title="klikit info" --msgbox "To enable the Cursor Theme you have to restat your desktop.\n Press Ctrl + Alt + Backspace" exit 0