fix have nemo be the only file explorer

This commit is contained in:
Jet Pham 2026-03-04 15:59:06 -08:00
parent 00aa80ddc0
commit 044cc7da4a
No known key found for this signature in database
2 changed files with 34 additions and 0 deletions

View file

@ -144,6 +144,7 @@
geary # Email geary # Email
gnome-tour gnome-tour
gnome-font-viewer # Have font-manager gnome-font-viewer # Have font-manager
nautilus # Using Nemo
]; ];
# Configure keymap in X11 # Configure keymap in X11

View file

@ -101,6 +101,7 @@
logseq logseq
prismlauncher prismlauncher
nemo-with-extensions nemo-with-extensions
file-roller
font-manager font-manager
antigravity-fhs antigravity-fhs
claude-code claude-code
@ -364,6 +365,28 @@
comment = "Fast, featureful, GPU based terminal emulator"; comment = "Fast, featureful, GPU based terminal emulator";
}; };
# Extract archives on double-click
xdg.desktopEntries.extract-here = {
name = "Extract Here";
exec = "file-roller --extract-here %U";
icon = "file-roller";
type = "Application";
categories = ["Utility"];
mimeType = [
"application/zip"
"application/x-tar"
"application/x-compressed-tar"
"application/x-bzip-compressed-tar"
"application/x-xz-compressed-tar"
"application/x-zstd-compressed-tar"
"application/gzip"
"application/x-7z-compressed"
"application/x-rar"
"application/x-rar-compressed"
];
noDisplay = true;
};
# Autostart applications using proper desktop files # Autostart applications using proper desktop files
xdg.autostart = { xdg.autostart = {
enable = true; enable = true;
@ -383,6 +406,16 @@
"x-scheme-handler/about" = "zen.desktop"; "x-scheme-handler/about" = "zen.desktop";
"x-scheme-handler/unknown" = "zen.desktop"; "x-scheme-handler/unknown" = "zen.desktop";
"inode/directory" = "nemo.desktop"; "inode/directory" = "nemo.desktop";
"application/zip" = "extract-here.desktop";
"application/x-tar" = "extract-here.desktop";
"application/x-compressed-tar" = "extract-here.desktop";
"application/x-bzip-compressed-tar" = "extract-here.desktop";
"application/x-xz-compressed-tar" = "extract-here.desktop";
"application/x-zstd-compressed-tar" = "extract-here.desktop";
"application/gzip" = "extract-here.desktop";
"application/x-7z-compressed" = "extract-here.desktop";
"application/x-rar" = "extract-here.desktop";
"application/x-rar-compressed" = "extract-here.desktop";
}; };
}; };