Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.desktop files in /etc/xdg/autostart are not initialized #67

Open
fulalas opened this issue Aug 29, 2024 · 1 comment
Open

.desktop files in /etc/xdg/autostart are not initialized #67

fulalas opened this issue Aug 29, 2024 · 1 comment

Comments

@fulalas
Copy link

fulalas commented Aug 29, 2024

Is there any trick to make .desktop files in /etc/xdg/autostart initialize in a non-systemd distro? At the moment nothing runs. When I try to use xdg-open [desktopFile] it opens it in cosmic-edit instead of running it. The .desktop files are valid because they run in other DEs.

Because my pipewire daemon is in /etc/xdg/autostart, I have no sound. If I initialize my daemon manually, the sound works, incluing COSMIC tray icon.

Tested with current master in PorteuX distro.

@vadorovsky
Copy link

vadorovsky commented Oct 25, 2024

Hitting the same issue on Gentoo with OpenRC. I have an XDG autostart service for pipewire:

 cat /etc/xdg/autostart/pipewire.desktop
[Desktop Entry]
Version=1.0
Name[de]=PipeWire Mediensystem
Name=PipeWire Media System
Comment[de]=Das PipeWire Mediensystem starten
Comment=Start the PipeWire Media System
Exec=/usr/bin/gentoo-pipewire-launcher restart
Terminal=false
Type=Application
X-GNOME-HiddenUnderSystemd=true
X-KDE-HiddenUnderSystemd=true
X-systemd-skip=true

Which works fine for Plasma, but COSMIC doesn't start it.

Runnig the command (/usr/bin/gentoo-pipewire-launcher restart) manually makes my sound work, including the COSMIC settings and applet.

I will try digging into the code, but it would be very helpful to know whether COSMIC relies somehow on systemd to run XDG autostarts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants