
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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
13 years ago
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
13 years ago
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
dglent
13 years ago
Report
patkoscsaba
13 years ago
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.
Report
kovidgoyal
13 years ago
Skopete allows you to see an unlimited number of contacts, maybe it's going off the edge of your screen?
Report
patkoscsaba
13 years ago
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
Report
dglent
13 years ago
great superkaramba !
Report
patkoscsaba
13 years ago
So, maybe i'll stay with desklist plugin and try this again when i'll switch to kde4 with plasma.
Thanks anyway.
Report
kovidgoyal
13 years ago
Report
kovidgoyal
13 years ago
Report
Harvest
13 years ago
Report
kovidgoyal
13 years ago
Report
Harvest
13 years ago
Report
Hwoarang
13 years ago
Report
maxxik
13 years ago
thank you
Report
maxxik
13 years ago
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 ?
Report
maxxik
13 years ago
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
Report
lexus
14 years ago
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).
Report
kovidgoyal
14 years ago
Report
maxxik
14 years ago
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
Report
kovidgoyal
14 years ago
Report
maxxik
14 years ago
Report
maxxik
14 years ago
Report
kovidgoyal
14 years ago
Report
maxxik
14 years ago
Report
maxxik
14 years ago
concerning cut-off - pls take a look at this :
www.vulkan-pravex.com/snapshot3.png
it seems like "workarea" is smaller than necessary ...
Report
kovidgoyal
14 years ago
Report