question: public static Object detectLinuxDefaultFileBrowser ( Map < String , Object > fileBrowsers ) { ArrayList < String > command = new ArrayList < String > ( ) ; command . add ( "xdg-mime" ) ; command . add ( "query" ) ; command . add ( "default" ) ; command . add ( "inode/directory" ) ; if ( fileBrowsers == null ) { fileBrowsers = new HashMap < String , Object > ( ) ; fileBrowsers . put ( ".*" , "*" ) ; } return Utils . isExpectedCommandOutput ( command , fileBrowsers ) ; }
target:  detects programs from $DESKTOP_SESSION