I am messing with Devmon to automatically mount a USB drive. The command I have in a config file is:
devmon --exec-on-drive "pcmanfm %d"
This will open all directories on a mounted USB drive when the drive is inserted. This works great for one word directories. The issue is when opening a directory when it has a space in the name (two word directories). I get an error message that it isn't recognized. I tried using Dolphin and the same thing happens. If I open PCManFM or Dolphin manually then things are fine. How can I open them automatically?
Question
eusanpe
Hello All,
I am messing with Devmon to automatically mount a USB drive. The command I have in a config file is:
This will open all directories on a mounted USB drive when the drive is inserted. This works great for one word directories. The issue is when opening a directory when it has a space in the name (two word directories). I get an error message that it isn't recognized. I tried using Dolphin and the same thing happens. If I open PCManFM or Dolphin manually then things are fine. How can I open them automatically?
Thanks,
Tony
Link to comment
Share on other sites
1 answer to this question
Recommended Posts