You are not logged in.

#1 2009-05-10 18:27:43

ammon
Member
Registered: 2008-12-11
Posts: 413

adesklets problem

Is anyone using adeslets?
I've tried to run them, but with no success.

Using xfce4 i start it with "adesklets --xfce4"
and nothing shows up.

This is my .adesklets file.

[/home/ammon/adesklets/acpumon-0.1.1/acpumon.py]
id=0 screen=0 x=0 y=0

[/home/ammon/adesklets/SystemMonitor-0.1.3/SystemMonitor.py]
id=0 screen=0 x=0 y=0

[/home/ammon/adesklets/acpumon-0.1.1/acpumon.py]
id=0 screen=0 x=0 y=0

There is no output or error report.

Offline

#2 2009-05-11 13:23:43

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: adesklets problem

From the looks of your ~/.adesklets file they are all appearing overlapping in the upper left hand corner of your desktop, and you are starting acpumon twice.  Remove the second entry of acpumon from your ~/.adesklets file.  That may be causing issues as you are trying to start the same instance (the id) twice.

Is xfdesktop managing your icons?

What happens if you start adesklets without the --xfce4 option?


Knute

Offline

#3 2009-05-11 17:54:12

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: adesklets problem

Sorry about that .adesklets file. That was experiment. Only adesklet plugin that works is pacmansentry. And it is funkey sometimes.

[/home/ammon/adesklets/pacmansentry-0.0.6/pacmansentry.py]
id=0 screen=0 x=980 y=0

Yes, i use xfdesktop.
What happenes when start with "adesklets". - Nothing. That command is for plugin reload and restart.

Offline

#4 2009-05-11 19:44:24

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: adesklets problem

Ok.  I've noticed that adesklets is kinda wierd anyway.  There are times when I have to move mine around to get them to show.  I only use asimpleclock right now.

I've noticed though that if soemthing in your config for the app is messed up it won't always start either.


Knute

Offline

#5 2009-05-12 00:31:59

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: adesklets problem

I am the author of pacmensentry.  Check its cfg_defaults settings and compare to another adesklets it might give you some clues.  It can be a transparency problem (last number in the serie of 4 in any colour setting.  It might be there but not visible.  You might actually be able to activate its menu by right clicking around its coordinates.

Offline

#6 2009-05-12 10:35:21

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: adesklets problem

Tried with deactivated compositor. Same thing.
There is no much diffirence in configs.

Sadest thing is that screenlets wont work also. There is some bug while starting...

Gues I'm stuck with xfce-panel plugins.

Offline

#7 2009-05-12 11:29:20

rangalo
Member
Registered: 2008-06-25
Posts: 108
Website

Re: adesklets problem

what happens if you test your adesklet script ?

Try to start the script on commandline and then instead of r (register) press t (test). Do you see the adesklet ? Do you see any error ?

Offline

#8 2009-05-12 18:01:05

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: adesklets problem

Traceback (most recent call last):
  File "./SystemMonitor.py", line 1107, in <module>
    EventHandler(dirname(__file__)).pause()
  File "./SystemMonitor.py", line 974, in __init__
    adesklets.Events_handler.__init__(self)
  File "/usr/lib/python2.6/site-packages/adesklets/events_handler.py", line 157, in __init__
    self.ready()
  File "./SystemMonitor.py", line 1004, in ready
    self.meters[-1].create((8,tmp_height), self.basedir, meter[1])
  File "./SystemMonitor.py", line 918, in create
    info = self.parseFile(self.info_file)
  File "./SystemMonitor.py", line 905, in parseFile
    [key, value] = split(":\s+", line)
ValueError: need more than 1 value to unpack

This is the output from test. What does it mean?

Offline

#9 2009-05-12 19:22:35

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: adesklets problem

@ammon,  This rings a bell.  I tried systemmonitor once and I had to modify the codes so that it does not search for a battery since there is none on my desktop.
I will have to look again when I get home.

Offline

#10 2009-05-13 02:32:27

tung
Member
From: Sydney, Australia
Registered: 2008-08-22
Posts: 29
Website

Re: adesklets problem

That split function doesn't seem to exist in Python 2.6.2. A bit of Googling says that you should 'import re' at the top of the file, and then replace split(":\s+", line) with re.split(":\s+", line).


Running Arch on Eee PC 901 12 GB

Offline

Board footer

Powered by FluxBB