~comcloudway/cushion

14d1ebbb41aad07d63fbdf9439227dab94dac857 — Jakob Meier 1 year, 2 months ago 983e3f6
Migrated to lightdm guest sessions
68 files changed, 66 insertions(+), 380 deletions(-)

M overlay/etc/lightdm/lightdm.conf
M overlay/etc/local.d/cushion.start
D overlay/home/user/.config/gtk-3.0/bookmarks
D overlay/home/user/.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml
D overlay/home/user/.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml
D overlay/home/user/.config/xfce4/desktop/icons.screen.latest.rc
D overlay/home/user/.config/xfce4/desktop/icons.screen0-1264x757.rc
D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml
D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml
D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-editor.xml
D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml
D overlay/home/user/.dmrc
D overlay/home/user/.local/share/gvfs-metadata/home
D overlay/home/user/.local/share/gvfs-metadata/home-a508090e.log
R overlay/{home/user/.config/Thunar/accels.scm => opt/.config/Thunar/accels.scm}
R overlay/{home/user/.config/Thunar/uca.xml => opt/.config/Thunar/uca.xml}
R overlay/{home/user/.config/glib-2.0/settings/keyfile => opt/.config/glib-2.0/settings/keyfile}
R overlay/{home/user/.config/gtk-2.0/gtkfilechooser.ini => opt/.config/gtk-2.0/gtkfilechooser.ini}
R overlay/{home/user/.ICEauthority => opt/.config/gtk-3.0/bookmarks}
R overlay/{home/user/.config/libreoffice/4/user/GraphicsRenderTests.log => opt/.config/libreoffice/4/user/GraphicsRenderTests.log}
R overlay/{home/user/.config/libreoffice/4/user/autotext/mytexts.bau => opt/.config/libreoffice/4/user/autotext/mytexts.bau}
R overlay/{home/user/.config/libreoffice/4/user/basic/Standard/Module1.xba => opt/.config/libreoffice/4/user/basic/Standard/Module1.xba}
R overlay/{home/user/.config/libreoffice/4/user/basic/Standard/dialog.xlb => opt/.config/libreoffice/4/user/basic/Standard/dialog.xlb}
R overlay/{home/user/.config/libreoffice/4/user/basic/Standard/script.xlb => opt/.config/libreoffice/4/user/basic/Standard/script.xlb}
R overlay/{home/user/.config/libreoffice/4/user/basic/dialog.xlc => opt/.config/libreoffice/4/user/basic/dialog.xlc}
R overlay/{home/user/.config/libreoffice/4/user/basic/script.xlc => opt/.config/libreoffice/4/user/basic/script.xlc}
R overlay/{home/user/.config/libreoffice/4/user/config/autotbl.fmt => opt/.config/libreoffice/4/user/config/autotbl.fmt}
R overlay/{home/user/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml => opt/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml}
R overlay/{home/user/.config/libreoffice/4/user/database/biblio.odb => opt/.config/libreoffice/4/user/database/biblio.odb}
R overlay/{home/user/.config/libreoffice/4/user/database/biblio/biblio.dbf => opt/.config/libreoffice/4/user/database/biblio/biblio.dbf}
R overlay/{home/user/.config/libreoffice/4/user/database/biblio/biblio.dbt => opt/.config/libreoffice/4/user/database/biblio/biblio.dbt}
R overlay/{home/user/.config/libreoffice/4/user/database/evolocal.odb => opt/.config/libreoffice/4/user/database/evolocal.odb}
R overlay/{home/user/.config/libreoffice/4/user/extensions/buildid => opt/.config/libreoffice/4/user/extensions/buildid}
R overlay/{home/user/.config/libreoffice/4/user/extensions/bundled/lastsynchronized => opt/.config/libreoffice/4/user/extensions/bundled/lastsynchronized}
R overlay/{home/user/.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml => opt/.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml}
R overlay/{home/user/.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml => opt/.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml}
R overlay/{home/user/.config/libreoffice/4/user/extensions/shared/lastsynchronized => opt/.config/libreoffice/4/user/extensions/shared/lastsynchronized}
R overlay/{home/user/.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml => opt/.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml}
R overlay/{home/user/.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml => opt/.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml}
R overlay/{home/user/.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml => opt/.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml}
R overlay/{home/user/.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml => opt/.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml}
R overlay/{home/user/.config/libreoffice/4/user/gallery/sg30.sdv => opt/.config/libreoffice/4/user/gallery/sg30.sdv}
R overlay/{home/user/.config/libreoffice/4/user/gallery/sg30.thm => opt/.config/libreoffice/4/user/gallery/sg30.thm}
R overlay/{home/user/.config/libreoffice/4/user/pack/ExtensionInfo.pack => opt/.config/libreoffice/4/user/pack/ExtensionInfo.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/autotext/mytexts.pack => opt/.config/libreoffice/4/user/pack/autotext/mytexts.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/basic/Standard/Module1.pack => opt/.config/libreoffice/4/user/pack/basic/Standard/Module1.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/basic/Standard/dialog.pack => opt/.config/libreoffice/4/user/pack/basic/Standard/dialog.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/basic/Standard/script.pack => opt/.config/libreoffice/4/user/pack/basic/Standard/script.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/basic/dialog.pack => opt/.config/libreoffice/4/user/pack/basic/dialog.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/basic/script.pack => opt/.config/libreoffice/4/user/pack/basic/script.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/config/autotbl.pack => opt/.config/libreoffice/4/user/pack/config/autotbl.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/config/javasettings_Linux_X86_64.pack => opt/.config/libreoffice/4/user/pack/config/javasettings_Linux_X86_64.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/database/biblio.pack => opt/.config/libreoffice/4/user/pack/database/biblio.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/database/biblio/biblio.pack => opt/.config/libreoffice/4/user/pack/database/biblio/biblio.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/database/evolocal.pack => opt/.config/libreoffice/4/user/pack/database/evolocal.pack}
R overlay/{home/user/.config/libreoffice/4/user/pack/registrymodifications.pack => opt/.config/libreoffice/4/user/pack/registrymodifications.pack}
R overlay/{home/user/.config/libreoffice/4/user/registrymodifications.xcu => opt/.config/libreoffice/4/user/registrymodifications.xcu}
R overlay/{home/user/.config/xfce4/panel/docklike-15.rc => opt/.config/xfce4/panel/docklike-15.rc}
R overlay/{home/user/.config/xfce4/panel/whiskermenu-14.rc => opt/.config/xfce4/panel/whiskermenu-14.rc}
R overlay/{home/user/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml => opt/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml}
R overlay/{home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml => opt/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml}
R overlay/{home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml => opt/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml}
R overlay/{home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml => opt/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml}
R overlay/{home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml => opt/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml}
A overlay/usr/bin/guest-account
M overlay/etc/lightdm/lightdm.conf => overlay/etc/lightdm/lightdm.conf +6 -6
@@ 25,7 25,7 @@
#minimum-vt=7
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
guest-account-script=guest-account
#logind-check-graphical=true
#log-directory=/var/log/lightdm
#run-directory=/var/run/lightdm


