mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 05:39:52 +00:00
Deploy the Nextcloud desktop autostart entry on GNOME desktops
Add the XDG autostart entry captured from ikaros' live session and ship it through a new desktop_gnome_dotfiles list, which the GNOME dotfile copy task merges with desktop_common_dotfiles. The list is GNOME-specific on purpose: desktop_common_dotfiles is shared with the Void minimal desktops, where nextcloud-client is not installed. Installation itself already comes from fedora_desktop_packages, which covers ikaros and nymph through the graphical_desktop group.
This commit is contained in:
@@ -91,3 +91,13 @@ fedora_flatpak_packages:
|
|||||||
- com.spotify.Client
|
- com.spotify.Client
|
||||||
- org.onlyoffice.desktopeditors
|
- org.onlyoffice.desktopeditors
|
||||||
- org.telegram.desktop
|
- org.telegram.desktop
|
||||||
|
|
||||||
|
# GNOME-only dotfiles. Kept out of desktop_common_dotfiles so the Void desktops
|
||||||
|
# do not receive XDG autostart entries for applications they do not install.
|
||||||
|
# Nextcloud desktop is the `nextcloud-client` package in fedora_desktop_packages;
|
||||||
|
# this entry matches what the client itself writes when "Launch on startup" is on.
|
||||||
|
desktop_gnome_dotfiles:
|
||||||
|
- name: Nextcloud autostart entry
|
||||||
|
src: .config/autostart/Nextcloud.desktop
|
||||||
|
dest: .config/autostart/Nextcloud.desktop
|
||||||
|
mode: "0644"
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
owner: "{{ username }}"
|
owner: "{{ username }}"
|
||||||
group: "{{ user_group }}"
|
group: "{{ user_group }}"
|
||||||
mode: "{{ item.mode }}"
|
mode: "{{ item.mode }}"
|
||||||
loop: "{{ desktop_common_dotfiles | default([]) }}"
|
loop: "{{ (desktop_common_dotfiles | default([])) + (desktop_gnome_dotfiles | default([])) }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.dest }}"
|
label: "{{ item.dest }}"
|
||||||
|
|
||||||
|
|||||||
11
dotfiles/desktop/.config/autostart/Nextcloud.desktop
Normal file
11
dotfiles/desktop/.config/autostart/Nextcloud.desktop
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user