Results 1 to 6 of 6

Thread: I created a GUI to change laptop-mode settings

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Beans
    8

    I created a GUI to change laptop-mode settings

    Hi everybody!
    This is one of my first attempts in writing GTK application in C (I am still new to the linux programming), but I think the result is very good.
    I created a GUI to set up most of the settings found in /etc/laptop-mode/laptop-mode.conf and /etc/default/acpi-support

    Screenshots:




    You need administrative privileges to change the settings.
    When you apply the new settings, a backups of the two files are made, in /root/.laptop-mode-setup/. You can restore these backups later, from the small "undo" buttons on the two tabs.

    The button "Apply" saves the settings and runs /etc/init.d/laptop-mode restart

    You can get the package from laptop-mode-setup-0.1.deb (22 KB). It is compiled under Ubuntu 8.10, but should work on others too.

    You can get the source from laptop-mode-setup-0.1.tar.gz (39 KB)

    You will need Code::Blocks IDE to compile it (sorry - no Makefile - it's still too painful to me, and I don't like using the console, if I can do the same thing from GUI )

    Good luck!

  2. #2
    Join Date
    Dec 2007
    Location
    BUE @ Argentina
    Beans
    1,225
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: I created a GUI to change laptop-mode settings

    seems nice, thanks dude!
    /**HP Pavilion DV6646us laptop: AMD 1.9 GHz Turion 64 X2 / 2Gb RAM / 160Gb HDD / NVIDIA GeForce Go 7150M / 15.4" WXGA / BroadCom BCM4328 wireless / Built-in webcam **/
    -- Kubuntu 9.04, CentOs 5.2, Mikrotik RouterOS 3.3 User -- Argentina LoCo Team

  3. #3
    Join Date
    Apr 2006
    Beans
    8

    Re: I created a GUI to change laptop-mode settings

    bump

  4. #4
    Join Date
    Oct 2005
    Location
    Canada eh!
    Beans
    1,148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: I created a GUI to change laptop-mode settings

    I was actully thinking about doing the exact same thing... hehe...

    maybe you should see about inclusion into the offical repos?

  5. #5
    Join Date
    Dec 2008
    Beans
    5

    Re: I created a GUI to change laptop-mode settings

    Yes, you should Nice idea

  6. #6
    Join Date
    Jun 2010
    Beans
    1

    Re: I created a GUI to change laptop-mode settings

    Wow, I just wanted to thank you for this, it enabled a relative newbie like myself to set up laptop mode tools in a matter of seconds. It should definitely be included in the official repository.

    Thank You

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
  •