Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
SuperKaramba interface to Kopete. Intended to diplay a subset of your most important contacts on the desktop.
Note: The first time it runs, it will show all online contacts. Once you run the config dialog and click OK, it will only show the contacts you have selected to be monitored.

REQUIREMENTS:
- KDE >= 3.5.0
- SK >= 0.37
- Python >= 2.4
- PyQt >= 3.14
- PyKDE (Optional): Only tested with PyKDE from the kdebindings module. Gentooers please use the (kde-base/pyde-3.5.0 ebuild)
- kttsd (Optional): Enables speaking out of notifications

FEATURES:
- Displays the Kopete contact list on the desktop. Support automatic and configurable positioning/resizing
- Displayed contacts are configurable
- Has the buddy pounce/notification feature. See screenshot of config dialog
- Has basic Kopete controls (Online, Offline, Away and Start Chat)
- Indicates basic presence status (online, offline and away) for all contacts
- Resource (dcop calls) usage is independent of number of contacts
- For theme developers. I have built on the SKoot API to create basic layout management and event dispatching classes. They are independent of SKopete (see skopete_gui.py). If there's interest, I'll post a link to the API docs. Similarly the communication with Kopete is in a independent backend (kopete.py)

USAGE:
- Ensure Kopete is running
- In the config dialog, you can specify which contacts should be monitored, and also whether to display offline contacts
- By default SKopete, automatically resizes and repositions itself as contacts go online/offline. If you want it to stay in place, choose the manual layout policy in the Look&Feell section of the config dialog
- You can select custom photos as well a notifications and pounces for all contacts in the Buddies section of the config dialog.
- If you make any changes to the contact list in Kopete, you should reload SKopete via the right click menu

CAVEATS:
- If you have a non-english KDE desktop and no PyKDE, contact status updates will take O(n) queries
- Uses undocumented/unnamed Kopete DCOP interfaces.
- Resource (dcop calls) usage is O(n) in number of accounts you have
- Only tested with the MSN and Yahoo protocols, feedback on other protocols is welcome.
- Popup menu icons won't show if you don't have PyKDE, this is limitation of SuperKaramba, that I don't care enough to work around. One possible, (untested) workaround is to unzip the .skz file and run the theme using the .theme file

TROUBLESHOOTING
- Ensure you satisy all the REQUIREMENTS from above
- Is Kopete running?
- If you have enabled PyKDE in the config dialog, please try disabling it first, as PyKDE seems to cause a lot of bugs.
- In order to help me debug it, please run superkaramba in a terminal like so:
superkaramba skopete.skz > skopete-log 2>&1
Post the top 20 lines from the file skopete-log
Last changelog:

ver 1.3.1
- Patch to add support for pykde >= 3.16.0

ver 1.3.0
- Added support for away/available messages

ver 1.2.10
- Added support for Gadu-Gadu

ver 1.2.9
- Fixed IRC bug with kopete 0.12

ver 1.2.8
- Fixed (I hope) problems with IRC contacts

ver 1.2.7
- The subprocess.Popen.communicate() method is not signal safe, added a workaround. For those of you that get 'Interrupted system call' errors on running SKopete in a terminal, this release should be of help. If you continue to get them, try installing the latest PyKDE and enabling PYKDE for DCOP calls in the config dialog.
- Patched so that the above error doesn't prevent the config dialog from loading.

ver 1.2.6
- Fixed memory leak caused by incorrect use of PyKDE for DCOP calls. This will only have affected you if you enabled PyKDE for DCOP calls in the config dialog

ver 1.2.5
- Display pics are now centered if they are smaller than the configured picture size
- Added localization support via KLocale. If you have a non-english desktop and a working PyKDE, you should upgrade to this release

ver 1.2.4
- Fixed bug that was causing all contacts to be displayed, not just monitored contacts. Bug was introduced in the last release, by an indentation error of all things.

ver 1.2.3
- Switched to using KDE File chooser dialog
- Squashed a couple of bugs in the custom pic display logic
- Coded an ugly hack to achieve correct online status detection on non-english systems. I would appreciate testing of this.
- Moved to using svn and eric3 for development

