![]() ![]() Then point the Exec key in the desktop entry to the launch script: Exec=/home/user/bin/launch-application application the executable bit for the script: $ chmod +x ~/bin/launch-application The script might look something like the following: #!/bin/bash Create a launch script in a suitable to location ( ~/bin/ for instance). Suppose that an application requires to be run from a certain current working directory. If the application to be launched requires certain steps to be done prior to be invoked, you can create a shell script which launches the application, and point the desktop entry to the shell script. Note that ~ or environmental variables like $HOME are not expanded within desktop files, so any executables referenced must either be in the $PATH or referenced via their absolute path.Ī full Desktop Entry Specification is available at the GNOME Dev Center.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |