View Single Post
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#1
I am proud to announce the product of my and wellefs first try at programming. It is basicly just done in a shell script with the help of zenity. We have no clue how to package it to deb or how to put it in the repo. We would appreciate any form of feedback.. good and bad. As this is our first try i am guessing the code is not beautiful.

The program will make it easier to switch between two power kernel profiles by putting a button in the powerkeymenu.

If you haven't you will need to install zenity and for full compatibility rootsh 1.8. The script will find out if this is installed or not. If not it will give you the option to install them.

It is pretty straight forward to install:

1.) Download and put the script anywhere.. (i.e. /home/user/MyDocs)
1.1) cd /home/user/MyDocs/
1.2) wget http://dl.dropbox.com/u/3143026/proZelect-0.1_rc1

If you get a problem with wget.. you probably don't have it installed. Then you either download the script with your browser or install wget like this.
1.) sudo gainroot
2.) apt-get install wget


2.) Run the install
2.1) sudo gainroot
2.2) sh /home/user/MyDocs/proZelect-0.1_rc1 -i

This will make an entry in the powerkeymenu. It will also find and let you decide two of your power kernel profiles. Which you later will swap between by pressing the powerkeymenubutton.

If you need to configure the program later you could do that as root by the xterminal and use it with a prefix.

1.) proZelect -h (will tell you more about usage)
2.) proZelect -c (configure witch profiles to use)
3.) proZelect -c <profile1> <profile2> (a faster way of configuration)
(i.e. proZelect -c xlv xlv950)
4.) proZelect -i (installs the script as above instructions)
5.) proZelect -s (Shows the current profile settings)

Configure which profile to use

Powerkeybutton

Switch profile if running third (part 1)

Switch profile if running third (part 2)

Find out what profiles are configured



The project was launched and developed on www.maemosweden.se the swedish Maemo/Meego forums.

Last edited by AlMehdi; 2010-08-26 at 15:05.
 

The Following 8 Users Say Thank You to AlMehdi For This Useful Post: