Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xdm startup custom script
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 391

PostPosted: Sat Apr 04, 2020 4:00 pm    Post subject: xdm startup custom script Reply with quote

Following up to this post https://forums.gentoo.org/viewtopic-t-1108208-highlight-.html

I figured out why this has stopped working.

Apparently I had a resolution setting script in /etc/kde/sddm/Xsetup. This script used to run upon sddm startup, and everything was fine. I totally forgot about it because it just worked for many years. But this script no longer runs automatically (I added some debugging output redirected to a file, and it never shows up).

How can I run a custom script when a display manager starts, before the user logs in?[/url]

Thanks everyone, please stay safe.
_________________
!זה הכי, אחי Gentoo
Back to top
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 517
Location: Inner Space

PostPosted: Thu Apr 09, 2020 12:39 pm    Post subject: Reply with quote

i would put the script in /etc/init.d and define a dependency for /etc/init.d/xdm
like this: https://wiki.gentoo.org/wiki/OpenRC#Dependency_behavior
_________________
CLOSED|||||||||||LISTEN
SYN-SENT --> SYN-RECEIVED
ESTABLISHED <-- SYN-RECEIVED
ESTABLISHED --> ESTABLISHED
ESTABLISHED --> <DATA> --> ESTABLISHED
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