| Top |
include
: libfm/fm.h
The FmTerminal object represents description how applications which require start in terminal should be started.
FmTerminal *
fm_terminal_dup_default (GError **error);
Retrieves description of terminal which is defined in libfm config.
Returned data should be freed with g_object_unref() after usage.
Since: 1.2.0
struct FmTerminal {
char* program;
char* open_arg;
char* noclose_arg;
char* launch;
char* desktop_id;
char* custom_args;
};
A terminal description. If application should be ran in terminal libfm may do it either default way (closing terminal window after exit):
program
custom_args
open_arg
<cmd> [<args>]
or alternate way (not closing terminal window after exit):
program
custom_args
noclose_arg
<cmd> [<args>]
If terminal doesn't support not closing terminal window after exit then default way should be used.
archiver program |
||
options to insert before <cmd> [<args>] to run command in terminal |
||
options to insert to run command without closing terminal or |
||
options if required to launch in current directory |
||
desktop ID to search for icon and descriptions |
||
custom arguments (only from libfm.conf) |