Skip to content

Commit 47d7b58

Browse files
authored
dex: add Simplified Chinese translation (#19227)
Co-authored-by: zhuhongboAAA <[email protected]>
1 parent 13a1ff6 commit 47d7b58

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

pages.zh/linux/dex.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# dex
2+
3+
> DesktopEntry Execution 是一个用于生成和执行 Application 类型的 DesktopEntry 文件的程序。
4+
> 更多信息:<https://github.com/jceb/dex>.
5+
6+
- 执行自动启动文件夹中的所有程序:
7+
8+
`dex {{[-a|--autostart]}}`
9+
10+
- 执行指定文件夹中的所有程序:
11+
12+
`dex {{[-a|--autostart]}} {{[-s|--search-paths]}} {{路径/到/目录1}}:{{路径/到/目录2}}:{{路径/到/目录3}}:`
13+
14+
- 预览在 GNOME 特定自动启动中会执行的程序:
15+
16+
`dex {{[-a|--autostart]}} {{[-e|--environment]}} {{GNOME}}`
17+
18+
- 预览在常规自动启动中会执行的程序:
19+
20+
`dex {{[-a|--autostart]}} {{[-d|--dry-run]}}`
21+
22+
- 预览 DesktopEntry 属性 `Name` 的值:
23+
24+
`dex {{[-p|--property]}} {{Name}} {{路径/到/文件.desktop}}`
25+
26+
- 为当前目录中的程序创建 DesktopEntry:
27+
28+
`dex {{[-c|--create]}} {{路径/到/文件.desktop}}`
29+
30+
- 在指定终端中执行单个程序(桌面文件中设置了 `Terminal=true`):
31+
32+
`dex --term {{终端}} {{路径/到/文件.desktop}}`

0 commit comments

Comments
 (0)