/usr/share/applications/depending upon your system) if you want the launcher shortcut to be available to all users.sudo -i gedit /usr/share/applications/name.desktop- Paste below text
[Desktop Entry]
Type=Application
Terminal=true
Name=unmount-mount
Icon=/path/to/icon/icon.svg
Exec=/path/to/file/mount-unmount.sh
editIcon=andExec=andName=
AlsoTerminal=True/falsedetermines whether the terminal opens a window and displays output or runs in the background - put this in unity panel by dragging it from files manager
logic is very simple that unity panel allows
*.desktop files as launcher though I haven't tried it because I use Natty.
Hiç yorum yok:
Yorum Gönder