maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] savepress (+editor) (https://talk.maemo.org/showthread.php?t=66442)

wellef 2010-12-01 21:23

[Announce] savepress (+editor)
 
I'm (somewhat) proud to announce my very first serious project in programming ever. I have until now built up a stable ground to start from and already got some responses from a thread here on TMO and to my email. Therefor I think it's about time for a announcement to get the strings combined.

The whole idea of savepress is to easily toggle a power-saving-mode with the right side lock key. It's an enhancement of Longpress which is created by Matan, all props to him!


Savepress

Current version: 0.5-8 (extras-devel)
Info: A single script which reads a configfile and runs some commands when activated through dbus-scripts.
Functions:
*Set limits for the frequencies or lock a single frequency (needs kernel-config and kernel-config-settings).
*Toggle Wifi or disconnect GPRS.
*Toggle the cellular radio (i.e the phone signal).
*Toggle a GSM/2g-only mode.
*Disable bluetooth.
*Toggle screen brightness (has to be set manually).
*Toggle FM Transmitter (has to be set manually).
*Set the number of seconds you would like to hold down the key to toggle the script.
*A button (which doesn't make anything when pressed) is visible in the power-key meny when active.
Future plans:
-
Status: -

Savepress-editor
Current version: 0.3-1 (extras-devel)
Info: My first ever PyQT experience. A simple GUI to set your settings to the configfile.
Future plans:
-
Status: -



Screenshots:

http://db.tt/pkT46Ds
Savepress is activated.

http://db.tt/CFwp8CJ
Savepress is disabled.

http://db.tt/zABWfph
Savepress-editor, version 0.3-1.

extendedping 2010-12-01 21:39

Re: [Announce] savepress (+editor)
 
I am for sure going to check this out. btw it must feel nice to make your first real app, may I ask what language you used?

wellef 2010-12-01 22:29

Re: [Announce] savepress (+editor)
 
Quote:

Originally Posted by extendedping (Post 887168)
I am for sure going to check this out. btw it must feel nice to make your first real app, may I ask what language you used?

Let me know what you think :)
Savepress is written in pure bash and the editor is written in PyQT.

AlMehdi 2010-12-01 23:08

Re: [Announce] savepress (+editor)
 
Awesome Wellef! ;)

wellef 2010-12-08 17:12

Re: [Announce] savepress (+editor)
 
New updates.

Savepress 0.5-8
Added functions:
*Display brighness toggle
*Toggle FM Transmitter
Misc changes:
*The sleep function now checks every second until released or activated.
*New way to toggle wlan/wifi.
Thanks to ForeverYoung (from this post)

Savepress-editor 0.3-2
Misc changes:
*Changed name of files.
*Added the new functions, but can't yet be set (see below).


Special info!
As the editor hasn't yet got kinetic scroll, display brightness and fm transmitter has to be enabled manually (if you want any of them). In /home/user/.config/savepress after you used the editor.

skalogre 2010-12-08 17:46

Re: [Announce] savepress (+editor)
 
If I may make a suggestion, a way to toggle loudspeaker on & off during a call without being forced to use the touchscreen would be very helpful!

Edit:
Is there something specific that needs to be done after it is installed to start it up?

wellef 2010-12-08 19:42

Re: [Announce] savepress (+editor)
 
Quote:

Originally Posted by skalogre (Post 892437)
If I may make a suggestion, a way to toggle loudspeaker on & off during a call without being forced to use the touchscreen would be very helpful!

Savepress is focused on battery saving only.

Quote:

Originally Posted by skalogre (Post 892437)
Is there something specific that needs to be done after it is installed to start it up?

Savepress itself is just a daemon toggled with the lock-key on the right side of your device. Savepress-editor is a GUI application. There is a known permission issue, but its fixed with an included (hopefully) temporary fix in savepress. Just run it once before using the editor for the first time. Dbus-scripts (dependency) might need a reboot after installation, I don't know.

iscio 2011-03-31 11:12

Re: [Announce] savepress (+editor)
 
Quote:

Originally Posted by wellef (Post 892410)
New updates.

Special info!
As the editor hasn't yet got kinetic scroll, display brightness and fm transmitter has to be enabled manually (if you want any of them). In /home/user/.config/savepress after you used the editor.

could you explain this part? in savepress I don't see any settings about brightness

wellef 2011-03-31 11:29

Re: [Announce] savepress (+editor)
 
Quote:

Originally Posted by iscio (Post 979074)
could you explain this part? in savepress I don't see any settings about brightness

The development of savepress has actually ended and therefor the editor hasnt room for the settings of those two functions. Ive now realized that ive forgot to update the new config-file in the package. Sorry about that.

I might update the package, might not. If you want to enable it by hand:

Add two lines into the bottom of /home/user/.config/savepress
Code:

vbright: True
vfmt: True

vbright is brightness of the screen and vfmt is the fm transmitter. Add wich one you want, after you used the editor.


That should do the trick.
Cheers

iscio 2011-03-31 14:45

Re: [Announce] savepress (+editor)
 
I add
vbright: True but nothing change when I activate savepress. What could it do?

thank you


All times are GMT. The time now is 18:44.

vBulletin® Version 3.8.8