@@ 101,13 101,13 @@
#xdmcp-key=
#greeter-session=example-gtk-gnome
#greeter-hide-users=false
#greeter-allow-guest=true
greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=false
#guest-session=
allow-guest=true
guest-session=xfce
#session-wrapper=lightdm-session
#greeter-wrapper=
#guest-wrapper=


@@ 116,8 116,8 @@
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
autologin-guest=false
autologin-user= user
autologin-guest=true
#autologin-user= user
#autologin-user-timeout=0
#autologin-in-background=true
autologin-session=xfce

M overlay/etc/local.d/cushion.start => overlay/etc/local.d/cushion.start +11 -27
@@ 52,6 52,8 @@ exec 1>/dev/console 2>&1

#############################################################################
# INSTALL DEPENDENCIES
# NOTE: libreoffice doesn't offer a lang package containing all languages
# TODO: read a config file? and get a list of required languages
#############################################################################
cat <<EOF >> /etc/apk/repositories
http://dl-cdn.alpinelinux.org/alpine/edge/main


@@ 66,14 68,12 @@ cat <<EOF | xargs -n 1 apk add
alpine-base
busybox-mdev-openrc
consolekit2
doas
e2fsprogs
elogind
eudev
firefox
git
gvfs
htop
libreoffice-calc
libreoffice-draw
libreoffice-gtk


