Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to add a shell script to launcher

#1.
gedit ~/.local/share/applications/name.desktop

#2.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

#edit Icon= and Exec= and Name=
#Also Terminal=True/false determines whether 
#the terminal opens a window and displays output or 
#runs in the background 
 
PREVIOUS NEXT
Tagged: #How #add #shell #script #launcher
ADD COMMENT
Topic
Name
9+7 =