Make XFCE4 desktop picture auto-rotate

I have a friend that would like to have his XFCE4 desktop picture auto-rotate based on updated images from a website.  It's this one specifically ...
http://www.goes.noaa.gov/ak3.html
Can I do this with a script?  An app?  If I wget the picture every 5 or 10 minutes and set it as the background, that would work perfect, but I don't know where to start.  Maybe there's an option in feh?  Just thinking at this point ... what should I do?

synthead wrote:
I have a friend that would like to have his XFCE4 desktop picture auto-rotate based on updated images from a website.  It's this one specifically ...
http://www.goes.noaa.gov/ak3.html
Can I do this with a script?  An app?  If I wget the picture every 5 or 10 minutes and set it as the background, that would work perfect, but I don't know where to start.  Maybe there's an option in feh?  Just thinking at this point ... what should I do?
You could use wget as a crontab job, replacing the same file and restarting feh to refresh the background.
I'm sketching the codes here, but does the image name changes when the image does? Right now it's "ALWV.JPG", but will it change along with the new image?
[EDIT] Sorry, I didn't see the XFCE part. So you don't have to use feh to manage your background, thus making life easier.
Here it is:
Execute this once:
wget http://www.goes.noaa.gov/GIFS/ALWV.JPG
Now you have a ALWV.JPG somewhere in your home directory (probably). Find it and set it as the default XFCE4 background image through the common configuration programs. Do not change the file name.
Run this with bash:
crontab -e
This will take you to the crontab file. Append this line:
*/10 * * * * wget -m -nd http://www.goes.noaa.gov/GIFS/ALWV.JPG & killall -USR1 xfdesktop
And change the 10 to whatever time you want. Save and exit.
Now, every 10 minutes, crontab will fetch the image and restart the XFCE wallpaper program, making it reload the new one.
The "-m -nd" options state that the program will compare image timestamps, download if newer and overwrite the old file.
If any problem occurs, please report. I couldn't test it here.
Last edited by BoppreH (2009-02-10 15:42:12)