@@ 89,44 89,28 @@ openssh
openssl
polkit
polkit-elogind
sfdisk
strace
thunar-archive-plugin
thunar-lang
udev-init-scripts
udev-init-scripts-openrc
wget
xf86-input-libinput
xfce4
xfce4-docklike-plugin
xfce4-docklike-plugin-lang
xfce4-panel-lang
xfce4-session-lang
xfce4-settings-lang
xfce4-terminal
xfce4-terminal-lang
xfce4-whiskermenu-plugin
xfce4-whiskermenu-plugin-lang
xorg-server
EOF

setup-xorg-base

#############################################################################
# CREATE USER
#############################################################################

adduser -D user
adduser user wheel
adduser user plugdev
adduser user dialout
adduser user netdev
adduser user cdrom
adduser user lp
adduser user input
adduser user video
adduser user audio
adduser user autologin
adduser user nopasswdlogin

echo permit persist :wheel > /etc/doas.d/permis-wheel.conf
echo user:user | chpasswd

adduser lightdm autologin

addgroup autologin
addgroup nopasswdlogin

#############################################################################
# START & ENABLE SERVICES

D overlay/home/user/.config/gtk-3.0/bookmarks => overlay/home/user/.config/gtk-3.0/bookmarks +0 -0
D overlay/home/user/.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml => overlay/home/user/.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml +0 -2
@@ 1,2 0,0 @@
<?xml version="1.0"?>
<conf:configuration-backend-db xmlns:conf="http://openoffice.org/extensionmanager/configuration-registry/2010"/>

D overlay/home/user/.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml => overlay/home/user/.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml +0 -2
@@ 1,2 0,0 @@
<?xml version="1.0"?>
<help:help-backend-db xmlns:help="http://openoffice.org/extensionmanager/help-registry/2010"/>

D overlay/home/user/.config/xfce4/desktop/icons.screen.latest.rc => overlay/home/user/.config/xfce4/desktop/icons.screen.latest.rc +0 -1
@@ 1,1 0,0 @@
/home/user/.config/xfce4/desktop/icons.screen0-1264x757.rc
\ No newline at end of file

D overlay/home/user/.config/xfce4/desktop/icons.screen0-1264x757.rc => overlay/home/user/.config/xfce4/desktop/icons.screen0-1264x757.rc +0 -19
@@ 1,19 0,0 @@
[xfdesktop-version-4.10.3+-rcfile_format]
4.10.3+=true

[cdrom]
row=0
col=0

[Trash]
row=1
col=0

[/]
row=2
col=0

[/home/user]
row=3
col=0


D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml => overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml +0 -44
@@ 1,44 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>

<channel name="displays" version="1.0">
  <property name="ActiveProfile" type="string" value="Default"/>
  <property name="Default" type="empty">
    <property name="Virtual-1" type="string" value="Virtual-1">
      <property name="Active" type="bool" value="true"/>
      <property name="EDID" type="string" value=""/>
      <property name="Resolution" type="string" value="1024x768"/>
      <property name="RefreshRate" type="double" value="60.003840245775727"/>
      <property name="Rotation" type="int" value="0"/>
      <property name="Reflection" type="string" value="0"/>
      <property name="Primary" type="bool" value="true"/>
      <property name="Scale" type="empty">
        <property name="X" type="double" value="1"/>
        <property name="Y" type="double" value="1"/>
      </property>
      <property name="Position" type="empty">
        <property name="X" type="int" value="0"/>
        <property name="Y" type="int" value="0"/>
      </property>
    </property>
  </property>
  <property name="Fallback" type="empty">
    <property name="Virtual-1" type="string" value="Virtual-1">
      <property name="Active" type="bool" value="true"/>
      <property name="EDID" type="string" value=""/>
      <property name="Resolution" type="string" value="1024x768"/>
      <property name="RefreshRate" type="double" value="60.003840245775727"/>
      <property name="Rotation" type="int" value="0"/>
      <property name="Reflection" type="string" value="0"/>
      <property name="Primary" type="bool" value="true"/>
      <property name="Scale" type="empty">
        <property name="X" type="double" value="1"/>
        <property name="Y" type="double" value="1"/>
      </property>
      <property name="Position" type="empty">
        <property name="X" type="int" value="0"/>
        <property name="Y" type="int" value="0"/>
      </property>
    </property>
  </property>
  <property name="Notify" type="int" value="1"/>
</channel>

D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml => overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml +0 -9
@@ 1,9 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>

<channel name="keyboard-layout" version="1.0">
  <property name="Default" type="empty">
    <property name="XkbDisable" type="bool" value="false"/>
    <property name="XkbLayout" type="string" value="de"/>
    <property name="XkbVariant" type="string" value=""/>
  </property>
