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?
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.
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.
If I do setenv DISPLAY other_machine:0 and launch a gui application I can send this application to my other_machine Is there any mean (utility or whatever) to send an OPEN application to another machine (by its pid eventually) So if I have an nedit open, and its pid is 13245, I could do something like send_to_display pid=13245 machine=other_machine:0
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
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.
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.
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.
test=(1 2 3 4 5) for car in ${test[@]} do echo "Element : $car"
[code]....
if variable $car equals 1, new element is added "6" to an array. But i don't know why when i am printing all elements of this array (echo "Element : $car") this element ("6") is not mentioned, but if i make a command which check an amount of contained elements by array it will be 6 elements.
So, I have this awesome idea whereby I will, every few minutes, dynamically generate a nightside view of the earth.That's the Fourmilabs sat image. I want to set it as my wallpaper. I have already written the bash script to download it and drop it into my wallpaper directory, and I'm using kcron to update my wallpaper. Here's my problem. That URL yields an image, but I can't figure out how to convert that image to a usable file format. It's OTF generated, so unlike other sites that have a format like .../image.jpg, this URL isn't playing nice.
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?
I want to change parameters of a RED queue during the simulation but it seems that some parameters can be modified only before starting the simulation, not dynamically, while the simulation is in progress. For example the following subroutines works before $ns run command but it do not change the behavior of the queue during the simulation( I want to change maxthresh_ and thresh_ after $ns
run command): Code: proc setREDParameters { redQueue MINth MAXth PER_MaxP Wq } { $redQueue set thresh_ $MINth $redQueue set maxthresh_ $MAXth
I use the awesome todo.txt cli tool for my todo list. I want to find a way to display this on my desktop, and have it update every time I update the file. Is there an easy way to do this? Does conky do stuff like this?
I am slowly working my way through the OS. I am trying to change the background wallpaper. The images are all present but when I effect the alteration, the new background appears for a couple of seconds then vanishes with a message to the effect that the pathway to the folders/files does not exist.
I am connecting through putty and i am using vim editor in putty and writing program in perl. I dont have any particular vimrc file. My problem is that in vim comments are rendered in DARK BLUE on BLACK BACKGROUND.How to change that comments into some light color in vim or change some settings in putty?
I am using Fedora 13 Operating System. I want to know that how to change the background of kde konsole. I want to display any type of wallpaper in the background of its (kde) konsole.
I use linux mint 8, and I want to change the background for the login screen. For easier and smoother login. Ive googled for days,cand nothing works. I tried GDM2 and I press select new image, but it doesnt work. Do I need the image in a certain folder?
I rarely work with Desktop enviroment and so stuck in GNOME for following task I want to change background image of login screen with my own photograph in RHEL 5.3. How to achieve this ?
I have 1000 jpg files in which all have a white background. Is is possible to change the white background color to red (for example) of all the files in order not to have to do it one by one ?
I would prefer to use Linux but I can handle Windows.
For example, change this Logo with white background to red background.
i've started off using linux with ubuntu 10.10, and then i moved to linux mint 10 kde, and after finding out that it didn't support my hardware, in specifically my graphics card, i switched back to ubuntu 10.10, and from there i upgraded to 11.04. i hated the gui so i switched it from ubuntu to ubuntu (classic) environment. i also installed kubuntu-desktop too, and it looks a lot like mint 10 kde, i guess it uses kde 4.6, but... it's more stable for me. anyway, what i mean is that, originally ubuntu had a black background, linux mint 10 kde had a pretty cool custom mint background, ubuntu 11.04 has a purple background. i looked on videos, i found people using customized backgrounds, but they either don't explain how they got it *like for instance, someone said opensuse 11 or 13 has an icy penguin animated background, and someone else had one that you could scroll through.* or it's too complicated or outdated. is there a simple way to change your grub2 boot loader background image?
the Desktop background image, icons all load when i log in then fade out leaving me with a plain background, no image, no desktop icons and none of the keyboard shortcuts work,
1. Is there a way to change the broken glass/monitor background on the login screen???
2. I have tried to login as root, but it will not accept the password, but if I login with my user name and need to change things that require root privileges the password works fine.
I worked a little back in 05 and 06 with FC4 and FC5 but nothing until now..
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?