The time now is Tue 21 May 2013, 13:59
All times are UTC - 4 |
| Author |
Message |
snayak
Joined: 14 Sep 2011 Posts: 191
|
Posted: Fri 02 Mar 2012, 06:56 Post subject:
Puppy GUI made simple. |
|
Dear All,
One day, I wanted to see CPU temperature on my desktop.
I had to fight with Pwidgets to get it done. Though, I got a tool, tempicon.pet, it's svg didn't work on Wary500.
However, I liked the idea of tempicon. It simply was trying to get temperature, make an icon and trying to place it in tray.
One more thing I got is, an executable that inserts a text in tray. That is most probably "gtray-load". Anyway, the very idea is, with smaller tools and some scripts we will be able to add an element of our GUI. Simple and Elegant structure.
One nice attempt is:
http://www.murga-linux.com/puppy/viewtopic.php?t=76431
I wish:
Why not our GUI (the whole) be made up of some scripts and a bunch of icons?
One example:
Once I tried to load Lighthouse pup. It worked great. But when some of the sfs are not loaded, it left start menu with some entries, clicking on which it resulted nothing. I thought of removing those sterile entries from start menu. I found that it was based on xdg. After a lot of search, I was able to figure out some *.desktop files, from where we get the executable names, if those executables were not present (because some sfs were not there) clicking on that entry was not reacting at all. Finally I saw fixmenus script. Added some code to rename those *.desktop files for which executable names are not found in system. Now it worked!
The idea is to make the whole GUI of puppy made up of some scripts, some predefined directories (where icons are found), some texts, and some smaller cli tools, so that one can add any kind of GUI element he likes with lesser effort. And to have simplicity and symmery in all elements. I mean, tray icon entries, start menu entries, desktop icon entries, clock/wether/calandar widgets etc. are all to be treated in similar manner, just with a difference that they are of different type of entries and have a different place for them.
I liked the xml stuff of xdg, but after I read fixmenus script, I lost the track. It seems a lot of level of parsing happens.
Is it that, current GUI architecture of puppy allows us to directly add a package from ubuntu/slackware? With evry icon/menu-entry in proper places?
Looking forward to see your opinions.
Sincerely,
Srinivas Nayak
_________________ Machine: Wary 530, AMD Athlon 2000+, ASUS A7N266-VM board, 512MB DDR RAM, 40GB HDD, 52xCDRW, PS/2 Mouse/Keyboard, USB 2.0.
Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.com/
|
|
Back to top
|
|
 |
harii4

Joined: 30 Jan 2009 Posts: 443 Location: La Porte City, IA , U.S.A.
|
Posted: Thu 08 Mar 2012, 20:05 Post subject:
|
|
If you want widgets with gui - give gkrellm a try.
It has many plugins and an simple gui.
_________________ 3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.
|
|
Back to top
|
|
 |
|
|
|
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
|