Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 38

Thread: Wallpaper \ Background changing with Unity Ubuntu 11.10

  1. #11
    Join Date
    Oct 2009
    Location
    Fort Lauderdale, FL, USA
    Beans
    5
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Wallpaper \ Background changing with Unity Ubuntu 11.10

    Thank you drpain

  2. #12
    Join Date
    Oct 2011
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Wallpaper \ Background changing with Unity Ubuntu 11.10

    Quote Originally Posted by drpain View Post
    It does require some Linux / Ubuntu know-how. Lets maybe do a checklist:


    1. ) Is Python Installed (Yes / No) ?

    You can install it using the following command in your terminal:

    sudo apt-get install python

    Or you can install Python in your Ubuntu Software Center


    2. ) Do you know what the absolute path of your wallpaper folder is (Yes / No)?

    For example if my username is rudi and my wallpapers are in my home folder then it would be /home/rudi/wallpapers I hope this makes sense to you.
    Cool script!!!

    Wanted to share my modification to set the default path to /home/username/Pictures folder for all interested

    # Import socket as well
    import socket

    # Determine hostname/username on machine
    hostName = socket.gethostname()

    # Set /home/user/Pictures as default path
    defaultPath = "/home/%s/Pictures" % hostName

    # Set Path
    path = raw_input("Enter the path of the directory that contains your Wallpapers\neg. /home/%s/Pictures: " % hostName)

  3. #13
    Join Date
    Oct 2009
    Beans
    25

    Talking Re: Wallpaper \ Background changing with Unity Ubuntu 11.10

    Quote Originally Posted by Pynalysis View Post
    Cool script!!!

    Wanted to share my modification to set the default path to /home/username/Pictures folder for all interested

    # Import socket as well
    import socket

    # Determine hostname/username on machine
    hostName = socket.gethostname()

    # Set /home/user/Pictures as default path
    defaultPath = "/home/%s/Pictures" % hostName

    # Set Path
    path = raw_input("Enter the path of the directory that contains your Wallpapers\neg. /home/%s/Pictures: " % hostName)
    Awesome! I am just glad so many of you used it, I previously posted a shell script which ran every five minutes but I don't think anyone used it. Nice variation there, shot for sharing!

  4. #14
    Join Date
    Nov 2008
    Beans
    36

    Re: Wallpaper \ Background changing with Unity Ubuntu 11.10

    Don't wish to slag the Ubuntu team off but this seems like a very basic feature which I expected to see in 11.10 and was very disappointed not to find. I thought I was going to have to mock up something shoddy but this python script is very well done and has made me a happy penguin. 8>
    Thanks drpain! <3

  5. #15
    Join Date
    Oct 2009
    Beans
    25

    Re: Wallpaper \ Background changing with Unity Ubuntu 11.10

    Same here, the Ubuntu team is awesome and I am sure they have bigger fish to fry then something like this. I am just glad you were able to use the hack.

    Who knows if they will have future releases using this desktop manager, it would server us well if someone can creates a GUI version of this (I am a very basic programmer at best and PHP is my forte).

  6. #16
    Join Date
    Oct 2007
    Location
    New Zealand
    Beans
    13
    Distro
    Kubuntu 22.04 Jammy Jellyfish

    Re: Wallpaper \ Background changing with Unity Ubuntu 11.10

    Thanks drpain, finally i found something that works!! script worked like a charm.

  7. #17
    Join Date
    Dec 2011
    Beans
    1

    Re: Wallpaper \ Background changing with Unity Ubuntu 11.10

    So You can use this script or crebs to make xml files ... I had an issue where their were files that wouldnt work so i thought it was the script but after trying to compile the xml with Crebs i got some errors about some files that couldnt be included.
    So I removed those files and things started working ok.
    so now i want to have multiple slideshows to switch from (this is working for some but not all dunno why)

    go to /usr/share and now open gnome-background-properties as root and then edit the ubuntu-wallpapers.xml
    with the following code to point to each new slide show you make.

    <wallpaper deleted="false">
    <name>YOUR NAME HERE</name>
    <filename>/usr/share/backgrounds/Contest/Contest.xml</filename>
    <options>Scale</options>
    </wallpaper>

    (replace the bold fields with your names and paths)
    this way you can also point to the crebs directory as well
    then save and exit the file and logout or restart
    Last edited by Dr3wbi3; December 15th, 2011 at 10:31 AM.

  8. #18
    Join Date
    Feb 2007
    Beans
    37

    Re: Wallpaper \ Background changing with Unity Ubuntu 11.10

    Im having trouble with this script.

    I installed it, it worked, it did what i wanted.

    Then i had to reboot and suddenly i cant access anything in my desktop and i am very new to linux/ubuntu so i don't know the necessary shortcuts or anything.

    I appreciate any help!

  9. #19
    Join Date
    Feb 2007
    Beans
    37

    Re: Wallpaper \ Background changing with Unity Ubuntu 11.10

    I'm pretty sure Unity somehow crashed and it is not getting up.

    I tried unity --reset but it just responded something like "no window display enabled".

    Does anyone know what went wrong?? >_< I think i'm looking in all the wrong places...

  10. #20
    Join Date
    Dec 2011
    Beans
    1

    Re: Wallpaper \ Background changing with Unity Ubuntu 11.10

    thank you

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •