PDA

View Full Version : [SOLVED] Script for Xubuntu Share 9.04



sparvik
June 6th, 2009, 05:13 PM
I would like to right a script to get windows shares working in Xubuntu 9.04, but I don't know how to have a terminal ask a question and assign the answer to a variable.

basicallythe script needs to .......


apt-get install gvfs-fuse fusesmb
then ask the user what the user name is so that it could add them and root to the fuse and share groups.

Then it would need to add a bookmark in thunar places pointing to
/home/username/.gvfs and hopefully name the bookmark shares.