How to see battery status on tray?

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
User avatar
Davide
Posts: 11
Joined: Sat Dec 21, 2024 10:57 pm
Has thanked: 4 times

How to see battery status on tray?

Post by Davide »

Hi, I have S15 pup 22.12 - 32 bit (frugal installed ) on an old laptop -(Acer Aspire One, 1 GB RAM , 1.60 ghz ). I'm new to PuppyLinux.
I have the following problem:
On my system tray there is no battery status icon and I can't know the actual status of my battery.
I already tried to do what they say on the old PuppyLinux forums, but they don't work. I tried Qbat and other programs that do not work, searching /root/Startup/powerapplet_tray (I did not find it). How can I do it :?:

Last edited by Flash on Sat Dec 28, 2024 1:48 pm, edited 2 times in total.
Reason: Added question mark to a question
User avatar
Wiz57
Moderator
Posts: 788
Joined: Fri Dec 13, 2019 3:54 pm
Location: Chickasha, OK USA
Has thanked: 105 times
Been thanked: 189 times

Re: How to see battery status on tray

Post by Wiz57 »

@Davide
I also have S15Pup32 22.12 frugal installed on an old Acer Aspire One AOA 150, 1gig RAM, 1.6gHz Intel Atom N270 CPU, but I use the LXDE
desktop via ydrv sfs from peebee. Using LXDE, you can add a battery monitor in the lower panel by just a right click on the lower panel,
choose add applications and choose battery from the list. I don't know for sure how to get this in the standard JWM Tray, there used to
be a JWMDesk setting application, not sure as I did a temp switch from LXDE to JWM and couldn't find it. I did manage to find some hints
in the old forum, not sure they would work though. If you want to try, I can grab them from the old forum and add them to a post here.
NOTE: I am not the author of the scripts, no idea if still maintained or not.
Let me know what you think.

Signature available upon request

User avatar
Davide
Posts: 11
Joined: Sat Dec 21, 2024 10:57 pm
Has thanked: 4 times

Re: How to see battery status on tray

Post by Davide »

Wiz57 wrote: Sat Dec 28, 2024 2:09 am

If you want to try, I can grab them from the old forum and add them to a post here.
NOTE: I am not the author of the scripts, no idea if still maintained or not.
Let me know what you think.

Yes , i would like to try , can you send me the scripts (and explain me how to use them correctly ) , please ?
Thanks :)

User avatar
BarryK
Posts: 2959
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 159 times
Been thanked: 819 times

Re: How to see battery status on tray

Post by BarryK »

There is powerapplet_tray, latest is version 3.0.
I have a .pet but it is 64-bit.

Maybe there is a 32-bit .pet somewhere, or you could compile the source:

https://distro.ibiblio.org/easyos/sourc ... betical/p/

User avatar
Wiz57
Moderator
Posts: 788
Joined: Fri Dec 13, 2019 3:54 pm
Location: Chickasha, OK USA
Has thanked: 105 times
Been thanked: 189 times

Re: How to see battery status on tray

Post by Wiz57 »

Davide wrote: Sat Dec 28, 2024 10:37 am
Wiz57 wrote: Sat Dec 28, 2024 2:09 am

If you want to try, I can grab them from the old forum and add them to a post here.
NOTE: I am not the author of the scripts, no idea if still maintained or not.
Let me know what you think.

Yes , i would like to try , can you send me the scripts (and explain me how to use them correctly ) , please ?
Thanks :)

I downloaded them from the old forum, as for how to use, I'm not sure but there used to be a how to included in the zip.
These were zipped using peazip, so should be able to save the zip file in the directory My Applications, then just right
click on it and choose pextract to unzip them there. Then open a terminal and type the name and it should run.
Here's the old forum topic to read https://oldforum.puppylinux.com/viewtop ... ery+status
Here's the zip

gmhBatteryBuddy.zip
(86.53 KiB) Downloaded 12 times

Signature available upon request

User avatar
Davide
Posts: 11
Joined: Sat Dec 21, 2024 10:57 pm
Has thanked: 4 times

Re: How to see battery status on tray

Post by Davide »

@Wiz57
Thanks ! I will see if it works .

I will tell you what happens , if it works . ;)

User avatar
Wiz57
Moderator
Posts: 788
Joined: Fri Dec 13, 2019 3:54 pm
Location: Chickasha, OK USA
Has thanked: 105 times
Been thanked: 189 times

Re: How to see battery status on tray

Post by Wiz57 »

You're welcome! AND...if it doesn't work the way you want, and you're open to the idea of using a different DE, file manager, terminal
and a few other applications, we can also try peebee's LXDE by ydrv...I've been using these for some 5 yrs or so now rather than the
usual JWM and ROX. (Rox is ok, but to me it is rather jarring when the window changes sizes, bounces around etc, lol)

Signature available upon request

User avatar
Davide
Posts: 11
Joined: Sat Dec 21, 2024 10:57 pm
Has thanked: 4 times

Re: How to see battery status on tray

Post by Davide »

@Wiz57

I dowloaded and extracted gmhBatteryBuddy ,but now what i have to do ?

gmhBatteryBuddy.png
gmhBatteryBuddy.png (23.43 KiB) Viewed 633 times
User avatar
Wiz57
Moderator
Posts: 788
Joined: Fri Dec 13, 2019 3:54 pm
Location: Chickasha, OK USA
Has thanked: 105 times
Been thanked: 189 times

Re: How to see battery status on tray

Post by Wiz57 »

Hmm, click on the subdirectory "Help" and maybe there is a document there to explain. If not, try clicking on the BatteryBuddyRun.sh file,
see if it runs. May have to right click and "Run in terminal".

Signature available upon request

User avatar
Wiz57
Moderator
Posts: 788
Joined: Fri Dec 13, 2019 3:54 pm
Location: Chickasha, OK USA
Has thanked: 105 times
Been thanked: 189 times

Re: How to see battery status on tray?

Post by Wiz57 »

I may have found another method if you want to continue with Rox and JWM...JWMDesk-3.6 from here...
viewtopic.php?t=3561
Download the pet, then click on it when saved, choose to install it. Should let you setup the JWM Desktop to your tastes.

Signature available upon request

User avatar
Davide
Posts: 11
Joined: Sat Dec 21, 2024 10:57 pm
Has thanked: 4 times

Re: How to see battery status on tray?

Post by Davide »

@Wiz57

In the subdirectory HELP i just found this :

Can you explain me what to do with the files ? I didn't understand what i have to do .
Can you explain me what to do with the files ? I didn't understand what i have to do .
README.TXT.png (71.27 KiB) Viewed 607 times
User avatar
Davide
Posts: 11
Joined: Sat Dec 21, 2024 10:57 pm
Has thanked: 4 times

Re: How to see battery status on tray?

Post by Davide »

Wiz57 wrote: Sat Dec 28, 2024 4:12 pm

I may have found another method if you want to continue with Rox and JWM...JWMDesk-3.6 from here...
viewtopic.php?t=3561
Download the pet, then click on it when saved, choose to install it. Should let you setup the JWM Desktop to your tastes.

Ok i will try it . I will say you if it works .

User avatar
Davide
Posts: 11
Joined: Sat Dec 21, 2024 10:57 pm
Has thanked: 4 times

Re: How to see battery status on tray?

Post by Davide »

Wiz57 wrote: Sat Dec 28, 2024 4:12 pm

I may have found another method if you want to continue with Rox and JWM...JWMDesk-3.6 from here...
viewtopic.php?t=3561
Download the pet, then click on it when saved, choose to install it. Should let you setup the JWM Desktop to your tastes.

It works and let me personalize my desktop , but it don't have an option for the system tray :(
I think i will continue try with gmhBatteryBuddy

User avatar
Davide
Posts: 11
Joined: Sat Dec 21, 2024 10:57 pm
Has thanked: 4 times

Re: How to see battery status on tray

Post by Davide »

BarryK wrote: Sat Dec 28, 2024 11:31 am

There is powerapplet_tray, latest is version 3.0.
I have a .pet but it is 64-bit.

Maybe there is a 32-bit .pet somewhere, or you could compile the source:

https://distro.ibiblio.org/easyos/sourc ... betical/p/

I can't find the 32 bit version :thumbdown:

User avatar
Wiz57
Moderator
Posts: 788
Joined: Fri Dec 13, 2019 3:54 pm
Location: Chickasha, OK USA
Has thanked: 105 times
Been thanked: 189 times

Re: How to see battery status on tray?

Post by Wiz57 »

@Davide
"Can you explain me what to do with the files ? I didn't understand what i have to do ."
If I understood those instructions correctly you can either open a terminal in that folder, then issue the command
chmod -777 XXXX (where XXXX = name of file) then press enter for each of the script files. OR, maybe easier to right click in RoxFiler and choose
Change attributes, make sure each is executable.

Signature available upon request

User avatar
wizard
Posts: 2172
Joined: Sun Aug 09, 2020 7:50 pm
Location: Oklahoma, USA
Has thanked: 2987 times
Been thanked: 800 times

