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

hiding options in systemsettings

Tags: None
(comma "," separated)
interele
Registered Member
Posts
131
Karma
0
OS

hiding options in systemsettings

Wed May 23, 2012 2:24 pm
Can I hide just the 'Network and Connectivity' tab in system settings from all users ?
This is for 4.8.3 btw

Many thanks

M
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: hiding options in systemsettings

Sat May 26, 2012 10:09 am
You need to look into the Kiosk restrictions. You can find documentation for that on Techbase. Once you have suppressed all the modules in it, the entry should disappear.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
interele
Registered Member
Posts
131
Karma
0
OS

Re: hiding options in systemsettings

Sat May 26, 2012 10:19 pm
The documentation on that is really confusing
For example it says Run the command 'kcmshell --list' for a list of available modules
but if you run that it just says
The following modules are available:
kresources - Configure KDE Resources
kresources - Configure KDE Resources

The page on techbase actually says

In fact, the users will not even see an option to configure the background in either the Control Centre or by right-clicking on the desktop. Run the command 'kcmshell --list' for a list of available modules and use the format kde-<module-name>.desktop in the configuration file. In most public access/café environments, one will probably want to lock down almost all control centre modules.
<img src="kiosk-lp/control_centre.jpg" width="211" border="0" height="456" alt="Image of Control Centre Modules" />
Figure 4. The Control Centre application interface....

I don't think this page has been updated in a while

Do you know of any more up to date howtos ?

best wishes

M
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
As far as I am aware, there is not an updated how to guide, however System Settings does still obey the disabling of control center modules by marking them as immutable.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
interele
Registered Member
Posts
131
Karma
0
OS
I tried the example in the techbase article
so I added :-

[KDE Control Module Restrictions][$i]
kde-background.desktop=false

to /etc/kde4/share/config/kdeglobals

and that doesn't do anything - can you suggest anything else i can try?

Many thanks

M
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: hiding options in systemsettings

Mon May 28, 2012 11:39 am
I've just checked the code... does opening that module work now? I suspect it might still be visible - but will show nothing when clicked.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
interele
Registered Member
Posts
131
Karma
0
OS

Re: hiding options in systemsettings

Mon May 28, 2012 12:36 pm
The techbase article implies that doing that would stop you changing the background
both from the systems settings AND by right clicking on the desktop. However the
background isn't in system settings any more so thats a worry and you can still right
click the desktop and change the background

I did a search for all my *.desktop files and there are a bunch that look like settings
ones ie settings-bluetooth.desktop, settings-network-settings.desktop etc so I tried a
selection of these in my kdeglobals as in

[KDE Control Module Restrictions][$i]
kde-settings-bluetooth.desktop=false

and then just to see

[KDE Control Module Restrictions][$i]
kde-bluetooth.desktop=false

none of which worked so I'm beginning to think KDE4 does it completely differently

best wishes

M
interele
Registered Member
Posts
131
Karma
0
OS
incidentally - it's now kcmshell4 --list to see all of the modules
but I'm still stuck :-(

M
interele
Registered Member
Posts
131
Karma
0
OS
Ah ha !

You do this

kcmshell4 --list

which give you all the possible modules
then in /etc/kde4/share/config/kdeglobals

add
[KDE Control Module Restrictions][$i]
bluedeviladapters.desktop=false
proxy.desktop=false
etc
etc

Best wishes

M
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Yes, that is correct.
Did you get this working?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
interele
Registered Member
Posts
131
Karma
0
OS
Yes, KDE4 is subtly different to the techbase article
but I got there eventually ;-)

Thanks

M
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you wouldn't mind, could you please update the Techbase article with the necessary changes to work under KDE 4?
This will help other administrators / distributors who wish to do this in the future.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
interele
Registered Member
Posts
131
Karma
0
OS

Re: hiding options in systemsettings

Sat Jun 02, 2012 10:13 am
OK

M


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]