</channel>

D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml => overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml +0 -196
@@ 1,196 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-keyboard-shortcuts" version="1.0">
  <property name="commands" type="empty">
    <property name="default" type="empty">
      <property name="&lt;Alt&gt;F1" type="empty"/>
      <property name="&lt;Alt&gt;F2" type="empty">
        <property name="startup-notify" type="empty"/>
      </property>
      <property name="&lt;Alt&gt;F3" type="empty">
        <property name="startup-notify" type="empty"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;l" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;t" type="empty"/>
      <property name="XF86Display" type="empty"/>
      <property name="&lt;Super&gt;p" type="empty"/>
      <property name="&lt;Primary&gt;Escape" type="empty"/>
      <property name="XF86WWW" type="empty"/>
      <property name="HomePage" type="empty"/>
      <property name="XF86Mail" type="empty"/>
      <property name="Print" type="empty"/>
      <property name="&lt;Alt&gt;Print" type="empty"/>
      <property name="&lt;Shift&gt;Print" type="empty"/>
      <property name="&lt;Super&gt;e" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;f" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Escape" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;Escape" type="empty"/>
      <property name="&lt;Super&gt;r" type="empty">
        <property name="startup-notify" type="empty"/>
      </property>
      <property name="&lt;Alt&gt;&lt;Super&gt;s" type="empty"/>
    </property>
    <property name="custom" type="empty">
      <property name="&lt;Alt&gt;F2" type="string" value="xfce4-appfinder --collapsed">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Alt&gt;Print" type="string" value="xfce4-screenshooter -w"/>
      <property name="&lt;Super&gt;r" type="string" value="xfce4-appfinder -c">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="XF86WWW" type="string" value="exo-open --launch WebBrowser"/>
      <property name="XF86Mail" type="string" value="exo-open --launch MailReader"/>
      <property name="&lt;Alt&gt;F3" type="string" value="xfce4-appfinder">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="Print" type="string" value="xfce4-screenshooter"/>
      <property name="&lt;Primary&gt;Escape" type="string" value="xfdesktop --menu"/>
      <property name="&lt;Shift&gt;Print" type="string" value="xfce4-screenshooter -r"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="string" value="xfce4-session-logout"/>
      <property name="&lt;Alt&gt;&lt;Super&gt;s" type="string" value="orca"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;t" type="string" value="exo-open --launch TerminalEmulator"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;f" type="string" value="thunar"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;l" type="string" value="xflock4"/>
      <property name="&lt;Alt&gt;F1" type="string" value="xfce4-popup-applicationsmenu"/>
      <property name="&lt;Super&gt;p" type="string" value="xfce4-display-settings --minimal"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;Escape" type="string" value="xfce4-taskmanager"/>
      <property name="&lt;Super&gt;e" type="string" value="thunar"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Escape" type="string" value="xkill"/>
      <property name="HomePage" type="string" value="exo-open --launch WebBrowser"/>
      <property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/>
      <property name="override" type="bool" value="true"/>
    </property>
  </property>
  <property name="xfwm4" type="empty">
    <property name="default" type="empty">
      <property name="&lt;Alt&gt;Insert" type="empty"/>
      <property name="Escape" type="empty"/>
      <property name="Left" type="empty"/>
      <property name="Right" type="empty"/>
      <property name="Up" type="empty"/>
      <property name="Down" type="empty"/>
      <property name="&lt;Alt&gt;Tab" type="empty"/>
      <property name="&lt;Alt&gt;&lt;Shift&gt;Tab" type="empty"/>
      <property name="&lt;Alt&gt;Delete" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Down" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Left" type="empty"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Down" type="empty"/>
      <property name="&lt;Alt&gt;F4" type="empty"/>
      <property name="&lt;Alt&gt;F6" type="empty"/>
      <property name="&lt;Alt&gt;F7" type="empty"/>
      <property name="&lt;Alt&gt;F8" type="empty"/>
      <property name="&lt;Alt&gt;F9" type="empty"/>
      <property name="&lt;Alt&gt;F10" type="empty"/>
      <property name="&lt;Alt&gt;F11" type="empty"/>
      <property name="&lt;Alt&gt;F12" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Left" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;End" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Home" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Right" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Up" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_1" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_2" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_3" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_4" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_5" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_6" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_7" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_8" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_9" type="empty"/>
      <property name="&lt;Alt&gt;space" type="empty"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Up" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Right" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;d" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Up" type="empty"/>
      <property name="&lt;Super&gt;Tab" type="empty"/>
      <property name="&lt;Primary&gt;F1" type="empty"/>
      <property name="&lt;Primary&gt;F2" type="empty"/>
      <property name="&lt;Primary&gt;F3" type="empty"/>
      <property name="&lt;Primary&gt;F4" type="empty"/>
      <property name="&lt;Primary&gt;F5" type="empty"/>
      <property name="&lt;Primary&gt;F6" type="empty"/>
      <property name="&lt;Primary&gt;F7" type="empty"/>
      <property name="&lt;Primary&gt;F8" type="empty"/>
      <property name="&lt;Primary&gt;F9" type="empty"/>
      <property name="&lt;Primary&gt;F10" type="empty"/>
      <property name="&lt;Primary&gt;F11" type="empty"/>
      <property name="&lt;Primary&gt;F12" type="empty"/>
      <property name="&lt;Super&gt;KP_Left" type="empty"/>
      <property name="&lt;Super&gt;KP_Right" type="empty"/>
      <property name="&lt;Super&gt;KP_Down" type="empty"/>
      <property name="&lt;Super&gt;KP_Up" type="empty"/>
      <property name="&lt;Super&gt;KP_Page_Up" type="empty"/>
      <property name="&lt;Super&gt;KP_Home" type="empty"/>
      <property name="&lt;Super&gt;KP_End" type="empty"/>
      <property name="&lt;Super&gt;KP_Next" type="empty"/>
    </property>
    <property name="custom" type="empty">
      <property name="&lt;Primary&gt;F12" type="string" value="workspace_12_key"/>
      <property name="&lt;Super&gt;KP_Down" type="string" value="tile_down_key"/>
      <property name="&lt;Alt&gt;F4" type="string" value="close_window_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_3" type="string" value="move_window_workspace_3_key"/>
      <property name="&lt;Primary&gt;F2" type="string" value="workspace_2_key"/>
      <property name="&lt;Primary&gt;F6" type="string" value="workspace_6_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Down" type="string" value="down_workspace_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_9" type="string" value="move_window_workspace_9_key"/>
      <property name="&lt;Super&gt;KP_Up" type="string" value="tile_up_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;End" type="string" value="move_window_next_workspace_key"/>
      <property name="&lt;Primary&gt;F8" type="string" value="workspace_8_key"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Left" type="string" value="move_window_left_key"/>
      <property name="&lt;Super&gt;KP_Right" type="string" value="tile_right_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_4" type="string" value="move_window_workspace_4_key"/>
      <property name="Right" type="string" value="right_key"/>
      <property name="Down" type="string" value="down_key"/>
      <property name="&lt;Primary&gt;F3" type="string" value="workspace_3_key"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Down" type="string" value="lower_window_key"/>
      <property name="&lt;Primary&gt;F9" type="string" value="workspace_9_key"/>
      <property name="&lt;Alt&gt;Tab" type="string" value="cycle_windows_key"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Right" type="string" value="move_window_right_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Right" type="string" value="right_workspace_key"/>
      <property name="&lt;Alt&gt;F6" type="string" value="stick_window_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_5" type="string" value="move_window_workspace_5_key"/>
      <property name="&lt;Primary&gt;F11" type="string" value="workspace_11_key"/>
      <property name="&lt;Alt&gt;F10" type="string" value="maximize_window_key"/>
      <property name="&lt;Alt&gt;Delete" type="string" value="del_workspace_key"/>
      <property name="&lt;Super&gt;Tab" type="string" value="switch_window_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;d" type="string" value="show_desktop_key"/>
      <property name="&lt;Primary&gt;F4" type="string" value="workspace_4_key"/>
      <property name="&lt;Super&gt;KP_Page_Up" type="string" value="tile_up_right_key"/>
      <property name="&lt;Alt&gt;F7" type="string" value="move_window_key"/>
      <property name="Up" type="string" value="up_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_6" type="string" value="move_window_workspace_6_key"/>
      <property name="&lt;Alt&gt;F11" type="string" value="fullscreen_key"/>
      <property name="&lt;Alt&gt;space" type="string" value="popup_menu_key"/>
      <property name="&lt;Super&gt;KP_Home" type="string" value="tile_up_left_key"/>
      <property name="Escape" type="string" value="cancel_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_1" type="string" value="move_window_workspace_1_key"/>
      <property name="&lt;Super&gt;KP_Next" type="string" value="tile_down_right_key"/>
      <property name="&lt;Super&gt;KP_Left" type="string" value="tile_left_key"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Up" type="string" value="raise_window_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Home" type="string" value="move_window_prev_workspace_key"/>
      <property name="&lt;Alt&gt;&lt;Shift&gt;Tab" type="string" value="cycle_reverse_windows_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Left" type="string" value="left_workspace_key"/>
      <property name="&lt;Alt&gt;F12" type="string" value="above_key"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Up" type="string" value="move_window_up_key"/>
      <property name="&lt;Primary&gt;F5" type="string" value="workspace_5_key"/>
      <property name="&lt;Alt&gt;F8" type="string" value="resize_window_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_7" type="string" value="move_window_workspace_7_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_2" type="string" value="move_window_workspace_2_key"/>
      <property name="&lt;Super&gt;KP_End" type="string" value="tile_down_left_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Up" type="string" value="up_workspace_key"/>
      <property name="&lt;Alt&gt;F9" type="string" value="hide_window_key"/>
      <property name="&lt;Primary&gt;F7" type="string" value="workspace_7_key"/>
      <property name="&lt;Primary&gt;F10" type="string" value="workspace_10_key"/>
      <property name="Left" type="string" value="left_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_8" type="string" value="move_window_workspace_8_key"/>
      <property name="&lt;Alt&gt;Insert" type="string" value="add_workspace_key"/>
      <property name="&lt;Primary&gt;F1" type="string" value="workspace_1_key"/>
      <property name="override" type="bool" value="true"/>
    </property>
  </property>
  <property name="providers" type="array">
    <value type="string" value="xfwm4"/>
    <value type="string" value="commands"/>
  </property>
