PDA

View Full Version : Plugin: USPWhoami


mucha
September 11th, 2006, 11:47 AM
Saw in the plugin development thread a wish about a panel that shows user avatar and name. I hope it works fine! :)

chanders
September 11th, 2006, 12:44 PM
Screenie? :D

mucha
September 11th, 2006, 01:21 PM
Simple but anyway: :)

http://img145.imageshack.us/img145/2823/uspwhoamigw2.png

chanders
September 11th, 2006, 01:24 PM
Simple but anyway: :)

Beau-t-ful!! Check your PM ;-)

spockrock
September 12th, 2006, 03:07 AM
how does one use this plugin??

edit never mind.

extract to
~/.usp/plugins/


and then Add USPWhoami in gconf, works like a charm.

http://img.photobucket.com/albums/v605/redemma/xgl/Screenshot-SystemPanel.png

one small thing I think I would like is if it read 'Who Am I?' Or perhaps 'User' instead of 'Who am i', as the title above the Avitar. Thanks! I love this plugin.

chanders
September 12th, 2006, 11:48 AM
Try changing self.heading in USPWhoami.py to whatever you like as the heading.. and reload the plugin..

spockrock
September 12th, 2006, 01:34 PM
Try changing self.heading in USPWhoami.py to whatever you like as the heading.. and reload the plugin..


thanks thats easy enough

fantan
September 12th, 2006, 05:43 PM
Hi people,

Today I've downloaded the USPWhoami plugin. I've extracted it, putted the two file firstly to ~/.usp/plugins/ directory and some time later I tried to put them to /usr/python2.4/site-packages/usp/plugins directory. In both case in gconf I've added USPWhoami to the plugins_list, but I got the following error message: "The Who am I plugin isn't found" and nothing else.
What should I do with it?
My second question is: how and where to set up my avatar, and what kind of type (jpg, png or what) should it be?

Thank you for the answer in advance.

Best regards, fantan people

mucha
September 12th, 2006, 08:39 PM
Hi people,

Today I've downloaded the USPWhoami plugin. I've extracted it, putted the two file firstly to ~/.usp/plugins/ directory and some time later I tried to put them to /usr/python2.4/site-packages/usp/plugins directory. In both case in gconf I've added USPWhoami to the plugins_list, but I got the following error message: "The Who am I plugin isn't found" and nothing else.
What should I do with it?
My second question is: how and where to set up my avatar, and what kind of type (jpg, png or what) should it be?

Thank you for the answer in advance.

Best regards, fantan people

This might work:
- Remove the plugin from plugins_list in gconf
- Then delete the plugin in /usr/python2.4/site-packages/usp/plugins
- Change chmod on the plugin
$ cd ~/.usp/plugins
$ chmod 755 USPWhoami.py
$ chmod 755 USPWhoami.glade
- And add it to plugins_list again

To change your avatar you can just click on the avatar in the plugin or run gdmphotosetup

Uncle Spellbinder
September 13th, 2006, 12:35 AM
Absolutely EXCELLENT!!!!

fantan
September 13th, 2006, 02:15 AM
Hi mucha,

I did what you've proposed but no success!
When I did all you proposed, a window, named Window1 skipped up and when I clicked on the icon, my photo which I configured before in the "Login photo panel" appeared in this Window1. And when I clicked on the USP icon on the bottom panel, the error message appeared again: >>Plugin "USPWhoami" not found!<<

Now on my system the two file are in the ~/.usp/plugins directory, they permissions are 755. But no any results!
What is exactly the name which I must put in gconf to the plugins_list variable: USPWhoami, whoami, Whoami or what? And where can I put my name? In the file USPWhoami.py I found a variable: self.set.Name(). Maybe there?

What should be the next step?

fantan

LordMau
September 13th, 2006, 04:38 AM
Excellent.

fantan
September 13th, 2006, 06:56 AM
Hi for All,

Because I didn't got any answer I will answer to own questions now:

I don't know exactly what I did, but after several reboots of (firstly just the X, and after the all system), at last I've got all I wanted.
In any case, my congratulations for this excellent job. Now I have all: the avatar, the name of the user (that is me) etc.

Thank all you again,

fantan

bulldog
September 13th, 2006, 11:33 AM
When you got troubles again fantan,just remove USP from your panel and add it again.

Most of the time is this the only fast way to put new plugins or whatever in your USP.

fantan
September 13th, 2006, 11:56 AM
Thanks a lot, next time when an error appears I'll try what you provide.

fantan