Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 22 Jul 2014, 07:33
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Xbatalarm
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
Whitesnow


Joined: 20 Nov 2007
Posts: 100
Location: Italy

PostPosted: Thu 04 Apr 2013, 21:12    Post subject:  Xbatalarm
Subject description: Very lightweight monitor utility for laptop battery
 

May 7th, 2014 UPDATE: version 2.1 available.

Version 2.1 changelog: :

- automatic X launcher (managing software start and stop) added
- bugs removed
- NLS renamed 2.1, but 2.0 equal

------------------------------

For historical interest:


April 29th, 2014 UPDATE: version 2.0 available.

Version 2.0 changelog:

- optimized code
- GUI tool to set battery alert percentage and time between alerts (called by Menu > System > Xbatalarm Settings or /usr/bin/xbatalarm-config).
- default percentage is set at 15% and time to 30 seconds
- settings are now stored in configuration file /etc/xbatalarm/xbatalarm.conf
- no reboot or restart needed anymore
- rc.local entry instead of /root/startup link (to avoid one or more launches of Xbatalarm in case of X session crash)

NLS

This 2.0 software version contains more text than older ones, so NLS old packages can't be used.

Puplet developers

Let me know if you include Xbatalarm in your puplet. I'll inform my blog readers.



Changelog and download available here and on my blog and repository (see my sign for addresses).

Enjoy! Smile

------------------------------

04/20/2013 UPDATE: version 1.2 available.

Put Xdialog instead of xmessage to popup text message.
Now, message looks like your GTK theme and hasn't got problems with cursor anymore.

News: Native Language Support (NLS) started via additional pets. Translators/pet-packers of xbatalarm.mo files are welcome. Smile
Until now, there are an IT and an es_AR language files in this thread (English is default).

------------------------------


04/06/2013 UPDATE: version 1.1 available.

Support for batteries different from BAT0 added.
Please, note: restart X (or reboot) to be sure that Xbatalarm runs after installation (or open a terminal and verify). Some notebooks need that.

------------------------------

I introduce you Xbatalarm-1.0_x86.pet, battery monitor utility for laptops with Puppy Linux on board.
Image is a test (on 99% of battery) and only wants to show how this program works, because this one doesn't need to be launched into a terminal in everyday's use.

Advantages:

- very light, it can coexist with default powerapplet_tray
- it runs in background and notify you, via pop-up and acustic warning, when charge level goes under 15% of the last capacity detected (and not that one declared initially by manufacturer. Useful for old batteries)

If you'll uninstall, please restart X or reboot your computer to stop monitoring.
Xbatalarm-2.1_x86.pet
Description  Xbatalarm 2.1, monitor utility for laptop battery
pet

 Download 
Filename  Xbatalarm-2.1_x86.pet 
Filesize  2.01 KB 
Downloaded  45 Time(s) 
Xbatalarm_NLS-IT-2.1_x86.pet
Description  Italian translation of Xbatalarm 2.1
pet

 Download 
Filename  Xbatalarm_NLS-IT-2.1_x86.pet 
Filesize  1.15 KB 
Downloaded  28 Time(s) 
xbatalarm_2.0.png
 Description   Xbatalarm alert pop-up and Xbatalarm Settings window
 Filesize   242.02 KB
 Viewed   155 Time(s)

xbatalarm_2.0.png


_________________
*.* Snow *.* Wink
My repo: http://qualapinna.dyndns.org/repo
My blog: http://qualapinna.dyndns.org

Last edited by Whitesnow on Tue 06 May 2014, 21:55; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
carenrose

Joined: 10 Dec 2012
Posts: 28

PostPosted: Tue 09 Apr 2013, 16:39    Post subject:  

Very nice Very Happy
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1626
Location: wales

PostPosted: Thu 11 Apr 2013, 05:27    Post subject:  

thanks Whitesnow,

working well on an acer one aspire 720 with precise puppy, i've needed something like this for a long time!

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send private message 
josejp2424

Joined: 01 Aug 2010
Posts: 202

PostPosted: Tue 16 Apr 2013, 09:45    Post subject: excellent  

excellent, if you do not mind I'll put it to translate momanager, so it can be translated into their language users.
Back to top
View user's profile Send private message Visit poster's website 
josejp2424

Joined: 01 Aug 2010
Posts: 202

PostPosted: Tue 16 Apr 2013, 13:28    Post subject: locales es  

locales -es momanager. hp 530 dual-core
image-3.png
 Description   
 Filesize   8.33 KB
 Viewed   701 Time(s)

image-3.png

Back to top
View user's profile Send private message Visit poster's website 
Whitesnow


Joined: 20 Nov 2007
Posts: 100
Location: Italy

PostPosted: Thu 18 Apr 2013, 13:19    Post subject:  Xbatalarm as Momanager entry?  

First of all, thanks to all people who tried and enjoyed Xbatalarm. Smile

I'm curious about your work, josejp2424. Could you post it and tell me more?

_________________
*.* Snow *.* Wink
My repo: http://qualapinna.dyndns.org/repo
My blog: http://qualapinna.dyndns.org
Back to top
View user's profile Send private message Visit poster's website 
josejp2424

Joined: 01 Aug 2010
Posts: 202

PostPosted: Thu 18 Apr 2013, 19:04    Post subject: xbatalarm-momanager  

hi whitesnow here send Xbatalam to traduce withmomanager and locale-es to spanish

now every user will change lang with momanager
xbatalarm-momanager.tar.gz
Description 
gz

 Download 
Filename  xbatalarm-momanager.tar.gz 
Filesize  956 Bytes 
Downloaded  272 Time(s) 
locale-es-xbatalarm.tar.gz
Description 
gz

 Download 
Filename  locale-es-xbatalarm.tar.gz 
Filesize  714 Bytes 
Downloaded  279 Time(s) 

Last edited by josejp2424 on Thu 18 Apr 2013, 20:01; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
josejp2424

Joined: 01 Aug 2010
Posts: 202

PostPosted: Thu 18 Apr 2013, 19:22    Post subject: momanager  

in precise if you put in console appears momanager translator. you need the devx loaded
Back to top
View user's profile Send private message Visit poster's website 
josejp2424

Joined: 01 Aug 2010
Posts: 202

PostPosted: Thu 18 Apr 2013, 19:24    Post subject:  

sorry for my English
Back to top
View user's profile Send private message Visit poster's website 
Whitesnow


Joined: 20 Nov 2007
Posts: 100
Location: Italy

PostPosted: Fri 19 Apr 2013, 21:34    Post subject:  

Hi josejp2424,

could you pet-pack your "locale-es-xbatalarm.tar.gz" as "Xbatalarm_NLS-es_AR-1.1_x86.pet" or create it again as "Xbatalarm_NLS-es_AR-1.2_x86.pet" and post it here?
Please, note: Xdialog in 1.2, instead of xmessage in 1.0 and 1.1, needs to rewrite xbatalarm.po file to make mo one correctly (with Momanager or not).

Last but not least... You are now in section "Credits" of our script for your nice work and help in building language support. Smile

_________________
*.* Snow *.* Wink
My repo: http://qualapinna.dyndns.org/repo
My blog: http://qualapinna.dyndns.org
Back to top
View user's profile Send private message Visit poster's website 
josejp2424

Joined: 01 Aug 2010
Posts: 202

PostPosted: Fri 19 Apr 2013, 23:25    Post subject: Xbatalarm_NLS-es_AR-1.2_x86  

HI Whitesnow , new locales-es xbatalarm .
Xbatalarm_NLS-es_AR-1.2_x86.pet
Description 
pet

 Download 
Filename  Xbatalarm_NLS-es_AR-1.2_x86.pet 
Filesize  833 Bytes 
Downloaded  280 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
live

Joined: 10 Feb 2010
Posts: 150

PostPosted: Tue 22 Apr 2014, 17:45    Post subject:  

Very nice, the only issues is it keeps prompting about every 30 sec or so to plug your notebook.

Once is enough, at that rate is just keeps to anoying to a point you want to remove it_
Back to top
View user's profile Send private message 
Whitesnow


Joined: 20 Nov 2007
Posts: 100
Location: Italy

PostPosted: Wed 23 Apr 2014, 06:09    Post subject: Xbatalarm new release is coming  

live wrote:
Very nice, the only issues is it keeps prompting about every 30 sec or so to plug your notebook.


Hi live Smile,

yes, I will fix this issue soon, with next release (that will come with other fixes).
I have to set an alert time good for most people as possible (now program is prompting every 18 seconds), but I can't guess what the right time is. Yours and others are welcome to help me. Smile

live wrote:
Once is enough, at that rate is just keeps to anoying to a point you want to remove it_


You can keep it. To set your alert time, open /usr/bin/xbatalarm as a text and change SLEEP_TIME variable to a number of seconds (between alerts) that you like.

I hope that helps.

Bye.

_________________
*.* Snow *.* Wink
My repo: http://qualapinna.dyndns.org/repo
My blog: http://qualapinna.dyndns.org
Back to top
View user's profile Send private message Visit poster's website 
live

Joined: 10 Feb 2010
Posts: 150

PostPosted: Wed 23 Apr 2014, 07:26    Post subject:  

Hello Whitesnow Smile
Ma que bella !

Well, yesterday I was on battery only, and around 12% left (about 20min) it starts to prompt each 18sec on my screen for power supply, which I didn't have with me.
It annoyed me so much, in the end I abandoned and shutted my laptop down.

Now, I do prefer a warning to in contrast none, where I experienced a sudden power cut off (as so concentrated on my work, I didn't cast an eye on the battery indicator...)

Quote:
but I can't guess what the right time is.

I would say,
1/ the first warning is the most important people should confirm it (in case you aren't for a moment in front of your laptop...)
2/ after 1st warning, maybe every 5 min or prompt the user for a single digit answer in minutes (same waning window for every prompt, even very first).

Thanks.
Back to top
View user's profile Send private message 
Whitesnow


Joined: 20 Nov 2007
Posts: 100
Location: Italy

PostPosted: Sun 27 Apr 2014, 17:50    Post subject: Xbatalarm 2.0  

Xbatalarm 2.0 is forthcoming.
A graphical user interface tool will be available to set battery alert percentage and time between alerts.

As usual, feedbacks will be welcome. Smile

_________________
*.* Snow *.* Wink
My repo: http://qualapinna.dyndns.org/repo
My blog: http://qualapinna.dyndns.org
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0801s ][ Queries: 12 (0.0040s) ][ GZIP on ]