In my Manjaro Gnome, Inserted USB devices are detected, but no longer mount on insertion. It affects both of my Manjaro systems. This has been the case for a few months now. I have been mounting by using the Disks utility, so that is a workaround. But, I would like them to just mount when inserted. is there a fix for this?
Iād reckon they are listed in the file manager - then you can just click on it to mount it.
Use dconf to change the behaviour as described here How to disable media automount in GNOME - Red Hat Customer Portal
Simply change false to true
gsettings set org.gnome.desktop.media-handling automount true
gsettings set org.gnome.desktop.media-handling automount-open true
systemctl restart gdm.service
dconf-editor showed automount was āonā.
I then ran the first command you gave:
[dmn@Kayleigh ~]$ sudo gsettings set org.gnome.desktop.media-handling automount true
(process:4238): dconf-WARNING **: 06:45:43.126: failed to commit changes to dconf: Error spawning command line ādbus-launch --autolaunch=7faeef11b4424c26af2bf9ff035d097d --binary-syntax --close-stderrā: Child process exited with code 1
I also ran the last command (systemctl). No change in behavior. Device still not being mounted when inserted.
That shouldnāt be executed as root
, with sudo
, as I believe the command was specifiedā¦
In Gnome Disks under mount options do you have mount at system startup checked.
Read that wrong was thinking it was an external usb drive.
I reran the two commands without sudo - (the systemctl still needed authorization). But there is no difference. Disks still shows the USB devices unmounted after insertion.
If you do use gnome disks - then it will be added to fstab - that makes no sense.
You can check with the source - Red Hat uses gnome - they know what works.
I have checked a Live ISO with gnome and installed dconf-editor and it is straightforward to change those settings for the current user.
If that does work on your system - - I have no idea.
If the disks are formatted with ntfs it could be a dirty filesystem.
Have you opened the filemanager - plugged devices appear in the leftmost pane - you click it and it mounts.
The USB device when mounted with Disks is not being added to /etc/fstab.
As I said, dconf-editor shows automount is ON. But it is not working.
The USB ports seem not at fault, since a device is connected, and will mount when done with Disks (or from Files). But using those is not automounting.
There is no NTFS. These same devices used to automount, and still automount in Ubuntu, for example, So the file system on the devices cannot be at fault. They do mount in Manjaro, just not automount.
Yes, they mount from the file manager as well as Disks - but that is not automounting.
I have very little knowledge of the inner workings of gnome but it is very much like other systems - and I cannot really see why the behaviour would change - unless it is and upstream behaviour decision.
Perhaps you have an extension which is no longer working - would that be likely?
The reason why the automount and autoopen is not working may be a change imposed by the Gnome team.
The argument for such action could be that the device is not trusted - but I donāt know.
Asking a search engine - which you should have done before asking here - reveals a lot of questions on how to disable the feature.
All is referencing the same properties already discussed.
If you know at which date the change occurred then you can search the pacman.log file for the date in question - then look at the package changes - to deduce where the change has most likely entered the system.
Otherwise it is stumbling around in the dark doing more harm than good.
Another way around this could be adding an udev rule to be in effect when a given device identifier is attached to the system.
Gnome - just like Plasma - listen to events - one such event is the detection of an attached USB devices.
The Gnome Master @Yochanan may know precisely what and why.
Until he has had his coffee or tea, please see ā udisks - ArchWiki
I remember udiskie as a service being able to that lifting - you will need as a bare minimum udisks2. But all that is in the link mentioned.
sudo pacman -Syu udisks2 udiskie
The easiest way to find out if this is a user configuration issue, is to create a new user account and try to reproduce it.
In my case auto mounting USB devices works without issues on Gnome.