Description: Superkaramba theme to display contacts, and kopete status. This is almost completely okie's work, (so give him all the credit) with some eye-candy modification to make it smaller and groove with the liquid style. Artwork (icons) are taken from various themes on kde-look.org, some of which are lgpl.
on/offline status is detected fine. however, if a user is "away", it shows an "unknown state" icon ??
could this be related to i18n? i'm from germany, and kopete does not list "Away" but "Abwesend".
if this actually is causing my problem, a quick fix would be highly appreciated. i am able to modify the source myself, but have no clue yet where to look ;)
Look in the updateIconStatus function. It should be toward the top of the code right after the global vars.
You can uncomment the line that prints out the contact status to see what kopete is actually reporting. Just start superkaramba from a konsole and then open the theme as usual to see the output.
The code really only checks for three states online offline and (Status not availble) the unknown icon was put in to catch anything that the code didn't recognize and keep it from causing errors. There is a for loop right below the print statement mentioned above that checks the status of all the icons. You should be able to modify that to catch what is causing the problem.
yeah, lists:
(Abwesend)
ok, will check with the source, thanks for the hints. hmm.. i will post my modification if i get it fixed, though.. it will help out germans only, i am afraid. all others will have to change this with their very own language.
maybe there is a more global way to fix this?
"fixed"
i added:
elif(contact_status[buddies[icon]["name"]] == "(Abwesend)"):
imagepath = "images/buddy"+numtrans[icon]+".png"
buddies[icon]["status"] = "(Online)"
pretty kludgy, though.. maybe we use a png like "X" for offline, and "/" for not available? well, its kludgy, yeah, but a compromise for now .
ah, we also could but "abwesend", "away", or whatever this is in a special language in a variable, just at the top of the python script. so everyone would be able to simply put his away status there?
I need to figure out how to support the different languages. I'm getting another release ready now should be posted in a few days. I'll see if languages can be supported in the release after this one.
I'm glad you were able to get it working.
Guess I should have gone with the liquid look :-)
This looks good and takes up less space than the original bar idea. I like it. I'll work on changing the code to make things more dynamic as far as icon size and layout. Also the overlay idea you had was a good one and is fairly simple to implement. That will allow the use of a single icon for the contact with a state image placed over it.
I've been waiting for something like that for so long, simply awesome. If just someone could code it that it would look like that: http://www.deviantart.com/view/19152411/
It looks very good ,but you should allow the program to load all the users from kopete,not only 6 users.But generally saying,it looks promising.You have a cool background,please add the wallpaper on kde.org.Is there any web address where we can download it,if it's not GPL?
I would agree about loading the list, but I'm no coder and at least my theme would overflow with contacts! I think it wouldn't take much to make it themeable (for the icons, so you could use the sets for kdm, for example), but that's beyond what I would like to learn.
I might have gotten the background from themexp.org . i doubt its gpl'ed, and I tend to delete readmes. sorry!
Ratings & Comments
15 Comments
The wallpaper is called Windows lake.I downloaded it from here. http://bfarber.com/index.php?download=1518
on/offline status is detected fine. however, if a user is "away", it shows an "unknown state" icon ?? could this be related to i18n? i'm from germany, and kopete does not list "Away" but "Abwesend". if this actually is causing my problem, a quick fix would be highly appreciated. i am able to modify the source myself, but have no clue yet where to look ;)
Look in the updateIconStatus function. It should be toward the top of the code right after the global vars. You can uncomment the line that prints out the contact status to see what kopete is actually reporting. Just start superkaramba from a konsole and then open the theme as usual to see the output. The code really only checks for three states online offline and (Status not availble) the unknown icon was put in to catch anything that the code didn't recognize and keep it from causing errors. There is a for loop right below the print statement mentioned above that checks the status of all the icons. You should be able to modify that to catch what is causing the problem.
yeah, lists: (Abwesend) ok, will check with the source, thanks for the hints. hmm.. i will post my modification if i get it fixed, though.. it will help out germans only, i am afraid. all others will have to change this with their very own language. maybe there is a more global way to fix this?
"fixed" i added: elif(contact_status[buddies[icon]["name"]] == "(Abwesend)"): imagepath = "images/buddy"+numtrans[icon]+".png" buddies[icon]["status"] = "(Online)" pretty kludgy, though.. maybe we use a png like "X" for offline, and "/" for not available? well, its kludgy, yeah, but a compromise for now . ah, we also could but "abwesend", "away", or whatever this is in a special language in a variable, just at the top of the python script. so everyone would be able to simply put his away status there?
damned! this: ah, we also could but "abwesend" should read: ah, we also could put "abwesend" sorry, this hot weather, and then he beer :-)
I need to figure out how to support the different languages. I'm getting another release ready now should be posted in a few days. I'll see if languages can be supported in the release after this one. I'm glad you were able to get it working.
It is a very nice theme for kopete users. I really liked the bottom panel you have there. Where can I get that????
Its called kxdocker, and its looming over at kdm-apps: http://www.kde-apps.org/content/show.php?content=10958
That's a beautiful wallpaper in the screenshot. Where's it from?
Guess I should have gone with the liquid look :-) This looks good and takes up less space than the original bar idea. I like it. I'll work on changing the code to make things more dynamic as far as icon size and layout. Also the overlay idea you had was a good one and is fairly simple to implement. That will allow the use of a single icon for the contact with a state image placed over it.
I've been waiting for something like that for so long, simply awesome. If just someone could code it that it would look like that: http://www.deviantart.com/view/19152411/
simply leave away the background image, and use other icons, then it will look like that.
It looks very good ,but you should allow the program to load all the users from kopete,not only 6 users.But generally saying,it looks promising.You have a cool background,please add the wallpaper on kde.org.Is there any web address where we can download it,if it's not GPL?
I would agree about loading the list, but I'm no coder and at least my theme would overflow with contacts! I think it wouldn't take much to make it themeable (for the icons, so you could use the sets for kdm, for example), but that's beyond what I would like to learn. I might have gotten the background from themexp.org . i doubt its gpl'ed, and I tend to delete readmes. sorry!