PDA

View Full Version : [SOLVED] Can't change background



bros
January 8th, 2011, 12:45 PM
I have Ubuntu 10.10 Desktop Edition on my HP Mini 210-1100. By using the application Ubuntu Tweak I tried several times to change my background, the pics are in File System>usr>share>backgrounds. Right now I'm trying to add new wallpapers in the backgrounds folder but every time I got this message:


Error while moving "1280_nfl_wallpaper.jpg".
There was an error moving the file into /usr/share/backgrounds.
Error moving file: Permission denied


Than I went to backgrounds folder>properties>permissions I got this message on the bottom of the window:




You are not the owner, so you cannot change these permissions.



Please help me! Thank you^^
Bros

josepaul
January 8th, 2011, 01:07 PM
Open up terminal (Applications>accessories>Terminal) then try


sudo ubuntu-tweak

and then try to change the background.

bros
January 8th, 2011, 01:12 PM
Open up terminal (Applications>accessories>Terminal) then try


sudo ubuntu-tweakand then try to change the background.

I can only use the pics that are already in that folder but not others...

josepaul
January 8th, 2011, 01:15 PM
I can only use the pics that are already in that folder but not others...

ok, so you're trying to copy these images to this folder right?

usr/share/backgrounds

Just use sudo when you're copying. Your problem is that when you try that command, it has insufficient rights to copy a file to a folder like that. So when you use sudo, you give it enough rights.

E.g. I have a background I wanna copy in this folder /home/username/Pictures called xyz.jpg

So I open up terminal and type in
sudo cp /home/username/Pictures/xyz.jpg /usr/share/backgrounds/xyz.jpg

bros
January 8th, 2011, 01:44 PM
ok, so you're trying to copy these images to this folder right?

usr/share/backgrounds

Just use sudo when you're copying. Your problem is that when you try that command, it has insufficient rights to copy a file to a folder like that. So when you use sudo, you give it enough rights.

E.g. I have a background I wanna copy in this folder /home/username/Pictures called xyz.jpg

So I open up terminal and type in
sudo cp /home/username/Pictures/xyz.jpg /usr/share/backgrounds/xyz.jpg

Yes, I'm trying to copy new pics in that folder but I can't. I tried to use sudo cp but this directory doesn't work...

josepaul
January 8th, 2011, 01:52 PM
Yes, I'm trying to copy new pics in that folder but I can't. I tried to use sudo cp but this directory doesn't work...

Where is this picture that you wanna copy? e.g. where's "1280_nfl_wallpaper.jpg"

bros
January 8th, 2011, 01:53 PM
Where is this picture that you wanna copy? e.g. where's "1280_nfl_wallpaper.jpg"

/home/bros/Pictures/Bros Pics/Backgrounds/1280_nfl_wallpaper.jpg

josepaul
January 8th, 2011, 01:57 PM
/home/bros/Pictures/Bros Pics/Backgrounds/1280_nfl_wallpaper.jpg

post output when you type in this:


sudo cp "/home/bros/Pictures/Bros Pics/Backgrounds/1280_nfl_wallpaper.jpg" "/usr/share/backgrounds/1280_nfl_wallpaper.jpg"

bros
January 8th, 2011, 02:05 PM
PERFECT! Thank you very much for your help!^^