This program allows to create a new desktop entry in Launchpad for a new app or program installed which doesn't provide one.
- Download the zip or clone the current repository:
$ git clone https://github.com/ptricor/ubuntu-desktop-entry.git
- Give execution permission:
$ cd ubuntu-desktop-entry/
$ chmod +x addEntry.sh
- Execute the file as sudo giving the following arguments:
$ sudo ./addEntry.sh <path_exec_file> <path_icon_file> <application_name>
Where
<path_exec_file> --> Absolute path to execution file
<path_icon_file> --> Absolute path to icon file
<application_name> --> Name given to the new entry
- If you want to show help, write argument '-h' or '--help' (sudo not required):
$ ./addEntry.sh -h
$ ./addEntry.sh --help
- In case the desktop entry file already exists, the script will ask you to replace it with a new one.