From: Niklas Schmidt <snlabs@posteo.net>
To: 101ab@tuta.io
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: How to open: Usb, hdd and other storage sata
Date: Fri, 14 Oct 2022 18:46:15 +0000 [thread overview]
Message-ID: <20221014184615.h54p3nex3chmz6ak@posteo.de> (raw)
In-Reply-To: <NELJG14--3-2@tuta.io>
Hello everybody,
I can't speak for Thunar or any other graphical file manager, but I
think many file managers do in some way or another support File System
in Userspace (FUSE).
I use Udisks to mount storage media without "sudo".
In my operating system definition, I add my user to the fuse group:
(users
(cons* (user-account (name "nschmidt")
(group "users")
(supplementary-groups '("fuse" "wheel")))
%base-user-accounts))
(groups
(cons* (user-group (name "fuse"))
%base-groups))
(packages
(append
(list fuse gvfs udisks)
%base-packages))
For this I had to add:
(use-service-modules desktop)
(use-package-modules freedesktop ; udisks
gnome ; gvfs
linux) ; fuse
Mounting and unmounting goes like so:
$ udisksctl mount -b /dev/sdb
Mounted /dev/sdb at /media/nschmidt/3437-6CE7.
$ udisksctl unmount -b /dev/sdb
(Use lsblk to find out the block device node path /dev/sdX.)
I am not sure if this is of any help with Thunar. Currently, I do not
have a storage medium at hand to test either.
Best regards
Niklas
prev parent reply other threads:[~2022-10-14 18:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-14 11:46 How to open: Usb, hdd and other storage sata 101ab--- via
2022-10-14 16:00 ` kiasoc5
2022-10-14 18:46 ` Niklas Schmidt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221014184615.h54p3nex3chmz6ak@posteo.de \
--to=snlabs@posteo.net \
--cc=101ab@tuta.io \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).