diff options
author | Simon Rettberg | 2013-12-13 16:22:05 +0100 |
---|---|---|
committer | Simon Rettberg | 2013-12-13 16:22:05 +0100 |
commit | 75b304546e1bd98bdeb1745c5c849e2ccac11c0f (patch) | |
tree | f4c3f7ebd4c70cc73f66e6d989e99d98b19cdbd2 /src/globals.h | |
parent | fix problems with unreadable files (diff) | |
download | vmchooser-75b304546e1bd98bdeb1745c5c849e2ccac11c0f.tar.gz vmchooser-75b304546e1bd98bdeb1745c5c849e2ccac11c0f.tar.xz vmchooser-75b304546e1bd98bdeb1745c5c849e2ccac11c0f.zip |
Add support for a session start script that gets run right before the session is started
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index d46db63..f32fc64 100644 --- a/src/globals.h +++ b/src/globals.h @@ -11,6 +11,8 @@ #define VMCHOOSER_X_SESSIONS_PATH "/usr/share/xsessions" +#define VMCHOOSER_SESSION_START_SCRIPT "/opt/openslx/vmchooser/sessionstart" + #define VMCHOOSER_DEFAULT_WIDTH 500 #define VMCHOOSER_DEFAULT_HEIGHT 580 @@ -29,6 +31,8 @@ extern QString runVmScript; extern QString filterScript; extern QString printerScript; extern QString scannerScript; +// Script that is run before the xsession/vsession is started +extern QString sessionStartScript; extern const QString globalConfFile; extern const QString userConfFile; |