On Friday, November 20th, 2026 at 11:14 AM, Rich Shepard 
<[email protected]> wrote:

> On Fri, 20 Nov 2026, Ben Koenig via PLUG wrote:
> 
> > USB automounting in XFCE is a function of Thunar. If you want to know
> > where thunar puts stuff, start by actually using Thunar to view the
> > contents of a USB, and research from there. The file manager GUI is just a
> > frontend to a lot of stuff happening under the hood.
> 
> Ben,
> 
> So far I've learned that on the desktop Settings -> File Manager locks the
> system; couldn't logout properly using a different console. On the laptop I
> see that File Manager = Thunar and when I insert a USB flash drive it shows
> up in Thunar's 'Computer' display as 'stick' (one of the entries in
> /etc/fstab) and as 'USB SanDisk ...'. No menu shows me where it's mounted.
> 
> However, running `lablk -f' shows it mounted on /media/thumb.
> 
> > This is one of those "teach him to fish, and he eats for a lifetime"
> > moments. Open up a USB stick in the Thunar GUI and use the "open a
> > terminal here" option to get a terminal window in the location where the
> > USB stick was mounted. Since you are familiar with terminal commands
> > getting the preset working directory should be trivial.
> 
> There is no 'open a terminal here' on the File, Edit, View, Go, or Help
> menus.
> 
> > For right now, leverage the Thunar GUI to figure out where it puts stuff.
> > You can decide later whether or not you want to add it into your workflow.
> 
> So, I click on the 'USB SanDisk' icon and it displays the existing file name
> in a Thunar window. It shows /media/thumb in the location bar. BUT ...
> 
> Closing Thunar and inserting the USB flash drive `lsblk -f' tells me it's
> mounted on /media/thumb.
> 
> So, I don't need Thunar/File Manager to automount a portable flash drive on
> the laptop, it mounts on the /etc/fstab mount point.
> 
> Whether that also works on the desktop I'll test some other time when a
> reboot won't interrupt my work flow.
> 
> Thanks and carpe weekend,
> 
> Rich


Something to consider: /media is a legacy location. This is where old 
automounters would put removable devices and only exists on modern 
slackware for legacy reasons.  By default, nothing on Slackware actually
uses /media, it just exists. 

As a rule, if you see ever see something mounted in /media then you know
it is a result of something you configured. Makes it easier to track down
the cause of any problems you encounter.


XFCE will defer to fstab, and only engage the automounter if there 
is no matching line. This technically won't break anything but can create 
some strange scenarios. It also puts more work on you to keep track of 
things so  highly recommend moving away from fstab entries for USB mounts. 

I generally prefer to let the automated system handle these kinds of 
mundane tasks so I can focus on more interesting things. That also means
my /etc/fstab never causes problems because there's nothing in there that 
can screw up!

Like they say in Slackware land... K.I.S.S. 
-Ben

Reply via email to