View previous topic :: View next topic |
Author |
Message |
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Wed Nov 06, 2024 8:50 am Post subject: [Solved] Command ignored from .xinitrc |
|
|
Dear gentooers,
I added this line in my .xinitrc in order to not to have my screen shutting down:
But after switching graphic drivers from nouveau to nvidia-drivers, this does not work anymore either if this line is in my .xinitrc or if I just launch it in a terminal.
Instead, this seems to do the trick, typing in a terminal:
But unfortunately it won't work from .xinitrc .... :/
I'm using LXDE as desktop environment btw.
Do you guys have a clue how I could work it out, or better, of which command I could use to have the screen shutting down after, let's say: 30mn ?
Thank you for your attention.
Last edited by Adrien on Mon Nov 11, 2024 7:37 pm; edited 1 time in total |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3977
|
Posted: Wed Nov 06, 2024 9:08 am Post subject: |
|
|
Been using LXDE for years:
Been tweaking these settings many times for such a cancellation.
Currently "xset dpms force off" in lxsession-default-apps.
Not 100% that is enough.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
nicop Tux's lil' helper
Joined: 10 Apr 2014 Posts: 103
|
Posted: Wed Nov 06, 2024 9:09 am Post subject: |
|
|
To force, I will use the Xorg configuration instead. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3977
|
Posted: Wed Nov 06, 2024 9:27 am Post subject: |
|
|
lxde has a specific internal that sets display off after 10 mn IIRC.
So yeah, a general X configuration could fix.
A more fine grained solution could be desirable.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Wed Nov 06, 2024 10:20 am Post subject: |
|
|
CaptainBlood wrote: | A more fine grained solution could be desirable. |
Definitely!
Thanks for the tips to both of you |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Mon Nov 11, 2024 7:36 pm Post subject: |
|
|
CaptainBlood wrote: |
Currently "xset dpms force off" in lxsession-default-apps.
|
Worked with:
Code: | @xset -dpms
@xset s off | in lxsession-default-apps
Not working in .xinitrc
Thanks again Captain! |
|
Back to top |
|
|
|