Background Wallpaper Reset

Discussion in 'Linux' started by TheShinyDemon, Aug 23, 2008.

  1. TheShinyDemon

    TheShinyDemon

    Joined:
    Aug 23, 2008
    Messages:
    13
    Likes Received:
    0
    Hi,

    I have got compiz setup on this thing now and it works a charm.

    The only remaining issue is that when I reboot, my wallpaper has been swapped for a solid colur blue background.

    I can fix this by going into the Desktop Settings and choosing the gradient option from the Background type menu.

    This is a real annoyance, anyone had experience with this?

    Thanks in advance.
     
    TheShinyDemon, Aug 23, 2008
    #1
  2. TheShinyDemon

    annafil

    Joined:
    Aug 12, 2008
    Messages:
    327
    Likes Received:
    0
    Location:
    Malaysia
    the original wallpaper is here

    /usr/share/xfce4/backdrops/wallpaper.png

    what happens when you try to add it back?
     
    annafil, Aug 23, 2008
    #2
  3. TheShinyDemon

    TheShinyDemon

    Joined:
    Aug 23, 2008
    Messages:
    13
    Likes Received:
    0
    I should have mentioned I am not using the standard Aspire interface. I am using the Linpus interface.
     
    TheShinyDemon, Aug 23, 2008
    #3
  4. TheShinyDemon

    IMSancho

    Joined:
    Aug 14, 2008
    Messages:
    95
    Likes Received:
    0
    Location:
    Australia
    try running the following command:
    Code:
    killall -USR1 xfdesktop-xfce
    If that brings your background image back, you can just put it in a script to run at startup.
     
    IMSancho, Aug 23, 2008
    #4
  5. TheShinyDemon

    TheShinyDemon

    Joined:
    Aug 23, 2008
    Messages:
    13
    Likes Received:
    0
    The script does indeed work.

    I tried adding it to .bash_profile and rc.local but it doesnt seem to work at bootup.

    Any ideas?
     
    TheShinyDemon, Aug 25, 2008
    #5
  6. TheShinyDemon

    IMSancho

    Joined:
    Aug 14, 2008
    Messages:
    95
    Likes Received:
    0
    Location:
    Australia
    It needs to be run after xfdesktop-xfce is up and running, so the way I do it is create a new script, mine is /usr/bin/xfdesktopsancho, that contains the following:

    Code:
    #!/bin/sh
    /usr/bin/xfdesktop-xfce &
    sleep 5
    killall -USR1 xfdesktop-xfce &
    and then make that executable with "sudo chmod 755 /usr/bin/<yourfilename>" and call that from the client0 line of your /etc/xdg/xfce4-session/xfce4-session.rc instead of calling xfdesktop-xfce directly.

    Code:
    Client0_Command=xfdesktopsancho
    Client0_PerScreen=False
     
    IMSancho, Aug 26, 2008
    #6
  7. TheShinyDemon

    Kasper22

    Joined:
    Aug 26, 2008
    Messages:
    1
    Likes Received:
    0
    Or u can just find the wallpaper (wallpaper.png and default.png) rename them and copy the new wallpaper to the folder as wallpaper.png and default.png.

    Kasper
     
    Kasper22, Aug 26, 2008
    #7
  8. TheShinyDemon

    IMSancho

    Joined:
    Aug 14, 2008
    Messages:
    95
    Likes Received:
    0
    Location:
    Australia
    True but renaming and replacing files everytime you want a new wallpaper is a bit more of a hassle then simply using the gui. Also renaming the files doesn't give you the option to use a wallpaper list to pick a random one on startup. (although a few more script modifications are required to counter the list being changed sometimes)
     
    IMSancho, Aug 27, 2008
    #8
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.