use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Void is a general purpose operating system, based on the monolithic Linux® kernel. Its package system allows you to quickly install, update and remove software; software is provided in binary packages or can be built directly from sources with the help of the XBPS source packages collection.
the front page of the internet.
and join one of thousands of communities.
USB auto mount? (self.voidlinux)
submitted 3 years ago by Pointers58
Any way to automatically mount USBs? I installed void ( base ) and it doesn't mount, in the xfce version it works normally
Post a comment!
[–][deleted] 1 point2 points3 points 3 years ago (1 child)
You can install gvfs.
[–]Pointers58[S] 0 points1 point2 points 3 years ago (0 children)
Already installed
[–]-biopsin 1 point2 points3 points 3 years ago (2 children)
You can install udevil.
[–]Pointers58[S] 0 points1 point2 points 3 years ago (1 child)
[–]legz_cfc 0 points1 point2 points 3 years ago* (0 children)
you need to also run it (the devmon script) via your DE or .xinitrc or something so it's always running in the background. Then, when you insert a USB stick it follows the rules of /etc/udevil/udevil.conf and mounts it automatically.
Use the udevil script to unmount (i.e. no need to be root)
[–]SunkenStone 1 point2 points3 points 3 years ago (0 children)
udisks2 or udiskie (I prefer the former) is usually required for automount. You can add the other suggestions on top of that if it doesn't work by itself.
udisks2
udiskie
[–]OldHighway7766 0 points1 point2 points 3 years ago (1 child)
You need thunar-volman installed and then start 'thunar --daemon'
[–]Pointers58[S] 0 points1 point2 points 3 years ago* (0 children)
I already have it installed, but it says unknown format and does not recognize the usb. I forgot the daemon thanks
[–]Vvaz_e 0 points1 point2 points 3 years ago (0 children)
for udiskie auto mount usb devices `````sh sudo xbps-install ntfs-3g udiskie sudo nvim /etc/polkit-1/rules.d/50-udiskie.rules
polkit.addRule(function(action, subject) { var YES = polkit.Result.YES; // NOTE: there must be a comma at the end of each line except for the last: var permission = { // // required for udisks1: "org.freedesktop.udisks.filesystem-mount": YES, "org.freedesktop.udisks.luks-unlock": YES, "org.freedesktop.udisks.drive-eject": YES, "org.freedesktop.udisks.drive-detach": YES, // required for udisks2: "org.freedesktop.udisks2.filesystem-mount": YES, "org.freedesktop.udisks2.encrypted-unlock": YES, "org.freedesktop.udisks2.eject-media": YES, "org.freedesktop.udisks2.power-off-drive": YES, "org.freedesktop.udisks2.block-devices": YES, // required for udisks2 if using udiskie from another seat (e.g. systemd): // "org.freedesktop.udisks2.filesystem-mount-other-seat": YES, // "org.freedesktop.udisks2.filesystem-unmount-others": YES, // "org.freedesktop.udisks2.encrypted-unlock-other-seat": YES, // "org.freedesktop.udisks2.eject-media-other-seat": YES, // "org.freedesktop.udisks2.power-off-drive-other-seat": YES }; return permission[action.id]; }); `````
/etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla [udisks] Identity=unix-group:plugdev Action=org.freedesktop.udisks.* ResultAny=yes [udisks2] Identity=unix-group:plugdev Action=org.freedesktop.udisks2.* ResultAny=yes [udisks3] Identity=unix-group:plugdev Action=org.freedesktop.UDisks2.* ResultAny=yes
[udisks] Identity=unix-group:plugdev Action=org.freedesktop.udisks.* ResultAny=yes [udisks2] Identity=unix-group:plugdev Action=org.freedesktop.udisks2.* ResultAny=yes [udisks3] Identity=unix-group:plugdev Action=org.freedesktop.UDisks2.* ResultAny=yes
[–]lqlarry 0 points1 point2 points 3 years ago (3 children)
Install udisks2 and udiskie. Add udiskie to your autostart.
udiskie &
[–]Pointers58[S] 0 points1 point2 points 3 years ago* (2 children)
I managed to mount it, but for some reason it only mounts the ventoy folder my files do not appear. I used devmon.
Edit: Solved, I logged in as root :)
[–]lqlarry 0 points1 point2 points 3 years ago* (1 child)
I use PCmanfm, and the only way I can view mounted folders with PCmanfm is to start my session with dbus-launch i3 or exec dbus-launch i3. The first way is changing my i3.desktop file to that, or the second one is for your .xinitrc. Just choose whichever way you are logging in. It works on all the window managers that I've got installed. (bspwm, i3-gaps, qtile, xmonad, awesomewm, spectrewm & herbstluftwm) You also need to make sure you have the dbus service running.
dbus-launch i3
exec dbus-launch i3
You shouldn't have to login as root. Also, you need a policy manager like polkit-gnome to start in your autostart.
Thanks, I'm coming from Arch. I'm adapting to the void philosophy where everything is manually installed and configured, and I like that :)
π Rendered by PID 107612 on reddit-service-r2-loggedout-69cd847d86-v6btn at 2026-07-21 06:27:06.797083+00:00 running 1bce727 country code: JP.
Want to add to the discussion?
Post a comment!