Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to run scripts on login without success
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
contraversy
n00b
n00b


Joined: 28 Apr 2012
Posts: 39

PostPosted: Fri Oct 11, 2019 6:02 pm    Post subject: Trying to run scripts on login without success Reply with quote

Hello,

I am wanting to run my ~/.fehbg and xrdb .Xresources on login, so my terminal and wallpaper settings are done automatically. My script runs fine, but no matter where i try to run the script from, I can't get it to run on login.

I have tried using local.d/ and profile.d/ as well as adding them to bashrc and bash_profile

I have found SEVERAL resources/threads while searching on here, but none of the methods I have found seem to help me. Can anyone point me to the right place?
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1785
Location: United Kingdom

PostPosted: Fri Oct 11, 2019 6:37 pm    Post subject: Reply with quote

Have you tried ~/.xsession? If you are logging in using a display manager you should be able to launch them from ~/.xsession (see https://archive.org/details/xwindowsystemadm08muimiss/page/14 for details).
_________________
Clevo W230SS: amd64 nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC eudev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14917

PostPosted: Sat Oct 12, 2019 12:19 am    Post subject: Reply with quote

How do you log in? Do you start at a text console, then run startx? Do you use a display manager? If yes, which one? For a startx user, I would recommend ~/.xinitrc.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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