How do you remove Application Styles?

I’m trying to strip my Plasma installation of everything I won’t use. As you can see from the pictures, I’ve managed to do this with most of the theme related stuff. I would like to use Kvantum exclusively for Qt styling and therefore don’t need any of these extra ones. I might hang onto breeze as a fallback but I would like to definitely get rid of Fusion and the Windows one if at all possible. Can anyone explain to me how?





This is not reasonable - any update will reinstall anything you remove from the basic Plasma package.

It also seems you’re not aware of issues of package management as you have completely omitted to tell anyone what package manager, or what distribution/versions you are using.

Fusion is part of the kde-plasma-desktop meta-package in most distributions - so you must remove kde-plasma-desktop.

However, the files would be stored in your system folders in /usr/share/plasma/... so you could try removing those manually, and that’s also likely to mess up anything developed with the assumption (which is true for every Plasma installation) that these files must exist.

TL;DR

This is a fools errand, I would attempt to confront my obsessive behaviour and learn not to open those menus in order to be annoyed by them.

1 Like

I’ve been scouring through there and I can’t find them. Do you know where they’re at?

Haha, sorry - my bad. The ones you’re talking about (fusion and Windows) are qt - they are just built in and I’d say not worth the effort of trying to remove them without risking just breaking everything.

I had an issue with a couple of things showing up in the past (years ago, forgot the details now) when I installed something else - and when I tried to get rid of them, I ended up giving up and restoring a snapshot because things just broke.

Apart from the various kinds of themes and plugins for the Plasma shell explained at Plasma themes and plugins, application styles (previously called widget styles) are themes for Qt applications, and can be implemented either as binary plugins for the QT framework (e.g. breeze6.so, klassy6.so, lightly.so) or as themes to be used with third party Qt theming engines, such as Kvantum. The Qt framework provides the Fusion and MS Windows 9x application styles in the library libQt6Gui.so (and libQt5Gui.so), which are implemented in the files qfusionstyle and qwindowsstyle respectively.

Since Fusion is the default application style for Qt Quick Controls on Linux systems, and Plasma is not the only software that depends on Qt, it may not be a good idea to remove those styles from the Qt libraries. Efforts to remove some of the fancy from a fancy desktop environment might benefit more from starting with the third-party fancy, and continuing with the built-in non-visual fancy.

1 Like