Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Gnome-3.8 systemd | commands start automatically?
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
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1464

PostPosted: Thu Dec 05, 2013 8:14 pm    Post subject: [solved]Gnome-3.8 systemd | commands start automatically? Reply with quote

hello,

under systemd, where is the correct file to be run commands after the start automatically?
such as: xset -dpms


thanks for any hint
Ma
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/


Last edited by Marlo on Sun Dec 08, 2013 2:00 am; edited 1 time in total
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1415

PostPosted: Fri Dec 06, 2013 12:52 am    Post subject: Reply with quote

There is a gentoo
/etc/local.d/*.{start,stop}

with ebuild
gentoo-systemd-integration

But I don't know how to start the generator.
I am missing a man file :(
Perhaps just put files there ?
_________________
ultra left enrich
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1464

PostPosted: Fri Dec 06, 2013 8:22 pm    Post subject: Reply with quote

Hi,

neither
screen-on-off.start wrote:

xset -dpms


nor the
screen-on-off.start wrote:

#!/bin/sh
xset -dpms


is accepted by a chmod +x in /etc/local.d/.

thx
Ma
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Fri Dec 06, 2013 8:39 pm    Post subject: Reply with quote

This is an X utility, you'll want to put this in ~/.initrc of the accounts you want this to work on; if you use a DE you can look into the autostart programs of your DE and put that command or a script in there.
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1464

PostPosted: Sun Dec 08, 2013 1:55 am    Post subject: Reply with quote

that's the trick,

~ / .initrc / screen-on-off

and enabled in Gnome Settings Center / Session Properties.


thank you very much
Ma
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2836
Location: Canada

PostPosted: Sun Dec 08, 2013 5:31 am    Post subject: Reply with quote

Option "DPMS" "off"

in the monitor section of xorg.conf would probably do the same
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