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
gboolean fm_terminal_launch (const gchar *dir
,GError **error
);
Spawns a terminal window in requested dir
. If dir
is NULL
then it
will be spawned in current working directory.
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.