You are not logged in.

#1 2015-05-01 21:38:59

jsoy9pQbYVNu5nfU
Member
Registered: 2013-04-19
Posts: 108

[Solved]Remove button icons in KDE applications when running under dwm

I run dwm but also use KDE applications.

KDE applications do show icons on dialog buttons:
2015_05_01_232227_169x120_scrot.png

I gather that these buttons can be disabled in the system settings dialog when running a full KDE desktop. My question is: How do I achieve this - remove the icons on buttons - while not running a full KDE session?

kcmshell4 doesn't seem to expose an option to do so in any available module, including 'kcmshell4 icons'.

The systemsettings5 option repertoire is incomplete and only has the modules "Workspace>Desktop behaviour", "Workspace>Shortcuts", "Network>Settings" and "Network>Connectivity".

In my .xsession, I am currently exporting

export QT_STYLE_OVERRIDE=gtk # Make Qt5 use the GTK+ theme
export DESKTOP_SESSION=gnome # For something I can't quite remember

I've also seen XDG_CURRENT_DESKTOP=gnome vs XDG_CURRENT_DESKTOP=kde floating around, but neither achieves anything in this regard.

Does anybody know which setting in which config file I could set to emulate what the KDE configuration GUI does in a KDE session, or what KDE packages I would have to install in order to add the correct settings component to my KDE configuration utilities (KDE4 and/or Plasma 5), or what environment variable to set? A last resort would be installing a full KDE workspace or Plasma 5 and toggling the setting there, but I'd rather avoid doing that.

Last edited by jsoy9pQbYVNu5nfU (2015-05-07 13:39:25)

Offline

#2 2015-05-01 23:16:30

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 757

Re: [Solved]Remove button icons in KDE applications when running under dwm

Would running "kcmshell5 style", or "kcmshell4 style" be an option? Am not sure what you have installed, but under fine tuning tab there, there's exactly what you need.

Edit: if that doesn't work, .config/kdeglobals

...
ShowIconsInMenuItems=true
ShowIconsOnPushButtons=true
...
ToolButtonStyle=TextBesideIcon
ToolButtonStyleOtherToolbars=TextBesideIcon
...

Change to false and TextOnly, respectively

Might have to look for another kdeglobals file for kde4 apps, which should be either in .kde4 or in home dir, since there's a bit of a mess currently during transition

Last edited by Xabre (2015-05-01 23:42:06)

Offline

#3 2015-05-07 13:38:57

jsoy9pQbYVNu5nfU
Member
Registered: 2013-04-19
Posts: 108

Re: [Solved]Remove button icons in KDE applications when running under dwm

Xabre wrote:

Would running "kcmshell5 style", or "kcmshell4 style" be an option? Am not sure what you have installed, but under fine tuning tab there, there's exactly what you need.

Edit: if that doesn't work, .config/kdeglobals

...
ShowIconsInMenuItems=true
ShowIconsOnPushButtons=true
...
ToolButtonStyle=TextBesideIcon
ToolButtonStyleOtherToolbars=TextBesideIcon
...

Change to false and TextOnly, respectively

Might have to look for another kdeglobals file for kde4 apps, which should be either in .kde4 or in home dir, since there's a bit of a mess currently during transition

Please excuse my belated reply; thank you for the solution:

The line

ShowIconsOnPushButtons=false

in kdeglobals removed the icons for KDE 4 applications. For some reason, applications using KDE Frameworks 5.x did never show the button icons to begin with.

Offline

Board footer

Powered by FluxBB