From 418eb402952fbb597ef5d612b78a49dcb76a6d00 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Wed, 27 Jul 2022 23:39:46 +0200 Subject: [PATCH] Make Nextcloud auto-start on login --- .../com.nextcloud.desktopclient.nextcloud.desktop | 11 +++++++++++ .config/shell/init_dotfiles.sh | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .config/autostart/com.nextcloud.desktopclient.nextcloud.desktop diff --git a/.config/autostart/com.nextcloud.desktopclient.nextcloud.desktop b/.config/autostart/com.nextcloud.desktopclient.nextcloud.desktop new file mode 100644 index 0000000..219765f --- /dev/null +++ b/.config/autostart/com.nextcloud.desktopclient.nextcloud.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Nextcloud +GenericName=File Synchronizer +Exec="/usr/bin/nextcloud" --background +Terminal=false +Icon=Nextcloud +Categories=Network +Type=Application +StartupNotify=false +X-GNOME-Autostart-enabled=true +X-GNOME-Autostart-Delay=10 diff --git a/.config/shell/init_dotfiles.sh b/.config/shell/init_dotfiles.sh index 729ccd9..7772e8b 100755 --- a/.config/shell/init_dotfiles.sh +++ b/.config/shell/init_dotfiles.sh @@ -20,7 +20,7 @@ git clone --bare git@git.webartifex.biz:alexander/dotfiles.git "$HOME/.dotfiles" # Backup old dotfiles rm -rf "$HOME/.dotfiles.bak" >/dev/null -mkdir -p $HOME/.dotfiles.bak/.config/{bat,flameshot,git,Nextcloud,pop-system-updater,psql,pypoetry,shell} && \ +mkdir -p $HOME/.dotfiles.bak/.config/{autostart,bat,flameshot,git,Nextcloud,pop-system-updater,psql,pypoetry,shell} && \ mkdir -p $HOME/.dotfiles.bak/.mackup && \ mkdir -p $HOME/.dotfiles.bak/.vim/{after/ftplugin,backup,swap,undo} && \ mkdir -p $HOME/.dotfiles.bak/.ssh && \