Aero AIO: Kmail based mail notification

Karamba & Superkaramba by kovidgoyal 26 comments

Are you using the latest aero aio? Do a mkdir -p ~/.aero_aio/sounds/kmail in a terminal and then try it. - Dec 29 2005
Aero AIO: Kmail based mail notification

Karamba & Superkaramba by kovidgoyal 26 comments

Try uninstalling pykde...its optional. Should work fine without it - Dec 23 2005
Aero AIO: Kmail based mail notification

Karamba & Superkaramba by kovidgoyal 26 comments

Ah well that seems to a problem with your pykde bindings. Are you using the latest snapshot? PyKDE is optional for kmail, you could uninstall it and it will still work. - Dec 21 2005
Aero AIO: Kmail based mail notification

Karamba & Superkaramba by kovidgoyal 26 comments

Ah...well good luck - Dec 21 2005
karamTop

Karamba & Superkaramba by moloch 38 comments

You can actually get this output really easily from ps
ps -eo comm,pcpu,pmem --sort -pcpu | head -n7 - Dec 20 2005
Aero AIO: Kmail based mail notification

Karamba & Superkaramba by kovidgoyal 26 comments

I need the topmost error to debug this. You can get the error by starting superkaramba like so

superkaramba aero_aio.skz 2> log

The errors will be recorded in the file log. Post the topmost 2 errors. - Dec 20 2005
Aero AIO: cpu/mem plugin mod

Karamba & Superkaramba by kovidgoyal 39 comments

I like the idea of putting the CPU temp into the title, however I'll have to write failover code, since not all boxes (my dell desktop for instance) have CPU temperature sensors. - Dec 20 2005
Kuartet Desktop

Karamba & Superkaramba by nuskoollabs 59 comments

Nice concept...I wont actually use it, but as a thought, you could add icons for the apps. Look into the KIconLoader class, to easily find the right icon for each app. For an example implementation, you could see the findIcons function in kopete.py in my SKopete theme - Dec 19 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

Hi,
Another bug report I'm afraid.
While updating my kmail plugin, I found the following behavior in the config dialog:
First delete a plugin, then re-add it via the file-chooser, it doesn't show up in the available plugins list, you have to restart the config dialog and re-add the plugin. - Dec 19 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

That's great, I look forward to seeing the website when it's done. - Dec 19 2005
SKopete

Karamba & Superkaramba by kovidgoyal 154 comments

Thanks, that's good to hear - Dec 19 2005
ps: Aero AIO plugin

Karamba & Superkaramba by kovidgoyal 21 comments

Thanks...glad you like it. - Dec 19 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

You are right, I hadn't thought about the icons. I will move my kmail resources into img/kmail and sounds/kmail in the next release.

Thanks for fixing the directory bug. It may be because we use different implementations of zip. I use the zip utility from
ftp://ftp.freesoftware.com/pub/infozip/Zip.html
version 2.3

Incidentally, have you thought about using QTDesigner to create the config dialog layouts? I think it would be more user friendly to have a layout something like the layout I use for my SKopete theme. It is very easy to create using Qt designer and pyuic

Finally, I would appreciate it if you could add instructions to users on how to install plugins in the aiz format on the Aero AIO webpage, that way I don't have to replicate these instructions for every plugin I write.

Thanks,

Kovid. - Dec 19 2005
SKopete

Karamba & Superkaramba by kovidgoyal 154 comments

Thanks, hope it works for you. - Dec 19 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

Sorry for all the bug reports.
Your plugin unpack code in config_dialog.py in buttonAddClicked()
specifically line 727 assumes that f points to a file in an already created directory. That is not always the case. For e.g. my kmail plugin needs a file "sounds/mail.ogg". Line 727 raises an IOError because the directory sounds is not already created in ~/.aero_aio.

I think you should either create the directory sounds specifically or a more general solution would be to use os.path and os.makedirs to create all needed directories, before attempting to write to the file.

Finally, IMHO, an easier solution would have been to use the unzip utility (or zipfile for greater portability) to extract each plugin into its own directory under ~/.aero-aio/plugins.The directory could be named after the plugin file name modulo version numbers or from the name variable in the plugin_aio.py file. That way plugin authors would know where to load resources from. I think this would greatly simplify the add plugin code. But, I guess since you have already rolled out a solution it would be too tiresome to change. - Dec 18 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

If I close the theme and then re-open it and then try to load the config dialog I get
python: can't open file '/home/kovid/.superkaramba/aero_aio/config_dialog.py': [Errno 2] No such file or directory

