A nice wallpaper randomizer scipt.

I know most of you here would make this on your own if you wanted it, but for those who can't, or never bothered, here's a handy and easily editable script.
#!/bin/bash
DIR=/home/wisp/Wallpapers
FLOOR=1
RANGE=`ls -1 "$DIR"/*.jpg "$DIR"/*.png | wc | awk '// {print $1}'`
number=0
while [ 1 -eq 1 ]; do
number=$RANDOM
while [ "$number" -le $FLOOR ]; do
number=$RANDOM
done
let "number %= $RANGE" # Scales $number down within $RANGE.
COUNTER=1
for X in "$DIR"/*.jpg "$DIR"/*.png
do
if [ $number -eq $COUNTER ]; then
feh --bg-scale "$X"
fi
COUNTER=$(($COUNTER+1))
done
COUNTER=1
sleep 2m
done
There you have it!

wisp558 wrote:
Ha. This is why I put this up here: I'm a bit of a novice bash scripter, and it's nice to get these sorts of critiques. Yes, I could put the sleep time into a variable, but it's not too painful to change the sleeptime manually in a script largely written for myself. As for shuf... I had no idea that existed. Dammit! That would have been useful a little bit ago. Still, thanks for letting me know.
As for your example falcon, I don't quite understand how yours works. I guess I'm not grokking how () {} and [] work in bash.
Sorry, it's a bit of a mish mash of nesting in that final line. The first two lines are all the setup you need (and you may as well just use the second). This populates an array full of filenames from which to draw from. The echo line is where all the magic happens. I'll break it down...
wp_count=${#WP[@]} # size of the array -- aka the number of wallpapers
index=$(( RANDOM % wp_count)) # a random number within the bounds of the array size
echo ${WP[index]} # the wallpaper at the random index generated above
This can all be combined into the frankenstein posted above. Furthermore, it can be passed to hsetroot or feh (or whatever other utility is being used to paint the wallpaper itself) inside the while loop. Because it calls the environment variable RANDOM each time, it'll generate a new pseudo-random wallpaper on each iteration of the loop.
@hellomynameisphil: yes, you can take that shortcut, but the results of find are not meant to be piped and parsed in this way. Shell globbing is an assuredly safe way of handling any possible filename.

Similar Messages

  • Looking for some Nice Pictures for Wallpaper

    Hi I'm looking for a nice web-page to find some real nice Pictures for my iPhone can anyone be of any help? Thanks
    Lisa

    I have found some really nice wallpaper from.....
    http://www.sciphone.net/index.php
    http://www.thememyphone.com/

  • IPhone 3G S Wallpaper

    Does anyone know where I can find a nice wallpaper logo? One with maybe the Apple logo along with it saying iPhone 3G S or something like that?

    The Background free app lets you browse and use over 5,000 background images. You can browse by category to make it easier to find what you like.
    Check it out here: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=295785957&mt=8

  • "Linux with an extra 32 bits" wallpaper

    I made this for myself, as there seem to be no shortage of wallpapers proclaiming what distro you use, but not many for your CPU architecture.
    http://forum.archlinux.co.uk/download/f … &mode=view

    xd-0 wrote:Nice wallpaper, very clean and minimal.
    Mind sharing how you did the mirroring of the text?
    I selected all of the text, made a new layer, and filled the selection with a gradient of black fading to transparent. I then flipped the layer vertically, moved it where I wanted, and lowered the opacity.

  • Wallpaper modified for dual monitors 3360x1050 (two 1680x1050's)

    A nice wallpaper, made widescreen.
    Size: 3360x1050 (two 1680x1050 monitors side-by-side) 13.46MB
    The original image can be found here.
    Last edited by sleven (2010-03-13 21:25:29)

    AcmeAudioEng, Welcome to the discussion area!
    No the iMac G5 can not be used as a monitor for any computer. Although the iMac G5 looks like a monitor, it is really a complete computer. It has no direct video input to allow it to be used as a monitor.

  • My 'desktop and screensaver' can't be change. it keeps on loading

    I used to change my wallpaper quite a lot but one day I got stuck on a picture. I then figured out way a way to change it. To change it I went on Google Images and found a really nice wallpaper, went of full size image, clicked the ctrl button and click 'Set as desktop background'. This worked but then one day when I logged in my wallpaper was nothing but a black screen. I tried several times to change it how I did the last time it went wrong, but it didn't work. I then tried going on 'System Preferences' -> 'Desktop and Screensaver'. But when I clicked on Desktop and Screensaver the waiting logo came up and stayed for about 3 hours. I then had to force close System Preferences. I have tried this every day and I still get the same result.
    Any suggestions to this problem will be appreciated Thanks

     
    Care to share which OS you are using? 

  • Nvidia nview problem

    Hello all!
    I am facing a problem with my graphics card. It all started when I decided I would like to watch my dvds on my tv screen. I have an nvidia graphics card.
    $lspci
    01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
    $
    I am using fedora core 2 with kernel 2.6.5-1.358. I installed the drivers for linux from the official site of nvidia, namely the NVIDIA-Linux-x86-1.0-6111-pkg1.run. Everything went well on the installation. I edited my xorg.conf file. If I nsert the following lines on the screen section
    #Option "ConnectedMonitor" "TV"
    #Option "TVStandard" "PAL-G"
    #Option "TVOutFormat" "SVIDEO"
    then when the box boots up everything is shown on my tv and not on my screen. What I would really like to do is configure the file so that I can have everything on both my display and the tv. I read about the nview. But do I have it? How do I check if I do? And if I do, how do I make the configuration so that I get what I want?
    Besides thi, which is my major question I noticed something else. When I run the nvidia-settings program I see that the display device is A CTR-0. When I run the system-config-display program I see that the Monitor is L1711S Which is actually my monitor. I believe that the flat monitors are called LCD. So why this disagreement?
    thanx to anyone that replies in advance
    axelmang
    PS I give my xorg.conf file, just in case I havent given you enough details
    # Xorg configuration created by system-config-display
    Section "ServerLayout"
    Identifier "single head configuration"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    # RgbPath is the location of the RGB database. Note, this is the name of the
    # file minus the extension (like ".txt" or ".db"). There is normally
    # no need to change the default.
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Red Hat 6.0 and later now use a font server independent of
    # the X server to render fonts.
    RgbPath "/usr/X11R6/lib/X11/rgb"
    FontPath "unix/:7100"
    EndSection
    Section "Module"
    Load "dbe"
    Load "extmod"
    Load "fbdevhw"
    Load "glx"
    Load "record"
    Load "freetype"
    Load "type1"
    #Load "dri"
    EndSection
    Section "InputDevice"
    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    # Option "Xleds" "1 2 3"
    # To disable the XKEYBOARD extension, uncomment XkbDisable.
    # Option "XkbDisable"
    # To customise the XKB settings to suit your keyboard, modify the
    # lines below (which are the defaults). For example, for a non-U.S.
    # keyboard, you will probably want to use:
    # Option "XkbModel" "pc102"
    # If you have a US Microsoft Natural keyboard, you can use:
    # Option "XkbModel" "microsoft"
    # Then to change the language, change the Layout setting.
    # For example, a german layout can be obtained with:
    # Option "XkbLayout" "de"
    # or:
    # Option "XkbLayout" "de"
    # Option "XkbVariant" "nodeadkeys"
    # If you'd like to switch the positions of your capslock and
    # control keys, use:
    # Option "XkbOptions" "ctrl:swapcaps"
    # Or if you just want both to be control, use:
    # Option "XkbOptions" "ctrl:nocaps"
    Identifier "Keyboard0"
    Driver "keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us,el"
    Option "XkbOptions" "grp:ctrl_shift_toggle"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "yes"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "L1711S"
    DisplaySize 340 270
    HorizSync 30.0 - 83.0
    VertRefresh 56.0 - 75.0
    Option "dpms"
    EndSection
    Section "Device"
    Identifier "Videocard0"
    Driver "nvidia"
    VendorName "Videocard vendor"
    BoardName "NVIDIA GeForce FX (generic)"
    EndSection
    Section "Screen"
    #Option "ConnectedMonitor" "TV"
    #Option "TVStandard" "PAL-G"
    #Option "TVOutFormat" "SVIDEO"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    Section "DRI"
    Group 0
    Mode 0666
    EndSection

    Better late than never 
    About cloning to different resolutions: it's normal that tv screen will be only a "visible" window to larger virtual one that is a clone of crt (that should be quite logical since it's a clone, right?).
    So, you can't really have two different resolutions in tweenview mode (at least they are not useful). I suggest to not use it at all :-).
    Insead try to configure x using it's standard settings like this:
    (it's from my config - I've cut part of the non-vidia settings to make it shorter):
    Section "Module"
    [cut - insert yours here]
    EndSection
    Section "Files"
    [cut - insert yours here]
    EndSection
    Section "ServerFlags"
    Option "DefaultServerLayout" "MonitorTV"
    Option "AllowMouseOpenFail" "true"
    Option "BlankTime" "0" # I don't like it
    Option "NoPM" "true" # I don't like it too :-)
    EndSection
    Section "InputDevice"
    Identifier "LogitechCordlessDesktopMX"
    [cut - insert yours here]
    EndSection
    Section "InputDevice" # PS/2 connector
    Identifier "LogitechMX700" # 7 buttons enabled
    [cut - insert yours here]
    EndSection
    # Now important things
    Section "Monitor"
    Identifier "Philips109MP"
    HorizSync 30-107
    VertRefresh 50-160
    # this is just for better font rendering - same setting in /etc/fonts/local.conf
    DisplaySize 365 273 # 111dpi x 111dpi at 1600x1200
    # DisplaySize 367 273 # measured manually (1in = 25.4mm)
    # DisplaySize 340 260 # detected
    # DisplaySize 369 295 # 88dpi x 88dpi at 1280x1024
    # DisplaySize 342 273 # 95dpi x 95dpi at 1280x1024
    EndSection
    Section "Monitor"
    Identifier "SonyTv29"
    HorizSync 30-50
    VertRefresh 60
    EndSection
    Section "Device"
    Identifier "NvidiaGeForce4MX440"
    Driver "nvidia"
    Option "NoLogo" "true"
    Screen 0
    BusID "PCI:01:00:0" # This is something very important - find your nvidia bus id settings with lspci
    EndSection
    Section "Device"
    Identifier "NvidiaGeForce4MX440TvOut"
    Driver "nvidia"
    Option "NoLogo" "true"
    Screen 1
    BusID "PCI:01:00:0"
    EndSection
    Section "Screen"
    Identifier "MonitorPhilips"
    Device "NvidiaGeForce4MX440"
    Monitor "Philips109MP"
    DefaultDepth 24
    Subsection "Display"
    Depth 8
    Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    EndSection
    Section "Screen"
    Identifier "TvSony"
    Device "NvidiaGeForce4MX440TvOut"
    Monitor "SonyTv29"
    DefaultDepth 24
    Subsection "Display"
    Depth 24
    Modes "1024x768" "800x600" "640x480"
    EndSubsection
    EndSection
    Section "ServerLayout"
    Identifier "MonitorTV"
    Screen 0 "MonitorPhilips"
    Screen 1 "TvSony" LeftOf "MonitorPhilips"
    InputDevice "LogitechMX700" "CorePointer"
    InputDevice "LogitechCordlessDesktopMX" "CoreKeyboard"
    EndSection
    It should be pretty selfexplanatory. Why these settings are better than tweenview? Because they give you two separate screens with two "desktops" and two fullscreen but different resolutions. First screen (you can check with echo $DISPLAY) is :0.0 (crt - monitor philips in my case) and second is :0.1 (the tv). This also means that you can have different window/desktop managers on each screen (isn't that great?).
    The rest depends on your window/desktop manager settings because some of them (with default settings) can use both screens (like kde, fvwm, windowmaker) and some (like xfce4) use only first one (:0.0 - the crt) leaving a second as a standard grey x window. So it's up to you how you want it. Everything should be possible. Personally I leave tv screen grey and use xfce4 (currently) on the crt. You don't need wm to start programs on the tv screen also. Check for your favourite program settings (manual) is should be possible to set display parameter like with mplayer/gmplayer it's:
    gmplayer -display :0.1 -fs
    or (IIRC)
    DISPLAY=":0.1" gmplayer -fs
    (this should work too).
    It will start gmplayer on the tv in fullscreen mode. If you set it a nice theme (my favourite is OSX - Brushed) you don't need anything else. The bonus effect is that you can use your crt normally while you watch movies and gmplayer "open file" dialog will be opened on crt making it much easier to read and use. You can also set a nice wallpaper using some program like Esetroot or hsetroot etc.
    I wrote this in a little hurry so sorry for the style :-)

  • I can't open my music files!!

    I recently updated my music player software (for the Nokia 5800). However, when I tried clicking on my music player icon/ going to my gallery and selecting the file "songs" I couldn't open either of them. My songs are still on my phone, but I can't access them for some reason, or open them up. Why is this happening and how can I fix this problem?
    Thanks.

    i have the same problem, when i press on 'song', it prompts me another list of menu (same list with images, song, sound clips and other media).. I cant get in ! i didnt update anything, i just did some data recovery (have nothing to do with song list), and put in some sound clips in it.. Can anyone help? or should i format my phone? how?
    and one more thing, there is something wrong with my gallery too. images are broken and cannot be open. i wonder what that images is, i deleted every image in my phone then i send some nice wallpaper into it. set it, then bamp! the broken files are there again, i try deleting one image, but three or four can disappear themselves -.- i think i should need a reformat seriously. how?

  • ATV 160 & IP address issues

    Took delivery of the new 160g ATV yesterday, eventually got it setup, but can see issues ahead so could do with a bit of advice.
    The setup is the ATV is the lounge, a 1.66 Mini in the living room which is used as a media centre and will be the machine the ATV syncs with, a 1.42 Mini in one of the daughters rooms, my MBP and a couple of iPhones and Touch's too, all hooking into the wifi.
    Upon installing the ATV last night it could see my network but wouldn't connect to it. Did some Googling and made sure my router hit the usual restrictions, which I think it does. It's a BT supplied one BTW. Encryption is WPA Personal, according to my MBP.
    Anyway, eventually I decided to turn off all the machines in the house and just fire up the ATV, and it connected to the network fine. So next I fired up the Mini media centre, the one the ATV will sync with. As soon as this machine connected to the wifi it booted the ATV off. I kinda figured it was an IP issue (both seemed to want to use 192.168.1.2) so played around with the setting on the ATV and managed to get it to apply a manual IP address (192.168.1.3), booted up the Mini media centre again and it all worked fine, the media centre took the ip address 192.168.1.2.
    Thing is, I've not yet booted up my macbook or the 1.42 Mini in the daughters room, or allowed any of the idevices to connect, my fear is when they do they'll mess up the IP addresses and the ATV will get kicked off the network again.
    When I set the ATV IP address manually if I'm honest I'm not 100% sure how I did it, as that level of stuff is a bit above my head, so working on the basis that it's working now, but once the ATV, or the Mini media centre is powered down and then back on (power cut etc.), or when the other Macs in the house are turn on it's all going to go pear shaped, anyone any advice on how to set things up on a permanent basis?
    I'm aware that a wired connection is the best, but that's not really an option. Well it is, but it'll mean drilling holes in the walls and I'd mostly be stabbed if I did that! (Woman and their nice wallpaper eh?)
    Thanks for any help.

    While you can set a manual IP on the AppleTv it is important to assign this to the AppleTV via the router too or the router may still allocate this to another device.
    The BT router has not had favourable comments. Try a search.
    If you want a wired solution consider some home powerline network adapters such as these:
    http://www.pcworld.co.uk/gbuk/devolo-dlan-200-aveasy-starter-kit-2x-home-plug-av -adapters-uk-00939204-pdt.html
    I use an older version of these and they're great so long as it's all on the same mains ring.

  • My main program no longer compiles/program terminates.

    My main program (8.6.1 version) will no longer compile and provide the error listing.  The entire program just ends out of Labview completely.  First time it has occurred at our location in years of working with Labview.  I can't tell if it has something to do with the new laptop the program is hosted on or my code.  Any suggestions or solutions would be appreciated.
    Nick Salemi
    Teledyne Energy Systems, Inc.
    [email protected]
    410-891-2225

    Thanks altenback.
    I define compiling as clicking the blackened out run arrow and waiting for the error listing to identify coding errors.
    Problem example:  I'll remove a single wire on the block diagram.  I select the blackened arrow and then the Error List window pops up
    without any errors listed inside.  At the same time, layered over the Error List window I get the "famous"
    "Labview 8.6 Development System" window indicating a problem has been encountered and the program must close - sorry etc."
    The "Send Error Report" and "Dont Send Error Report" buttons are shown. It doesn't matter which one I choose; the program exits out of my
    program and drags Labview 8.6 with it so I'm back at Bill Gates big blue screen (I haven't put up any nice wallpaper yet).
    This is repeatable - I've done it about 6 times in a row on the "newer" laptop (bought ~2009; WinXP Prof 2002 service pack 3, 3.5 GB RAM ) and just repeated it on the 2 older laptops (Lenovos; junk, bought ~2006; WinXP Prof 2002 service pack 3, 504 MB and 1 GB RAM).
    My main program is       ~ 1.5 Mb in size and has 126 files under it.  Its not being run as a project. Dah!  May be this has something to do with it; never did before, I'm not sure.  My code communicates to 3 pieces of hardware via Agilent's USB/GPIB cable (82357A).  Those 3 pieces are an Agilent 34970A data acq system, an Agilent 6060B electronic load, and a Sorenson power supply.
    Strange thing is the program runs fine at my desk computer (WinXP Prof 2002 service pack 3, 504 MB RAM) - IT department maintained.
    It's something in the laptops, because they all worked, then during development they stopped.  Only thing I can point a finger at is the program
    kept growing in size over the last year.  A lot of information but I can't come up with a solution.
    Any ideas?
    Nick Salemi
    Teledyne Energy Systems, Inc.
    [email protected]
    410-891-2225

  • New Member introduction

    Hello I am  a new member here and I want to introduce myself. I am known as Sakasa and what I do is graphics wallpapers designs. Most of the wallpapers are done for the Linux community and I will want to share some of these works in the near future with you all.  I do not really get involve in OS development of graphics wallpapers desktops, themes or anything else.. Hopefully  that my art can help this great community through the offering of  the art.  Here is my latest Arch Linux wallpapers.
    http://bestfreewallpapers.net/tiki-brow … lleryId=12
    Hope you like these.
    Best Regards,
    Last edited by sakasa (2010-05-15 17:25:46)

    Allan wrote:So...  you are not making any wallpapers specifically for Arch, but rather rehashing wallpapers by changing the distro name on them to Arch.  Combine that with joining the forums just to post a link to your website and I start hearing warning bells.   Are you actually using Arch Linux at all or just here to "spam"?
    I have done wallpapers for the linux community for a long time. Arch Linux is a great and known distro. Linux needs a push and this has always been my intention to go ahead and do what I must do and it is to help societies that offer their work for free and can express freely through. I do not need to spam or ever will. I want to make it strickly clear. Many distros have use my wallpapers in their different distro version and I am well known. Antix Linux, PCLinuxOS, and a few others have use my art in others OS, I do not recall right now. I do not care if this society, members or others uses my wallpapers for their distros or for their desktop looks as long as they can benefit from these then I a m doing my duty. Google sakasa  and you will see.  You comment: you are not making any wallpapers specifically for Arch, but rather rehashing wallpapers by changing the distro name on them to Arch  my re: I make a nice wallpaper and after I go ahead and add up the different OS names like all artist do but not how you specify it above.. My art is original and I hold 100's of licenses It would not be fair for the linux society and other distros not to be able to obtain the same type of wallpapers. I do not think it would be correct that I as an artist will take only one side or a specific distro and leave the rest like they do not exist.  Linux is for all and I am a truly belief that we must work together to encourage all the distros so we can grow as a bigger community in this world, which it is needed. I thought by offering that I will get an opposite of the response that I am getting from you. The warning bells you maybe hearing it from someone else. You have put me into in a interrogative situation without knowing me, only because I came here to offer to your OS an extra service in a noble way. This is shocking to me I do not judge or interrogate until I am really and truly sure to know completely a person intentions with time before I can judge or asking them a question and even if I do judge them it does not mean I am right, still I could be wrong. So I am very sensitive before I open my mouth to interrogate  or ask questions to anyone like the ones you have make me here..
    I do not need to spam. I take this very seriously and if you belief from your part that this is my intention then go ahead and erase me from your members list.
    I hope that you can understand my message and I ask to excuse my English because it is not the best.
    One more thing I am not here to work in the development of your distro or any distro as I mentioned in the above post. I feel exciting when others are doing their work too because this help greatly the Linux community and we most expand linux within unlimited ways if we want it to succeed even more.. This is my belief..
    Sincerely, Sakasa
    Last edited by sakasa (2010-05-16 06:38:48)

  • Photos in iOS 4.2 auto compressed/crap quality

    I had this nice wallpaper i made that looks normal on every computer I placed it on and it looked normal under the previous iOS on my iPad when I had it as the wallpaper.
    Its a simple grey background with white text and the center letter is Red, but for some reason the red letter looks compressed/low quality compared to the file sitting on my desktop, in iphoto and mail on the ipad.
    no matter how many times i try to recreate the image the red letter looks crappy while the rest of the image looks okay but noticeably different/compressed or something.
    does anyone know whats the reason for this? or how to change it?
    it doesnt make sense, the image looked normal on the iPad prior to the update....

    I have confirmed youre issue on my iPad with WiFi+3G using those images in your links.
    the red looks completely loss of quality.
    However that was with the JPGs but NOT with the PNG files you provided.
    BUT not to mention the **** thumbnails in Photos have little grey dots and looke pixelated and bitmap-ish...w t f?!
    They look like the color in the photos are some really bad 8-bit color.
    View the screenshots below, note the comparison between the two SAME screenshots, one PNG and one JPG.
    JPG -> http://img829.imageshack.us/img829/1183/screen1qbm.jpg
    ==
    PNG -> http://img139.imageshack.us/img139/4845/screenrw.png
    Pixelated/Bitmapish thumbnails
    http://img686.imageshack.us/img686/3272/picql.png
    Ugh this is kind of annoying, the last iOS displayed everything in crystal clear quality.
    Is this an indication that its meant for a higher resolution display or is it just a garbled iOS version for iPhone/iPod Touch devices?

  • New "Save image" function (not the 2-button screen capture, different)

    I found this while playing w/ Safari on my iPhone. I went to Flickr, saw a picture that a friend uploaded, and had my finger on it a bit too long- a dialog popped up that said "Save image" or "Cancel"- so, I hit save image, and the big (1024 x 685, 197 KB) was placed into my Camera Roll file.
    Does the same thing on any website- you can open a large image, and download it, not just a small screen capture.
    Makes really nice wallpaper. Sorry if this has been around awhile, I just happened to find it

    This was added with 2.0 software

  • [SOLVED] XFCE Slideshow Wallpaper - Fade animations

    Dear forums
    As the title says, I wonder if there is any way to get nice fade animations like in Gnome or KDE for XFCE. I remember there being an inbuilt option in XFCE making it possible to select some images which would be cycled through, but other than using e.g. Variety on Ubuntu, there is no animation when the wallpaper changes. Does this depend on some library? Could it be that Ubuntu has a configuration which makes it possible to use those animations automatically in XFCE too?
    I'm seriously considering leaving Ubuntu for good and use Arch Linux again, but since I'm using my Computer every day, I'd like my Desktop to look pretty.
    Thanks in advance!
    Last edited by alexftw (2014-03-16 04:43:48)

    twelveeighty wrote:http://www.linuxjournal.com/content/cre … ounds-xfce
    This only explains how to get a slideshow with xfdesktop, I know that already. My question was how to get fancy animations when the wallpaper changes.
    progandy wrote:You could try shantz-xwinwrap-bzr to force a window in the background.
    What a coincidence, I just figured that out myself!
    In case anyone will need this:
    xwinwrap -b -fs -sp -fs -nf -ov -- feh --bg-fill /path/to/your/wallpapers/
    xwinwrap will say that feh died but the exit code is 0 so there's nothing to worry about (does feh run as a daemon in the background?). Fade duration is specified by the compositor itself (now the only thing that'd make it perfect would be making compton use a longer fade duration on feh only), for automatic switching I'll use this for now, file "wallpaper_randomizer":
    #!/bin/bash
    while true; do
    xwinwrap -b -fs -sp -fs -nf -ov -- feh --randomize --bg-fill /home/alexander/Bilder/Wallpapers/
    sleep 600
    done
    chmod +x wallpaper_randomizer
    I'm using the XFCE settings to start it automatically, but adding it to .xinitrc would probably work too (useful if not using XFCE):
    compton -b &
    /path/to/wallpaper_randomizer &
    exec start_xfce4
    That makes me really happy somehow. Thank you, progandy, that would've really helped me if I've given up searching for a solution already.

  • MSI Forum Wallpaper Design Contest

    Prize:
     The winner will be rewarded with a soon to be launched Z87-GD65 GAMING motherboard.
    (check it out at http://game.msi.com)
    How:
     Design and submit a wallpaper in this Forum topic.
     (If you don't have an MSI Forum account you need to register first here, please read how to add pictures to forum posts below)
    Contest Rules:
    -   Submitted wallpapers must be at least 1920x1080.
        (Preferably JPG or PNG formats, 16:9 or 16:10 ratio, max 2560x1600)
    -   You can post as many unique wallpapers as you like until the contest ends at June 28th 18:00h (GMT).
        (when we will lock this topic).
    -   MSI will select and announce the winner, one week after the contest has ended.
    -   The winner will be contacted by PM and registered email.
        (if we can’t reach the winner within one week, we will select a new winner)
        (so please check your PMs/Email regularly when the contest has ended)
    -   MSI Forum Rules and MSI Forum Terms also apply to the Wallpaper entries, so keep it clean.
        (no obscenity/vulgarity/copyrighted material).
        MSI reserves the right to remove entries when we think the entry is inappropriate.
    -   By submitting your wallpaper entry to this forum you give MSI the right to use/upload/print
        any wallpaper entries for marketing activities during or after this contest.
    Hints:
    -   Upload your wallpaper(s) to an image hoster  (e.g. photobucket, imageshack, etc) or other online location with unrestricted access.
    -   Please use the following tags to add your uploaded wallpaper to your forum post.
       Code: [Select]
    [img width=760]http://url-to-your-wallpaper-goes-here.jpg[/img]    (“width=760” added for proper forum scaling, does not affect original image). More info here.
        (Please Note if you also want to use the URL tags you need at least 2 posts in the forum (=anti spam measure))
    -   Use high quality pictures. As a starter you can use any pictures/logos from http://media.msi.com or
        other MSI websites (http://www.msi.com, http://game.msi.com, http://oc.msi.com)
    -   Increase your chance of winning by:
          1.) Using the MSI Dragon image
          2.) Using the MSI Gaming theme or the MSI OC theme
          3.) Get a lot of users to share your Forum post on Facebook
               (everyone can share your Forum post on Facebook by clicking the button in your forum post).
    Good luck everyone.

    Hello everyone,
    Here is my submission for the contest with 7 wallpapers (I know it's a lot... but I was inspired so... ^^ )
    For the 2 first ones, I wanted some classic good looking wallpapers with the MSI Dragon being the center of it, with some high quality effects. So here they are, a bright version and a dark one.
    Hope you guys like it.
    For the 5 next ones, I tried something really different. More in an advertising campaign way. Some minimalist looking wallpapers, trying to focus on simple things, no shadow effect. Art on it's purest form, simple but well thought.
    I asked myself why people would chose MSI instead of another brand, so I figured the people who already know that. So I first started with the "Gamers know why" because it's obvious, then went to an iconic e-sport legend ("Legends Know Why") Mr. Patrik 'cArn' Sättermon, I think he and the Fnatic team clearly represent why people should chose MSI. So I used the Fnatic team for the third one "Winners know why", they are clearly one of the best multigaming team of the world and are sponsored by MSI for quite a few years now. (The picture is from the IEM 5 For the 4th one, I noticed that I start to see more and more MSI laptops around me, at college etc, so I thought that "The World knows why". And for the last one I tried to represent the spirit around the MSI Dragon and the whole Gaming part of MSI, that feeling of POWER. So I tried to make that last one a combination of the 2 styles. Representing the Power coming out of the Dragon... in a minimalist way. So here's "Unleash the Dragon". I hope I succeed. And I really hope you like my work. It took me several hours to complete that "campaign" and I'm really proud of it. I used the "#" system in it because as I made it as an advertising campaign, I thought it would be nice if everyone could share that spirit easily.
    The picture of cArn and the one of the Fnatic team are from the internet, the rest comes from my personal pictures (textures and such) and of course everything is homemade.
    Cheers.

Maybe you are looking for

  • Creating a repository

    Dears , i want to create repository in order to can upload an employee pic ... but i dont know the settings or what configurations shall i select ... could u plz help creating the repository ? 1- i want to know which storage type shall i use , i have

  • Creating a bookmark

    Hi, Hope this e-mail finds you well. How do you create a bookmark in an existing Acrobat 9 Pro document? Thanks!

  • How do I combine scanned files?

         Unfortunately I am scanning hundreds of pages that are one file.  Often it pulls in more than one page meaning I have to rescan and it starts a new file.  I'd like to combine these pages in order but haven't determined how to do that yet.  Hopef

  • Need help w/DW CS3 Spry image substitution

    I have put up a page at http://tstpg.miahi53.com to demonstrate my problem. When the master data on the left is clicked the detail data on the right (under the image area) changes but the image never appears. What have I done wrong? How do I correct

  • Deleting Skype

    I want to be able to delete my skype account permenantly. Please help me i really want to be able to delete my skype for security reasons.