I would like to set the following picture as desktop background, but Gnome 3.28.2 (Ubuntu 18.04.2 LTS) doesn't recognize it. The desktop background is black.

Astronomical picture

Output of the command ls -ld $HOME/Pictures:

drwxr-xr-x 3 ata ata 4096 Jul 14 20:59 /home/ata/Pictures
  • I have no problem setting this as my wallpaper.
    – Jos
    Jul 14, 2019 at 15:16
  • Have you tried any other pictures? Are you able to set your background at all or is it this particular photo?
    – Kyle
    Jul 14, 2019 at 15:34
  • 1
    @Kyle: Apart from the supplied desktop wallpapers Gnome does not recognize any other pictures in the /home/USER/Pictures directory. Jul 14, 2019 at 15:46
  • 1
    But you can right-click on any image in the file manager and choose "set as wallpaper" , can't you?
    – Jos
    Jul 14, 2019 at 16:37
  • Yes, that works. Jul 14, 2019 at 18:47

1 Answer 1

chmod +x $HOME/Pictures

Make sure that your Pictures folder is accessible by others.

  • 1
    @Melebius +x is interpreted differently for directories. +x for directories gives traverse permissions, not executable permissions. I suggest you read through man chmod to understand this.
    – Thomas Ward
    Jul 15, 2019 at 20:31
  • @ThomasWard I know the difference but this answer seems to mix them together IMHO. Please read the comments to the question, too. I doubt missing execute permission is the problem here as OP can view the folder contents in file manager.
    – Melebius
    Jul 16, 2019 at 4:29
  • @ThomasWard I’ve just edited the answer in order to bring the contents into line.
    – Melebius
    Jul 16, 2019 at 6:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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