View Full Version : HomeIP, HomeCPUSpeed, and HomeDiskFree
Khertan
04-04-2008, 10:52 AM
It's three free home applet coded in python with transparency.
It s still experimental applet but works well and consume cpu (but very low) only when desktop is in front.
http://khertan.net/images/homeapplet.png
http://khertan.net/downloads/Experiments/homediskfree-0.0.3.tar.gz
http://khertan.net/downloads/Experiments/homeip-0.0.3.tar.gz
http://khertan.net/downloads/Experiments/homecpuspeed-0.0.3.armel.deb
qwerty12
04-04-2008, 11:24 AM
Oh wow!
Thanks, I've been using the non-transparent versions for some time now :)
hmm, interesting :)
ill have to give those a spin ;)
hmm, i see that only one of them is deb packaged...
Khertan
04-04-2008, 12:34 PM
the three are deb packaged. There is only wifi level that isn't it s still unfished.
mwiktowy
04-04-2008, 12:50 PM
the three are deb packaged. There is only wifi level that isn't it s still unfished.
Cool ...
Where are the debs for homeip and homediskfree hiding?
*edit* nevermind ... I see them on your website. Thanks.
*edit edit* However, those seem to be the old versions ... 0.0.3 seems to be tarball only.
tagazok
04-04-2008, 01:19 PM
Could you make debs for the 3 applets? :)
qwerty12
04-05-2008, 06:40 AM
Khertan, nice job but the tar for HomeDiskFree is corrupt. Only recieving 53B on Tablet, PC and download manager and nothing is there when I open with WinRar, Xarchiver or "tar xzvf" :)
tagazok
04-05-2008, 08:03 AM
yep. I confirm, tarballs are empty for me to :s
bunanson
04-05-2008, 09:04 AM
the three are deb packaged. There is only wifi level that isn't it s still unfished.
Could you pls give some instructions how to make it work, please:D?
I dl and installed hildondesktop and homeCPUSpeed and HomeDiskFree. i checked the box on the Home>Select but failed to see any info on the desktop and the checked box becomes unchecked by self. I have unchecked all other desktop items just in case there is conflict. TIA,
bun
brontide
04-05-2008, 10:27 PM
I was curious to see how you wrote the home screen apps in python ( since I have a few things myself ), but alas the tar.gz files are empty :-(
Khertan
04-06-2008, 04:45 PM
Here the good url :
http://khertan.net/downloads/Experiments/homediskfree-0.0.3.armel.deb
(http://khertan.net/downloads/Experiments/homediskfree-0.0.3.armel.deb)
http://khertan.net/downloads/Experiments/homeip-0.0.3.armel.deb
http://khertan.net/downloads/Experiments/homememfree-0.0.3.armel.deb
http://khertan.net/downloads/Experiments/homecpuspeed-0.0.3.armel.deb
qwerty12
04-07-2008, 03:35 AM
I wrote a uptime applet. Unfortunately it doesn't work well.
After an hour it will not show the uptime.
If anyone wants to try fixing it, feel free.
(99.8% of the code is Khertan's, the .2% of modifications are mine. It is my .2 that is the dodgy bit, Khertan's code is great)
Remove .zip
miind
04-07-2008, 03:59 AM
tried to install diskfree applet but it needs python-hildondesktop package!? where can I download it?
qwerty12
04-07-2008, 04:00 AM
http://khertan.net/downloads/Experiments/python-hildondesktop_0.0.2-1_armel.deb
& probably
http://khertan.net/downloads/Experiments/hildon-desktop-python-loader_0.0.2-1_armel.deb
Khertan
04-07-2008, 05:55 AM
There is an official package now in maemo extras-devel repository.
loaderr
04-07-2008, 03:21 PM
Cool plugin/widgets!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! my desktop looks so hot now! thanks!
sashabe
04-09-2008, 02:23 AM
Could you pls give some instructions how to make it work, please:D?
I dl and installed hildondesktop and homeCPUSpeed and HomeDiskFree. i checked the box on the Home>Select but failed to see any info on the desktop and the checked box becomes unchecked by self. I have unchecked all other desktop items just in case there is conflict. TIA,
bun
The same for me. Rebooting does not help.
There is an official package now in maemo extras-devel repository.
I am not able to find it. Is it showing up for anybody else? What is name is it under if it is showing up?
cashless
04-09-2008, 04:21 PM
The same for me. Rebooting does not help.
Thirded. No dice.
qwerty12
04-09-2008, 04:28 PM
i've got these applets to work.
Run python /usr/lib/hildon-desktop/homediskfree.py and see what it says.
cashless
04-09-2008, 04:45 PM
i've got these applets to work.
Run python /usr/lib/hildon-desktop/homediskfree.py and see what it says.
Ran it, no output. got the next command prompt within about 15 seconds.
gambol
04-09-2008, 06:40 PM
Check out http://www.thisismobility.com/blog/2008/04/09/os2008-homescreen-hackery/
It was adding python-hildon-desktop-loader that made them work for me.
Underscore
04-09-2008, 07:19 PM
Check out http://www.thisismobility.com/blog/2008/04/09/os2008-homescreen-hackery/
It was adding python-hildon-desktop-loader that made them work for me.
When I try to install, all I get is "Incompatible application package." :(
mwiktowy
04-10-2008, 01:47 AM
I am not able to find it. Is it showing up for anybody else? What is name is it under if it is showing up?
The problem is that the package in extras-devel is called python2.5-hildondesktop; not the name python-hildondesktop that the applet packages are looking for. In any case that package only showed up in red-pill mode.
arunchowdhary
04-11-2008, 09:37 PM
There is an official package now in maemo extras-devel repository.
Could you please tell me how to add this repository in my N800/OS2008.
I have tried like this:
Web address: http://repository.maemo.org/extras/
Distribution: <Blank>
Components free: extras-devel
But it did not worked, please tell me what is wrong.
Thanks.
Underscore
04-11-2008, 10:54 PM
The problem is that the package in extras-devel is called python2.5-hildondesktop; not the name python-hildondesktop that the applet packages are looking for. In any case that package only showed up in red-pill mode.
Thanks, this worked for me. Applets now up and running. :D
got them working at last.
love the mem and space, the speed one seems a bit useless, and the ip one falls short of iphome sadly.
also, mem and speed do not hug the right screen edge like space and ip do.
still, they prove that it work so now its only a question of what people can think up ;)
mooler
04-12-2008, 12:30 AM
Thanks, this worked for me. Applets now up and running.
What worked for you?
bunanson
04-12-2008, 01:34 PM
What worked for you?
go, http://khertan.net/downloads.php, dl hildon-desktop-python-loader_0.0.2-1_armel.deb then
xterm
sudo gainroot
dpkg -i /your path/hildon-desktop-python-loader_0.0.2-1_armel.deb
that is it!
credit goes to Gambol, a few post up. Thanks, Gambol.
Ummmm......... this is hildon-desktop-python-loader..., the other is python-hildondesktop...
bun
bunanson
04-12-2008, 05:40 PM
A newbie step-to-step guide for installation,
go http://khertan.net/downloads.php, dl
python-hildondesktop_0.0.2-1_armel.deb
hildon-desktop-python-loader_0.0.2-1_armel.deb
and the five 0.04.armel.deb applications.
xterm
dpkg -i /yourpath/python-hildondesktop_0.0.2-1_armel.deb
dpkg -i /yourpath/hildon-desktop-python-loader_0.0.2-1_armel.deb
and then click the five 0.04armel.deb applications one by one, they will install with app manager and show up on the desktop.
It does not work with MMC boot, apparantly. I have to boot from flash.
Enjoy,
bun
Underscore
04-12-2008, 06:42 PM
go, http://khertan.net/downloads.php, dl hildon-desktop-python-loader_0.0.2-1_armel.deb then
xterm
sudo gainroot
dpkg -i /your path/hildon-desktop-python-loader_0.0.2-1_armel.deb
that is it!
credit goes to Gambol, a few post up. Thanks, Gambol.
Ummmm......... this is hildon-desktop-python-loader..., the other is python-hildondesktop...
bun
Actually, this isn't what worked for me. I tried to install python-hildondesktop_0.0.2-1_armel.deb from Khertan's site but appmanager said it was incompatible (my appmanager was kind of dying)
I actually downloaded the one in the extra-devels repository, with red pill enabled.
bunanson
04-12-2008, 06:45 PM
@underscore,
are you MMC boot?
Anyway, my instruction get away with using red pill mode.
bun
Underscore
04-12-2008, 07:02 PM
No mmc boot here...why?
What's bad about red pill mode? I thought I heard something about not using it but I never really saw a reason not to...
Thanks
bunanson
04-12-2008, 07:20 PM
No mmc boot here...why?
What's bad about red pill mode? I thought I heard something about not using it but I never really saw a reason not to...
Thanks
I cannot make it work when in the MMC boot. I can only make it work with internal flash boot. Red pill mode made my sphincter tone tight and constipate, scarely :eek:
bun
for me red pill is much to slow, to many packages that needs to be indexed each time you install something...
and i got to say that i missed the 0.04 versions of the applets, ill give them a spin now.
MaemoN00B
04-16-2008, 01:56 PM
This is the procedure that WORKED for Me, thanks !!! ;)
A newbie step-to-step guide for installation,
go http://khertan.net/downloads.php, dl
python-hildondesktop_0.0.2-1_armel.deb
hildon-desktop-python-loader_0.0.2-1_armel.deb
and the five 0.04.armel.deb applications.
xterm
dpkg -i /yourpath/python-hildondesktop_0.0.2-1_armel.deb
dpkg -i /yourpath/hildon-desktop-python-loader_0.0.2-1_armel.deb
and then click the five 0.04armel.deb applications one by one, they will install with app manager and show up on the desktop.
It does not work with MMC boot, apparantly. I have to boot from flash.
Enjoy,
bun
I just installed the .5 (just released today) version of net stats and it installed but when I hit the check mark on the applets menu to get it to load it does not load. I go back into the applets menu and it is no longer checked. No error messages pop up.
I did not have the previous versions of these apps loaded because of the different challenges loading them.
What am I doing wrong?
bunanson
04-17-2008, 04:38 PM
I just installed the .5 (just released today) version of net stats and it installed but when I hit the check mark on the applets menu to get it to load it does not load. I go back into the applets menu and it is no longer checked. No error messages pop up.
I did not have the previous versions of these apps loaded because of the different challenges loading them.
What am I doing wrong?
Install this will solve your problem, dpkg -i /yourpath/hildon-desktop-python-loader_0.0.2-1_armel.deb. Look at a few thread up, bunanson.
bun
thorbo
04-17-2008, 05:16 PM
Just installed and had the same problem (installed using the .5 installer via Application Manager). Also installed the WIFI indicator. Nothing showed up when selected. Did a reboot and now I am stuck in a loop... Argh. Is there anyway to see the bootprocess and figure out where things are hosed? I really don't want to re-image/reflash. Any info would be good info at this point.
Thanks,
Thor
Install this will solve your problem, dpkg -i /yourpath/hildon-desktop-python-loader_0.0.2-1_armel.deb. Look at a few thread up, bunanson.
bun
I went into red pill mode and installed the lib. It did the trick, thanks.
Khertan
04-18-2008, 12:48 AM
Sorry for all this messy install. Now packages is fixed :) and should install straight forward without need to add an other package.
Thx
Just installed homeip & wanted to say thanks! This is great. One suggestion/request. If everyone else is on board with this idea, what's the possibility of having the connection name displayed as well. I'm thinking two lines something along this:
HOME
IP: 192.168.0.55
Whattayall think? Even possible? tx
i would love for it to work more like iphome. as in, show the ip of other connections then the wlan one, and show either 127.0.0.1 or just blank if no connection is active.
never mind, i tested the 0.0.6 version and it seems to show no ip when wifi is down at least ;)
but still no ip if the ppp connection is up instead of the wifi. so it cant fully replace iphome just yet...
and im not entirely sure if that netstat one is operating correctly...
solico
04-18-2008, 10:14 AM
wow great work - love those applets.
Little off topic, but how about another applet implementing "battery-status" functionality in order to finally get rid of that crappy nokia battery status thing? :)
that would be great.
ImMelody
04-19-2008, 10:18 PM
I emailed you on your website, but thought I'd ask here too. Can I get a copy of your source? It'd be really helpful to me and my little pet project. Thanks!
GeneralAntilles
04-20-2008, 07:12 AM
I emailed you on your website, but thought I'd ask here too. Can I get a copy of your source? It'd be really helpful to me and my little pet project. Thanks!
http://repository.maemo.org/extras-devel/pool/chinook/free/source/h/
ImMelody
04-20-2008, 08:06 AM
Thanks so much. Once again you come to my rescue :)
hmm, i suspect that some of the applets can make hildon-desktop eat quite a bit of cpu...
Thanks Khertan!
@tso: not that I have noticed so far but IIRC you could mod the python source to change the update period (maybe?)
Khertan
04-20-2008, 02:48 PM
"hmm, i suspect that some of the applets can make hildon-desktop eat quite a bit of cpu..." Where to ?
not that I have noticed so far but IIRC you could mod the python source to change the update period Why ? and what applet ?
sorry to say, but i have not been able to track it to a specific source.
its just that i have seen the hildon-desktop process eat quite a bit of cpu at times lately, but cant really pin it on a source. it can become so bad that it affects the scrolling of the menus.
hmm, now that i think about it, it may not be the applets, but maybe something in the connection between python and the desktop. as i have seen it continue even after i have killed all applets on the desktop. and its something that i cant recall seeing before i started testing these python based applets...
computerfreek
04-20-2008, 07:21 PM
I installed a few of the app's ! But i think the app's eat up the battery LIFE. I stoped them and my IT n800 runs for 3 days just fine standby/lite browsing . With the app's runing i don't even get 24 hours standby . Can someone please test that out and let me know if the same happens to you . I had the ip app, mem,cpu and drive space app's runing when i did the test .
Thanks
computerfreek
Laughing Man
04-20-2008, 07:35 PM
its just that i have seen the hildon-desktop process eat quite a bit of cpu at times lately, but cant really pin it on a source. it can become so bad that it affects the scrolling of the menus.
It really is hard to pin down the source of the problem when hildon-desktop eats cpu usage. For example, I was having problems with CPU usage whenever I put in my 16 GB SDHC into the external slot. It wasn't meta-layer crawler as far as I knew (it was eating less hten 10%) and I also disabled it. Yet hildon-desktop kept eating cpu. I took it out, and hildon-desktop's cpu usage dropped.
Couldn't figure it out so I just redid my dual boot and put it on my 16 GB, and now I don't have that problem anymore.. Weird.
computerfreek, are you leaving the tablet on desktop or in another window? I believe the topic creator said that if it's on the desktop it'll eat more cpu usage. I'd test it but I only use the wifi signal applet (doesn't seem to make any impacts on battery life as far as I can see).
computerfreek
04-21-2008, 01:36 AM
Yeah i always close all my windows . So it is sitting at the desktop. as i use SIP phone on it i keep it on 24/7 . I stoped all the APP's and it seems fine now . I wish this did not happen i like the ip app. i can always keep a page or a program open i gess .
what we need is a way that wh the system/IT shuts the screen off it stops the refresh of the desktop apps . this way it will not be eating batt life refreshing something you can't see as your screen is off.
computerfreek
ps . I will also check with just the IP app and see how it is on batt with and with out it on.
Why ? and what applet ?
Khertan: I was referring to the following in homediskfree.py (and others?) that I glanced through a few days ago:
# set a timeout to change the images
self.timer = gobject.timeout_add(2000, self.update)
I was tablet-less when I replied so could not check but remembered the timer. I wouldn't think 2sec interval would add much battery drain (but don't know for sure). S'pose tso could set it to much larger interval and check the effect.
MaemoN00B
04-21-2008, 04:34 PM
I want to see the external IP of my router/connection in the HomeIP applet... or a two line 1 for the LAN IP and other with the external (Internet) IP.
;)
for seeing the external ip i guess there are two options. one to access the router somehow, and two using a external source of some kind that report what ip is being used to access the resource.
as for the timeout thing, maybe ill look at it. funny thing is that homediskfree isnt a big user of cpu, memfree, wifi and similar are tho. but i guess it comes from there being no way to just refresh when actual change happens. instead one have to grab the data source at intervals to see if anything have changed. pull vs push and all that...
played around a bit, and found that right after "killing" hildon-desktop its nice and snappy (killing it this way seems to even restore all my active applets). but ones i load the homefreemem applet, it becomes notisably slower to render the scrolling of menus for example. and this stays on even after i unload the applet. the only way to "unslug" the desktop is by "killing" it and have it reload...
There is an official package now in maemo extras-devel repository.
Khertan, could you update your first post to either (1) link to the latest applets or (2) tell everyone that the applets are now in the extras-devel repo and they should get them there?
Starcruiser1229
04-29-2008, 02:27 AM
Khertan - I am using these applets successfully - Thanks!
I am wondering - are these "open source", any restrictions on reusing/abusing your code?
I would like to see more choice in desktop applets - thanks for a big step in the right direction.
I would like to see a battery-status plugin eventually as well, and I have a few other odd ideas - I do not have the python skill, or the time, to do it myself at this point, but I am about finished with classes for the semester, and then I may dive into Python - it looks relatively easy (I am currently taking a Java class, and I enjoy it, although it is the only programming experience I have - wish Java was of more use on the tablet...).
As for using lots of resources - I haven't noticed a problem, however I have been using my tablet very lightly lately, so it is certainly possible...
Patrick
macr0t0r
04-29-2008, 06:48 PM
I may have to dig into this code a little and see if I can tweak it. Like others, I like to leave it on the desktop, so I also discovered that it killed the battery. What I'd like to do is a sort of count-down. It updates "live" for the first 3 minutes (every two seconds), then stops updating until the next time you switch to the home screen.
Time to do some forum-searching. Is there a command-line method for detecting if it's connected to the charger? I could then enable it to continue updates it attached to the charger.
- Jim
I am not sure what the cause was but I recently noticed the same thing other were reporting, my battery was lasting only a few hours even when I did not touch the tablet. Uninstalling the applets has made a world of diffence. I can no longer watch the battery drain away.
1. I had the .5 version and then .6 versions installed. I noticed it under the .6 versions. It may have been there before but I did not notice it.
2. I had the net stat, home ip, and cpu applets installed.
3. Just disabling them did not seem to make a difference. I did not try disabling them and then restarting the tablet.
4. Even doing an uninstall did not seem reduce cpu usage. I have the oss cpu monitor installed also and it still showed too much activity for an idle tablet. After rebooting the device it then went back to normal.
5. The home cpu applet seemed to sit at 388 mips (I think that was the number) almost all the time. 160 mips would show up periodically but not often. I would see 250 flash by at times but that was rare.
jgallen23
04-30-2008, 01:06 PM
same thing happened to me, I installed the applets, left my tablet idle for a few hours, came back and it was dead. Uninstalled the applets and now its back to normal
nikolajhendel
06-27-2008, 07:20 AM
Homediskfree works like a charm, but would be super if it was possible to add a custom label to each "disk".
Instead of internal showing as "/ : xx.x M" it would be super if it was possible to write a label at and get "Internal: xx.xx M", and so forth.
chrisak
06-27-2008, 01:40 PM
I was thinking the same, it would be cool to be able to label the disks.
Also, any chance of a homeClock applet offering different ways of dislaying the time. A couple yearrs back when I used to use regular computers, I had either gnome or kde with a "fuzzy" clock that was fun.
gerbick
07-12-2008, 01:45 AM
the recent update for homeip just died on my n810. i can check it, but it will not run.
combatdoc
07-12-2008, 10:44 AM
won't run here either
tuco penguin
07-15-2008, 09:48 AM
HomeIP stopped working for me yesterday too. I can check it in the applets dialog, but it won't run. :( I'm running Chinook on an N800.
st5150
07-16-2008, 01:17 AM
the recent update for homeip just died on my n810. i can check it, but it will not run.
Same here! I shouldn't have updated. I tried uninstalling and re-installing with no luck.
sd_proto
07-16-2008, 05:49 AM
same here.... hope it's fixed soon, it's one of my favorite utilities!
sd_proto
07-18-2008, 04:43 AM
I PM'd Khertan to see if he was aware/working on this, but in the mean time the previous version can be found here (http://repository.maemo.org/extras-devel/pool/chinook/free/h/homeip/).
Thanks Khertan!
solico
07-21-2008, 07:17 PM
since I started to adapt the homeip applet for my own needs (battery applet :D) I grabbed the latest code and modified it, so it will work again.
Discaimer: I'm new to programming on the maemo plattform, so no deb, just pure python code.
Copy the content of the attached file to /usr/lib/hildon-desktop/homeip.py and reactivate the applet.
At least on my NIT it's working again. If anything goes wrong just deinstall the homeip-applet via application-manager and the modified file will be gone. In that case: sorry for your time :o
Khertan
07-22-2008, 11:34 AM
I ll made it available again in few time ... as i m trying to found some issue with onboard deb packaging...
Thx for the report
Khertan
07-28-2008, 04:57 AM
HomeCPUSpeed, HomeMemFree, and HomeDiskFree is available in extras diablo repository.
HomeIP will be available in one day or two, i need to test the package in extras-devel.
Thx
nikolajhendel
07-28-2008, 02:57 PM
hi
just tried to install homediskfree (0.1.1-1) from extras devel and got some strange errors:
application packages missing:
Flash-and-reboot
initfs-flasher
kernel-diablo-flasher
conflict:
pysqlite
Khertan
07-28-2008, 06:12 PM
lol ... do u know that extras devel is not for end user ?
nikolajhendel
07-29-2008, 01:58 AM
hehe - yeah I know, even though I haven't really burned myself when installing things from extras-devel.
The missing packages seemed somewhat over the top of what homediskfree needed - so I just wanted to let you know. (I at least can't understand why the plugin needs the 3 missing applications)
Khertan
07-29-2008, 06:17 AM
In fact this error isn't related toHomeDiskFree, but it s an problem about an package in repository having different depandancies than in the firmware :
http://www.internettablettalk.com/forums/showpost.php?p=196014&postcount=3
nikolajhendel
07-29-2008, 06:46 PM
thanks for the heads up.
Now it just conflicts with pysqlite (I have version 0.0.1-1 which "came" with erminig).
hmm, it seems they now want python-hildondesktop rather then python2.5-hildondesktop...
Khertan
07-31-2008, 12:39 AM
tso > yes ... you shouldn't use extras-devel repository !
The 0.2.2-2 is now available in extras repository with the right depandancies and python2.5-hildondesktop
heh, ill survive, i guess ;)
Khertan
07-31-2008, 08:51 AM
:)
(blablabla too short message turn around)
gerbick
08-06-2008, 01:53 AM
any updates on the HomeIP?
Khertan
08-06-2008, 03:07 AM
Tested since sunday on my device ... so i think i ll promote it soon to extras
edit : already in extras repository.
gerbick
08-06-2008, 10:51 AM
It's the same one as before for me... 0.70-3, and that one will not work in Diablo at all.
Khertan
08-06-2008, 10:56 AM
hum ... desinstall it ... 0.7.0 wasn't made for diablo ... and then you ll be able to install the last one. 0.2.2
hmm, seems that homeip cant be put towards the right side of the desktop, as it will expand past the edge when one connect...
hmm, seems i should have tested homeip more earlier. i see now that the newest version also show ppp, nice :)
not sure when it was added tho :rolleyes:
bluechalk
11-17-2008, 02:12 PM
There is a bug in homememfree 0.9.1-2 at maemo.org. It is showing the wrong value for free memory. Its showing two times MemFree. It should be reporting MemFree+Cached.
Line 232 should be modified, MemFree should be changed to ^Cached.
Khertan
11-19-2008, 08:46 AM
Oups .... thanks....
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.