Ubuntu :: Running Scripts When System Idle?

Aug 5, 2010

I'm trying to write a script to run motion when the computer is idle but for some reason the script I found online doesn't work. I tried to write a simple command to put some echo in a file when the screen server starts and stops but this doesn't work also. this is the script I'm using -

Code:

#!/usr/bin/perl
#open (IN, "$cmd |");
my $cmd = "dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver',member='SessionIdleChanged'"";

[code]....

View 1 Replies


ADVERTISEMENT

Ubuntu :: Machine Shut Down When Running Idle?

Sep 3, 2010

I recently got my laptop setup as an Ubuntu machine, but if I just leave it running, after a while I'll look over and see that it has shut down. I have gone through the power management options and I do not see anything there regarding this. So I was wondering if this is a feature in the 10.04 version?

View 3 Replies View Related

Debian Configuration :: Squeeze New Installation / Cpu Running At 100% (even In Idle)

Apr 20, 2011

i've just installed squeeze on my lenovo t61 laptop. i've noticed one of my cpu's running at 100% (even in idle) from time to time.

View 3 Replies View Related

Fedora Installation :: GPU (Radeon 5750) Running At 69C Idle And Fan At Full Speed

Aug 19, 2011

I'm fairly new to fedora. I used Fedora 14 on a virtual machine just to mess around with it a little while back but thats about it. As far as linux goes, I just test a bunch but can never seem to pull myself away from windows. I am hoping this is the time but these issues are the weirdest I've seen on any linux distro ever. My GPU (Radeon 5750) is running at 69C idle and the fan is at full speed. I am not overclocking it at all and I'm using the default drivers that came with fedora. It works just fine in windows and a lot cooler. How can I fix this?

I'm running the Gnome 3 desktop version, which I am also getting some graphics artifacts. In the bottom bar I get a dashed white line that comes up every time I boot and goes away when I make the bar expand. Also in the applications window I get the same dashed line at the top of the window and sometimes the top of the scroll bar. So far I really like Gnome 3 (Idk why everyone is whining about it) and I'd like to stick with Fedora, and linux for that matter

View 9 Replies View Related

Ubuntu :: Run A Program On System-idle?

Apr 8, 2011

Torrents client kills my Internet connectivity so bad I can't even use a web-browser whilst it's on -- pages take like five minutes to load -- I often forget to turn on my torrent client. Which led me to wonder if there's a way I can launch a script on system idle?

View 1 Replies View Related

Ubuntu :: Custom Command On System Idle?

Mar 22, 2010

I was messing around with Compiz today and it got me to wondering if I can create a custom command when my system goes to idle, instead of launching the screen saver. I want to start the Compiz Rain effect on system idle. is this possible?

View 2 Replies View Related

Ubuntu Networking :: Network Getting Disconnected If System Is Idle?

Feb 17, 2011

i used to download files using transmission bit torrent client. I download the torrent and once the download starts i will leave the system and check only after 4 or 5 hours later.But when i check the system again, the network connections were automatically disconnected.The download is getting stopped naturally. why my wired network connection is getting disconnected automatically if the system is idle?(ubuntu 10.10)

View 1 Replies View Related

Debian :: Load On Idle System

Nov 2, 2015

I had noticed that my workstation (running debian testing) is having a constant load of about 0.9 (+/-0.1), even while the system is completly idle.The system starts with a normal load and then goes up to about 0.9 within a few minutes and then will stay there forever (well it can get higher, but never lower). This is the load graph after the system runs some time: URL....

I have tried everything I know to find the cultprint but there is no cpu usage and no io usage. I even have disabled the desktop and still have this problem.Also I have tried booting an older Kernel (4.1 and 3.16) with no difference in the load.Here is some information about my system:

Code: Select allĀ» uname -a
Linux localhorst 4.2.0-1-amd64 #1 SMP Debian 4.2.3-2 (2015-10-14) x86_64 GNU/Linux.

