I'm trying to change my desktop background on my fluxbox desktop every minute using cronjob to a random picture within my Pictures folderthis is crontab -e file;
Code:
# Edit this file to introduce tasks to be run by cron.
#
But i found one annoying thing, when we change background of the top panel, it does not change background of the menu (Applications Places etc).Actually I have shifted the top panel to left, It doesn't look good due to repeating background image vertically
How do I stop users from changing their background? I'm installing ubuntu on some (non-networked) computers at my school, and I don't want the students to change the background on the desktop. I don't care if they change it during their session, but it must revert to the default when the session is logged-out or shutdown.
Been trying to get mac4lin to work, and in the process, I attempted uninstalling, rebooting, then reinstalling gtk-engines-pixbuf. This has now screwed my system so that the background is a light grey and any attempt to change the wallpaper just makes X crash, forcing me to Ctrl Alt Backspace. I'd rather avoid a reinstall of the system since I have it customized to my needs, so is there a solution to this? I tried reinstalling the pixbufs package, but no dice.
I was configuring the vnc server or remote desktop using the "gconf-editor" -- "desktop - gnome - remote_access" pane, and first I clicked on "disable background" to see if it was usefull or not to disable it (in terms of speed). It worked fine but sometimes when closing the connection, the background refuses to reenable, mantaining the black background...
That's ok, I decided to disable the feature and share via vnc the background as it is a wired net and I do not really need this feature.
My surprise is that now, whith the feature DISABLE (box unchecked), I cannot set a background, it is always black and I find no way to go back in this...
is this common, or something that can be "easily" fixed?
I know how to change the colors of the panels. But on the parts were the ubuntu symbol, the menus (Applications, Places, and Systems), the date and time, and the indicator applets is, they do not change at all. And pretty much the same problem on the bottom panel.
I tried Gnome color changer but only works for the texts and the drop down menus. I use Gnome classic (hated Unity). My goal is to make ALL of the panel background black.
I do need to change or edit this white Ubuntu logo on the black background that comes right after GRUB and before my xsplash is played. How do I do that? Where is that picture saved in the system?
I have edited my xsplash the way I want it by changing the pictures in /usr/share/image/xsplash but cant find a way to edit this other bootup screen.
After much searching and trying of more complicated methods for changing the GRUB-PC background image, i found method that seems to work. The simplest one! I installed grub2-splashimages, which created a new folder in /usr/share/images, called grub. From there it appears to be as simple as adding the image of your choice, then adding "GRUB_BACKGROUND=/usr/share/images/grub/your_image" to "/etc/default/grub" file, the running "update-grub", of course.
Only problem is it doesnt work for the image i really want. So my question: What qualities should an image have if it is to be successfully used as a GRUB-PC (GRUB 2?) background? I have read that you do not need to resize the image anymore, indeed i tried resizing it to match the size a default image form the "/usr/share/images/grub" folder , and saving it with the extension .tga in Gimp and it did not work. The image i want to use is quite large, it is also black and white/grey-scale and in the .png format.
I want to change the background image for a Plymouth theme on FC13. I'musing spinfinity and I'd like to just have a blank background or somesolid color rather than the Fedora logo. I've found the sprites in /usr/share/plymouth/themes/spinfinity.
I added an entry to grub's menu.lst and reran grub (grub-install hd0) and now my background is gone and the entries just show up like on a normal console.
I searched the forums and I couldn't find anything. Does anybody know why this happened and how to fix it?
I have not changed anything in menu.lst except for adding the new OS.
Anyone know why each time I boot up the machine the cube background image goes away and the background colour is left. This image i am placing is in Apparency/Skydome
I want to use a cronjob to start a script running streamripper to record radioshows when I'm not at home. I'm running 10.04 server 32 bit.
I've setup a cronjob via Webmin to start the recording. It runs the following script:
Code: ORDNER=`date +%Y"_"%m"_"%d"-"%H"_"%M"(FM4)"` # 'ORDNER' means Folder and creates a folder with time/date to save the stream streamripper http://mp3stream1.apasf.apa.at:8000/ -d /mnt/Samsung/Radio/$ORDNER --xs_padding=2000:500 -a -q -s
[Code]....
Is there any logfile or way to see why the script is killed or what stops the recording? When executing the script manually the recording runs just fine until I kill the process.
Is it possible to send a libnotify from a cronjob? I'd like a notify message when my daily backup is done. When I run my script from terminal everything is working fine, when (ana)cron runs it, it works as well but the notify is surpressed. My Guess was, that it happens because the jobs are run as root. Nevertheless is it possible to get a notification message?
I wrote a little backupscript wich is working fine if i start it from the shell manualy. But I'm not able to let it start automaticaly via cron in ubuntu 10.10.
Some of my cronjobs are filling up files in my / directory. How do I make this stop? One of my cron jobs uses wget:[URL].. The bexcb0.php file writes a file and then echos a result if it is sucsesfull. These echo results are being put into bexcb0.php files in my /root folder and are piling up.
My / folder is filling up with files bexcb0.php etc bexcb0.php bexcb0.php.1 bexcb0.php.2 bexcb0.php.3 bexcb0.php.4 bexcb0.php.5 etc How do I make this stop? If I just remove the echo will they stop writing to the / folder?
I have added "@daily shutdown -r now" to my root crontab (sudo crontab -e) but it does not seem to ever run. When I look at the chron log using webmin I can see that it tried to run and there was no error. Also when I run it manually using webmin the system reboots fine. I also tried using reboot -f in the crontab instead and that also worked when manually run but not on schedule. The reason I know it didn't run is on webmin it shows the system uptime. This is the output of the chron log:
I know crontab -e sets a cronjob in /var/spool/cron but how do I set a cronjob to run from /etc/crontab? Is there a command used for this or would I have to manually edit a certain file?
I'm working on a bash script that will be run regularly via a cronjob. As there is no easy way for the user to see if it's running in the background, I'd like a have some kind of pop up window what say's something like "Process started" and "Process finished" when it's complete. Ive read though some similar threads and came across xmessage. It kind of does what I want, with the exception of:-Id like the message Process started to stay up for the whole process, but it looks like the script wont continue until the xmessage window is closed. I cant get any xmessages to appear when the script is run from a cronjob. It only appears if I run the script manually from a terminal window. Which is no good for me. If anyone has any suggestions that would be great and just to add, it's doesn't have to be xmessage, any text box would do. I'm working with Redhat 4 and 5, if that makes a difference. Chuck Norris destroyed the periodic table, because he only recognises the element of surprise.
I'm trying to setup a cronjob that needs to run every 40 minutes between 10am and 3.30pm.I generally used cronjob for simple configuration, but now I'm a bit lost.There is a way to setup cronjob for that configuration? (better if all in one line of code, not multilines).
I have the following Cron job scheduled on my Postfix mail server: Code: 00 18 * * * /usr/bin/clamscan -r --remove /home/.This is just running a scan on my entire /home/ directory and removing any infected files it finds. My question is since this is being ran at 6pm via Cron, how can I get the results of this job emailed to me via text? Does anyone recommend a command I can add to the end which will dump the results into a file or email and send it to a specific email address? This server is my company Postfix MTA for everyone.
I wrote a small bash script to use feh to change my background every time its called. I use a cron job to have it execute every 5 minutes.
When I run the script manually it works perfectly, however for some reason when its run via cron it fails. I can see that it is executing but it seems to error for some reason.
Its kind of a drag to have a working script that when run as a cron job suddenly no longer works.
I have to run one testcase which opens a web_browser on Linux machine. When a run with cygwin it works but I can't always keep it open. I want to schedule a cronjob to run this testcase.