Ubuntu :: Get Cron To Run A Bash Script Every 15 Minutes To Change Desktop Background?

Jul 11, 2011

I'm trying to get cron to run a bash script every 15 minutes to change my desktop background

running crontab -e I added

Code:

*/15 * * * * sh /home/ME/Documents/scripts/background.sh

(at first i didnt have the sh before the path of the script but read somewhere i needed that) But it doesnt seem to be running my script works fine if ran straight from the terminal so Dont think thats the problem.

View 9 Replies


ADVERTISEMENT

General :: Dynamically Change Desktop Background From Bash Script?

Aug 28, 2011

Is it possible to change the GNOME desktop background during some period of time by just a random phrase from the list on black screen? Will is seriously load the CPU and consume battery life?

View 1 Replies View Related

Ubuntu :: Desktop Locks Up When Try To Change Desktop Background?

Jan 4, 2011

After installing gnome-color-chooser for Ubuntu 10.10, I followed all the steps to enable transparent gnome menu. When I logged out and logged back into my user, the gnome panel menu was transparent as It should be however, the desktop background changed color and I cannot change the desktop by right clicking the desktop. If I do right click and try to, the entire desktop and all programs freeze. The mouse works but that is it. Whenever I try to open gnome-color-chooser, I get this error message : ERROR Could not open or create file /home/User/.gtkrc-2.0-gnome-color-chooser. I have uninstalled and reinstalled both gnome color chooser and gnome panel with no luck.

View 1 Replies View Related

General :: Fedora 12 Installation / Change The Installation Background Not Desktop Background?

Feb 16, 2010

I want to change installation background image in fedora 12.

How to change the installation background not desktop background.

View 2 Replies View Related

Ubuntu :: Change Desktop Background?

Mar 30, 2010

I am trying to change the Desktop Background on my Ubuntu 9.1 PC and am getting nothing but a black baxckground. I have tried the right click --> change desktop background --> and then double clicking on the desired background image but it does not work

View 3 Replies View Related

Ubuntu :: Cannot Change Desktop Background Picture

May 22, 2010

I upgraded to 10.04 and I can not change pictures on Ubuntu 10.04 it stays on black background and there is no picture when I click on it.

View 4 Replies View Related

Fedora :: Cannot Change Desktop Background?

Sep 14, 2009

I use Fedora 11 with all the updates up till now. I cannot change my desktop background using either System -> Preferences -> Appearance or gnome-control-center. I installed gconf-editor and checked the settings and everything seems normal and background is set to the wallpaper i desired but on the desktop nothing changes.

View 10 Replies View Related

Ubuntu :: Major Lag During Desktop Background Change & Startup?

Jun 6, 2010

It takes about 30 seconds for the desktop to 'fully load'. When I login I see my background, but nothing else. Then you wait 30 seconds and you see the panels appear. Is there any way to fix this lag, and make it an instant load? Cause really it should not take that long to load a panel with not really anything on it.

View 2 Replies View Related

OpenSUSE :: 11.3 Crashes Very Often When Change Desktop Background?

Aug 14, 2010

It has been about a month since I installed openSUSE 11.3 (64bit, Gnome), and overall it is better than 11.2, but I have had some stability issues that I did not have with 11.2.

1. openSUSE 11.3 crashes very often when I change desktop background. I haven't experiment with it but it happens with downloaded images.

2. Changing monitor environment makes openSUSE to freeze. Fresh boot with external monitors connected usually works, but plugging & unplugging monitors usually makes openSUSE freezing. (I have to force power down)

3. Suspend makes openSUSE freeze a lot. Usually one suspension works, if I re-suspend it, it usually freezes.

I was wondering if these are common with 11.3 or I'm the only one who is having this.

View 9 Replies View Related

OpenSUSE :: Configuration To Change Default Desktop Background?

Oct 25, 2010

Where is configuration to change default desktop background?

View 7 Replies View Related

Ubuntu Servers :: Cron Sending Email From Address / Change The Default Domain Name For Cron?

Apr 29, 2011

Can anyone tell me how i change the default domain name for cron?everything i cron runs it emails from and to user@com.com

this leaves me with a massive list of failed mails in postfix.i have mailto on my main crontab but i cant do it on all of them.

View 1 Replies View Related

Server :: Set A Cron Job To Run Every 7 Minutes Between 7pm And 11pm?

Dec 13, 2010

How would I set a cron job to run every 7 minutes between 7pm and 11pm?

View 4 Replies View Related

