Changing login screen wallpaper

Hello People,
I saw a recent thread here on how to change login screenwallpaer but it wasnt able to provide me the solution as it was locked without being resolved

I have the very same problem
the thing is whenever i input /usr/share/backgrounds/ in terminal in lightdm-settings i always get this one error →
$ sudo cp /home/megumi/Pictures/megumi.jpg/usr/share/backgrounds/
cp: missing destination file operand after ‘/home/megumi/Pictures/megumi.jpg/usr/share/backgrounds/’
Try ‘cp --help’ for more information.
Can you guys help me out for a bit

1 Like

You aren’t saying where you want to copy the file to. The cp command works like cp source destination. In your command there is only a source so you are getting an error.

I tried giving it Desktop as the destination but it still showst this error

$ sudo cp /home/megumi/Pictures/megumi.jpg/Desktop/usr/share/backgrounds/

cp: missing destination file operand after ‘/home/megumi/Pictures/megumi.jpg/Desktop/usr/share/backgrounds/’
Try ‘cp --help’ for more information.

Should actually read:
sudo cp /home/megumi/Pictures/megumi.jpg /usr/share/backgrounds/

Mind the space between source and target!

But istn this supposed to be wrong as said by @dalto above

There is also a space in between. Can you spot it?

I am Sorry but can you phrase it a bit clearly

sudo cp {source-path/filename} {target-path/}

in this case
{source-path/filename} = /home/megumi/Pictures/megumi.jpg
{target-path/} = /usr/share/backgrounds/

Copy from Source to Destination
cp /source/path/file.png /destination/path/file.png

The clearest I can get! :point_up:

You need to add a space.

sudo cp /home/megumi/Pictures/megumi.jpg /usr/share/backgrounds/

That command will copy the /home/megumi/Pictures/megumi.jpg file into the /usr/share/backgrounds/ directory, creating the /usr/share/backgrounds/megumi.jpg file.

Thankyou so much guys with all of yours guidance i was able to change my login screen wallpaper

Thankyou so much for helpin dumb ol me

You are the best
Regards

Thankyou so much guys with all of yours guidance i was able to change my login screen wallpaper

Thankyou so much for helpin dumb ol me

You are the best
Regards

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.