Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] SDDM doesn't run scripts in xdg/autostart
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dkuflu
n00b
n00b


Joined: 14 Jun 2022
Posts: 10

PostPosted: Sat Jun 25, 2022 4:44 pm    Post subject: [SOLVED] SDDM doesn't run scripts in xdg/autostart Reply with quote

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
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Sat Jun 25, 2022 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
spica
Apprentice
Apprentice


Joined: 04 Jun 2021
Posts: 287

PostPosted: Sat Jun 25, 2022 9:59 pm    Post subject: Reply with quote

pipewire can be started from sway config
Code:
$ grep pipe .config/sway/config
exec pipewire
Back to top
View user's profile Send private message
dkuflu
n00b
n00b


Joined: 14 Jun 2022
Posts: 10

PostPosted: Sun Jun 26, 2022 7:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum