pax_global_header00006660000000000000000000000064132770124670014523gustar00rootroot0000000000000052 comment=d7d669be4576111e434afdfe582f1c74a9f111d4 desktop-autoloader-0.0.4/000077500000000000000000000000001327701246700153325ustar00rootroot00000000000000desktop-autoloader-0.0.4/ChangeLog000066400000000000000000000111411327701246700171020ustar00rootroot000000000000002018-05-16 13:25:43 +0200 Mike Gabriel (eec1fb7) * release 0.0.4 (HEAD -> master, tag: 0.0.4) 2018-05-16 11:15:28 +0200 Mike Gabriel (b600485) * bin/desktop-autoloader: Fix regexp that checks expectable value for DISPLAY env var. 2018-05-15 23:59:05 +0200 Mike Gabriel (83f2633) * Log to syslog when started and when done. 2018-05-15 23:29:56 +0200 Mike Gabriel (3105de7) * some var names: ENABLED, not ENABLE. 2018-05-15 21:35:57 +0200 Mike Gabriel (14bd436) * contrib/desktop-autoloader.cron.d: Correctly escape the randomization calculation. 2018-05-15 21:07:31 +0200 Mike Gabriel (b9a4b60) * debian/control: Add to S (desktop-autoloader): x11vnc. 2018-05-15 21:07:02 +0200 Mike Gabriel (fcf675a) * X11VNC debugging: Add support to observed autoloaded sessions via VNC (needs to be enabled specifically). 2018-04-17 21:38:26 +0200 Mike Gabriel (35136a6) * desktop-autoloader.default: Comment out all values, as they are the defaults anyway. 2018-04-17 21:37:05 +0200 Mike Gabriel (a74d9c2) * Provide means to configure a required memory threshold. If the system is below that threshold, desktop autoloader won't run. Starting with a default value of 2048MiB for this threshold. 2018-04-17 21:28:25 +0200 Mike Gabriel (ec7850b) * CRON job: Randomize startup delay (an initial 60secs plus another 1-200secs) to reduce load on the diskless server. 2018-04-17 21:24:23 +0200 Mike Gabriel (6d57753) * Assure that Desktop Autoloader is disabled by default and requires an explicit activation step. 2018-04-04 12:07:02 +0200 Mike Gabriel (9f120db) * bin/desktop-autoloader: Wipe .xsession-errors if run under desktop-autoloader user. 2018-04-04 11:37:49 +0200 Mike Gabriel (915ec6f) * debian/control: Rephrase LONG_DESCRIPTION. 2018-04-03 20:41:08 +0200 Mike Gabriel (b06b13c) * release 0.0.3 (tag: 0.0.3) 2018-04-03 20:39:43 +0200 Mike Gabriel (500f2c6) * contrib/desktop-autoloader.cron.d: Escape the percent character. 2018-04-03 20:39:21 +0200 Mike Gabriel (ea5ceaa) * data/sleep-and-kill.desktop: Give the autoloaded session time to come really up. Even on slow machines / networks. 2018-04-03 19:55:08 +0200 Mike Gabriel (5f7fce0) * release 0.0.2 (tag: 0.0.2) 2018-04-03 19:52:30 +0200 Mike Gabriel (e4695f4) * data/desktop-autoloader.1: Add version and date to man page. 2018-04-03 19:50:10 +0200 Mike Gabriel (f9728e5) * debian/desktop-autoloader.postinst: Shorten path to autostart folder under /etc/desktop-autoloader. 2018-04-03 19:49:25 +0200 Mike Gabriel (f718646) * debian/desktop-autoloader.postrm: Wipe ~desktop-autoloader and /etc/desktop-autoloader when package gets purged. 2018-04-03 19:48:26 +0200 Mike Gabriel (7153a9e) * data/desktop-autoloader.1: Add configuration directory and CRON job file to man page's SEE ALSO section. 2018-04-03 19:47:49 +0200 Mike Gabriel (ea39e2d) * debian/README.Debian: Add file. Explain steps to complete configuration of desktop-autoloader on Debian systems. 2018-04-03 14:26:25 +0200 Mike Gabriel (84153dd) * bin/desktop-autoloader: Fix entire session startup mechanism. 2018-04-03 14:07:50 +0200 Mike Gabriel (44e17d3) * debian/control: Add D (desktop-autoloader): xvfb. 2018-04-03 14:00:22 +0200 Mike Gabriel (532c41e) * contrib/desktop-autoloader.cron.d: Fix username and executable name. 2018-04-03 13:52:33 +0200 Mike Gabriel (fbd126d) * debian/desktop-autoloader.postinst: Prevent from creating recursive symlinks in desktop-autoloader's XDG autostart dir. 2018-04-03 13:37:28 +0200 Mike Gabriel (c5919c5) * debian/desktop-autoloader.cron.d: Fix name of cron.d file to make debhelper happy. 2018-04-03 13:23:54 +0200 Mike Gabriel (33cb157) * debian/{control,compat}: Go back to DH version level 9. Allow building this project on Debian 9. 2018-04-03 13:23:19 +0200 Mike Gabriel (e185894) * debian/source/format: Switch to format 1.0. 2018-04-03 13:22:52 +0200 Mike Gabriel (85366df) * debian/deskto-autoloader.postinst: Fix etc path of XDG autostart folder template. 2018-04-03 13:12:03 +0200 Mike Gabriel (f1c2545) * debian/changelog: post-release fix up of package version 2018-04-03 13:10:54 +0200 Mike Gabriel (7aff49b) * release 0.0.1 (tag: 0.0.1) 2018-04-03 13:03:13 +0200 Mike Gabriel (eb1c6cf) * Finalize first draft of desktop-autoloader. 2018-03-17 22:59:24 +0100 Mike Gabriel (36c1d28) * Formulate README.md properly. 2018-01-12 16:43:18 +0100 Mike Gabriel (539526a) * dump everything into Git... for the next day and for backup... desktop-autoloader-0.0.4/README.md000066400000000000000000000053431327701246700166160ustar00rootroot00000000000000# Desktop (Pre-)Autoloader This little project got inspired and co-authored by Klaus Ade Johnstad from https://linuxavdelingen.no. The Desktop Autoloader project aims at being used on Diskless Workstations (aka LTSP Fat Clients). In class rooms or similar PC setups, a bottle neck occurs when all diskless clients startup simultaneously, students login simultaneously and start the same application(s) simultaneously. The storage devices of the serving machine cannot cope with all the simulataneous diskless clients demanding the same but slightly shifted file access on the server's NFS share or NBD block device (where the clients root filesystem is hosted). Observations have shown that diskless workstations work smoothly if people use them "asymmetrically", but become really really slow once 10 or more people use the diskless workstations in a symmetrical usage pattern. This normally happens when the users are students and follow instructions in class. We observed launch times for LibreOffice of 15min and more. The way to work around this bottleneck is taking advantage of the file system RAM cache of the Linux kernel. An application that has once been launched can be re-launched and during the re-launch it gets mostly accessed from the file system cache. This brings a tremendous acceleration to the usability experience of diskless workstations. ## History This code project formalize and generalizes an old dirty hack: Stick this line in a file under /etc/rc.local.d/ [ $(date +%s) -lt $(date -d 07:55 +%s) ] && su autoload -c "Xvfb :10 & DISPLAY=:10 /usr/bin/dbus-launch --exit-with-session startxfce4 &" This will start things if the machine boots up before 07:55, combine this with WoL, so things are up and running before people arrive. Then, create a autostart.desktop file for the "autoload" user, which logs him automatically out after 90 sec, like this: ``` $ cat /home/autoload/.config/autostart/sleepandkill.desktop [Desktop Entry] Encoding=UTF-8 Name=sleepandkill Exec=/bin/sh -c "sleep 90; pkill -u autoload" Terminal=false Type=Application StartupNotify=false ``` I stick these desktopfiles in under ``/home/autoload/.config/autostart/`` as well: ``` firefox.desktop geogebra.desktop libreoffice-writer.desktop sleepandkill.desktop Thunar.desktop ``` That way Libre Office, Firefox, Thunar and Geogebra are already cached on the client. Dirty hack, but you notice the differene quite well. ## The Generic Approach This code project attempts at a general approach of the above hack. Whereas the above hack only works well for XFCE desktops, the Desktop Autoloader project generalizes the concept and makes it compatible with various desktop environments. The currently supported (i.e., tested) desktop environments are: * MATE * XFCE desktop-autoloader-0.0.4/VERSION000066400000000000000000000000061327701246700163760ustar00rootroot000000000000000.0.4 desktop-autoloader-0.0.4/bin/000077500000000000000000000000001327701246700161025ustar00rootroot00000000000000desktop-autoloader-0.0.4/bin/desktop-autoloader000077500000000000000000000056571327701246700216530ustar00rootroot00000000000000#!/bin/bash # Copyright (C) 2011-2017 Klaus Ade Johnstad # Copyright (C) 2017 Mike Gabriel # This program is free software; you can redistribute it # and/or modify it under the terms of the GNU General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later # version. # # This program is distributed in the hope that it will be # useful, but WITHOUT ANY WARRANTY; without even the implied # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR # PURPOSE. See the GNU General Public License for more # details. # # You should have received a copy of the GNU General Public # License along with this package; if not, write to the Free # Software Foundation, Inc., 51 Franklin St, Fifth Floor, # Boston, MA 02110-1301 USA DESKTOP_AUTOLOADER_ENABLED=false REQUIRED_MEMORY_THRESHOLD=2048 AUTOLOAD_DISPLAY=":20" DESKTOP_SESSION_MANAGER="x-session-manager" DEBUG_X11VNC_ENABLED=false DEBUG_X11VNC_RFBPORT=5910 test -f /etc/default/desktop-autoloader && . /etc/default/desktop-autoloader function is_true() { echo $1 | egrep "(y|Y|yes|YES|Yes|true|TRUE|True|On|ON|on)" 1>/dev/null return $? } if ! is_true "$DESKTOP_AUTOLOADER_ENABLED"; then echo "Desktop Autoloader is not enabled, enable it in /etc/default/desktop-autoloader" exit 0 fi AVAILABLE_SYSTEM_MEMORY=$(free -m | grep Mem | awk '{print $2}') if [ ! "${AVAILABLE_SYSTEM_MEMORY}" -gt "${REQUIRED_MEMORY_THRESHOLD}" ]; then echo "Desktop Autoloader is configured to only run on systems with more than ${REQUIRED_MEMORY_THRESHOLD} MiB of RAM." echo "This system only has ${AVAILABLE_SYSTEM_MEMORY} MiB." exit 0 fi # clean up .xsession-errors for a new launch (in case this tool is used # on a non-diskless machine... if [ "$(id -un)" == "desktop-autoloader" ]; then rm -f ~/.xsession-errors fi ### ### input sanitizing... ### if ! echo "${AUTOLOAD_DISPLAY}" | grep -qE '^.*:[0-9]+(|\.[0-9]+)$'; then echo "Inappropriate setting for \$AUTOLOAD_DISPLAY variable: ${AUTOLOAD_DISPLAY}" exit 1 fi if ! type -p "${DESKTOP_SESSION_MANAGER}" 1>/dev/null; then echo "Cannot find session manager \$DESKTOP_SESSION_MANAGER: ${DESKTOP_SESSION_MANAGER}" exit 1 fi logger -t desktop-autoloader "Launching desktop session in background now." # launch an invisible X-Server Xvfb ${AUTOLOAD_DISPLAY} -screen 0 1024x768x16 -cc 4 -nolisten tcp & XVFB_PID=$? # launch a session inside this Xserver export DISPLAY="${AUTOLOAD_DISPLAY}" # attach an x11vnc instance to the DISPLAY, if debugging is enabled if type -p x11vnc 1>/dev/null && is_true "${DEBUG_X11VNC_ENABLED}"; then sleep 1 x11vnc -rfbport "${DEBUG_X11VNC_RFBPORT}" -forever -localhost & X11VNC_PID=$? fi STARTUP="${DESKTOP_SESSION_MANAGER}" dbus-run-session /etc/X11/Xsession kill $X11VNC_PID kill $XVFB_PID logger -t desktop-autoloader "Desktop session has finished now. System is ready for accelerated user logins now." desktop-autoloader-0.0.4/contrib/000077500000000000000000000000001327701246700167725ustar00rootroot00000000000000desktop-autoloader-0.0.4/contrib/desktop-autoloader.cron.d000066400000000000000000000004331327701246700237050ustar00rootroot00000000000000# 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-autoloader [ $(date +\%s) -lt $(date -d 07:30 +\%s) ] && sleep "$(( ( RANDOM \% 200 ) + 61 ))" && desktop-autoloader desktop-autoloader-0.0.4/contrib/desktop-autoloader.default000066400000000000000000000014211327701246700241440ustar00rootroot00000000000000### Desktop Autoloader Defaults # # This file allows you to tweak the behaviour of the Desktop Autoloader # tool. # The autoloader is disabled by default. Enable it here (s/false/true/). #DESKTOP_AUTOLOADER_ENABLED=false # Only run the Desktop Autoloader if the available RAM is above this threshold (in MiB) #REQUIRED_MEMORY_THRESHOLD=2048 # 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 # Enable debugging over x11vnc (needs to be installed) #DEBUG_X11VNC_ENABLED=false # RFB port to listen on for x11vnc (RFB port 5910 -> VNC display :10) #DEBUG_X11VNC_RFBPORT=5910 desktop-autoloader-0.0.4/data/000077500000000000000000000000001327701246700162435ustar00rootroot00000000000000desktop-autoloader-0.0.4/data/desktop-autoloader.1000066400000000000000000000022771327701246700221430ustar00rootroot00000000000000.TH desktop-autoloader 1 "May 2018" "Version 0.0.4" "Desktop Session Autoloader" .SH NAME desktop-autoloader \- Desktop Session Autoloader Launch Script .SH SYNOPSIS .B desktop-autoloader .SH DESCRIPTION \fBdesktop-autoloader\fR is a tiny script that loads a virtual desktop session in Xvfb. Its purpose is to fill the kernel's file system RAM cache with all necessary files needed for running a real desktop session (of the same type). .PP The Desktop Session Autoloader is a nice-to-have tool on diskless clients (aka LTSP Fat Clients). It accelerates the login of the first-user-of-the-day tremendously. To take advantage of the pre-loaded desktop session, make sure the diskless systems get launched via Wake-on-LAN before 7:30am. .PP \fBdesktop-autoloader\fR should not be executed directly, it is executed via CRON. It gets only executed when the system is booted before a certain time of day (so it does not inflict performance breakdown on already running sessions. .SH OPTIONS There are no options. .SH SEE ALSO /etc/cron.d/desktop-autoloader /etc/desktop-autoloader/autostart/*.desktop .SH AUTHOR This manual page was written by Mike Gabriel for the Debian Project. desktop-autoloader-0.0.4/data/sleep-and-kill.desktop000066400000000000000000000002401327701246700224330ustar00rootroot00000000000000[Desktop Entry] Encoding=UTF-8 Name=sleep-and-kill Exec=/bin/sh -c "sleep 600; pkill -u desktop-autoloader" Terminal=false Type=Application StartupNotify=false desktop-autoloader-0.0.4/debian/000077500000000000000000000000001327701246700165545ustar00rootroot00000000000000desktop-autoloader-0.0.4/debian/README.Debian000066400000000000000000000026151327701246700206210ustar00rootroot00000000000000# Desktop Session Autoloader in Debian This package brings to you the desktop-autoloader for your Debian system. For some info about the general concept, refer to upstream's README.md. ## Auto-Loading the correct Desktop Environment For taking Desktop Session Autoloader into production, please make sure /etc/default/desktop-autoloader is configured correctly. Esp. make sure that the correct desktop environment gets autoloaded. ## Customizing Application Auto-Loading Next, please check the .desktop files in the folder /etc/desktop-autoloader/autostart/. By default, there is only one file (sleep-and-kill.desktop). Do not remove that file from there. Additionally, you should place your users' favourite applications in that folder. Simply symlink them from /usr/share/applications/, e.g.: ln -s /usr/share/applications/firefox-esr.desktop /etc/desktop-autoloader/autostart/ ## Adapting Desktop Session Autoloader to your Site's Schedule Also consider adapting the time interval of the @reboot CRON job that launches desktop-autoloader (see /etc/cron.d/desktop-autoloader ). You need to boot machines (via UEFI Wakeup RTC or Wake-on-LAN) before the time interval given in the CRON job file. Only then, the desktop-autoloader kicks in. Also make sure that the desktop-autoloader does _NOT_ kick in once people have started using the computers on site. This may vary depending on your institution. desktop-autoloader-0.0.4/debian/changelog000066400000000000000000000014701327701246700204300ustar00rootroot00000000000000desktop-autoloader (0.0.3-0) unstable; urgency=medium * Upstream provided Debian package of desktop-autoloader. See upstream ChangeLog for viewing upstream changes of this release. -- Mike Gabriel Tue, 03 Apr 2018 20:40:49 +0200 desktop-autoloader (0.0.2-0) unstable; urgency=medium * Upstream provided Debian package of desktop-autoloader. See upstream ChangeLog for viewing upstream changes of this release. -- Mike Gabriel Tue, 03 Apr 2018 19:54:00 +0200 desktop-autoloader (0.0.1-0) unstable; urgency=medium * Upstream provided Debian package of desktop-autoloader. See upstream ChangeLog for viewing upstream changes of this release. -- Mike Gabriel Tue, 03 Apr 2018 13:08:13 +0200 desktop-autoloader-0.0.4/debian/compat000066400000000000000000000000021327701246700177520ustar00rootroot000000000000009 desktop-autoloader-0.0.4/debian/control000066400000000000000000000037271327701246700201700ustar00rootroot00000000000000Source: desktop-autoloader Section: misc Priority: optional Maintainer: Debian Edu Packaging Team Uploaders: Mike Gabriel , Standards-Version: 4.1.3 Build-Depends: debhelper (>= 9), cdbs, Vcs-Git: https://anonscm.debian.org/git/debian-edu/pkg-team/desktop-autoloader.git Vcs-Browser: https://anonscm.debian.org/git/debian-edu/pkg-team/desktop-autoloader.git Homepage: https://anonscm.debian.org/git/debian-edu/pkg-team/desktop-autoloader/README.md Package: desktop-autoloader Architecture: all Depends: ${misc:Depends}, adduser, xvfb, Suggests: x11vnc, Description: Accelerate Diskless Workstation systems by pre-loading a dummy Desktop Session This package is for diskless Linux clients as you often find them in school class rooms running an LTSP based fat client environment. . The logon into and the initial session startup on such diskless workstations can be considerably slow, because all applications need to be fetched from one server hosting the fat clients' filesystem. . The situation gets worse, if 24 computers in the same class room get switched on simultaneously or the teacher tells the students to open the same application (e.g. Libreoffice) at the same time. . However, this issue only occurs to the first student using a diskless workstation that day. If the diskless machine is equipped with enough RAM, other students see all applications being launched within a couple of seconds. . Reason: once an application has been launched, it ends up in the diskless machine's filesystem cache in RAM. . So, this package pre-loads a desktop session of the admin's choice plus some extra popular applications. It does this before 7:30 in the morning, only. So, combine this package with Wake-On-LAN or an RTC Timer to make sure systems are booted before 7:30am. With such a setup in place, the diskless machines will have been prepared for work before the first students enter the class room. desktop-autoloader-0.0.4/debian/copyright000066400000000000000000000023061327701246700205100ustar00rootroot00000000000000Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: desktop-autoloader Upstream-Contact: Mike Gabriel Source: https://code.it-zukunft-schule.de Files: * Copyright: 2011-2018, Klaus Ade Johnstad 2018, Mike Gabriel License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. desktop-autoloader-0.0.4/debian/desktop-autoloader.cron.d000077700000000000000000000000001327701246700322502../contrib/desktop-autoloader.cron.dustar00rootroot00000000000000desktop-autoloader-0.0.4/debian/desktop-autoloader.default000077700000000000000000000000001327701246700327522../contrib/desktop-autoloader.defaultustar00rootroot00000000000000desktop-autoloader-0.0.4/debian/desktop-autoloader.dirs000066400000000000000000000000341327701246700232420ustar00rootroot00000000000000var/lib/desktop-autoloader/ desktop-autoloader-0.0.4/debian/desktop-autoloader.docs000066400000000000000000000000121327701246700232250ustar00rootroot00000000000000README.md desktop-autoloader-0.0.4/debian/desktop-autoloader.install000066400000000000000000000001151327701246700237470ustar00rootroot00000000000000bin/* usr/bin/ data/sleep-and-kill.desktop etc/desktop-autoloader/autostart/ desktop-autoloader-0.0.4/debian/desktop-autoloader.manpages000066400000000000000000000000321327701246700240720ustar00rootroot00000000000000data/desktop-autoloader.1 desktop-autoloader-0.0.4/debian/desktop-autoloader.postinst000077500000000000000000000047131327701246700241770ustar00rootroot00000000000000#!/bin/sh # postinst script for desktop-autoloader # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) # setup desktop-autoloader user and group if ! getent group desktop-autoloader >/dev/null; then echo "Creating desktop-autoloader group." >&2 addgroup --system desktop-autoloader else echo "Group desktop-autoloader already exists." >&2 fi if ! getent passwd desktop-autoloader >/dev/null; then echo "Creating desktop-autoloader user." >&2 adduser --system --no-create-home \ --disabled-password --disabled-login \ --shell /bin/true --group --home /var/lib/desktop-autoloader desktop-autoloader else echo "User desktop-autoloader already exists." >&2 # make sure all settings are appropriate if [ "`id -gn desktop-autoloader`" != "desktop-autoloader" ]; then usermod --gid desktop-autoloader desktop-autoloader test -d /var/lib/desktop-autoloader && \ usermod --home /var/lib/desktop-autoloader desktop-autoloader || \ usermod --move-home --home /var/lib/desktop-autoloader desktop-autoloader fi if [ "`ls -1d ~desktop-autoloader`" != "/var/lib/desktop-autoloader" ]; then usermod --move-home --home /var/lib/desktop-autoloader desktop-autoloader fi # we leave user shell alone. we have never set this wrongly # and we need to respect the administrator's choices fi mkdir -p ~desktop-autoloader/.config/ chown desktop-autoloader:desktop-autoloader ~desktop-autoloader/ -Rf if [ ! -h ~desktop-autoloader/.config/autostart ]; then rm -Rf ~desktop-autoloader/.config/autostart ln -s /etc/desktop-autoloader/autostart ~desktop-autoloader/.config/autostart fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 desktop-autoloader-0.0.4/debian/desktop-autoloader.postrm000077500000000000000000000024311327701246700236330ustar00rootroot00000000000000#! /bin/sh # postrm script for desktop-autoloader # # see: dh_installdeb(1) # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' overwrit>r> # for details, see /usr/share/doc/packaging-manual/ set -e case "$1" in purge) if id desktop-autoloader 1>/dev/null 2>/dev/null; then # drop home of desktop-autoloader system user rm -Rf ~desktop-autoloader fi getent passwd desktop-autoloader >/dev/null && deluser desktop-autoloader getent group desktop-autoloader >/dev/null && delgroup desktop-autoloader # there might be extra .desktop symlinks in /etc/desktop-autoloader/autostart, # wiping them all... rm -Rf /etc/desktop-autoloader/ ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 desktop-autoloader-0.0.4/debian/rules000077500000000000000000000002601327701246700176320ustar00rootroot00000000000000#!/usr/bin/make -f VERBOSE=1 include /usr/share/cdbs/1/rules/debhelper.mk get-orig-source: uscan --noconf --force-download --rename --download-current-version --destdir=.. desktop-autoloader-0.0.4/debian/source/000077500000000000000000000000001327701246700200545ustar00rootroot00000000000000desktop-autoloader-0.0.4/debian/source/format000066400000000000000000000000041327701246700212610ustar00rootroot000000000000001.0