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