Bug 509984 - Unable to disable various settings panels
Summary: Unable to disable various settings panels
Status: REPORTED
Alias: None
Product: kiosk
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-27 07:54 UTC by blairuk@gmail.com
Modified: 2025-09-27 19:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description blairuk@gmail.com 2025-09-27 07:54:20 UTC
SUMMARY
Following instructions under https://develop.kde.org/docs/administration/kiosk/introduction/ to disable  settings doesn't work. 

The following steps are for just for wallpaper settings but apply to other modules too.

STEPS TO REPRODUCE
1.  Run `kcmshell6 --list | grep wallpaper` to determine wallpaper module name.
2.  Edit ~/.config/kdeglobals and add `kcm_wallpaper.desktop=false` under "KDE Control Module Restrictions"
3. Confirm config is set to false using `kreadconfig6 --group "KDE Control Module Restrictions"  --key kcm_wallpaper.desktop`
4. Log out of desktop and log in again.

OBSERVED RESULT
The "Desktop and Wallpaper" option visible on right click of background desktop. The "Wallpaper" settings appears under "System Settings".

EXPECTED RESULT
The "Desktop and Wallpaper" option should be disabled/invisible on right click of background desktop. The "Wallpaper" settings should not appear under "System Settings".

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Comment 1 Nicolas Fella 2025-09-27 11:51:12 UTC
kcm_wallpaper=false (without the .desktop) works for the systemsettings case
Comment 2 blairuk@gmail.com 2025-09-27 14:02:49 UTC
(In reply to Nicolas Fella from comment #1)
> kcm_wallpaper=false (without the .desktop) works for the systemsettings case

I didn't think to try removing ".desktop" - thanks. I just checked now. I regenerated all my restrictions using the following:

$ kcmshell6 --list | grep kcm | cut -d" " -f1 | while read mod; do echo "${mod}.desktop=false"; echo "${mod}=false"; done

Now I see most of the system settings empty accept for "Driver Manager"; perhaps this one isn't included in the kcmshell list?

Also right clicking on the desktop still shows the "Desktop and Wallpaper" option.
Comment 3 Bug Janitor Service 2025-09-27 15:55:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/systemsettings/-/merge_requests/374
Comment 4 Nicolas Fella 2025-09-27 15:56:40 UTC
> Now I see most of the system settings empty accept for "Driver Manager"; perhaps this one isn't included in the kcmshell list?

That module is special. Fixed with https://invent.kde.org/plasma/systemsettings/-/merge_requests/374
Comment 5 Bug Janitor Service 2025-09-27 16:03:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/documentation/develop-kde-org/-/merge_requests/681
Comment 6 Nicolas Fella 2025-09-27 16:06:17 UTC
> Also right clicking on the desktop still shows the "Desktop and Wallpaper" option.

That one is kind of expected since "KDE Control Module Restrictions" is only really designed to affect systemsettings. In this case it's effectively the same functionality though, so I understand your expectation here
Comment 7 blairuk@gmail.com 2025-09-27 17:21:09 UTC
Thanks for all your help here.
Comment 8 Nicolas Fella 2025-09-27 19:03:09 UTC
Git commit 0ac4cc970f5100170f036ddc88baaa39e1309391 by Nicolas Fella.
Committed on 27/09/2025 at 16:03.
Pushed by thiagosueto into branch 'master'.

Fix KCM instructions in Kiosk tutorial

Entries are specified without .desktop suffix

M  +2    -2    content/docs/administration/kiosk/introduction.md

https://invent.kde.org/documentation/develop-kde-org/-/commit/0ac4cc970f5100170f036ddc88baaa39e1309391