How To Install pyxtrlock on Fedora 34
Introduction
In this tutorial we learn how to install pyxtrlock
on Fedora 34.
What is pyxtrlock
pyxtrlock, like its predecessor xtrlock, is a very minimal X display lock program. While pyxtrlock is running, it does not obscure the screen, only the mouse and keyboard are grabbed and the mouse cursor becomes a padlock. Output displayed by X programs, and windows put up by new X clients, continue to be visible, and any new output is displayed normally.
We can use yum
or dnf
to install pyxtrlock
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install pyxtrlock.
Install pyxtrlock on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install pyxtrlock
using dnf
by running the following command:
sudo dnf -y install pyxtrlock
Install pyxtrlock on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install pyxtrlock
using yum
by running the following command:
sudo yum -y install pyxtrlock
How To Uninstall pyxtrlock on Fedora 34
To uninstall only the pyxtrlock
package we can use the following command:
sudo dnf remove pyxtrlock
pyxtrlock Package Contents on Fedora 34
/usr/bin/pyxtrlock
/usr/lib/python3.9/site-packages/pyxtrlock
/usr/lib/python3.9/site-packages/pyxtrlock/X.py
/usr/lib/python3.9/site-packages/pyxtrlock/__init__.py
/usr/lib/python3.9/site-packages/pyxtrlock/__pycache__
/usr/lib/python3.9/site-packages/pyxtrlock/__pycache__/X.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyxtrlock/__pycache__/X.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyxtrlock/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyxtrlock/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyxtrlock/__pycache__/utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyxtrlock/__pycache__/utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyxtrlock/__pycache__/xcb.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyxtrlock/__pycache__/xcb.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyxtrlock/utils.py
/usr/lib/python3.9/site-packages/pyxtrlock/xcb.py
/usr/share/applications/pyxtrlock.desktop
/usr/share/doc/pyxtrlock
/usr/share/doc/pyxtrlock/CHANGELOG
/usr/share/doc/pyxtrlock/COPYING
/usr/share/doc/pyxtrlock/README.md
/usr/share/pixmaps/pyxtrlock.png
/usr/share/pyxtrlock
/usr/share/pyxtrlock/lock.pickle
References
Summary
In this tutorial we learn how to install pyxtrlock
on Fedora 34 using yum and dnf.