udiskie is a udisks2 front-end that allows to manage removable media such as CDs or flash drives from userspace.
Its features include:
- automount removable media
- notifications
- tray icon
- command line tools for manual un-/mounting
- LUKS encrypted devices
- unlocking with keyfiles (requires udisks 2.6.4)
- loop devices (mounting iso archives)
- password caching (requires keyutils)
All features can be individually enabled or disabled.
NOTE: support for python2 and udisks1 have been removed. If you need a
version of udiskie that supports python2, please check out the 1.7.X
releases or the maint-1.7 branch.
udiskie is developed on github. Feel free to contribute patches as pull requests here. If you don't have nor want a github account, you can send me the relevant files via email.
To enable pre-commit hooks install pre-commit (or prek) and
enable the Git hook:
pre-commit install
The hooks require ruff, GNU make and the GNU gettext tools.
Further resources:
Udiskie supports translations to different languages. The corresponding files are in the lang subfolder.
If your favorite language is not yet in there, you can request it via issue or email. I will then draft the translation using AI and invite you for review.
Alternatively, you can edit the files manually and submit a pull-request.
There was a self-hosted weblate instance for in-browser editing, but I have since then removed it, in order to decrease the memory usage, attack-surface and maintenance overhead on my server. It was also sometimes slow and its benefits have decreased due to the emergence of AI.
In order to create a new translation, find out the locale
name for your language, e.g. es_ES for Spanish, and create a translation
file in the lang folder as follows:
cd lang make es_ES.po
or simply copy the udiskie.pot to a .po file with the name of the
target locale and start editing. It's also best to fill in your name and email
address.
The translations may become outdated as udiskie changes. If you notice an
outdated translation, please edit the corresponding .po file in submit a
patch, even for very small changes.
In order to test udiskie with your locally edited translation files, type
(still from the lang folder):
export TEXTDOMAINDIR=$PWD/../build/locale export LANG=es_ES.UTF-8 make mo udiskie