1

for example, when I plug in my external hard drive, google-chrome opens file:///media/atj/TOSHIBA%20EXT/

When in sublime text Open Containing Folder opens the folder in the browser too.

Any clue to how I could get to the bottom of this ?

I have tried looking into /usr/share/applications/defaults.list but inode/directory is assigned to nautilus-file-handler.desktop like it should be. So I am really clueless

1 Answers1

0

Enter in terminal this:

sudo gedit /usr/bin/xdg-open

In opened file find this lines (near 532 line)

if [ x"$BROWSER" = x"" ]; then
    BROWSER=links2:links:lynx:w3m
    if [ -n "$DISPLAY" ]; then
        BROWSER=x-www-browser:firefox:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER
    fi
fi

Add in second "BROWSER" line nautilus:

if [ x"$BROWSER" = x"" ]; then
    BROWSER=links2:links:lynx:w3m
    if [ -n "$DISPLAY" ]; then
        BROWSER=nautilus:x-www-browser:firefox:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER
    fi
fi

This should help... maybe.