gedit; nautilus
to open a text editor then a file browser. However, although this command will work in the terminal, it will not work in a launcher. Launchers can only execute one command. The workaround? ...read on:- Open a terminal window
- Copy / paste the following code to the terminal:
echo "echo \$@ > /tmp/runscript; chmod +x /tmp/runscript; /tmp/runscript" >> temp_launch; chmod +x temp_launch; sudo mv temp_launch /usr/bin/launch
- Press enter, then type your password when prompted
gedit; nautilus
as your launcher command, use launch "gedit; nautilus"
. All commands between the speech marks will be executed.Sorted!
5 comments:
It was really useful, thanks a lot.
Useful, thanks
Brilliant - thanks! Worked lovely.
Found a simpler way in a forum :
sh -c "cd /path/to/dir && mono whatever.exe"
FANTASTIC, Thanks
Post a Comment