Skip to content

Instantly share code, notes, and snippets.

@maxbla
Created January 29, 2019 19:26
Show Gist options
  • Save maxbla/7f6552424655e77377a6eac836b487eb to your computer and use it in GitHub Desktop.
Save maxbla/7f6552424655e77377a6eac836b487eb to your computer and use it in GitHub Desktop.
Linux set default program for directories
# Set the default xdg mime type for directories to Nautalis aka Gnome files
xdg-mime default org.gnome.Nautilus.desktop inode/directory
# Replace org.gnome.Nautalis.desktop with the file manager of your choice
# .Desktop files are are found in /usr/share/applications,
# usr/local/share/applications/ and ~/.local/share/applications/
# See https://wiki.archlinux.org/index.php/Desktop_Entries for more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment