
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
kovidgoyal
15 years ago
Report
motyR
15 years ago
Report
kovidgoyal
15 years ago
Report
rokkford
15 years ago
Report
rokkford
15 years ago
Report
rokkford
15 years ago
-the buddylist just appeared once and i was listed as buddy myself (now it's just loading...)
-can't access the configure menu
-reloading let's skopete jump back to the right of my screen
-skopete tells me, that i've chosen not to use PyKde (?)
in order to help you getting this to work, i posted the output.
http://rokkford.ro.funpic.de/skopete_log.txt
Report
kovidgoyal
15 years ago
Report
rokkford
15 years ago
only trying to configure brings
Traceback (most recent call last):
File "configure.py", line 16, in ?
import sys, traceback, re, operator, os, subprocess
ImportError: No module named subprocess
although sk is compiled against python2.4
Report
kovidgoyal
15 years ago
1) Add the bin directory of python 2.4 for to the beginning of your PATH variable, in ~/.bashrc. something like
export PATH=/path-to-2.4/bin:$PATH will do the trick.
2) Edit line 45 of config_backend.py and replace python with python-2.4
Report
rokkford
15 years ago
seems to work no.
only two more things:
1) every time skopete reloads, it jumps back to his prior position to the right of the desktop, i guess that's very annoying
2)in line 45 of config_backend.py it has to be python2.4 (not python-2.4)
thanks again - great work buddy!!
Report
kovidgoyal
15 years ago
in the config dialog choose layout manual to prevent skopete from automatically repositioning itself.
Report
agopino
15 years ago
i take the pyQt3.14 and the installation was good.
But when skopete runs i can read just 1 or 2 contacts (depends by font) because the dimension of window is too small. How can I change the dimension?
Report
kovidgoyal
15 years ago
Report
agopino
15 years ago
now i have 5contact online in kopete, but i can see only 1 in skopete..the skopete area in desktop seems cut..
Report
agopino
15 years ago
I check the box use pykde for dcop calls and now skopete works good.
thanks for all.
ago
Report
kovidgoyal
15 years ago
Report
rokkford
15 years ago
kopete is running as well.
Report
kovidgoyal
15 years ago
unzip *skopete*.skz
Then change DEBUG=False to True near the top of kopete.py and run it using
superkaramba skopete.theme
Report
rokkford
15 years ago
Report
kovidgoyal
15 years ago
Report
rokkford
15 years ago
superkaramba kopete.py
Could not read config file.
sys.path.insert(0, '/home/rokkford/tmp/skopete/')
Traceback (most recent call last):
File "/home/rokkford/tmp/skopete/skopete.py", line 12, in ?
import subprocess, sys, traceback
ImportError: No module named subprocess
------------------------------------------------------
What does ImportError mean?
It means that I couldn't load a python add-on skopete.py
If this is a regular theme and doesn't use python
extensions, then nothing is wrong.
------------------------------------------------
Report
kovidgoyal
15 years ago
Good luck with getting it to works with python 2.4
Report
rokkford
15 years ago
Report
kovidgoyal
15 years ago
Report
rokkford
15 years ago
superkaramba skopete.theme
sys.path.insert(0, '/home/rokkford/tmp/skopete/')
Traceback (most recent call last):
File "/home/rokkford/tmp/skopete/skopete.py", line 12, in ?
import subprocess, sys, traceback
ImportError: No module named subprocess
i guess i try to reinstall superkaramba, maybe it's gonna compile against2.4!
Report