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 30 Jun 2015, 20:20
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Need a gtk window to display battery and temp info.
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 26 Feb 2009
Posts: 185
Location: Buffalo, NY & Nottingham, England

PostPosted: Wed 28 Apr 2010, 08:55    Post_subject:  Need a gtk window to display battery and temp info.  

Hey all I am using MacPup Opera 2 and since it cant use Pwidgets, nor can it properly read my temperature or battery state with its epplets, I was wondering if I could just make a gtk window.

I would like to make this appear in a gtk window instead of the terminal.


rxvt -T battery -e bash -c "cat /proc/acpi/battery/C198/state ; read a "

Any way to do this? I know little of programming so I was hoping someone could help me out.

I am not a Mac, not a PC... I am a Puppy. Idea
Back to top
View user's profile Send_private_message 

Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Wed 28 Apr 2010, 09:20    Post_subject:  

Yep it's easy with Xdialog. Read the docs here:

[does macpup have a systray? you might be able to use Vattery. http://www.murga-linux.com/puppy/viewtopic.php?t=50696 ]
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0361s ][ Queries: 11 (0.0032s) ][ GZIP on ]