2025-01-06 05:04:20 +08:00
|
|
|
# gendesk
|
|
|
|
|
|
|
|
> Specifies the command to generate a `.desktop` file and a download icon with minimal information.
|
2025-04-22 15:48:30 +03:00
|
|
|
> More information: <https://manned.org/gendesk>.
|
2025-01-06 05:04:20 +08:00
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`gendesk {{[-h|--help]}}`
|