diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-04-03 13:03:13 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-04-03 13:03:13 +0200 |
commit | eb1c6cff914b01732103065781e0ea0cfa225c4e (patch) | |
tree | dfd2cecfcb7a96ce7c72f1df2e0eeac1be121a26 /contrib | |
parent | 36c1d28e6fc34a39360f063cf2a375fe4df1363a (diff) | |
download | desktop-autoloader-eb1c6cff914b01732103065781e0ea0cfa225c4e.tar.gz desktop-autoloader-eb1c6cff914b01732103065781e0ea0cfa225c4e.tar.bz2 desktop-autoloader-eb1c6cff914b01732103065781e0ea0cfa225c4e.zip |
Finalize first draft of desktop-autoloader.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/desktop-autoloader.cron | 6 | ||||
-rw-r--r-- | contrib/desktop-autoloader.default | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/contrib/desktop-autoloader.cron b/contrib/desktop-autoloader.cron new file mode 100644 index 0000000..87b8a22 --- /dev/null +++ b/contrib/desktop-autoloader.cron @@ -0,0 +1,6 @@ +# After a system has booted, check what time it is and pre-load the +# filesystem cache with a standardized desktop session + +SHELL=/bin/bash + +@reboot desktop-autoload [ $(date +%s) -lt $(date -d 07:30 +%s) ] && sleep 60 && desktop-autoload diff --git a/contrib/desktop-autoloader.default b/contrib/desktop-autoloader.default new file mode 100644 index 0000000..b31b421 --- /dev/null +++ b/contrib/desktop-autoloader.default @@ -0,0 +1,11 @@ +### Desktop Autoloader Defaults +# +# This file allows you to tweak the behaviour of the Desktop Autoloader +# tool. + +# The virtual display to be used for the autoloader session. +AUTOLOAD_DISPLAY=:20 + +# desktop environment to load (must be an available .desktop file under +# /usr/share/xsessions or (under Debian) x-session-manager. +DESKTOP_SESSION_MANAGER=x-session-manager |