13
votes
6answers
2k views

Text only mode in Linux (No Gnome, KDE, Unity) to prolong battery life

If I want to disable my GUIs completely to save battery life, how would I proceed? I know that I can hit Ctrl + Alt + F3 and be on the command line, but the desktop manager would be in the background ...
5
votes
2answers
420 views

Is there a way to retrieve the name of the Desktop Environment?

The title is quite exhaustive: is there a way to retrieve the desktop environment name (e.g. Gnome, Unity, XFCE, LXDE, KDE...) from the command line or using Python?
2
votes
1answer
1k views

CentOS: Alert all desktop users from comand-line

Can someone tell me if there is an way to notify all online (Desktop) users from command-line. I know that if I want that I get notifyed when something is done, I just do like this: sudo apt-get ...