Want to disable opening folders in Centos 7 gnome 3.22
I wrote this for dconf but was told to open issue in nautilus. dconf issue that is close is 792253.
We have a custom Centos 7 ISO that is customized when we load it on a server and boot it up. We have scripts that run as root at boot time to do this customization of the gnome interface. For example, the installation script removes the Home and Trash icons on the desktop, all done within the install script shown below. There are other things we do for other interface changes using the dconf process and we also change permissions on /usr/share/application/ .desktop files to make other gnome/Centos changes):
[ ! -f /etc/dconf/db/local.d/00-desktop && touch /etc/dconf/db/local.d/00-desktop echo "[org/gnome/nautilus/desktop]" >> /etc/dconf/db/local.d/00-desktop echo "home-icon-visible=false" >> /etc/dconf/db/local.d/00-desktop echo "trash-icon-visible=false" >> /etc/dconf/db/local.d/00-desktop dconf update
We do not use any gnome application like you mention ("dconf-editor"). The gnome interface changes are done automatically though the install scripts. The customer gets an ISO file that has the installer scripts so it meets their requirements. We have been using the script to do this customization but we cannot find a way to disable opening folders when using the File Manager interface after the system is booted up and running. The folders in the folder dialog when you try to open should not open or it is is grayed out indicating it cannot be opened.
If this possible to disable opening folder in gnome show us a way to disable opening folders either by making changes to our script or changing permissions on system files(s) or my other means not mentioned.
I hope this helps your understanding. Thanks, Don Kozak [reply] [−] Comment 3 Arnaud B. [developer] 2018-01-06 17:14:14 UTC Oh, I was focusing on dconf stuff, where you’re looking at an option of the filemanager, understood. The ‘dconf’ package has really nothing to do with what options are available, which are a choice of applications, it’s just the code that allows to store the settings. So your request would be more logically adressed in the ‘nautilus’ product, that has been moved to the new GNOME Gitlab instance.
(In reply to Don Kozak from comment #2 (closed))
We have been using the script to do this customization but we cannot find a way to disable opening folders when using the File Manager interface after the system is booted up and running. The folders in the folder dialog when you try to open should not open or it is is grayed out indicating it cannot be opened.
I honestly don’t think such an option is available, even if I understand how it would be useful. Open an issue against Nautilus describing it (no need to talk about dconf, that is just how you would customize the option), maybe they have a better idea of how to do something like that. :)
I close this bug (marking as “Invalid” because I don’t have a correct thing to explain the situation), it should really be moved against Nautilus. Hope you’ll find a solution to your problem! [reply] [−] Comment 4 Don Kozak [reporter] 2018-01-06 19:50:08 UTC OK, I will investigate nautilus and see if I can find something on what we want to do. And open an issue on nautilus on same subject to see if I am going down a blind alley or there is light at the end of the alley. Collapse All Comments Expand All Comments