As explained in Installed Mugshot but it won't launch
Seems like chfn and python3-gi don’t exist in the fedora repos anymore.
I added a .face file with my image I wanted to my home directory, and it still won’t update the icon. Yes, the whisker menu still tries to use mugshot for this.
How do I get this to work?
If I interpret the question properly
- chfn is a command that is contained in the util-linux package.
- Specifically what was python3-gi? It is not a separate package but its use may have been wrapped into another package.
As far as I can tell mugshot seems to come from a copr repo so the dependency list may not be updated. From that copr repo it shows as last updated 5 years ago.
On github it shows as last released in 2020 and definitely shows python3-gi as both build and runtime requirements so I guess your task if you wish to use mugshot would be to locate a version of python3-gi that works on f40.
A little bit of searching seems to indicate that for the venv it may be possible to use pip and install the pgi module, or to install PyGObject to meet that requirement.
In fact I seem to have that module installed and this is the result from dnf.
# dnf provides /usr/lib64/python3.12/site-packages/gi
Last metadata expiration check: 0:28:00 ago on Wed 24 Jul 2024 08:43:32 PM CDT.
gom-0.5.2-1.fc40.x86_64 : GObject to SQLite object mapper library
Repo : @System
Matched from:
Filename : /usr/lib64/python3.12/site-packages/gi
python3-gobject-base-3.48.2-1.fc40.x86_64 : Python 3 bindings for GObject Introspection base package
Repo : @System
Matched from:
Filename : /usr/lib64/python3.12/site-packages/gi
So there are 2 different packages installed that provide modules that are in gi.
2 Likes
For the GitHub version, Looks like we also need to install the python3-distutils-extra
from dnf:

Afterward, we need to chmod +x
the setup.py then ./setup.py install
to install mugshot. Once it’s installed, you will need to copy the XML file in mugshot-0.4.3/data/glib-2.0/schemas/
to either /usr/local/share/glib-2.0/schemas/
(which I did) or /usr/share/glib-2.0/schemas/
After that, you will need to run glib-compile-schemas ./
within either /usr
schemas directory you copied it to, and not the mugshot directory. You can run mugshot
after this:

1 Like
Could you maybe update instructions on the Github page? That would likely help. The COPR maintainer @casjay might be gone.
I’m not the github maintainer. The github instructions are also not in English, so it’s unlikely they will update it for English.
1 Like
Yes I meant a PR of course.
How is this not in english?
I meant another post that I originally read: Como instalar mugshot in Fedora 36 Xfce
I got confused because those were the only ones with detailed commands/steps. The github that I got the files from absolutely has English: GitHub - bluesabre/mugshot: Mugshot - User Management Utility for Linux
I put the installation instructions in this issue report in the meantime: Fedora support · Issue #31 · bluesabre/mugshot · GitHub
1 Like