.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "DEX" "1" "Feb 26, 2023" "dex-0.9.0" "dex" .SH NAME dex \- DesktopEntry Execution .SH SYNOPSIS .sp \fBdex\fP [\fIoptions\fP] [\fIDesktopEntryFile\fP]... .SH DESCRIPTION .sp \fBdex\fP, DesktopEntry Execution, is a program to generate and execute DesktopEntry files of the Application type. .SH OPTIONS .INDENT 0.0 .TP .B \-h\fP,\fB \-\-help Show this help message and exit .TP .B \-a\fP,\fB \-\-autostart Autostart programs .TP .BI \-c \ PATH\fR,\fB \ \-\-create \ PATH Create a DesktopEntry file for the program at the given path. An optional second argument is used to specify the filename of the created DesktopEntry file, or specify the filename \- to print the file to stdout. By default a new file is created with the .desktop file extension. .TP .B \-d\fP,\fB \-\-dry\-run Dry run, don\(aqt execute any command .TP .BI \-e \ ENVIRONMENT\fR,\fB \ \-\-environment \ ENVIRONMENT Specify the Desktop Environment an autostart should be performed for; works only in combination with \-\-autostart .TP .BI \-s \ SEARCHPATHS\fR,\fB \ \-\-search\-paths \ SEARCHPATHS Colon separated list of paths to search for desktop files, overriding the default search list .TP .BI \-t \ DIRECTORY\fR,\fB \ \-\-target\-directory \ DIRECTORY Create files in target directory .TP .BI \-\-term \ TERM The terminal emulator that will be used to run the program if Terminal=true is set in the desktop file, defaults to x\-terminal\-emulator .TP .B \-w\fP,\fB \-\-wait Block until the program exits .TP .B \-\-test Perform a self\-test .TP .B \-v\fP,\fB \-\-verbose Verbose output .TP .B \-V\fP,\fB \-\-version Display version information .UNINDENT .SH EXAMPLES .sp Perform an autostart/execute all programs in the autostart folders. .INDENT 0.0 .INDENT 3.5 \fBdex \-a\fP .UNINDENT .UNINDENT .sp Perform an autostart/execute all programs in the specified folders. .INDENT 0.0 .INDENT 3.5 \fBdex \-a \-s /etc/xdg/autostart/:~/.config/autostart/\fP .UNINDENT .UNINDENT .sp Preview the programs would be executed in a regular autostart. .INDENT 0.0 .INDENT 3.5 \fBdex \-ad\fP .UNINDENT .UNINDENT .sp Preview the programs would be executed in a GNOME specific autostart. .INDENT 0.0 .INDENT 3.5 \fBdex \-ad \-e GNOME\fP .UNINDENT .UNINDENT .sp Create a DesktopEntry for a program in the current directory. .INDENT 0.0 .INDENT 3.5 \fBdex \-c /usr/bin/skype\fP .UNINDENT .UNINDENT .sp Create a DesktopEntry for a programs in autostart directory. .INDENT 0.0 .INDENT 3.5 \fBdex \-t ~/.config/autostart \-c /usr/bin/skype /usr/bin/nm\-applet\fP .UNINDENT .UNINDENT .sp Execute a single program from command line and enable verbose output. .INDENT 0.0 .INDENT 3.5 \fBdex \-v skype.desktop\fP .UNINDENT .UNINDENT .sp Execute a single program (with Terminal=true in the desktop file) in gnome\-terminal. .INDENT 0.0 .INDENT 3.5 \fBdex \-\-term gnome\-terminal nvim.desktop\fP .UNINDENT .UNINDENT .sp Execute a single program and block until it exits. .INDENT 0.0 .INDENT 3.5 \fBdex \-\-wait nvim.desktop\fP .UNINDENT .UNINDENT .SH AUTHOR Jan Christoph Ebersbach, Johannes Löthberg .\" Generated by docutils manpage writer. .