mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-15 23:48:56 +00:00
Update cheatsheets
This commit is contained in:
37
linux/dex
Normal file
37
linux/dex
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dex
|
||||
|
||||
> DesktopEntry Execution is a program to generate and execute DesktopEntry files of the Application type.
|
||||
> More information: <https://github.com/jceb/dex>.
|
||||
|
||||
- Execute all programs in the autostart folders:
|
||||
|
||||
`dex --autostart`
|
||||
|
||||
- Execute all programs in the specified folders:
|
||||
|
||||
`dex --autostart --search-paths {{path/to/directory1}}:{{path/to/directory2}}:{{path/to/directory3}}:`
|
||||
|
||||
- Preview the programs would be executed in a GNOME specific autostart:
|
||||
|
||||
`dex --autostart --environment {{GNOME}}`
|
||||
|
||||
- Preview the programs would be executed in a regular autostart:
|
||||
|
||||
`dex --autostart --dry-run`
|
||||
|
||||
- Preview the value of the DesktopEntry property `Name`:
|
||||
|
||||
`dex --property {{Name}} {{path/to/file.desktop}}`
|
||||
|
||||
- Create a DesktopEntry for a program in the current directory:
|
||||
|
||||
`dex --create {{path/to/file.desktop}}`
|
||||
|
||||
- Execute a single program (with `Terminal=true` in the desktop file) in the given terminal:
|
||||
|
||||
`dex --term {{terminal}} {{path/to/file.desktop}}`
|
||||
Reference in New Issue
Block a user