From 6dbefdbfa5aa02093d4a80785ec78f1abbcd1daa Mon Sep 17 00:00:00 2001 From: Anthony Rose <anthony@acperkins.com> Date: Mon, 17 Mar 2025 14:08:09 +0000 Subject: [PATCH] Don't use breadcrumbs in Nautilus for Fedora 41 --- roles/home-gui/files/gnome-setup.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/home-gui/files/gnome-setup.sh b/roles/home-gui/files/gnome-setup.sh index 429f598..0f569fe 100644 --- a/roles/home-gui/files/gnome-setup.sh +++ b/roles/home-gui/files/gnome-setup.sh @@ -64,6 +64,12 @@ set_nautilus_preferences () { gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view' gsettings set org.gtk.Settings.FileChooser sort-directories-first true gsettings set org.gtk.gtk4.Settings.FileChooser sort-directories-first true + + if [ "$(. /etc/os-release; echo $CPE_NAME)" = "cpe:/o:fedoraproject:fedora:41" ] + then + # Nautilus breadcrumbs break on long paths in Fedora 41. + gsettings set org.gnome.nautilus.preferences always-use-location-entry true + fi } set_nautilus_preferences