mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-10 04:25:24 +02:00
16 lines
599 B
Markdown
16 lines
599 B
Markdown
# gendesk
|
|
|
|
> Specifies 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]}}`
|