View 7 Replies View Related

General :: How To Get System Idle Time

Apr 5, 2010

I want to get the system idle time till a mouse move or a key press. How is it possible to get it from a char terminal running through ssh/telnet as well as a from an X-terminal session?

View 1 Replies View Related

Ubuntu :: BASH - Disable The System From Showing The Lockscreen After Being Idle?

Oct 3, 2010

I'm writing a post-install script to run on the computers I'm working with. Most of it is written, but I'm a noob when it comes down to it. I'd like to know how to disable the system from showing the lockscreen after being idle. Could someone show me how to do this from the command-line? Ubuntu 10.10 Maverick Meerkat

View 3 Replies View Related

Software :: Disk Accessed When The System Is Idle?

Jun 18, 2010

GNU/linux kernel 2.6, Slackware 12.0

Every now and then, say with a period of one hour, the system begins accessing the hdd and doesn't stop accessing for at least 5 minutes. What can be the reason? Can it have something to do with the swap partition?

View 2 Replies View Related

Ubuntu :: How To Make System Boot Faster By Removing Idle Time

Jun 14, 2011

How to make the system boot faster by removing the idle time between 5s to 10s? bootchart attached. It is Ubuntu10.04LTS by the way. One more hint, the screen black out for ~4s after "Begin: Running /scripts/init-bottom... Done." I don't know what is going on during that 4s, but my best guess is there is a way we can get rid of it.
Bootchart can be found here:

View 9 Replies View Related

Ubuntu :: Hard Drive Working For A Long Time While System Is Idle

Apr 3, 2011

My hard drive all of a sudden starts to read and write all on its own for around 15 seconds at a time while at idle or while I am just browsing the net. At first I thought it was from cron running but I have that disabled.

View 3 Replies View Related

General :: CPUs Keep Toggling Between 100%idle And 0% Idle

Mar 22, 2011

When I run top d 0.5 on my machine and I press 1 to enable the SMP View, I notice that all of the CPUs keep toggling between 100%idle and 0% idle.

The odd part is that when a CPU goes to 0.0% idle, I would expect to see one or more of the other columns peek, but they are not.

What is causing this?

Code:

View 8 Replies View Related

Debian Configuration :: Periodic Disk Activity With System Being Idle

Jan 12, 2011

I keep noticing disk activity every roughly 1 to 3 seconds even though there is "nothing" going on. Of course, I run a number of "system" and "user" application packages - Apache2, MySQL, Browsers (Opera, IceWeasel), an SMB client and server, OpenOffice 3.0RC8 being the most prominent ones. I wonder what might be the cause for this constant disk activity which happens even when none of the applications do any noticeable work at all. Is there a way to determine the process that does those disk read/writes?

View 6 Replies View Related

Software :: Gnome Screen-saver Does Not Turn On When System Is Idle - FC-11

Dec 1, 2009

My Gnome screensaver doesn't work, although it once did.

I have searched for a solution to this problem but no luck. I am running FC 11 and out-of-the-box gnome. At first the screensaver worked normally, shutting off the screen after 5 mins. Now it does not do so. I found the following command line suggestion in the forums, and it looks like it may point to a problem -- the screensaver is inactive, but how to make it active? I may be misunderstanding the term inactive, of course. Logically, the screensaver would have to be inactive if I am typing a command.

In any case, the query command shows:

Just in case the screensaver really was not running, I tried this command (which I found in another post):

But the query returns the same thing as before.

The only thing I can think of that might be an issue is that using the "appearances" background facility I added a couple dozen pictures that I thought I might use as screen background. Not long after that I discovered that my screen did not go black after 5 mins as expected. Not sure this correlation has any causal meaning, however. I then tried various things, finally returning to the plain (blue) default. That seemed to fix it for a short while, then after a couple of days, the bad or non-behavior returned -- the screensaver does not work.

