mounting USB keys

A colleague which recently moved from KDE to fvwm asked me if there is a way to have an USB key mounted automagically when inserted, as apparently it happens on KDE.

I had no clue. Personally I do mount the USB key manually using alias
sudo mount -t auto -o uid=xxxx,gid=yyyy /dev/sdh1 /mnt

but if there would be a way to know which utility KDE uses for that, and howto put it in .fvwmrc it won’t be a bad thing.

Use PcManFm or SpaceFm. Both have automount support.

– Thomas –