I wonder how to create an icon on Dash panel on the left side of the desktop, to run the following combination of two commands
killall nautilus
UBUNTU_MENUPROXY= nautilus
My Ubuntu is 12.04.
Thanks!
I wonder how to create an icon on Dash panel on the left side of the desktop, to run the following combination of two commands
killall nautilus
UBUNTU_MENUPROXY= nautilus
My Ubuntu is 12.04.
Thanks!
1) Create *.desktop file in /usr/share/applications/
gksudo gedit /usr/share/applications/NAME OF LAUNCHER.desktop
2) Paste below text
[Desktop Entry]
Type=Application
Terminal=true
Icon=ICON
Name=NAME OF LAUNCHER
Exec=killall nautilus && UBUNTU_MENUPROXY= nautilus
3) Change ICON to your icon path.
4) Change NAME OF LAUNCHER to the name you want.
5) Save the file and exit.
6) This will create a launcher in the dash. Click on the dash and search for the launcher name. Then drag the launcher to the bar to pin it.
Hope this helps,
Leinardo
gedit ~/.local/share/applications
instead of 1).
Sep 30, 2012 at 5:17