View previous topic :: View next topic |
Author |
Message |
contraversy n00b

Joined: 28 Apr 2012 Posts: 39
|
Posted: Fri Oct 11, 2019 6:02 pm Post subject: Trying to run scripts on login without success |
|
|
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 |
|
 |
Fitzcarraldo Veteran


Joined: 30 Aug 2008 Posts: 1877 Location: United Kingdom
|
Posted: Fri Oct 11, 2019 6:37 pm Post subject: |
|
|
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 |
|
 |
Hu Moderator

Joined: 06 Mar 2007 Posts: 16463
|
Posted: Sat Oct 12, 2019 12:19 am Post subject: |
|
|
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 |
|
 |
|