Ralf Horstmann <[email protected]> writes: > Hi, > > xdg-open uses "xdg-mime query filetype" to find out the mime type of a given > file. Depending on the desktop environment, xdg-mime uses different backends. > In my case (i3 wm) it falls back to the generic code path, which uses > > file --brief --dereference --mime-type > > Since --brief and --dereference are not recognized, xdg-mime returns an empty > mime type and causes xdg-open to open the given file with a browser instead of > using the preferred application. > > The following patch adds --brief and --dereference to file(1) to address this.
Committed, thanks. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