ver 1.2.2
- Fixed bug where contacts status was not being correctly detected on a non-english KDE installation. Unfortunately, this makes PyKDE a requirement.
- Coded workaround to have display pictures scaled smoothly.

ver 1.2.1
- Added preliminary unicode support. This really needs testing as I don't have any contacts with non ascii characters in their display names, and I can test only so many cases by manual modification

ver 1.2.0
- Added a config option to allow manual positioning, by popular demand. Since I don't use this feature, it hasn't been tested extensively. Bug reports are welcome
- Added the ability to set a custom display picture for a contact. Again bug reports are welcome.
- Also changed the config dialog to display scaled instead of cropped pictures

ver 1.1.2
- Added a config option to toggle the use of PyKDE for DCOP calls, as people seem to be having trouble with it. It is disabled by default. Enable it for a speed-up.

ver 1.1.1
- Changed pidof kopete to ps -C kopete -o pid= as some distros (fedora) don't have pidof in the users PATH

ver 1.1.0
- Implemented the DCOP calls in PyKDE (if available). This will make the loading of the contact list much faster.
- Fixed a bug that was causing one contact (the last in the list not to be loaded)

ver 1.0.4
- Fixed addressbook contacts not displaying bug. Also changed logic for detection of self contact.

ver 1.0.3
- Code cleanups/bug fixes

ver 1.0.2
- Fixed to be compatible with PyQt versions >= 3.14

ver 1.0.1
- Added code to handle (I hope) contacts whose display names have special characters

ver 1.0.0
- Version bump to stable, since I've received no bug reports


Ratings & Comments

154 Comments

dglent

before 1 week i ve installed skopete and it works great. Now since 3-4 days i dont have my contacts listing, i uninstalled skopete and i have always the same probleme. The same if i check "show offline contacts" (before 1 week this was working fine too ) !!

patkoscsaba

In config dialog, where I cand choose which contacts to monitor and which not, every time I start tha config dialog, my contacts doubles, so, after about ... 8 ... starts, I have all my contacts 2^8=64 times. ... I would like to delete the file with the config. Please help. Second thing is: how can I see more than 5 contacts? whatever I do, skopete displayes only 5 online contacts. I would like to see about 10-15 ... thanks.

kovidgoyal

The contacts are stored in the file ~/.superkaramba/skopete Skopete allows you to see an unlimited number of contacts, maybe it's going off the edge of your screen?

patkoscsaba

thanks for the fast reply. I deleted ~.superkaramba/skopet and realoaded theme. Setting were back at default. So far so good. I selected a list of contacts to monitor... now it shows only 2 contacts from 4 online ... and I have plenty of space on my desktop for about 20-25 contacts

kovidgoyal

Hmm I have no idea why it's doing that for you and unfortunately I no longer maintain the code as I'm going to write a plasma based replacement.

dglent

i had the same probleme and i restart skopete and i uncheck PyKDe and after i restart and i check again PyKDe box and restart skopete and was work ! great superkaramba !

patkoscsaba

Still not working here ... now it shows a random number of contacts (between 5 to 10 ... aprox.) and it just refuses to show all my online contacts. So, maybe i'll stay with desklist plugin and try this again when i'll switch to kde4 with plasma. Thanks anyway.

kovidgoyal

SKopete will be re-written for Plasma. For now it's unsupported.

Harvest

When I move SKopete to, say, left corner of the screen or place it on the center, it moves to right corner after update time, Even if I set it to "toggle locked position". Any ideas?

kovidgoyal

In the configure dialog, look & feel layout choose manual

Harvest

When I move SKopete to, say, left corner of the screen or place it on the center, it moves to right corner after update time, Even if I set it to "toggle locked position". Any ideas?

Hwoarang

This theme is great. Thank you :D

maxxik

sorry all my troubles were gone after proper configuration thank you

maxxik

Now I have : KDE 3.5.6 superkaramba 0.41 python 2.5 python-qt-3.5.6 python-kde-3.5.6 everything seems ok except one : Skopete theme doesnt save current position on desktop Errors : sys.path.insert(0, '/home/maxx/Documents/Install/SuperKaramba/32677-skopete-1.3.1.skz') Traceback (most recent call last): File "/home/maxx/Documents/Install/SuperKaramba/32677-skopete-1.3.1.skz/skopete.py", line 435, in __init__ self.screenW = int(src[0]) ValueError: invalid literal for int() with base 10: '1024x768' any comment ?