Server :: Running Cron Every 7 Minutes But To Cary Over 7 Minute Count To Next Hour?

Dec 14, 2010

Previously I had posted a question on how to make it run every 7 minutes between 7 and and 11pm.However now I found out what I really need is every 7 minuted between 7:30 and 11pm BUT it has to be every 7 minutes, it cannot reset itself on the top of every hour, so the */7 wont work.How can it that it will be every 7 minutes, so it will go at 7:30, 37,44,51, 58, 8:05, etc..

View 4 Replies View Related

Fedora :: "Change Desktop Background" Does Not Work?

Mar 6, 2011

I can't imagine no one else has run into this problem, but I tried several search phrases and couldn't find anything.When I bring up the "Appearance Preferences" window and change the background, NOTHING happens! If you log out and log back in, then the new background is displayed. But surely this is not the way it should work. Shouldn't the background change immediately?

View 3 Replies View Related

Ubuntu :: Cron Leaves Defunct Process When Job Goes Background?

Apr 23, 2011

I'm using cron to run a tunnel. It is a looped script which never exits, and thats why I don't want cron to wait for it. This is a crontab entry:@reboot $HOME/cron/portfw.sh &When I run it manually, everything is ok. But when cron runs it, a defunct sh process keeps running until portfw.sh and it's child are killed. Somehow cron knows that processes spawned in background and keeps waiting for them and ignoring the fact that parent process exited. I tried using setsid to change spawned process group, but it did not full cron, it still knows about child processes

View 9 Replies View Related

General :: Push Command To The Background In A Cron Script?

Feb 3, 2011

I'm writing a script that performs backups from partitions on remote servers. I used to do this with ssh, but that seems to be somewhat slow, so I switched to netcat.I start a listener on the receiving server (which runs the script) like this:netcat -l -p 7000 | dd of=imagefile &and then I make the remote and start a dd piped to netcat. This works quite well started manually and the listener is waiting in the background. However, when I have cron run the same script to automate it, the netcat listener is not started, probably because the "&" thing does not work (or there is something with the piping that behaves differently then)

View 7 Replies View Related

Ubuntu :: Graphics - Change To A Warped Mix Of Colors And Pixels When Change The Background Image

May 19, 2010

I recently installed Ubuntu 10.04 Netbook Remix on my Gateway LT3103u. I noticed shortly into using it that it has a graphics bug every so often. Especially when I change the background image. Everything will change to a warped mix of colors and pixels. Everything is affected. My mouse, the bar at the top of the screen, text and all. My netbook runs on an AMD Athlon 64-bit processor with ATI Radeon X1270 HyperMemory up to 256MB graphics.

So far I have tried reinstalling, and even the 64bit desktop edition which had the same problem. Ive noticed that it freaks out when i scroll too quick, when changing background images, and on certain websites. Then other times its completely random. When it happens it looks similar to these: [URL]

View 4 Replies View Related

Ubuntu :: GDM Background - Cannot Change The Background Image To Any Of Mt .jpg Wallpaper Files And .png Files

Apr 3, 2011

I have spent the most part of 5 hours trying to fix this issue. For some reason I cannot change the background image to any of mt .jpg wallpaper files (and .png files). I've tried using the Ubuntu-Tweak application, but I end up getting a purple screen (default) or a black screen (default). So then I tried using the terminal method by making the Appearance window appear when I would log out. That works, except when I go to use my background image, it shows as a question mark for the image preview, and the icon for the file is a gray box. All while doing this my background images that I tested are all in the /usr/share/backgrounds location. Please help! I really want to get rid of the default images and use my images... :/ My desktop/screen in 1440x900, and most my background images are around that size. They work with my regular desktop for my account.

View 3 Replies View Related

Ubuntu :: Change File Permissions To Change Background Screen?

Feb 21, 2010

I'm new to Ubuntu Linux but have many years on windows platform. Please can someone help me with how to change the following items.

No.1 I would like to change the HORRIBLE!! YAK!! brown background color behind the word Ubuntu in the start up screen when the machine loads up (before the login). I have located the image file for this which I have found to be: /usr/share/images/xsplash/bg_2560x1600. jpg but the OS says that root is the owner and that I don't have permission to change this. So how can I change this for a color I do like.

No.2 I would also like to change the login dialogue screen style. I know this is possible but again I'm fumbling to see how I can do this. I have tried with the start up manager but every attempt fails, the settings don't take. Once again I suspect permissions are at the bottom of the problem?

