This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Disable Places dialog/panel

Tags: None
(comma "," separated)
anonymoose
Registered Member
Posts
2
Karma
0

Disable Places dialog/panel

Fri Aug 14, 2015 2:41 pm
I am trying to lock down a system. While it prompts for the root password, the places options could still generate calls ("what is this password prompt for").

Does anyone know how to remove the Places dialog from the Save As menu (it appears it all/most all KDE apps), or even get rid of it entirely? I have spent days trying to get rid of it. >:(

It is supposed to be toggle-able by F9 but so far I think only Kate actually observes this behavior.

Ubuntu 14.04 and KDE 4 if it matters.

TIA
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Disable Places dialog/panel

Fri Aug 14, 2015 4:03 pm
anonymoose wrote:It is supposed to be toggle-able by F9 but so far I think only Kate actually observes this behavior.

Yes, it is toggle-able with F9, and you can disable it by clicking on the settings icon in the top-right corner of the dialog.
Since the dialog is provided by kdelibs, it should be exactly the same for all (KDE4) applications.

This setting doesn't seem to be saved though.
But if you add "Show Speedbar=false" to the "KFileDialog Settings" in kdeglobals (or modify the entry accordingly if it exists already), it will be hidden by default.

It's also possible to disable/remove the possibility to toggle it on/off via KIOSK:
https://techbase.kde.org/KDE_System_Adm ... ile_Dialog

You could of course also hide the entries that cause a root password request by right-clicking on them, or change the polkit rules to allow or forbid mounting "system drives" (the corresponding action is "org.freedesktop.udisks2.filesystem-mount-system") without asking for a password.
anonymoose
Registered Member
Posts
2
Karma
0

Re: Disable Places dialog/panel  Topic is solved

Fri Aug 14, 2015 5:25 pm
wolfi323 wrote:
anonymoose wrote:It is supposed to be toggle-able by F9 but so far I think only Kate actually observes this behavior.

Yes, it is toggle-able with F9, and you can disable it by clicking on the settings icon in the top-right corner of the dialog.
Since the dialog is provided by kdelibs, it should be exactly the same for all (KDE4) applications.


I forgot that I had toggle disabled the toggle in kdeglobals. :<

wolfi323 wrote:This setting doesn't seem to be saved though.
But if you add "Show Speedbar=false" to the "KFileDialog Settings" in kdeglobals (or modify the entry accordingly if it exists already), it will be hidden by default.


I had already done that. But, you got me thinking about it and I went and reviewed my kdeglobal settings. There was some block in there for Speed Bar settings that as it turned out was causing it to appear even though Show was set to false. :-\

wolfi323 wrote:It's also possible to disable/remove the possibility to toggle it on/off via KIOSK:
https://techbase.kde.org/KDE_System_Adm ... ile_Dialog


I wish. This has not been maintained and does not work with KDE4 or later. :'(

wolfi323 wrote:You could of course also hide the entries that cause a root password request by right-clicking on them, or change the polkit rules to allow or forbid mounting "system drives" (the corresponding action is "org.freedesktop.udisks2.filesystem-mount-system") without asking for a password.


We will definitely look at that. It might be useful.
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Disable Places dialog/panel

Fri Aug 14, 2015 5:41 pm
anonymoose wrote:
wolfi323 wrote:It's also possible to disable/remove the possibility to toggle it on/off via KIOSK:
https://techbase.kde.org/KDE_System_Adm ... ile_Dialog


I wish. This has not been maintained and does not work with KDE4 or later. :'(

It does work with the latest KDE4, I tried it.

PS: it does work with KDE Frameworks 5.13 too (at least the file dialog actions, haven't tried others).


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]