Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

create dektop file in ubuntu

Firstly, cd to/usr/share/applications then create a new file with extension is *.desktop by opening the terminal then run this command: sudo touch xampp.desktop.
Open the new file with super admin right by: sudo gedit xampp.desktop
Paste following to the file content: //below are different for differnt app
[Desktop Entry]
Encoding=UTF-8
Name=XAMPP Control Panel
Comment=Start and Stop XAMPP
Exec=sudo /opt/lampp/manager-linux-x64.run
Icon=/opt/lampp/htdocs/favicon.ico
Categories=Application
Type=Application
Terminal=true
 
PREVIOUS NEXT
Tagged: #create #dektop #file #ubuntu
ADD COMMENT
Topic
Name
4+5 =