No.3 Would like to have a colorful splash screen image on boot up, I've managed to remove the old one (small white 3 ring ubuntu logo on black background) but havent been able to install or replace with a new one. Its been incredibly frustrating, I'm feel sure I'm missing something simple here. Wondering if its permissions yet again?

Anyone who can offer help on any of the above, guidance or advise me would be much appreciated. Please bear in mind that I'm still very much feeling my way with Linux so keep it simple.

View 3 Replies View Related

Ubuntu :: Menu Bar Won't Change Color When Change Panel Background

Oct 23, 2010

I changed it and got it working a long time ago but i installed 10.10 (great work BTW ) and have forgotten completely.

View 6 Replies View Related

OpenSUSE :: Installed Webilder Application To Automatically Change Wallpaper - Can't Change Background

Mar 30, 2010

I installed the webilder application to automatically change the wallpaper, preferences you've specified the directory where the images but I can not change the background. Does anyone know why not change?

View 5 Replies View Related

Fedora :: Make BASH Script Wait For A Few Minutes?

Nov 26, 2009

I'm using bash script now,and I want have a script that can do like this: first ,tell me it will shut down ,and then shut down.My script looks like this:

#!/bin/sh
/usr/bin/curl $stop_page
shutdown -h now

[code]...

View 4 Replies View Related

Programming :: Bash: Convert Decimal To Minutes:seconds?

Jan 13, 2011

I have a script in the works that reads an MP3 file and gets the track length. Trouble is, it gives me the total seconds, like this:

Sample Track.mp3 = 225.55 seconds

What I'd like to have is that 225.55 converted into minutes:seconds format (in this case, 3:45). How can I do this?

View 10 Replies View Related

SUSE / Novell :: OpenSuse 11.1 KDE Different Desktop Background Image For Each Of The 4 Desktop?

Jul 23, 2009

Up until KDE4 I could select a different image for each of the 4 virtual desktops. Now I tried Suse11.1 KDE and it seems like there is no such option. I can change the background image allright, but all 4 desktops have the SAME image.

View 4 Replies View Related

Ubuntu :: Rsync Bash Script Different In Cron?

Feb 19, 2010

I've got a bash script that uses rsync via SSH to back up data from a remote webserver.
This script works fine when I run it myself but when it runs as a cron job I get the following error:

Code:
2010/02/20 08:15:01 [6786] Unexpected remote arg: user@www.server.com:~/www
2010/02/20 08:15:01 [6786] rsync error: syntax or usage error (code 1) at main.c(1219)

[code]....

View 9 Replies View Related

Ubuntu :: Bash Script Works Partially In Cron?

Sep 24, 2010

I have a script that pops up a jpg file several times a day as a reminder. The script is called up by crontab and it works perfectly.The issue is that I want the script to also perform a system "beep" in addition to popping up the jpg file. When I test it on the command line everything works but when I run it in cron the jpg file pops up but the beep doesn't beep. I'm thinking the problem is in the "echo -e \a" part. I must be missing something.Here is my script:

#!/bin/bash
echo -e \a
sleep01; echo -e \a

[code]....

View 8 Replies View Related

Ubuntu Servers :: Bash Script Error - Cron Job

Nov 13, 2010

Code:
#!/bin/sh
chown -Rc steven:users "/home/steven"
I have more lines in the script but each line does the same error. This is run in a cron job but it always returns.

Code:
chown: cannot access `/home/steven
': No such file or directory
But it is a valid directory I have even tried adding an / and even a space on the end and still same error.

View 7 Replies View Related

Ubuntu :: Cron Ignores Bash Script Variables

May 4, 2011

I have a personal server and a dynamic IP address, so I wrote a script to check the currently assigned IP address and compare it to the one stored in a file from the last check, and visit the update URL if it's different.

View 4 Replies View Related

Programming :: BASH Add Cron Job To Run Hourly

Mar 25, 2010

I have an rsync script I wrote that I have tested and it works perfectly when I run it manually. Now I am working on a server setup script and I have gotten my setup script to create the rsync script in /etc/cron.hourly and restart crond. To spite the fact that the script is in /etc/cron.hourly and I have restarted crond, the script does not run. With that said, how can I script adding the rsync script to run hourly as a cron job?

View 9 Replies View Related

Ubuntu :: Running A Bash Script In The Background?

Aug 29, 2010

I have a basic script that watches my server, and informs me if it has gone down. I need to know how to run it without a console being open all of the time, I tried executing it with a trailing &, but to no avail.

Code:
for (( ; ; ))
do
if ping -b -c 1 chatify.net
then

[Code].....

View 3 Replies View Related







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