Plasma and Ansible on enterprise thin clients - changing default Plasma settings

I’m currently exploring replacing GNOME with KDE Plasma on thin clients when we transition from Ubuntu 20.04 to 22.04 (or 24.04 if HP Anywhere will have PCoIP ready by then).

With GNOME having the ability to use dconf to edit keybindings, default applications, favorite apps on the sidebar, etc., what’s the best & most efficient to do the same things with Plasma?

I found this Kconfig Ansible module from this post, and it seems a little sparse.

Here are some of the settings I wanna change by default:

  • Setting window rules for a specific application (HP Anywhere PCoIP) - do I just put that in /etc/skel? What if I wanna modify for other pre-existing users? Find all instances in /home? Anyway to make sure that non-admins can’t change it?
  • Change pinned applications on the task manager. I want to be able to keep some items pinned all the time (i.e. removed application comes back after next login)
  • Change default key-binding for a specific application for all users (i.e. I wanna assign Print Screen to Flameshot (did that for GNOME) or disable Meta key (just an example).
3 Likes

The title is oddly specific and doesnt describe your core issue here: how to change GUI settings through a terminal interface?

You may want to rephrase it.

I am also curious, as there seems to be no general interface.

I updated it. Hope it’s clearer?

1 Like

As of now, besides /etc/skel, there’s also KDE Kiosk framework which was mentioned by @David_Edmundson in the article “Trusting content on the KDE Store”

Relevant information (sorry, I can’t post links here):

  • Topic “KDE in the Ansible Community Collection” at discuss_kde_org, also the issue “Possible future tutorial: Deploy Plasma with Ansible” at the invent_kde_org)
  • Suggested KDE Goal " Simplify maintainance, automation and remote assistance for Sysadmin" (T17448 at phabricator_kde_org)
3 Likes

Just gonna add these for bookmarking purposes:

https://blog.davidedmundson.co.uk/blog/kde-store-content/

If I were to configure the default icon shortcuts in plasma-org.kde.plasma.desktop-appletsrc (placing it in /etc/xdg)

      [Containments][2][Applets][22][Configuration]
      localPath=/home/jgamao/.local/share/plasma_icons/firefox_firefox.desktop
      url=file:///var/lib/snapd/desktop/applications/firefox_firefox.desktop

      [Containments][2][Applets][23]
      immutability=1
      plugin=org.kde.plasma.icon

      [Containments][2][Applets][23][Configuration]
      localPath=/home/jgamao/.local/share/plasma_icons/google-chrome.desktop
      url=file:///usr/share/applications/google-chrome.desktop

      [Containments][2][Applets][24]
      immutability=1
      plugin=org.kde.plasma.icon

      [Containments][2][Applets][24][Configuration]
      localPath=/home/jgamao/.local/share/plasma_icons/org.kde.dolphin.desktop
      url=file:///usr/share/applications/org.kde.dolphin.desktop

what do I put instead in localPath?