Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add desktop entry ubuntu

Create a new text file with the following entries:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=/path/to/executable
Name=Name of app as you want it to appear
Icon=/path/to/icon

To set a category (Programming used in example):
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=/path/to/executable
Name=Name of app as you want it to appear
Icon=/path/to/icon
Categories=TextEditor;Development;IDE;

For an entry for just your user:
Save the file as application-name.desktop in ~/.local/share/applications where '~' represents your home path accessible by the command 'echo $HOME'.

For all users:
Save the file as application-name.desktop in /usr/share/applications.
Comment

create a desktop entry ubuntu

[Desktop Entry]
Name=someName
Comment=
Exec=/path/to/script.sh
Icon=/path/to/icon
Terminal=false
Type=Application  
Comment

PREVIOUS NEXT
Code Example
Shell :: install git flow 
Shell :: install rustup 
Shell :: sticky notes for ubuntu 20.04 
Shell :: debug logstash stdout 
Shell :: install go lang on wsl 
Shell :: heroku delete app 
Shell :: accessing settings through cmd 
Shell :: how add access user to docker linux 
Shell :: mac list used port 
Shell :: change git commit date 
Shell :: ufw allow ssh 
Shell :: stop all running instances of tmux 
Shell :: how to add ca to linux 
Shell :: bash return length of every nth row 
Shell :: open .bashrc 
Shell :: how to extract key and cert from pfx 
Shell :: Upgrading git on CentOS 
Shell :: mass uninstall packages django 
Shell :: where skype saves file in linux 
Shell :: vim plug 
Shell :: linux find and delete files by extension 
Shell :: How to find out where a program is on powershell 
Shell :: stop port in use 8000 
Shell :: bash run inline command 
Shell :: git create new branch from existing branch 
Shell :: check solidity version 
Shell :: untar .tar file 
Shell :: pip silent install 
Shell :: delete directory linux 
Shell :: how to find maven home in linux 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =