diff options
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 |