Page 13 of 19 FirstFirst ... 31112131415 ... LastLast
Results 121 to 130 of 188

Thread: Power Management gui

  1. #121
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    ok I added an update option to the installer. checkout the newest svn then after that run:
    Code:
    sudo python installer.py update
    and it should handle everything for you.

  2. #122
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    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.

  3. #123
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    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.

  4. #124
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    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.

  5. #125
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    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.

  6. #126
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    heres a quick writeup I did of it for the crunchbang forums http://crunchbanglinux.org/forums/to...mini-9-review/ .

  7. #127
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    fixed the bug with manual mode, it's in svn. Started integrating the firefox launcher, should be done tomorrow.

  8. #128
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    Here is the output from

    Code:
    sudo python installer.py update
    Code:
     * 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.

  9. #129
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    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
    Code:
    logname
    in the terminal and see if it gives you back your username?

  10. #130
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    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.

Page 13 of 19 FirstFirst ... 31112131415 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •