ok I added an update option to the installer. checkout the newest svn then after that run:
and it should handle everything for you.Code:sudo python installer.py update
ok I added an update option to the installer. checkout the newest svn then after that run:
and it should handle everything for you.Code:sudo python installer.py update
if you use conky I wrote a script to monitor your power usage so you don't have to fire up powertop..instructions are here http://crunchbanglinux.org/forums/to...-usage-script/
also I found a bug in the daemon that it is constanly changing the power mode even though it is already set, I'll track down why it's doing it tomorrow, but for now it's going to keep your disk spun up more because it is writing to the log constantly, it's only when you have it set to manual mode so for now just keep it on auto.
iggy: I was able to reproduce the error you spoke of above. Also I have been playing with FF some and have had luck with moving its browser.cache to a ram disk, i get fewer wakeups at least.
I was gonna fix that last night but my mini 9 came in so I had to play around with it. I actually already wrote a launcher for firefox that loads your profile into ramdisk, just need to integrate it into the gui.
edit: the launcher actually moves the whole ~/.mozilla/firefox directory into ramdisk because one of the files it syncs (it's a sqlite database) is in that directory and it cuts down even more on writes.
You will have to give me your feelings on the Mini as well, this beast M1710 is killing me to carry around. I almost ordered the MSI Wind, but then played with it in store and was not impressed. If the Dell Mini is good I will probably get one also.
heres a quick writeup I did of it for the crunchbang forums http://crunchbanglinux.org/forums/to...mini-9-review/ .
fixed the bug with manual mode, it's in svn. Started integrating the firefox launcher, should be done tomorrow.
Here is the output from
Code:sudo python installer.py updateCode:* Stopping WattOS power manager daemon wattospm-daemon.py python /usr/bin/wattospm.py: No such file or directory Removing any system startup links for /etc/init.d/wattospm-daemon ... /etc/rc0.d/K20wattospm-daemon /etc/rc1.d/K20wattospm-daemon /etc/rc2.d/S20wattospm-daemon /etc/rc3.d/S20wattospm-daemon /etc/rc4.d/S20wattospm-daemon /etc/rc5.d/S20wattospm-daemon /etc/rc6.d/K20wattospm-daemon Adding system startup for /etc/init.d/wattospm-daemon ... /etc/rc0.d/K20wattospm-daemon -> ../init.d/wattospm-daemon /etc/rc1.d/K20wattospm-daemon -> ../init.d/wattospm-daemon /etc/rc6.d/K20wattospm-daemon -> ../init.d/wattospm-daemon /etc/rc2.d/S20wattospm-daemon -> ../init.d/wattospm-daemon /etc/rc3.d/S20wattospm-daemon -> ../init.d/wattospm-daemon /etc/rc4.d/S20wattospm-daemon -> ../init.d/wattospm-daemon /etc/rc5.d/S20wattospm-daemon -> ../init.d/wattospm-daemon Traceback (most recent call last): File "installer.py", line 67, in <module> if arg == "update": File "installer.py", line 13, in update os.system("/etc/init.d/wattospm-daemon start") File "installer.py", line 59, in install os.system("chown root:powermanagers /etc/wattospm/config") NameError: global name 'user' is not defined
Also the update feature erases all the settings for the app. Might want to make it save them or give the option to manually save out your options and then restore once a new version is installed. (or that could be what the installer failed at... i havent looked into the code yet)
Last edited by chadeldridge; December 17th, 2008 at 01:42 PM.
The reason I don't have it save your old config is if there are new options in the config file and you use the old one then the gui will not work correctly, I could try having it import your old settings into the new one though. I know where the installer is having an error, but I don't know why. Could you type in
in the terminal and see if it gives you back your username?Code:logname
That's a good point about the settings, i actually don't mind redoing them, but just thinking of a feature for down the road.
logname does return my username correctly.
One more issue now as well, after updating you cannot click the OK button inside the app or the button does nothing you can no longer save the settings.
Bookmarks