"rightclickmode")
user=$(cat /tmp/currentuser)
if zenity --question --title="Right-Click Mode" --text="Choose how you would like to do a right-click with the touchscreen: You can either use the click-and-hold-method to right click or to use ALT as modifier key." --ok-label="ALT as modifier" --cancel-label="Click-and-Hold"; then
- echo 'mode = "1"' > /home/$user/Applications/Settings/libgtkstylus.conf
+ echo 'mode = 1' > /home/$user/Applications/Settings/libgtkstylus.conf
zenity --info --title="Right-Click" --text "To do a right-click with the stylus, press and hold the ALT button while clicking.\n\nYou need to restart X to enable this." --timeout 6
else
- echo 'mode = "0"' > /home/$user/Applications/Settings/libgtkstylus.conf
+ echo 'mode = 0' > /home/$user/Applications/Settings/libgtkstylus.conf
zenity --info --title="Right-Click" --text "To do a right-click with the stylus, press and hold the stylus on the screen.\n\nYou need to restart X to enable this." --timeout 6
fi;;