Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want my desktop background to also be the background for the greeter so I type this into terminal

 sudo cp /home/luke/Pictures/Wallpapers/starfish.jpg /usr/share/backgrounds/

the copy works fine, however when I go to backgrounds the thumbnail is a question mark and the photo cannot be opened nor set as the background.

To troubleshoot I typed in

gksudo nautilus /usr/share/backgrounds/

and voilà, the photo has the correct thumbnail, and is able to be opened with a double click.

How do I get this problem to go away? I copied the exact same wallpaper to the exact same directory on my laptop and set it as my wallpaper (and greeter background) with no problems. Why won't it work on my desktop?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It seems you do not have the privileges to open that file. https://en.wikipedia.org/wiki/Chmod#Command_line_examples

 chmod 777 /usr/share/backgrounds/starfish.jpg

oh... you probably need to run it as sudo.

share|improve this answer
    
YES thank you so much. I have never dealt with chmod before. Now I'm just confused about why it worked on my laptop... –  lukesau Aug 27 '12 at 3:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.