Restarting superkaramba fixes it. - Dec 18 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

Fails for me with
Traceback (most recent call last):
File "/home/kovid/.superkaramba/themes/aero_aio.skz/aero_aio.py", line 720, in meterClicked
File "/home/kovid/.superkaramba/themes/aero_aio.skz/aero_aio.py", line 292, in loadPage
File "", line 0, in ?
File "/home/kovid/.superkaramba/themes/aero_aio.skz/network_aio.py", line 172, in __init__
File "/home/kovid/.superkaramba/themes/aero_aio.skz/network_aio.py", line 25, in __init__
File "/home/kovid/.superkaramba/themes/aero_aio.skz/network_aio.py", line 66, in getWireless
IOError: [Errno 2] No such file or directory: '/proc/net/wireless'

Its because I don't have wireless on my desktop. - Dec 18 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

I too had trouble with PyKDE, but this thread was of assistance
http://www.mail-archive.com/pykde%40mats.imk.fraunhofer.de/msg05768.html - Dec 15 2005
IDEA:KDE 4.0 KONSOLE IN SUPERKARAMBA/PLASMA

Various KDE 1.-4. Improvements by peluzza 7 comments

I don't think we should go putting everything onto the desktop just for the sake of it. I think of the desktop as a place that display information/links/icons that I need to be able to monitor/use frequently.

A console embedded in Aero AIO, would be too small to actually do anything useful with and there are already plenty of ways you can achieve a stand alone embedded terminal on the desktop. - Dec 14 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

kde-config --path icon
/home/kovid/.kde3.5/share/icons/:/usr/share/icons/:/usr/kde/3.5/share/icons/

Have you looked at the KIconLoader class? I find it very useful, it takes care of all the icon detecting logic. Of course to use it you need PyKDE. - Dec 14 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

None of the icons in the config dialog are loading...terminal output is
ls: /share/icons: No such file or directory

You probably should remove the leading /

- Dec 14 2005
Aero AIO: netstat plugin

Karamba & Superkaramba by kovidgoyal 16 comments

Thanks...it's good to be appreciated - Dec 09 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

Two suggestions:
1) I've only ever tested the KMail plugin with Python 2.4 and the latest PyKDE snapshot from http://www.riverbankcomputing.co.uk/pykde/index.php
To get it to compile with KDE 3.5 you may need to read
http://www.mail-archive.com/pykde%40mats.imk.fraunhofer.de/msg05768.html

2) Delete your installation of Aero-AIO and redownload and re-install everything...there was a bug in the KMail config script that I fixed a couple of days ago - Dec 08 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

Two suggestions:
1) I've only ever tested the KMail plugin with Python 2.4 and the latest PyKDE snapshot from http://www.riverbankcomputing.co.uk/pykde/index.php
To get it to compile with KDE 3.5 you may need to read
http://www.mail-archive.com/pykde%40mats.imk.fraunhofer.de/msg05768.html

2) Delete your installation of Aero-AIO and redownload and re-install everything...there was a bug in the KMail config script that I fixed a couple of days ago - Dec 08 2005
Aero AIO: Kmail based mail notification

Karamba & Superkaramba by kovidgoyal 26 comments

This theme uses dcop which is a KDE specific inter-process communication mechanism. I know of no way to communicate with a running instance of thuderbird. - Dec 07 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

Well you get the PyQT needed error if import the QT Python classes fails. i.e. the python interpreter can't locate the necessary modules. You can test this by typing python at a command prompt and then at the python prompt
from qt import *
If this fails you know that your installation of pyqt is buggy - Dec 06 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

Thanks for replying. No hurry...I also think that loading plugins from an external directory would be better. If you need help, I'll be happy to volunteer. - Dec 06 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

PyQT refers to the python QT bindings. PyKDE are the python KDE bindings - Dec 03 2005
Aero AIO: cpu/mem plugin mod

Karamba & Superkaramba by kovidgoyal 39 comments

Please try the 2.0.0 version - Dec 02 2005
Aero AIO: cpu/mem plugin mod

Karamba & Superkaramba by kovidgoyal 39 comments

Hmm...it looks like hddtemp is unable to handle data requests at such a high rate for your drive. Could you try upgrading hddtemp to the latest from
http://www.guzu.net/linux/hddtemp.php
and/or increasing the update interval? I will shortly post an updated version that will leave the displayed temp alone if hddtemp returns bad data. - Dec 02 2005
Aero AIO: cpu/mem plugin mod

