add new chinese translations
This commit is contained in:
32
pages.zh/linux/dex.md
Normal file
32
pages.zh/linux/dex.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# dex
|
||||
|
||||
> DesktopEntry 执行程序是一个生成和执行应用程序类型的 DesktopEntry 文件的程序。
|
||||
> 更多信息: <https://github.com/jceb/dex>。
|
||||
|
||||
- 执行所有自启动文件夹中的程序:
|
||||
|
||||
`dex --autostart`
|
||||
|
||||
- 执行指定文件夹中的所有程序:
|
||||
|
||||
`dex --autostart --search-paths {{path/to/directory1}}:{{path/to/directory2}}:{{path/to/directory3}}:`
|
||||
|
||||
- 预览 GNOME 特定自启动中将要执行的程序:
|
||||
|
||||
`dex --autostart --environment {{GNOME}}`
|
||||
|
||||
- 预览常规自启动中将要执行的程序:
|
||||
|
||||
`dex --autostart --dry-run`
|
||||
|
||||
- 预览 DesktopEntry 属性 `Name` 的值:
|
||||
|
||||
`dex --property {{Name}} {{path/to/file.desktop}}`
|
||||
|
||||
- 为当前目录中的程序创建 DesktopEntry:
|
||||
|
||||
`dex --create {{path/to/file.desktop}}`
|
||||
|
||||
- 在给定终端中执行单个程序(在桌面文件中设置 `Terminal=true`):
|
||||
|
||||
`dex --term {{terminal}} {{path/to/file.desktop}}`
|
Reference in New Issue
Block a user