Greetings all:
I have the following environment:
- Ubuntu 12.04 with Unity
I've installed XScreenSaver, then removed it using Synaptic Manager, whenever the computer is idle for 10min, the screen went blank, after searching web, I took the following steps:
- System Settings > Power > Suspend when inactive for set to Don't suspend
- System Settings > Brightness and Lock > Turn screen of
Gentlemen,
A very basic question here. I am trying to set up a Python development environment to learn the language. I have Python 2.7.3 running on Linux mint14. I downloaded IDLE and installed it too, as I need a tabbing editor, and syntax highlighting won't hurt. Clean installs and Python runs just fine. I am past "Hello World!".
So how do I invoke IDLE?
Is there any way to monitor if a X session is inactive for i.e 10 minutes? And I would execute a command when it happens, like a screensaver, but it's not a screensaver in this case.
Does increasing the time for screensaver to tick in help? I.e., settings -> screensaver. Your solution might beto turn off hibernation. Does locking the screen beforeit sleeps help?Sheng-Chieh
Hi all,
Anyone noticing intermittent problems with the screensaver not kicking in or the display not sleeping? This is in gnome under F11.
I have the Power Management Preferences set to put the display to sleep after 30 minutes of inactivity and gnome screensaver is configured for 5 minutes idle time.
I have Ubuntu 11.04 (natty).
I have read 'Screen goes blank when VLC is playing video'
My question is similar, but also I have this problem when viewing a video on youtube.
I am not quite clear about the meaning of 'computer idle'. Is it considered idle only when the keyboard or mouse is not being used?
I tried to use awk command on centos 5.5 with cat test.txt|awk '{idle+=$idle;idle=-idle}END{print $idle}'; and in the test.txt file contain above number10 1001000 10000... [by migkie]
I want to check, inside a bash script (*), how long the user of a X session has been idle.
The user himself does not have to be using bash, but just X. If the user just moved the mouse, for example, a good answer would be "idle for 0 seconds".
I want to write a script that will show how many minutes the user is idle. Since the last touch of the keyboard and mouse. Example:
#!/bin/bash
while true
do
command_lines...
...
sleep 60
echo $var
done
Result:
The computer/user is idle for 1 minute.
The computer/user is idle for 2 minute.
...
The computer/user is idle for 5 minute.
...
Can we do that?