</channel>

D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml => overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml +0 -7
@@ 1,7 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-power-manager" version="1.0">
  <property name="xfce4-power-manager" type="empty">
    <property name="show-tray-icon" type="bool" value="false"/>
  </property>
</channel>

D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml => overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml +0 -30
@@ 1,30 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-session" version="1.0">
  <property name="general" type="empty">
    <property name="FailsafeSessionName" type="empty"/>
    <property name="LockCommand" type="empty"/>
    <property name="AutoSave" type="bool" value="false"/>
  </property>
  <property name="sessions" type="empty">
    <property name="Failsafe" type="empty">
      <property name="IsFailsafe" type="empty"/>
      <property name="Count" type="empty"/>
      <property name="Client0_Command" type="empty"/>
      <property name="Client0_Priority" type="empty"/>
      <property name="Client0_PerScreen" type="empty"/>
      <property name="Client1_Command" type="empty"/>
      <property name="Client1_Priority" type="empty"/>
      <property name="Client1_PerScreen" type="empty"/>
      <property name="Client2_Command" type="empty"/>
      <property name="Client2_Priority" type="empty"/>
      <property name="Client2_PerScreen" type="empty"/>
      <property name="Client3_Command" type="empty"/>
      <property name="Client3_Priority" type="empty"/>
      <property name="Client3_PerScreen" type="empty"/>
      <property name="Client4_Command" type="empty"/>
      <property name="Client4_Priority" type="empty"/>
      <property name="Client4_PerScreen" type="empty"/>
    </property>
  </property>