(update -- I removed all the extra background pics and it makes no difference.)

My system runs all the time, but I don't want the screen to be on all the time.

View 4 Replies View Related

Ubuntu :: Internal Disk In A Running System Usb-booted System Does Not Result In The System Detecting The Disk

Feb 27, 2011

My system decided to crash on me, hard. It was humming along happily for about 2 months and now doesn't boot. If I boot from hard-disk, I get grub. Launching the first kernel choice hangs. I thought maybe the install was corrupt, so I booted from usb install disk. The usb hdd didn't boot; something about an error trying to access /dev/sda . Unplugging the internal disk and plugging in the usb install disk does result in the system booting. Plugging in the internal disk in a running system usb-booted system does not result in the system detecting the disk.

How do I know if the disk is physically broken? This seems unlikely since it does manage to launch grub consistently. Or is this still possible? How can I try to mount whatever is left? The usb install disk doesn't even list the /dev/sd*. Any pointers on how to reformat the drive if it's not being mounted?

View 1 Replies View Related

Ubuntu :: System Crashing 10.04 \ Running Again Is To Press The On/off Button Until The System Powers Off And Restart?

Sep 6, 2010

I am an absolutely beginner with Linux (ubuntu). I got fed up with widows and decided it was time to go. I installed (clean install from a cd) ubuntu 10.04 on my desktop. It is an hp compaq d220 MT.It looks good and feels good, well at least for a while since it keeps crashing. The screen starts to flicker, goes black, and the only way to get it up and running again is to press the on/off button until the system powers off and restart.

View 2 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Software :: Advantage Of Running A 64bit System Over 32bit System?

Dec 11, 2009

What would be the advantage of running a 64bit system over a 32bit system? I only have 3GB of ram but plan on kickin another 1GIG into it. But i wanna try 64bit Linux(probably slackware) on it. But first im just wondering what the advantages are people have seen who have used both 32/64bit linux. Speed? Smoothness? And also what are major disadvantages such as compatibility, configuration, etc.

View 14 Replies View Related

Ubuntu :: How To Back-up Running System

Apr 20, 2010

I just did do a search on this subject but couldn't really find what I was looking for.At the moment I have a perfectly running system and I would like to make a copy / back-up from that so in case somethings happens I can always place it back as if nothings happened.

View 9 Replies View Related

Ubuntu :: Speed Up System Running Off USB

Jun 16, 2011

I am running Ubuntu 11.04 off of an 8GB flash drive. I have no hard disks but I do have a 3.2 GHz Pentium 4 with Hyperthreading and 1 GB of RAM. So, it shouldn't be my system that is causing it to run slow, but rather limitations of the USB (I'm pretty sure it's USB 2.0). Is there anything I can do, unnecessary processes I can kill, etc. to make it run faster?

View 4 Replies View Related

Ubuntu Servers :: Adding A New HDD To A Running System

Mar 8, 2010

I currently have an Ubuntu Server setup with a CF card that has / and /boot on their own partitions. I also have a single 1TB drive that is dedicated to the /home partition, however it's a drive that I have run out of space on.

I just purchased a 1.5TB drive to throw in the server, but I am not sure how to set this drive up so that it's seamlessly integrated with the 1TB drive. I would like it setup so that my /home partition is expanded from 1Tb to 2.5TB. I know what I am explaining is similar to raid 0, of which I am not opposed to, except that everything I have searched for online solely explains a raid setup during installation, and I don't have the time (due to school) to reinstall and reconfigure my system.

So in a nutshell, is there a way to setup raid 0 without doing a re-install or is there a way to setup 'fstab' to accomadate my request?

View 5 Replies View Related

Ubuntu :: System Monitor And Second CPU(2) Is Constantly Running At 100%?

Apr 10, 2010

Good day, installed ubuntu 10.04 64bit yesterday on my laptop just to test everything before the release at the end of the month. However I took a look at my System Monitor and my second CPU(2) is constantly running at 100%, however theirs no apparent processes to cause this.

