Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a complete newbie, but enjoying the Linux learning curve very much. Just installed CentOS 7 and going through "The Linux Command Line: A Complete Introduction" by William E. Shotts Jr. Nicely laid out for a neophyte to get up and running.
I'm having a pesky problem though... powersave seems to kick in after a certain time of inactivity and when I tab back into the screen it is utterly blank -- forcing me to hard reboot. A google search yielded these two commands:
setterm -powersave off -blank 0
/usr/bin/setterm -powersave off -blank 0
Do these work only for the current session? If so, is there a permanent solution (perhaps preferably done in the bios?)
Any help or guidance is much appreciated.
Best,
Kelley
Last edited by KelleyConfig; 07-03-2015 at 09:57 PM.
Welcome to Linux Questions and.....
congrads on your fresh installation of CentOS 7!
Look in your System Settings Menu. In your upper right hand corner of your desktop environment (with the Gnome DE) where you see your name.
You should be able to disable powersave, hybernate, blank screen and other things as well.
Thanks so much for the reply. I’ll disable this in the Systems Settings of the Gnome shell. But as I mentioned, complete newbie here. Haven’t even got to the Gnome shell yet. Just going though commands via the classic terminal.
I did a search to bring up the Gnome shell, and found this:
However, I can’t seem to find a clear answer as to exiting the Gnome shell and returning to the classic terminal mode. I always like to give myself bread crumbs when I venture down a new path. Is there a clean way to exit the gui and default back to the classic terminal on re-boot?
After the install, CentOS defaulted to a terminal shell on boot. Not sure if I did or did not install a desktop. Still finding my way here. I'm probably asking ignorant questions, but starting to get a feel nonetheless. Thanks for the reply, regardless. I'll try your suggestion after I confirm I don't have the gui.
After the install, CentOS defaulted to a terminal shell on boot. Not sure if I did or did not install a desktop. Still finding my way here. I'm probably asking ignorant questions, but starting to get a feel nonetheless. Thanks for the reply, regardless. I'll try your suggestion after I confirm I don't have the gui.
Best,
Kelley
You don't and my suggestion is bad because I had my head up my fourth point of contact..
Google systemd power management and you'll have your answer. The CENTOS media can intstall desktops it's in the SW selection part you have to select workstation server etc. just select workstation then open that'll give you a menu further to the right to select other SW. The other issue is your book was likely written pre-systemd so some of the stuff in there won't work like startx. If this system needs to work reinstall installing a desktop and learn from there the redhat knowledge base will be helpful.
You know, given the history of GNU and Linux, I had a suspicion the developers involved would be intelligent and gracious. I wasn’t wrong. Thanks so much for the clear direction Ztcoracat. This will obviously save me much time and frustration on the re-install.
Looks like CentOS 7 ships with sudo - might be a safer option.
I did a test install a while back and note I am in the wheel group, so can do all commands using sudo. I'm guessing I chose to add my user to the admin group during the install.
Google found doco on sudo on the wiki and CentOS.org - as well as all over the web.
You know, given the history of GNU and Linux, I had a suspicion the developers involved would be intelligent and gracious. I wasn’t wrong. Thanks so much for the clear direction Ztcoracat. This will obviously save me much time and frustration on the re-install.
Looking forward to my path towards superuserhood.
Best,
Kelley
Your Welcome, Kelley-
I run my CentOS with "su" as root.
For some reason sudo does not work in my CentOS terminal.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.