Karamba & Superkaramba by kovidgoyal 39 comments

Well if you post your code I'll add it to the next version

I agree Python is really simple...although I know C/C++ I'd never really gotten into KDE programming, but Python made the introduction pretty painless, thanks to PyKDE - Dec 02 2005
Aero AIO: cpu/mem plugin mod

Karamba & Superkaramba by kovidgoyal 39 comments

Should auto-detect in the latest version...can't test it since I dont have an ibm laptop, please download it and let me know if it works.

Thanks,

Kovid. - Dec 02 2005
Aero AIO: cpu/mem plugin mod

Karamba & Superkaramba by kovidgoyal 39 comments

Thanks...but this hardly qualifies as an app. It's ~ 200 lines of python. - Dec 01 2005
Aero AIO: cpu/mem plugin mod

Karamba & Superkaramba by kovidgoyal 39 comments

Guess I shouldn't have jumped to conclusions. If you want to debug it, I've uploaded a new version that prints debugginf info, d/l and install it, edit the cpumemv2_aio.py file, near the top is DEBUG=False, change to True, run superkaramba in a terminal and post the output - Dec 01 2005
Aero AIO: Kmail based mail notification

Karamba & Superkaramba by kovidgoyal 26 comments

Hmm...I do use displayPath in kmail_gui.py, as folders may have identical display names and the user should be able to recognize which is which, however in kmail_aio.py it only uses displayPath if the folder path contains "inbox" in it, since if the user has several accounts, there would be multiple inbox entries. Here's the relevant code:
t = "displayName"
if self.folders[i].lower().find("inbox") > -1:
t = "displayPath"

I'd like to understand why this results in t = "displayPath" for you? Could you add a print self.folders[i] below t = "display"Name", run superkaramba in a terminal and post the output. If its too much trouble never mind.

Thanks,

Kovid. - Dec 01 2005
Aero AIO: Kmail based mail notification

Karamba & Superkaramba by kovidgoyal 26 comments

Hmmm...that's interesting. Are you using the latest version of the script? Its setup to use the displayName that is used by kmail.

The following command is used to get the folder display name:

dcop $(dcop kmail KMailIface getFolder $(dcop kmail KMailIface folderList|grep mailbox1)) displayName

run it in a terminal, if you get the same output as you see in the theme, then I would suggest you open up kmail and right click on the folder -> click properties, name the folder to whatever you want. The new name should show up when you restart the theme - Dec 01 2005
Aero AIO: cpu/mem plugin mod

Karamba & Superkaramba by kovidgoyal 39 comments

Thats because your harddisk is going into sleep mode. hddtemp cannnot access SMART info from some sleeping ATA drives.
You need to pass -w to hddtemp, but be aware that this will prevent your hard disk from sleeping - Dec 01 2005
Aero AIO: netstat plugin

Karamba & Superkaramba by kovidgoyal 16 comments

Also could you run the netstat.sh file in the scripts directory and post the output - Nov 29 2005
Aero AIO: netstat plugin

Karamba & Superkaramba by kovidgoyal 16 comments

Thanks...I aim to please

Kovid. - Nov 29 2005
Aero AIO: netstat plugin

Karamba & Superkaramba by kovidgoyal 16 comments

I need the error from the netstat_aio.py file to debug it. Start superkaramba like so
superkaramba > log 2>&1

Click the netstat icon, if the error occurs, killall superkaramba

Post the output of
grep -A10 netstat log

Thanks,

Kovid. - Nov 29 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

Hi,

I really like Aero AIO and have been writing several plugins for it. I think you need to incorporate a mechanism to load 3rd part plugins once Aero AIO is distributed as a .skz

For e.g. you could have it load plugins from an external directory like ~/.aero-aio/plugins/pluginname

Since the external diretory is fixed, the plugins would know to look for their media files in it

Just a suggestion, if there is already a mechanism in place, could you tell me about it? - Nov 28 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

Hi,

I modified the clock theme to look a little neater. See http://kde-look.org/content/show.php?content=31841

If you like it, maybe you could include it in your next release

Also, I have written a kmail mail notification plugin
http://kde-look.org/content/show.php?content=31838 - Nov 27 2005
Aero AIO

Karamba & Superkaramba by AdrienV 341 comments

For a machine with multiple processors and/or hyperthreading your cpu speed detection code doesn't work, you need to change grep MHz to grep -m1 MHz

Otherwise an excellent theme - Nov 26 2005