From 268a26d8032ae0d00c62ec417478a1e4e57601ce Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 3 Oct 2019 21:51:06 +0100 Subject: [PATCH] Auto start Nextcloud and Remmina --- roles/home/files/nextcloud.desktop | 10 ++++++++++ roles/home/files/remmina-applet.desktop | 9 +++++++++ roles/home/tasks/dotfiles.yml | 8 ++++++++ 3 files changed, 27 insertions(+) create mode 100644 roles/home/files/nextcloud.desktop create mode 100644 roles/home/files/remmina-applet.desktop diff --git a/roles/home/files/nextcloud.desktop b/roles/home/files/nextcloud.desktop new file mode 100644 index 0000000..635fd45 --- /dev/null +++ b/roles/home/files/nextcloud.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Categories=Utility +Type=Application +Exec=nextcloud +Name=Nextcloud desktop sync client +Comment=Nextcloud desktop synchronization client +GenericName=Folder Sync +Icon=Nextcloud +Keywords=Nextcloud;syncing;file;sharing; +X-GNOME-Autostart-Delay=3 diff --git a/roles/home/files/remmina-applet.desktop b/roles/home/files/remmina-applet.desktop new file mode 100644 index 0000000..61222e9 --- /dev/null +++ b/roles/home/files/remmina-applet.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Name=Remmina Applet +Comment=Connect to remote desktops through the applet menu +Icon=org.remmina.Remmina +Exec=remmina -i +Terminal=false +Type=Application +Hidden=false diff --git a/roles/home/tasks/dotfiles.yml b/roles/home/tasks/dotfiles.yml index f2af432..3a7b791 100644 --- a/roles/home/tasks/dotfiles.yml +++ b/roles/home/tasks/dotfiles.yml @@ -27,7 +27,15 @@ copy: src: redshift.conf dest: "{{ ansible_env.HOME }}/.config/redshift.conf" +- name: Auto start nextcloud + copy: + src: nextcloud.desktop + dest: "{{ ansible_env.HOME }}/.config/autostart/nextcloud.desktop" - name: Auto start redshift-gtk copy: src: redshift-gtk.desktop dest: "{{ ansible_env.HOME }}/.config/autostart/redshift-gtk.desktop" +- name: Auto start remmina-applet + copy: + src: remmina-applet.desktop + dest: "{{ ansible_env.HOME }}/.config/autostart/remmina-applet.desktop"