maxxik

in addition : SKopete: Loading contact list... object not accessible SKopete: Locale strings ['Online', 'Offline', 'Away'] SKopete has not been configured, monitoring all contacts... SKopete: Contact list loaded in 0.0592288970947 seconds Traceback (most recent call last): File "/home/maxx/Documents/Install/SuperKaramba/32677-skopete-1.3.1.skz/skopete.py", line 435, in __init__ self.screenW = int(src[0]) ValueError: invalid literal for int() with base 10: '1024x768' SKopete: Unable to use xrandr to detect screen size, trying xdpyinfo... SKopete: Detected screen size: 1024x768

lexus

SKopete takes only the first buddy icon from the metacontact's DCOP call and if there is none it uses its default. Well most of my Metacontacts have at least 3 accounts (MSN,Jabber and ICQ), so if there is no icon in MSN but there is an icon in ICQ SKopete does not use the last one but uses its default. I think SKopete have to manage buddy icons better - especially the use of unified resources in KDE (for ex. Contacts in Kontact etc just like kopete is doing it). You may say that adding custom icon for a buddy in SKopete is a solution, but i don't think so 'cause the main idea of KDE is lost ( i am tired of changing the configuration of a contact for every single plugin/program i use, just because they don't use the unified resources of KDE).

kovidgoyal

I agree, but I'm not going to change this before KDE4 is released. As I'm planning a full rewrite of SKopete based on plasma and akonadi.

maxxik

and in addition another issue : is semms like if I set up picture size different from default - it doesnt ompact "away" buddie - is it correct ? (for example I set up size to 30 - "usual" buddie is 30 but away - default size) there is screenshot www.vulkan-pravex.com/snapshot4.png

kovidgoyal

Try setting the picture size to 60

maxxik

60 is ok but I expect away buddies have to change their size too ... doesnt it ?

maxxik

and ... i've changed to 60 and now everything's ok ... but .. what is size option for ? anyway it's not working correctly ...

kovidgoyal

If you make the size option too small, it causes problems. You can make it bigger than 60 and I suspect in your case you can reduce it to about 45 (you'll have to experiment).

maxxik

it seems to be working with 45 .... bit no lower ...

maxxik

n oI dont have neither other-language contacts nor newlines ... concerning cut-off - pls take a look at this : www.vulkan-pravex.com/snapshot3.png it seems like "workarea" is smaller than necessary ...

kovidgoyal

This is a strange bug. It's never been reported before. Just to check what versions of kde, superkaramba, python and pykde are you using?

Pling
0 Affiliates
Details
license
version 1.3.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Karamba & Superkaramba from kovidgoyal:

Aero AIO: netstat plugin
kovidgoyal
last update date: 19 years ago

Score 5.0

ps: Aero AIO plugin
kovidgoyal
last update date: 19 years ago

Score 5.0

Aero AIO: cpu/mem plugin mod
kovidgoyal
last update date: 19 years ago

Score 5.0

SKaz
kovidgoyal
last update date: 19 years ago

Score 5.0

Aero AIO: Kmail based mail notification
kovidgoyal
last update date: 19 years ago

Score 5.0

Aero AIO mods for clock and system info
kovidgoyal
last update date: 19 years ago

Score 5.0

Other Karamba & Superkaramba:

Evolution Task Theme (for Karamba)
L0rclA5CII
last update date: 22 years ago

Score 5.0

Karambaqua
manor
last update date: 22 years ago

Score 5.0

Karamba Print Queue Monitor
Praxxus
last update date: 22 years ago

Score 5.0

The DarkGirl wallpaper and Karamba theme
xray
last update date: 22 years ago

Score 5.0

TecnoBar for Karamba
ZIOlele
last update date: 22 years ago

Score 5.0

Karamba Ink Level Monitor
Praxxus
last update date: 22 years ago

Score 5.0