View previous topic :: View next topic |
Author |
Message |
dkuflu n00b
Joined: 14 Jun 2022 Posts: 10
|
Posted: Sat Jun 25, 2022 4:44 pm Post subject: [SOLVED] SDDM doesn't run scripts in xdg/autostart |
|
|
I'm using SDDM to start Sway wm on my machine. I have recently installed pipewire, and the Gentoo guide mentioned that I don't need to do any configuration to start pipewire during boot (since I use SDDM). However, I noticed that pipewire doesn't autostart, so I checked "/etc/xdg/autostart/pipewire.desktop". The file runs gentoo-pipewire-launcher as it should, so I tested with another .desktop file and noticed the problem was that xdg/autostart wasn't working. How do I enable SDDM to work with xdg/autostart?
/etc/sddm.conf: https://pastebin.pl/view/278d1e0f
Just in case something's also wrong with piprewire, here's the output of gentoo-pipewire-launcher: https://pastebin.pl/view/e12e95d7
Last edited by dkuflu on Sun Jun 26, 2022 7:20 am; edited 1 time in total |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Sat Jun 25, 2022 6:18 pm Post subject: |
|
|
SDDM's job is to log you in and start a session. It does not do autostart, that's normally handled by the desktop environment (KDE, GNOME, LXQt, etc)
Sway apparently doesn't support that out-of-the-box: https://github.com/swaywm/sway/issues/1423 |
|
Back to top |
|
|
spica Apprentice
Joined: 04 Jun 2021 Posts: 287
|
Posted: Sat Jun 25, 2022 9:59 pm Post subject: |
|
|
pipewire can be started from sway config Code: | $ grep pipe .config/sway/config
exec pipewire |
|
|
Back to top |
|
|
dkuflu n00b
Joined: 14 Jun 2022 Posts: 10
|
Posted: Sun Jun 26, 2022 7:19 am Post subject: |
|
|
Got it. The Gentoo website only mentions a display manager is needed, no I didn't think a DE was also needed. https://wiki.gentoo.org/wiki/PipeWire
I managed to get it working by starting it using Sway. |
|
Back to top |
|
|
|