I have set up Thunar with these plugins:
programs.xfconf.enable = true;
programs.thunar.enable = true;
programs.thunar.plugins = with pkgs.xfce; [
thunar-volman
thunar-archive-plugin
thunar-media-tags-plugin
];
services.gvfs.enable = true;
services.tumbler.enable = true;
I can see my local disks getting listed in Thunar’s Side Pane but when I click on them to mount, it gives me this error:
Failed to mount "Local Disk"
Not authorized to perform operation.
How to fix this?
nixup
February 8, 2024, 11:37am
2
could you please provide the output of mount /path/to/disk /path/to/mountdir
?
Also, do that with sudo and do ls -l
on the mounted dir please
1 Like
$ mount /dev/sda6 /tmp/mount-temp/
mount: /tmp/mount-temp: must be superuser to use mount.
dmesg(1) may have more information after failed mount system call.
sudo mounts it.
$ ls -l /tmp/
drwxr-xr-x 26 root root 4096 Jun 6 2023 mount-temp/
nixup
February 8, 2024, 12:55pm
4
Hm.
Maybe launch Thunar from the command line and see the “logs” there?
When I launch thunar from terminal, it launches it and returns the prompt so I can not see thunar logs.
nixup
February 8, 2024, 2:24pm
6
maybe try launching it as root?
If I do sudo thunar
, my other disks wouldn’t get shown in Devices section at the left pane.
nixup
February 8, 2024, 2:39pm
8
Damn.
I’m afraid that I can’t help you with this…