Similar Messages

  • Picture auto-rotation on import into LR3 ?

    Hello !
    When importing directly from a card into LR3, vertical pictures are displayed correctly in the library, but JPEGs are not rotated in the file system.
    That's not too much of an issue if you edit with CS5, or export the pictures. In those cases they are handled appropriately.
    However if you edit with something else (in my case Topaz's filters via Topaz Fusion Express), the pictures aren't rotated appropriately.
    Context: W7x64, LR3, Cameras (EOS5D, G10) set to Auto-rotate "on"
    Any idea about how to fix this?
    Many thanks!
    Jean-Paul

    Ok - bear with me...
    Workflow1: import pictures from camera, with Canon EOS Utility or Canon CameraWindow. Both of them activate ZoomBrowser.
    Result: jpegs and raws stored in the file system.
    View with Windows explorer, all thumbnails have correct orientation.
    Edit with CS5 orientation is correct.
    Workflow2: import pictures from card, with Adobe LR3.
    Result: jpegs and raws stored in file system.
    View with Windows explorer, vertical photos are not displayed correctly (not rotated).
    View in LR3 library, orientation is correct.
    Edit in CS5 (called from LR3) orientation is correct.
    Edit in Topaz Fusion Express (called from LR3) orientation is not correct.
    I moved from 1 to 2 because of Canon's inability to provide a driver for W7x64, and, more importantly, because of the workflow improvement with LR3. The incorrect orientation is of course not a showstopper, but an annoyance...
    Thanks
    Jean-Paul

  • Can i make a horizontal picture vertical

    can i make a hortizontal picture vertical

    Yes, rotate it with your software.
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • How to auto rotate Images on Full Screen Slideshow if pictures were taken mixed Portrait and Landsca

    In Muse: How to auto rotate Images on Full Screen Slideshow if pictures were taken mixed Portrait and Landscape

    There is no way that Muse would automatically rotate the images. What you can instruct Muse to do is whether you want to show all image content and leave blank space in either direction OR scale the image to fill the frame resulting in some cropping, but filling the otherwise blank space.
    The options are Fit Content Proportionally and Fill Frame Proportionally respectively.
    Cheers,
    Vikas

  • Desktop pictures do NOT rotate/change on secondary display

    For some peculiar reason, my desktop pictures do NOT change / rotate on my secondary display.
    I have a MacBook Pro 15" (Late 2007) running Snow Leopard 10.6.2 and I have dual displays. My primary display (the MBP screen) DOES change / rotate picture every minute, but I want my secondary display to do the same.
    It seems that restarting does fix it, but only temporarily. I think it might have to do with plugging/unplugging the secondary display and sometimes if it's working, I disconnect and reconnect the monitor and then the pictures stop rotating.
    All my desktop picture settings are correct in System Preferences. I tried unchecking then rechecking the "Change picture:" checkmark, but that doesn't fix anything. I also tried clicking on different folders in the left column of the Pref Pane, then clicking back on my chosen desktop pictures folder.
    Any help would be greatly appreciated! Thank you!

    I discovered that for this particular file if you check the "random order" box under Desktop preferences, then the pictures will rotate like the rest of the photo files in the collection

  • Auto-rotating portrait pictures in iPhoto Library

    I'm using iPhoto 6.0.5 (316) and when I started importing photos from my old Windows PC, all of my portrait shots were auto-rotated in the library which is awesome. But I just noticed that the last several rolls I've imported aren't doing that. All the images are from the same camera so I'm not quite sure what I did (if anything) to cause the difference. Any help would be greatly appreciated.

    The orientation tag is part of the image files EXIF data recorded by your camera when the picture is taken. If iPhoto sees the orientation tag it rotates the image for you.
    Unfortunately, there are lots of things you can do to inadvertently strip an image file of the EXIF data. For example, early versions of iPhoto would export photos with most of the EXIF data removed, at least the makernotes portions.
    Did you open or view the photos that didn't rotate in any software that you didn't use with the others? If so, that may be what happened.

  • How to make a still picture rotate around a vertical axis ?

    H there,
    Can I know how do I make a still picture rotate around a vertical axis ?
    Thanks

    Thanks MTD,
    It is indeed one good trick ...
    From your timeline, it seems that you applied a transition after each clip. Can I know why & what transition you applied ?
    Can you please elaborate what you meant by "I changed the last keyframe in the last clip to a Smooth" ?
    Thanks again ...
    Cheers
    Meg The Dog wrote:
    Hi -
    While Mr. Wolsky is absolutely correct that you need the other software to do the effect you describe correctly, I believe you can make an approximation of what you want using FCE. Whether or not it passes the smell test is up to you.
    You can see a clip I made [HERE|http://www.spotsbeforeyoureyes.com/3DTurn_Example.mov]
    Because when you rotate the frame 360 degrees using the Y-axis, the image always comes back to the same position - which gives you a handy place to match cut to the next implementation of the rotation at a slightly slower pace. The last rotation was smoothed to a stop by modifying the filter keyframe to "Smooth".
    So (not acounting for the pad video at the head and tail of the clip, a 1 second clip, followed by a 2 second clip, followed by a 4 second clip to give me a 7 second move.
    !http://www.spotsbeforeyoureyes.com/3dTurnTimeline.jpg!
    I applied the filter to the first clip, and set it so that it went from -360 to 360 in Y axis rotation. I then copied that clip and used Command -V to apply the same effect to the next to clips via paste attributes, UNCHECKING the Scale Attribute Times so that the spinning would slow down as the clips lengthened.
    Lastly, I changed the last keyframe in the last clip to a "Smooth" , and added head and tail trim to the entire effect so the bars would start static, spin and the end static.
    Like I say, it's far from perfect but may either point you toward a solution or trigger ideas of your own.
    MTD

  • I want to change my Whatsapp picture but most pictures turn out either upside down or sidewards; I even have auto rotation but it works on certain pictures only, what do I do?

    I turned auto rotation on and I want to change my profile picture on Whatsapp. On certain pictures they turn out correct, however on most of them, they turn out sidewards or even upside down. I want to calibrate my phone but it doesn't say anything in settings about calibrating it, what do I do?

    When they turn sidewards what I do is going to Photos, then Edit the specific photo I want as my Whatsapp profile and turn it 4 times. It will stay the same in Photos but when I go to Whatsapp and choose it, it doesn't turn sidewards this time.
    Hope this helps!

  • How to make photo auto rotation work?

    Ok, I just got an ipod Touch 16GB yesterday and this is my first ever Apple purchase. I saw an iPhone that my friend has and really liked the screen and photo display features. My friend and I are both photographers. So I bought it mostly for its nice display, all other features are secondary to me.
    I plugged it in my Dell PC on Windows XP and set it up. Since ipod version 1.1.2 was available and I updated it before I had a chance to use it with 1.1.1. Anyway, after fiddled with it and loaded some images, I was eager to try photo viewing feature. To my disappointment, the photo auto rotation does not seem to work. When I changed the orientation of the ipod, there was no response and no rotation. For some unknown reasons, I could change the orientation for the whole set of images, sometimes 90 degrees or 180 degrees (upside down from original position), but not individual images. I never figured out how I did it. Could someone help me to get this straightened up? Appreciate in advance.

    jayem1 wrote:
    When I changed the orientation of the ipod, there was no response and no rotation. For some unknown reasons, I could change the orientation for the whole set of images, sometimes 90 degrees or 180 degrees (upside down from original position), but not individual images. I never figured out how I did it. Could someone help me to get this straightened up? Appreciate in advance.
    Sounds like you've got some kind of bug in the software or something. The above portion of the quote was really interesting, because i've never heard of it being able to flip the sets of images, only individual ones.

  • IPhoto 4.0.3 & smart album for desktop picture rotations

    I am using iPhoto 4.0.3. I'm attempting to designate a specific album in System Preferences for my desktop pictures--and I'd like it to change on a set time frame. I can tell it to change pictures for all regular albums, but ANYTIME I try to designate a smart album, the "change picture every. . ." option grays out.
    Does iPhoto or Mac OS X stop users from designating smart folders for some reason? I've checked and it's consistent. Every regular album retains the option to have the picture change on a recurring basis. Every smart album loses this option.

    You wondered about how I have an album folder to select with smart folders.
    If I try to find it through the finder, you're right, there is no actual folder--which I didn't realize.
    However, if I go to System Preferences>Desktop & Screen Saver, there is a line that separates the Apple default options and the iPhoto albums. It's there that it shows all albums that you've set up--regular and smart versions.
    I just never thought about the fact that their album icon for the smart folders wasn't pointing to an actual folder--just the data shortcuts to files.
    Thanks for the new info!

  • Company-wide Desktop Picture on Mavericks Clients

    We're looking at rolling out Mavericks on our systems at work, and I have set up a test machine to make sure everything will work as expected. We have a Lion server that is using Workgroup Manager MCX (instead of Profile Manager, which will change) to distribute policies to all the workstations. All of them are working well except for the desktop picture.
    Now, I understand that the setting for desktop picture in Mavericks is no longer in a plist, but in an sqlite database. Is there any way to set the desktop picture using the Workgroup or Profile Managers for a Mavericks client? I don't want to replace the default picture on Mavericks systems because we update the desktop picture regularly.
    EDIT: I should add, I tried to write a login script to do it, but I couldn't get it to run. The script has this single line:
    tell application "System Events" to set picture of every desktop to "/Volumes/Groups/Everyone/Wallpapers/Current.png"

    Your script is a kludgy hack that won't prevent users from changing the Desktop for the entirety of their session .
    The correct way to do this is with Managed Preferences for OSX also called 'MCX' as you have already seen.
    There is a tweak that should still work on 10.9 to import all the Apple based 'managed preference keys'.
    Get Workgroup Manager for the same OS as the server (you may need the server admin tools, it varies, search for both). It may need to be the 10.9 version on Mavericks.
    http://support.apple.com/downloads/#workgroup%20manager
    Open WGM on a client, connect to the server (do not work in the local node!). Select the group or computer group you are managing & select the 'Preferences > Details tab'. Click the + button to add the following…
    /System/Library/CoreServices/ManagedClient.app
    This will give you the power to manage a lot of extra keys, find the 'Desktop picture' in the list, double click it, decide how often to manage it (once = first login, often = at each login, always = what it says ).
    Select 'Often' & create a New Key, click the new item & select the key to manage (in this case Background). It should autofill the other values (e.g. image path & the path to the current Desktop. Sometimes Always won't create the key correctly, so create it inside often & drag it down.
    Once all that is saved login as a member of the managed group & it should pull down the desired MCX prefs (reboot).
    Your Macs will need to bound to the server for this to work & I haven't tested on 10.9 (WGM doesn't want to apply these to the local node, which may indicate it isn't possible.
    I'd strongly suggest you copy the desired image to the Macs in question to increase reliability, or host it in an auto mount that appears in /Networks.
    Good luck

  • Why does my 9810's auto rotate stop working all of a sudden?

    My 9810's PIN is: 2978D267
    As said in title, the auto-rotate has ceased to work all of a sudden. I've tried removing the battery several times for total reboot and no luck, also tried drawing the keyboard back and forth and no dice. the other anomaly being the inability of recharging its battery with either 1A or 1.5A, wall socket dependant.
    I am on the sixth month of use, the place I purchased this handset from is no longer exists so I have no idea how the promised 2 years warranty is supposed to be.
    I hope that I can get some clue from here. Thanks.
    regardless of race, religion, social status, material, what not

    Let's make sure we're on the same page. When you remove your battery, is your phone turned on? Yes = proper battery pull, no = nothing will happen.
    If your phone is turned ON, then it's time for an OS reload using BlackBerry Desktop Software.
    Try that and post back with your results.
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • Ihpone camera app auto rotation

    Can you please add a function that disable auto rotation in camera roll. Extremely annoying when you take horizontal pictures and the phone dont understand to stop rotate when you turn the phone.
    thanks.

    Go to camera app-make sure you are on manual mode-tap on 3 dots (settings) -quick launch-off.
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • 10.9.3 on iMac 27", dock displays near middle of screen, desktop picture isn't covering whole desktop. Anyone else having this annoying glitch?

    Hello Everyone.
    I upgraded an iMac 27" (3.4 Ghz, Intel Core i7, 3TB fusion) from Mac OS X 10.8.6., to Mac OS X 10.9.3 a few days back.
    Ever since then, the 2nd user to login on a given day, gets the dock displayed near the middle of the screen. It still interacts OK (e.g. you can launch applications from there), but it is not in it's correct location. The desktop picture (in this case, a shade of solid dark grey), only covers the smaller desktop area (up to where the Dock is). The remaining area of the screen automatically gets a 'light grey' background colour.
    So person A logs in, no problem. But when person B comes along (with perosn A still logged in), the user logins, and they get this 'chopped of' version of the screen, with the dock mid-screen. (See screenshot attached).
    The users can still click on any dock icons, and the applications will open up. But the dock won't return to it's original home, and refuses to 'jump' back to their proper home (at the bottom of the screen).
    I've tried using CSCREEN to change the resolution at startup, via a terminal command and Automator, but that only works on some occasions. Others (like the attached screenshot) boot with the two-colour background, and 'confused' dock. A manual screen resolution change in the Settings area (down and then back up again), resolves the issue for that boot.
    I've tried stripping back all non-essential plug-ins, tried removing a variety of start-up items, add-ons etc. I've tried creating a 'test' account, and the same issues appear to this account too.
    Is it just me, or are others having problems with a misbehaving dock / screen resolution, in Mac OS X 10.9.3 / on an iMac 27"?
    Thank you!
    D.

    Hi folks.
    I found a solution...Looks like the Dock is the culprit it's self. So, I made an automator app that I fire up automatically at login time. The automator app runs a shell script command:
       killall Dock
    (make sure you have a capital D on Dock)
    The Dock gets closed off, and it then re-opens in the correct spot (bottom of the screen -- not the middle of the screen). Hope this helps someone else!
    Enjoy.

  • 8.1 | 11s | Auto-rotate only works for landscape & button does nothing

    The way auto-rotate is sort of doing it's own thing right now. The way it works is if  the screen is upside down (winbutton up) -> tablet mode, rightside up -> laptop mode. Those are the only two switches that it makes, and it doesn't rotate to a portrait mode, which I would really like.
    The auto-rotate button doesn't seem to do anything anymore. The dialog will appear on-screen but it rotates the same wether it's on or off. 
    I can make the switch with ctrl+alt+<,> but that doesn't disable the keyboard, and it flips back to landscape when I move it. 
    Is there some list of upgrade issues?
    Other issues I have/had are: cpu throtling in tablet mode, dolby stopped working though audio works fine with new driver. Also the upgrade messed up my DNS settings. Updating the wifi driver & forgetting the network driver didn't solve it. I had to go to the conection's settings and set the DNS manually on IPV4 and disable IPV6. 

    http://support.lenovo.com/en_US/downloads/default.page
    Check for newer drivers and install if any, then post if you still have the issue.
    Jonas
    Microsoft MVP: Windows Consumer Expert
    Yoga Tablet 2 10 || ThinkPad X1 Carbon (20A7007MPH) || ThinkPad Helix (3698-6EU) || IdeaCentre B540
    Twitter: @jonashendrickx

Maybe you are looking for