Some people ask me how I do this 'switch desktop' : http://www.youtube.com/watch?v=z_3NeUGAOLI
If someone can help me to "translate" this little howto ..
TODO : switch between 'Acer Desktop' <-> 'Xfce Desktop' from panel
1) to switch I made this little script : http://www.ad-comp.be/data/files/src/changedesktop.sh
- Code: Select all
#!/bin/sh
# Test if easy mode (acer)
ps aux | grep xfdesktop2 | grep '/usr/bin'
# 0 = Acer Desktop
if [ $? = 0 ]; then
killall xfdesktop2
sleep .5
/usr/bin/xfdesktop-xfce &
else
killall xfdesktop-xfce
sleep .5
/usr/bin/xfdesktop2 &
fi
2) download it in your home path ( or copy/paste )
3) you have to set file permissions. Open a terminal ,
- Code: Select all
chmod +x changedesktop.sh
4) now add a launcher to panel .. open terminal ( or ALT+F2 ) :
- Code: Select all
xfce4-panel -a
###
# UPDATE 1
###
Summary
Follow instructions and it should be ok
1) open terminal : ALT+F2 , 'xterm' or 'xfterm4'
2) download script in your home path
3) change file permission [ chmod ]
4) move the script to /usr/local/bin [ with sudo because you need to be root ]
5) add launcher to panel [ xfce4-panel -a ]
here some screenshot to help ( in french



###
# UPDATE 2
###
If the script is in your download' directory ( /home/user/Downloads or /mnt/home/Downloads if you have SD on storage expansion ) :
- Code: Select all
[user@localhost ~]$ cd ~/Downloads
[user@localhost Downloads]$ ls
changedesktop.sh
[user@localhost Downloads]$ chmod +x changedesktop.sh
[user@localhost Downloads]$ sudo mv changedesktop.sh /usr/local/bin/changedesktop
[user@localhost Downloads]$ cd
[user@localhost ~]$ xfce4-panel -a
Now add a launcher to panel ( command = changedesktop ) ..