View 1 Replies View Related

Ubuntu Installation :: Adding Lvm On A Running System?

May 13, 2010

I'm running low on disk space on my 10.04 server install. I'm running my normal partitioning without any lvm.

Is there a way I can create a new lvm set from my /home which is almost full and a new hdd to expand space just on that partition without killing everything on it?

View 5 Replies View Related

Ubuntu :: System Running In Low Graphics Mode / Fix This?

Jun 20, 2010

(Consider yourselves forewarned: I'm completely new and will be incredibly stupid. Give me slack. )

So I'm trying to run my S-Video cord from my HP Desktop to my television screen. Everything was set up, then I looked up how to get it to start playing on forums here. I went to my NVIDIA, and when I went to change what apparently had to be changed, it was already set up in the format I was supposed to set it up as. I hit "save", and then restarted my computer, as the step-by-step instructions said. Upon restarting, I got an interesting message saying that Ubuntu had to be run in low graphics mode. I don't know the logistics of my computer, or really anything (it was given to me, and I don't know how to check ) I've been reading some things here, and a few things sounded like what was wrong with me, but when I followed the directions, it got me no where. I'm coming to you to prevent me from chucking this thing out my window .

So, what I'm asking from you:

1)How do I get out of Low Graphic Mode
2)How do I set up my NVIDIA to play to my TV?

View 1 Replies View Related

Ubuntu :: 11.04 - System Hang While Screensaver Running

May 1, 2011

I have upgraded to 11.04 all seems well except that now the two machines I have upgraded frequently hang while the screensaver is running. (with unity desktop). Is someone working on this? Gateway t-series notebook and a dell mini 9 netbook that are hanging. The netbook seems to be hanging the most.

View 2 Replies View Related

Ubuntu :: Running A Command System Wide To Fix RGBA?

Feb 22, 2010

I'm trying to run a command that will let me run some programs. If I run the command in a terminal, then I can launch the programs from it fine, but not from anywhere except that terminal. This is the command that makes things work:Code:export GTK_RGBA_APPS=allbut:exe:checkgmail:swiftfox:firefoxThis command disables RGBA for the programs listed, which seem to have problems with it. I hoped I could use this command to somehow apply it system wide permanently. I've tried adding it /etc/rc.local and rebooting, but it doesn't work.Is there a way of doing this? Or am I barking up the wrong tree entirely? Is there a better way to disable RGBA for certain programs?

View 3 Replies View Related

Ubuntu :: While Running The Update Manager System Froze

Mar 27, 2010

I'm re-posting here since I've gotten no response in the Installation & Upgrades Forum.

While running the Update Manager my system froze and all that I knew to do was power down and power up again. I restarted the Update Manager and still have errors.

The original thread is at: [url]

This is not a crisis. I can re-boot and run without apparent errors. I thought about apt-get -f install but I don't understand enough. Is this a broken dependency problem? If this is a dependency problem will this (apt-get -f install) just clean-up the loose ends and then will the Update Manager pick up the pieces the next time I go through "check"? Is there possible harm doing this?

This system is at 9.10 and was up-to-date until I had this problem yesterday.

View 1 Replies View Related

Ubuntu Installation :: System Locks Up After Running For A Few Minutes?

May 16, 2010

Still having problems with the locked black screen freezing a couple of minutes in. I've done everything anyone has recommended on the other threads but nothing and it is driving me crazy. Please, does anyone have any ideas? I tried to install xfce4 but of course, screen froze and went black before I could fully download the software! I've tried the nomodeset but can't save it before doing a reboot (then went via terminal as quick as I could on start up to edit grub, but then... yes, it fell over and froze before I could hit save). So I'm giving this a lot of time I really don't have... such a shame I upgraded, 9.10 was working so well... alternatively,

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved