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 Fri 01 Jul 2016, 07:55
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
ROX-Desktop drive icons: show free space in tooltips
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Author Message
amigo

Joined: 02 Apr 2007
Posts: 2508

PostPosted: Sun 08 Dec 2013, 03:18    Post subject:  

As far as getting free-space info into the tooltips for the icon, I don't think there is another way -unless one patched the filer itself to show such info for mount points.
Personally, I just use gtkdiskfree. It has a dynamic display, which means that it is also polling, but less expensively than a bash script would be.

The problem with using the tooltips is that the AppInfo.xml must be re-written every cycle and could be corrupted while doing so. I think a right-click action (to launch some indicator) would be a better solution.

Polling should be avoided like the plague.
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 8214
Location: Mer méditerrannée (1 kms°)

PostPosted: Sat 14 May 2016, 02:15    Post subject: i use gtkdiskfree too with my Toutou Wolx 2014  

i use gtkdiskfree too with my Toutou Wolx 2014
kingston.png
 Description   
 Filesize   24.4 KB
 Viewed   83 Time(s)

kingston.png


_________________
In summer, sortez le chien (Play Puppy outside)
Back to top
View user's profile Send private message Yahoo Messenger 
sunburnt


Joined: 08 Jun 2005
Posts: 5056
Location: Arizona, U.S.A.

PostPosted: Sat 14 May 2016, 02:53    Post subject:  

Amigo is correct as always. Avoid polling!
Sadly there is no common way to trigger other code like this.
Perhaps an inet type damon that polls /sys and /proc for triggers,
then reads a list of apps, etc. to activate or write to.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 7876
Location: Gatineau (Qc), Canada

PostPosted: Sat 14 May 2016, 05:41    Post subject:  

If you're a bit of a masochist, would the info given by partview make you happy? Rolling Eyes
_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink
Back to top
View user's profile Send private message Visit poster's website 
LazY Puppy


Joined: 21 Nov 2014
Posts: 1205
Location: Germany

PostPosted: Sat 14 May 2016, 07:48    Post subject:  

In my T.O.P.L.E.S.S. LazY Puppy 5 Systems I had made patches of

- /usr/local/bin/drive_all
- /usr/local/pup_event/frontend_funcs

It is to enable/disable by the config files and has option to refresh/update manually by right-clicking the drive icon - besides some more options not yet in standard Puppy.

Works in all of my T.O.P.L.E.S.S. LazY Puppy Systems (tahr, unicorn, vivid, xenial, slacko - 32bit/64bit all WoofCE).

See attached images.
Screenshot-2016-05-14-13-37-20.jpg
 Description   
 Filesize   38.94 KB
 Viewed   46 Time(s)

Screenshot-2016-05-14-13-37-20.jpg

Screenshot-2016-05-14-13-36-32.jpg
 Description   
 Filesize   23.69 KB
 Viewed   45 Time(s)

Screenshot-2016-05-14-13-36-32.jpg


_________________
RSH

T.O.P.L.E.S.S. - the Multi-Language Puppy Linux Wrapper.

Zivilcourage bringt nichts als Ärger ein!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
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.0984s ][ Queries: 12 (0.0054s) ][ GZIP on ]