HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

gendesk — Specify the command to generate a `.desktop` file and a download icon with minimal information. More

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandspecifyclidesktopgenerategendesk

Problem

How to use the gendesk command: Specify the command to generate a .desktop file and a download icon with minimal information. More information: <https://manned.org/gendesk>.

Solution

gendesk — Specify the command to generate a .desktop file and a download icon with minimal information. More information: <https://manned.org/gendesk>.

Create a .desktop file named app:
gendesk -n --name "{{app}}" --exec "/{{path/to/app}}" --icon "/{{path/to/icon.png}}" --comment "{{This is application}}"


Create a .desktop file named app, do not display any output, and overwrite it if it exists:
gendesk -q -f -n --name "{{app}}" --exec "/{{path/to/app}}" --icon "/{{path/to/icon.png}}" --comment "{{This is application}}"


Display help:
gendesk {{[-h|--help]}}

Code Snippets

Create a `.desktop` file named `app`

gendesk -n --name "{{app}}" --exec "/{{path/to/app}}" --icon "/{{path/to/icon.png}}" --comment "{{This is application}}"

Create a `.desktop` file named `app`, do not display any output, and overwrite it if it exists

gendesk -q -f -n --name "{{app}}" --exec "/{{path/to/app}}" --icon "/{{path/to/icon.png}}" --comment "{{This is application}}"

Display help

gendesk {{[-h|--help]}}

Context

tldr-pages: common/gendesk

Revisions (0)

No revisions yet.