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

Background of Plasma

Tags: None
(comma "," separated)
User avatar
Thailandian
Registered Member
Posts
30
Karma
1
OS

Background of Plasma

Fri Nov 06, 2009 10:52 pm
I'm trying to create a plasma desktoptheme, and I'm stuck on the background of the calendar.

The calendar itself doesn't seem to have a background element. So, I searched through every other widget that I hadn't already modified, changing the colour of the "center" element, logging out, and logging back in again - no joy.

I finally thought I had found it in the opaque tooltip - at least it looked very much like what was already there - but modifying that had no effect either.

Can anyone let me know which widget it is?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Background of Plasma

Sat Nov 07, 2009 3:06 am
Have you looked at http://techbase.kde.org/Development/Tut ... asma/Theme before?
There may be a different SVG file, especially for the calendar widget.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Thailandian
Registered Member
Posts
30
Karma
1
OS

Re: Background of Plasma

Sat Nov 07, 2009 7:24 am
bcooksley and sandy12: thank you both for the links.

bcoksley, I hadn't seen that page before, but interestingly enough, it pretty much describes what I have been doing - taking an existing theme (Aya in my case), then changing elements to see what happens.

Sandy, your first link didn't work. However, the second had a potentially useful link on it: http://plasma.kde.org/. That site is still very much under construction, but eventually should be the source of all plasma wisdom.

For others who may stumble across this thread looking for information, another very good link is: http://techbase.kde.org/Projects/Plasma/Theme

However, none of these has the information I need. There really doesn't seem to be much documentation about which plasmoids take which background. So I thought I might document a bit of my own stumbling around. Then see what others can add to it.

background.svg(z) is used by most plasmoids. It's also the background for the widget control panel that pops out when you have unlocked your widgets.

translucentbackground.svg(z) is used by FolderView folders. I assume it is also used by other plasmoids (otherwise, why not call it "folderviewbackground"?) but I haven't found any yet.

Others such as panel, pager and tooltip are pretty much as expected (except in the case of pager, the "background" sits in front of everything, which is why KDE4 pagers are so notoriously muddy - I assume that's a bug).

Some plasmoids, such as the log out dialog have their own background element.

I haven't really looked much yet at extender-background.svg(z), and I thought this was a good prospect. According to the documentation at http://techbase.kde.org/Projects/Plasma/Theme, an example of an extender is: "the popup date of clock applets, KDE 4.2 and later". However, changing that doesn't seem to affect anything on my system.

So that's about where I'm at. Can anyone add to this?
User avatar
Thailandian
Registered Member
Posts
30
Karma
1
OS

Re: Background of Plasma  Topic is solved

Sat Nov 07, 2009 10:40 am
I found it ;D

It was the background.svgz file in the dialogs directory.

Hopefully, this will be useful to someone else now.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

Re: Background of Plasma

Sat Nov 07, 2009 7:42 pm
Please mark the topic as solved to make it easier to find. ;)
(Click on Image below the post with the best answer).


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient