Stop Rox file manager automatic opening when a desktop drive icon is clicked on to mount it

Moderator: Forum moderators

Post Reply
User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

Stop Rox file manager automatic opening when a desktop drive icon is clicked on to mount it

Post by bigpup »

This is provided by MochiMoppel

To stop the automatic opening of a ROX file manager window, when a desktop drive icon is clicked on to mount the drive.

To prevent this it needs a small change in the file /usr/local/pup_event/drive_all

1) Open /usr/local/pup_event/drive_all with a text editor, e.g. geany

2) find line

Code: Select all

defaultfilemanager_x /mnt/$xONEDRVNAME &

In my version it's line 165

3) comment out this line by preceding it with a '#'

Code: Select all

# defaultfilemanager_x /mnt/$xONEDRVNAME &

4) save the file

From now on clicking on the icon of an unmounted drive will just mount it (notice the mount symbol on the icon)
Subsequent clicks will open the drive in Rox showing it's contents.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

simfann
Posts: 10
Joined: Tue Mar 19, 2024 7:50 pm
Has thanked: 2 times
Been thanked: 6 times

Re: Stop Rox file manager automatic opening when a desktop drive icon is clicked on to mount it

Post by simfann »

Thank you for this info. Automatic opening of Rox has always annoyed me.

Post Reply

Return to “Tips & Tweaks”