Re: How to see battery status on tray?

Post by wizard »

@Davide

Have you tried any from here?
https://distro.ibiblio.org/puppylinux/p ... es-common/

wizard

Big pile of OLD computers

User avatar
Davide
Posts: 11
Joined: Sat Dec 21, 2024 10:57 pm
Has thanked: 4 times

Re: How to see battery status on tray?

Post by Davide »

Wiz57 wrote: Sat Dec 28, 2024 5:06 pm

@Davide
chmod -777 XXXX (where XXXX = name of file)

Ok , i used the command for all of the 4 files :

Now , the name of the four files is black .
Now , the name of the four files is black .
gmhBatteryBuddy subdirectory after command .png (31.34 KiB) Viewed 545 times

But now , when i try to open gmhBatteryBuddy.desktop , this happens :

gmhBatteryBuddy subdirectory after command (1).png
gmhBatteryBuddy subdirectory after command (1).png (9.56 KiB) Viewed 545 times

The same thing happens with the gmhBatteryBuddy_engine.desktop .

What i have to do :?:

User avatar
Wiz57
Moderator
Posts: 788
Joined: Fri Dec 13, 2019 3:54 pm
Location: Chickasha, OK USA
Has thanked: 105 times
Been thanked: 189 times

Re: How to see battery status on tray?

Post by Wiz57 »

Right click on each file with RoxFiler, check properties then ownership...IIRC they should be owned by "anyone", as well as executable.
The display of the filenames changes to bold font because they have been updated via your chmode command is all.
As for the "desktop" files, remember to edit those with either Geany or Leafpad, as the path to the executable sh files will
need to be where you have them, as in my-applications/gmhBatteryBuddy (I think)

Signature available upon request

User avatar
BarryK
Posts: 2959
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 159 times
Been thanked: 819 times

Re: How to see battery status on tray

Post by BarryK »

Davide wrote: Sat Dec 28, 2024 4:53 pm
BarryK wrote: Sat Dec 28, 2024 11:31 am

There is powerapplet_tray, latest is version 3.0.
I have a .pet but it is 64-bit.

Maybe there is a 32-bit .pet somewhere, or you could compile the source:

https://distro.ibiblio.org/easyos/sourc ... betical/p/

I can't find the 32 bit version :thumbdown:

I found an old one archived on my computer, see attached.

You should be able to just click on it to install it, but I don't know whether your puppy distro supports installing .tar.xz packages.

If not, use Xarchive to open it, or open it up, like this:

Code: Select all

# tar -xf powerapplet-tray-3.0-r4-i686.tar.xz

Then copy root/Startup/powerapplet_tray to /root/Startup
Then restart X.

Note: I posted about version 3.0 on my blog:
https://bkhome.org/news/202110/powerapp ... rnels.html

Attachments
powerapplet-tray-3.0-r4-i686.tar.xz
(25.33 KiB) Downloaded 12 times
User avatar
Davide
Posts: 11
Joined: Sat Dec 21, 2024 10:57 pm
Has thanked: 4 times

Re: How to see battery status on tray

Post by Davide »

BarryK wrote: Sun Dec 29, 2024 12:26 am
Davide wrote: Sat Dec 28, 2024 4:53 pm
BarryK wrote: Sat Dec 28, 2024 11:31 am

There is powerapplet_tray, latest is version 3.0.
I have a .pet but it is 64-bit.

Maybe there is a 32-bit .pet somewhere, or you could compile the source:

https://distro.ibiblio.org/easyos/sourc ... betical/p/

I can't find the 32 bit version :thumbdown:

I found an old one archived on my computer, see attached.

You should be able to just click on it to install it, but I don't know whether your puppy distro supports installing .tar.xz packages.

If not, use Xarchive to open it, or open it up, like this:

Code: Select all

# tar -xf powerapplet-tray-3.0-r4-i686.tar.xz

Then copy root/Startup/powerapplet_tray to /root/Startup
Then restart X.

Note: I posted about version 3.0 on my blog:
https://bkhome.org/news/202110/powerapp ... rnels.html

Ok , i'm going to try it !

I will you tell if it works .
______________________________________________
Thanks !

User avatar
Davide
Posts: 11
Joined: Sat Dec 21, 2024 10:57 pm
Has thanked: 4 times

Re: How to see battery status on tray

Post by Davide »

@BarryK
Thank you so much ! it worked! :thumbup2:

System Tray.png
System Tray.png (5.55 KiB) Viewed 481 times
Post Reply

Return to “Beginners Help”