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

RESOLVED - Is there a way to change the widget backgrounds?

Tags: None
(comma "," separated)
User avatar
cyberdude
Registered Member
Posts
26
Karma
0
OS
I am trying to change the background on the widgets so they are completely transparent like the Desktop Plasmoid. In the image you can see that unit converter's background is different. I'd like to make it more transparent like the Desktop plasmoid background.
Image

Last edited by cyberdude on Tue Sep 08, 2009 1:46 pm, edited 1 time in total.


KDE4.5.4 | openSUSE 11.2 | IBM Thinkpad x60s
KDE4.5.2 | openSUSE 11.3 | Acer Revo R3610
KDE4.4.4 | openSUSE 11.3 | IBM Thinkpad x60s
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS
That's dependent on the plasma-theme in use. You can mix-and-match themes using the desktop theme details settings (under advanced user settings) though. Of course, by doing that one of the widgets won't look like air anymore but may be worth a shot.

I'm not sure which one you need to change to get it more transparant, but make sure to have a couple of themes installed (bare naked and glassified are good candidates for transparancy) and play around with "widget background", "translucent background", and "dialog background". Maybe even "panel background".


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
User avatar
cyberdude
Registered Member
Posts
26
Karma
0
OS
Thanks. Changing the widget background to Glassified theme did the trick. :)


KDE4.5.4 | openSUSE 11.2 | IBM Thinkpad x60s
KDE4.5.2 | openSUSE 11.3 | Acer Revo R3610
KDE4.4.4 | openSUSE 11.3 | IBM Thinkpad x60s
User avatar
dridk
Moderator
Posts
59
Karma
0
OS
Plasma::Applet:: setBackgroundHints(const BackgroundHints hints); with NoBackground
User avatar
cyberdude
Registered Member
Posts
26
Karma
0
OS
dridk wrote:Plasma::Applet:: setBackgroundHints(const BackgroundHints hints); with NoBackground

Thanks. I assume that is code I would need to change for the theme. I'm new to Linux so am very green when it comes to how it all works.


KDE4.5.4 | openSUSE 11.2 | IBM Thinkpad x60s
KDE4.5.2 | openSUSE 11.3 | Acer Revo R3610
KDE4.4.4 | openSUSE 11.3 | IBM Thinkpad x60s
Uninstall
Registered Member
Posts
2
Karma
0
Using a custom background is a really bad idea. According to Plasma UI specifications widgets shouldn't use a custom background but they should use a standard one. Anyway If you need something transparent you should use TranslucentBackground as background hint.
User avatar
dridk
Moderator
Posts
59
Karma
0
OS
That's why I suggest to add a background hint selector in each Plasma Configuration dialog..
But I think the policy of plasma is : All same background for all plasmoid.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]