PidginPlasmoid

Plasma 4 Extensions

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

9
Become a Fan
7.8

Description:
This is a port of the PidginScreenlet to the KDE4 plasma desktop. This plasmoid simply shows your contacts from Pidgin on your KDE desktop. It is very rough around the edges and does not contain all of the features I wish it could. Patches, forks, tips and tricks welcome!

This project depends on plasma-scriptengine-python

TODO: write configuration dialog to configure allow configuring 1) displaying pics 2) showing search box 3) showing all offline contacts 4) showing groups 5) showing selected contacts, even if offline. Need help writing this, please submit patches!
Last changelog:

0.01 - Initial public release
0.02 - Shows recent sign in/sign off, more minor display bug fixes
0.03 - Redesign: groups can be collapsed, chats initiated by double-clicking, Pidgin can be launched if it's not running, allows scrolling if list is too long
0.04 - Search all contacts quickly, fix for if Pidgin not running, added tool tips that show on mouseover of picture, icon for Pidgin not running, icons for buddies without buddy pics
0.04 - Updated with transparency. Released update without version bump (3/18/2010)


Ratings & Comments

22 Comments

jfilipe

Congratulations, thats a Great Job :-) I had experimented this, and this applet is soo big, ocuping very very space in plasma :-D I think, if it has settings to choose font size and color, buddy icons y/n, transparency %, ... it will be a little better, like piglet for windows, or most better :-) Regards

bastafidli

Hi great plugin, it allows me to see my Skype contacts in KDE panel via Skype/Pidgin integration. I was wondering if it would be possible to allow resizing the plasmoid when added to panel. I have panel on the right side of the scree with this plasmoid to see my contacts. Currently it shows only 6 lines = 6 contacts. I would like to make it taller to see more of my contacts. Thank you

jmdsdf

That's pretty cool. I didn't realize you could put it into a panel--I just have it on my desktop. Anyhow, I'm not actively working on this project. Best of luck modifying the code! If you come up with something, let me know!

zmej1987

Group doesn't fold on double-click if it's name contains non-ASCII characters (at least it's true for сyrillic letters)

jmdsdf

If you know a solution, please advise! Thanks!

zmej1987

Wow, that was weird. When I tried to debug it in a plasmoidviewer it just... worked. Probably the problem is somewhere in QTreeWidget, maybe it couldn't "click" the item with non-ASCII name. BTW, I found some bad code:

if item.group in self.collapsedGroups:
				del self.collapsedGroups[item.group]
else:
				self.collapsedGroups[item.group] = 1
You don't even need a dict here, collapsedGroups can be a list. The code would be simplier:
if item.group in self.collapsedGroups:
				self.collapsedGroups.remove(item.group)
else:
				self.collapsedGroups.append(item.group)

EstebanTristan

Hi, Now this plasmoid is working thanks to the last update. I was wondering if it would be possible to make the background totally transparent or using a .png file that would be either 100% transparent or 80 transparent so that the plasmoid would be fully integrated on the desktop. I don't know python but I am sure it is just a matter of one sligh modification in the pidginitem.py. Thank you for your answer

jmdsdf

Yes, where you see all of those QColor() functions those are R,G,B,A values. I.e. red/green/blue/alpha. You'll see that in main.py and pidginitem.py. Change those alpha values to what you like. I really should write a settings GUI... anyone know some simple code or have an easy to understand tutorial for that?

EstebanTristan

Hi, This plasmoid is a great idea. hgiwever, I wasn't able to install it. I use KUbuntu 9.10. Trying to install through the right click on desktop, add plasmoid and download new plasmoid failed "Initialization script failed". Trying to plasmapkg -i PidginPlasmoid.zip just prints out installation failed. Too bad because I would really wanted to see what it looks like. Hope next version will work on Ubuntu. Cheers

jmdsdf

I actually developed this under KUbuntu 9.10. Do you have the plasma-scriptengine-python package installed? Do you get any error messages running it from the command line? From the terminal, unzip the file. Cd into the directory, and run plasmoidviewer with no command line arguments. You'll should see all of the debug output that way.

sylvanas

hello, plasmoidviewer sayed me : "ImportError: No module named dbus" I have archlinux with kde4.4

jmdsdf

Try installing python-dbus

hefee

Hello, i got an error, when i ran your plasmoid: File "/home/hefee/.kde/share/apps/plasma/plasmoids/pidgin-plasmoid/contents/code/pidginitem.py", line 25, in __init__ self.status_text = str(status_text) UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 46: ordinal not in range(128) but the solution is simple: just change the position of status_text ant status in pidginitem.py. The correct line is: def __init__(self, parent, group, buddy, alias, status="",status_text="", picture=None, recent=0)

jmdsdf

The latest 0.04 version shouldn't have that same line in pidginitem.py, rather it reads: def __init__(self, parent, group, buddy, alias, status_text="", name="", status="", picture=None, recent=0): Update your version and try again and let me know if the bug is still there, maybe it's something else causing it?

hefee

Thanks with the new version i don't get this error anymore.

Sparrowmelody

Would it be possible to disable loading of contact icons/avatars? I like how this applet looks without them. Except for that, it's looking promising!

aes78

how to install it?

jmdsdf

Pick one of these three ways to install: 1. run "plasmapkg -i PidginPlasmoid.zip"; or, 2. Right click on your desktop, select Add Widgets, click on Install New Widgets then Install from a local file, select Plasmoid, click next, select the PidginPlasmoid.zip file, click finish; or, 3. Download and install directly from KDE's KDE-Look installer--search for PidginPlasmoid and click install.

aes78

It is not clear that the python is required. Through systemsettings can only *. plasma

WMP

Very good idea! Please, fix small bugs and make new features, do nice theme and this plaismoid will be super!

Anywhere

More work is needed, but a great start. Especially since it's a script and I don't need to look for a .deb. Keep up the good work and keep improving it.

Anywhere

One suggestion I'll make is needed for Plasma even though it doesn't apply to the original screenlet. Currently the only way to have this in a panel is to create an auto-hiding (or even non-hiding) panel off to one side. Some people might prefer it this way, but others might want an option to normally display as an icon (perhaps also indicating status) and pop up the main window when hovered for a few seconds or clicked. This should be optional as some users would still want the whole window, whether on the desktop or in a panel.

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

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 14 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 13 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0