Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Screen saver in command line. [SOLVED]
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
truthSEeker71
n00b
n00b


Joined: 15 Jun 2015
Posts: 32

PostPosted: Wed May 25, 2016 7:29 am    Post subject: Screen saver in command line. [SOLVED] Reply with quote

Hello,
I have one installation of Gentoo that it's without graphical environment, command line interface only. I'm curious about any screen saver or something like that because when I'm not using system some time I get black screen and I have to hit any key to continue. And I would like to customize this behaviour.


Last edited by truthSEeker71 on Wed May 25, 2016 7:43 am; edited 1 time in total
Back to top
View user's profile Send private message
truthSEeker71
n00b
n00b


Joined: 15 Jun 2015
Posts: 32

PostPosted: Wed May 25, 2016 7:40 am    Post subject: Reply with quote

Okey I was to fast with that question. I found solution on unix.stackexchange.com:
http://unix.stackexchange.com/questions/8056/disable-screen-blanking-on-text-console
I can confirm it's working and also very helpfull and instructive was:
Code:
$ man setterm
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Wed May 25, 2016 12:47 pm    Post subject: Reply with quote

truthSEeker71 wrote:
Okey I was to fast with that question. I found solution on unix.stackexchange.com:
http://unix.stackexchange.com/questions/8056/disable-screen-blanking-on-text-console
I can confirm it's working and also very helpfull and instructive was:
Code:
$ man setterm


interesting. I will configure this on my nas/htpc.
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
Terrere
n00b
n00b


Joined: 03 Sep 2006
Posts: 73
Location: Basel (CH)

PostPosted: Sat May 28, 2016 10:13 pm    Post subject: Reply with quote

hi

https://forums.gentoo.org/viewtopic-t-576412-highlight-.html

/etc/conf.d/local.start:

Code:

ebegin "Turn off screensaver and terminal bell"
 for a in `seq 1 7`; do setterm -blank 0 > /dev/tty$a ; done
eend $?


bb
Back to top
View user's profile Send private message
truthSEeker71
n00b
n00b


Joined: 15 Jun 2015
Posts: 32

PostPosted: Mon May 30, 2016 9:43 am    Post subject: Reply with quote

Sorry, I do not understand German. :)
Back to top
View user's profile Send private message
Terrere
n00b
n00b


Joined: 03 Sep 2006
Posts: 73
Location: Basel (CH)

PostPosted: Tue May 31, 2016 5:48 pm    Post subject: Reply with quote

Sorry, I do not understand english :D

Code:

nano -w /etc/local.d/local.start

paste this:
Code:

ebegin "Turn off screensaver and terminal bell"
 for a in `seq 1 7`; do setterm -blank 0 > /dev/tty$a ; done
eend $?

change mode:
Code:

chmod 744 /etc/local.d/local.start

next reboot will solve screen blanking,,, that is just another solution with openrc
and yes, my english is very,,, :roll:
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