Profile picture change problem

I just installed fedora on my desk top and laptop but when I went to change the user profile picture on the desk top it didn’t work where as it did on the laptop, I’m wondering what is happening on the desk top to not except the new picture and if any one has run into this before?

Stock photos are just fine its when I use one from my own library.
I’m looking for a fix.

both computers are dells

KDE or Gnome (workstation)?

Gnome (workstation)

Just tried it on KDE and it works as expected. No doubt a Gnome user will be along imminently.

Fellow KDE user and it also works for me.

But I remembered there was another thread recently with the same issue: Change Fedora 43 user avatar

Unfortunately, they never figured out what the issue was, but maybe you can spot something similar to your setup to give you a clue.

One user in the above linked thread said they fixed it by manually copying the picture to the relevant location, which made it available to select.

sudo cp filename.jpg /usr/share/pixmaps/faces

This is more of a workaround, it adds another picture to the default ones provided by the system, then you can pick from that list. It really shouldn’t need this, just selecting an image and have Gnome copy it to some place should be enough.

sudo cp kim401.jpg /usr/share/pixmaps/faces
cp: cannot stat ‘kim401.jpg’: No such file or directory

How dose one define the source directory?

either cd into the directory where the jpg is located, or provide the full path to it… for example

cd ~/Pictures
sudo cp kim401.jpg /usr/share/pixmaps/faces

or

sudo cp ~/Pictures/kim401.jpg /usr/share/pixmaps/faces

The first option throws a password request bout doesn’t make any changes.

If you then cd to
/usr/share/pixmaps/faces
is your picture in there?

The photo is in the local photo library but dose not show in the user picture repository after command line prompt.

What does ls -al /usr/share/pixmaps/faces now show - assuming your kimi401.jpg file was in the location you cd’d into, and you put your password in, it should be there.

Alkternatively, if you tell us where your kimi401.jpg file is, we can give you specific commands to copy it.

drwxr-xr-x. 1 root root 348 Apr 22 13:57 .
drwxr-xr-x. 1 root root 560 Apr 21 14:44 ..
-rw-r–r–. 1 root root 164797 Mar 13 06:20 bicycle.jpg
-rw-r–r–. 1 root root 107001 Mar 13 06:20 book.jpg
-rw-r–r–. 1 root root 71432 Mar 13 06:20 calculator.jpg
-rw-r–r–. 1 root root 84614 Mar 13 06:20 cat.jpg
-rw-r–r–. 1 root root 59609 Mar 13 06:20 coffee2.jpg
-rw-r–r–. 1 root root 37545 Mar 13 06:20 flower2.jpg
-rw-r–r–. 1 root root 48885 Mar 13 06:20 gamepad.jpg
-rw-r–r–. 1 root root 39121 Mar 13 06:20 guitar2.jpg
-rw-r–r–. 1 root root 50165 Mar 13 06:20 headphones.jpg
-rw-r–r–. 1 root root 44924 Mar 13 06:20 hummingbird.jpg
-rw-r–r–. 1 root root 129907 Apr 22 14:03 kim401.jpg
-rw-r–r–. 1 root root 42261 Mar 13 06:20 mountain.jpg
-rw-r–r–. 1 root root 65115 Mar 13 06:20 plane.jpg
-rw-r–r–. 1 root root 101022 Mar 13 06:20 surfer.jpg
-rw-r–r–. 1 root root 103768 Mar 13 06:20 tomatoes.jpg
-rw-r–r–. 1 root root 99009 Mar 13 06:20 tree.jpg

The photo is under files (file system) then photos kim401.jpg

I’m assuming that this is the output from ls -al /usr/share/pixmaps/faces.

It’s definitely there, so assuming Gnome reads images from that directorry, and it’s a valid, Gnome supported jpeg format picture, it should show up in whatever Gnome uses to allow you to select a profile picture.

Log out of Gnome, and log back in?

cp: -r not specified; omitting directory ‘/home/kim’
cp: cannot stat ‘home/kim/Picture/kim401.jpg’: No such file or directory
This is the response I get.

The dell laptop that I also pout fedora on (the same version same usb) allowed me to upload the photo. Both machines are dell.

It’s probably called Pictures (and it’ll be case sensitive), but nevertheless it sounds like you’re tying yourself in knots here.

Perhaps it might be easier if rather than using the CLI and entering commands, you make use of whatever Gnome uses for file management - maybe called Nautilus - I’m not a gnome user so I’m unaware of what they call their software.