</channel>

D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-editor.xml => overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-editor.xml +0 -9
@@ 1,9 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-settings-editor" version="1.0">
  <property name="last" type="empty">
    <property name="window-width" type="int" value="640"/>
    <property name="window-height" type="int" value="500"/>
    <property name="paned-position" type="int" value="180"/>
  </property>
</channel>

D overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml => overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml +0 -8
@@ 1,8 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-settings-manager" version="1.0">
  <property name="last" type="empty">
    <property name="window-width" type="int" value="667"/>
    <property name="window-height" type="int" value="500"/>
  </property>
</channel>

D overlay/home/user/.dmrc => overlay/home/user/.dmrc +0 -2
@@ 1,2 0,0 @@
[Desktop]
Session=xfce

D overlay/home/user/.local/share/gvfs-metadata/home => overlay/home/user/.local/share/gvfs-metadata/home +0 -0
D overlay/home/user/.local/share/gvfs-metadata/home-a508090e.log => overlay/home/user/.local/share/gvfs-metadata/home-a508090e.log +0 -0
R overlay/home/user/.config/Thunar/accels.scm => overlay/opt/.config/Thunar/accels.scm +0 -0
R overlay/home/user/.config/Thunar/uca.xml => overlay/opt/.config/Thunar/uca.xml +0 -0
R overlay/home/user/.config/glib-2.0/settings/keyfile => overlay/opt/.config/glib-2.0/settings/keyfile +0 -0
R overlay/home/user/.config/gtk-2.0/gtkfilechooser.ini => overlay/opt/.config/gtk-2.0/gtkfilechooser.ini +0 -0
R overlay/home/user/.ICEauthority => overlay/opt/.config/gtk-3.0/bookmarks +0 -0
R overlay/home/user/.config/libreoffice/4/user/GraphicsRenderTests.log => overlay/opt/.config/libreoffice/4/user/GraphicsRenderTests.log +0 -0
R overlay/home/user/.config/libreoffice/4/user/autotext/mytexts.bau => overlay/opt/.config/libreoffice/4/user/autotext/mytexts.bau +0 -0
R overlay/home/user/.config/libreoffice/4/user/basic/Standard/Module1.xba => overlay/opt/.config/libreoffice/4/user/basic/Standard/Module1.xba +0 -0
R overlay/home/user/.config/libreoffice/4/user/basic/Standard/dialog.xlb => overlay/opt/.config/libreoffice/4/user/basic/Standard/dialog.xlb +0 -0
R overlay/home/user/.config/libreoffice/4/user/basic/Standard/script.xlb => overlay/opt/.config/libreoffice/4/user/basic/Standard/script.xlb +0 -0
R overlay/home/user/.config/libreoffice/4/user/basic/dialog.xlc => overlay/opt/.config/libreoffice/4/user/basic/dialog.xlc +0 -0
R overlay/home/user/.config/libreoffice/4/user/basic/script.xlc => overlay/opt/.config/libreoffice/4/user/basic/script.xlc +0 -0
R overlay/home/user/.config/libreoffice/4/user/config/autotbl.fmt => overlay/opt/.config/libreoffice/4/user/config/autotbl.fmt +0 -0
R overlay/home/user/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml => overlay/opt/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml +0 -0
R overlay/home/user/.config/libreoffice/4/user/database/biblio.odb => overlay/opt/.config/libreoffice/4/user/database/biblio.odb +0 -0
R overlay/home/user/.config/libreoffice/4/user/database/biblio/biblio.dbf => overlay/opt/.config/libreoffice/4/user/database/biblio/biblio.dbf +0 -0
R overlay/home/user/.config/libreoffice/4/user/database/biblio/biblio.dbt => overlay/opt/.config/libreoffice/4/user/database/biblio/biblio.dbt +0 -0
R overlay/home/user/.config/libreoffice/4/user/database/evolocal.odb => overlay/opt/.config/libreoffice/4/user/database/evolocal.odb +0 -0
R overlay/home/user/.config/libreoffice/4/user/extensions/buildid => overlay/opt/.config/libreoffice/4/user/extensions/buildid +0 -0
R overlay/home/user/.config/libreoffice/4/user/extensions/bundled/lastsynchronized => overlay/opt/.config/libreoffice/4/user/extensions/bundled/lastsynchronized +0 -0
R overlay/home/user/.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml => overlay/opt/.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml +0 -0
R overlay/home/user/.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml => overlay/opt/.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml +0 -0
R overlay/home/user/.config/libreoffice/4/user/extensions/shared/lastsynchronized => overlay/opt/.config/libreoffice/4/user/extensions/shared/lastsynchronized +0 -0
R overlay/home/user/.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml => overlay/opt/.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml +0 -0
R overlay/home/user/.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml => overlay/opt/.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml +0 -0
R overlay/home/user/.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml => overlay/opt/.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml +0 -0
R overlay/home/user/.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml => overlay/opt/.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml +0 -0
R overlay/home/user/.config/libreoffice/4/user/gallery/sg30.sdv => overlay/opt/.config/libreoffice/4/user/gallery/sg30.sdv +0 -0
R overlay/home/user/.config/libreoffice/4/user/gallery/sg30.thm => overlay/opt/.config/libreoffice/4/user/gallery/sg30.thm +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/ExtensionInfo.pack => overlay/opt/.config/libreoffice/4/user/pack/ExtensionInfo.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/autotext/mytexts.pack => overlay/opt/.config/libreoffice/4/user/pack/autotext/mytexts.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/basic/Standard/Module1.pack => overlay/opt/.config/libreoffice/4/user/pack/basic/Standard/Module1.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/basic/Standard/dialog.pack => overlay/opt/.config/libreoffice/4/user/pack/basic/Standard/dialog.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/basic/Standard/script.pack => overlay/opt/.config/libreoffice/4/user/pack/basic/Standard/script.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/basic/dialog.pack => overlay/opt/.config/libreoffice/4/user/pack/basic/dialog.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/basic/script.pack => overlay/opt/.config/libreoffice/4/user/pack/basic/script.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/config/autotbl.pack => overlay/opt/.config/libreoffice/4/user/pack/config/autotbl.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/config/javasettings_Linux_X86_64.pack => overlay/opt/.config/libreoffice/4/user/pack/config/javasettings_Linux_X86_64.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/database/biblio.pack => overlay/opt/.config/libreoffice/4/user/pack/database/biblio.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/database/biblio/biblio.pack => overlay/opt/.config/libreoffice/4/user/pack/database/biblio/biblio.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/database/evolocal.pack => overlay/opt/.config/libreoffice/4/user/pack/database/evolocal.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/pack/registrymodifications.pack => overlay/opt/.config/libreoffice/4/user/pack/registrymodifications.pack +0 -0
R overlay/home/user/.config/libreoffice/4/user/registrymodifications.xcu => overlay/opt/.config/libreoffice/4/user/registrymodifications.xcu +0 -0
R overlay/home/user/.config/xfce4/panel/docklike-15.rc => overlay/opt/.config/xfce4/panel/docklike-15.rc +0 -0
R overlay/home/user/.config/xfce4/panel/whiskermenu-14.rc => overlay/opt/.config/xfce4/panel/whiskermenu-14.rc +0 -0
R overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml => overlay/opt/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml +0 -0
R overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml => overlay/opt/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml +0 -15
@@ 9,21 9,6 @@
          <property name="image-style" type="int" value="5"/>
          <property name="last-image" type="string" value="/usr/share/backgrounds/windows10.jpeg"/>
        </property>
        <property name="workspace1" type="empty">
          <property name="color-style" type="int" value="0"/>
          <property name="image-style" type="int" value="5"/>
          <property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-shapes.svg"/>
        </property>
        <property name="workspace2" type="empty">
          <property name="color-style" type="int" value="0"/>
          <property name="image-style" type="int" value="5"/>
          <property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-shapes.svg"/>
        </property>
        <property name="workspace3" type="empty">
          <property name="color-style" type="int" value="0"/>
          <property name="image-style" type="int" value="5"/>
          <property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-shapes.svg"/>
        </property>
      </property>
    </property>
  </property>

R overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml => overlay/opt/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml +0 -0
R overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml => overlay/opt/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml +0 -3
@@ 83,9 83,6 @@
    <property name="zoom_pointer" type="bool" value="true"/>
    <property name="workspace_names" type="array">
      <value type="string" value="Workspace 1"/>
      <value type="string" value="Workspace 2"/>
      <value type="string" value="Workspace 3"/>
      <value type="string" value="Workspace 4"/>
    </property>
  </property>
</channel>

R overlay/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml => overlay/opt/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml +0 -0
A overlay/usr/bin/guest-account => overlay/usr/bin/guest-account +49 -0
@@ 0,0 1,49 @@
#!/bin/sh

add_user() {
    home=$(mktemp -td guest-XXXXXX)
    user=$(basename $home)

    # create user & add them to required groups
    adduser -D -h $home $user
    adduser $user autologin
    adduser $user nopasswdlogin

    # copy the default configuration files to the home directory
    cp -r /opt/.config $home
    chown -R $user $home/.config

    echo $user
}

del_user() {
    user=$1

    find -user $user | xargs -n 1 rm -rf

    deluser $user
}

usage() {
    echo "Usage: guest-account"
    echo "guest-account add - creates a new user and echoes the username"
    echo "guest-account remove <username> - deletes the user"
}

case $1 in
   add)
   add_user
   ;;

   del | remove)
   if [ -z $2 ]; then
       usage
       exit 1
   fi
   del_user $2
   ;;

   *)
   usage
   exit 1
esac