       exec "#{@fileManager} #{configPath}"
 
   getFileManager: ->
+    fm = atom.config.get('browse.linuxFileManager');
+
+    if typeof fm isnt 'undefined'
+        console.log "#{@self} Load from config: #{fm}"
+        return fm
+
     switch process.platform
       when "darwin"
         return "open"

{CompositeDisposable} = require 'atom'

module.exports = BrowsePackages =
  browsePackagesView: null
  subscriptions: null
  fileManager: null
  configFile: atom.config.getUserConfigPath()

    # Get parent folder of active file
    editor = atom.workspace.getActivePaneItem()
    file = editor?.buffer.file
    
    if file isnt null
      filePath = path.dirname(file?.path)

      # Open packages folder
      exec "#{@fileManager} #{filePath}"
      return

    atom.notifications.addWarning("atom-browse", detail: "No active file", dismissable: false)

  browseConfig: ->
    configPath = path.dirname(@configFile)
