Skip to main content
Minor rephrasing and reordering of the text; improve formatting
Source Link
AdminBee
  • 23.6k
  • 25
  • 55
  • 77

Specify Set a specific file manager for org.freedesktop.FileManager1.ShowItems

The following command opens a file manager to show the directory.

dbus-send --session --dest=org.freedesktop.FileManager1 --print-reply \
 --type=method_call /org/freedesktop/FileManager1 \
 org.freedesktop.FileManager1.ShowItems array:string:"file:///path/to/your/directory" string:""

The problem is that the default file manager seems to be random. My guess is the last updated file manager, because it changed after a file manager was updated. Also, when a file manager is already running, it uses that file manager.

Instead of letting dbus-send todbus-send determine which file manager to use, if I know which file managers are installed, can I specifyset a specific file manager, like Nemo?

dbus-send --session --dest=org.freedesktop.FileManager1 --print-reply --type=method_call /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItems array:string:"file:///path/to/your/directory" string:""

Specify a specific file manager for org.freedesktop.FileManager1.ShowItems

The following command opens a file manager to show the directory. The problem is that the default file manager seems to be random. My guess is the last updated file manager, because it changed after a file manager was updated. Also, when a file manager is already running, it uses that file manager.

Instead of letting dbus-send to determine which file manager to use, if I know which file managers are installed, can I specify a specific file manager, like Nemo?

dbus-send --session --dest=org.freedesktop.FileManager1 --print-reply --type=method_call /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItems array:string:"file:///path/to/your/directory" string:""

Set a specific file manager for org.freedesktop.FileManager1.ShowItems

The following command opens a file manager to show the directory.

dbus-send --session --dest=org.freedesktop.FileManager1 --print-reply \
 --type=method_call /org/freedesktop/FileManager1 \
 org.freedesktop.FileManager1.ShowItems array:string:"file:///path/to/your/directory" string:""

The problem is that the default file manager seems to be random. My guess is the last updated file manager, because it changed after a file manager was updated. Also, when a file manager is already running, it uses that file manager.

Instead of letting dbus-send determine which file manager to use, if I know which file managers are installed, can I set a specific file manager, like Nemo?

Source Link
Damn Vegetables
  • 1.5k
  • 2
  • 17
  • 27

Specify a specific file manager for org.freedesktop.FileManager1.ShowItems

The following command opens a file manager to show the directory. The problem is that the default file manager seems to be random. My guess is the last updated file manager, because it changed after a file manager was updated. Also, when a file manager is already running, it uses that file manager.

Instead of letting dbus-send to determine which file manager to use, if I know which file managers are installed, can I specify a specific file manager, like Nemo?

dbus-send --session --dest=org.freedesktop.FileManager1 --print-reply --type=method_call /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItems array:string:"file:///path/to/your/directory" string:""