! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Show available disk space in sidepane
Status:
RESOLVED: MOVED
Severity:
enhancement

Comments

Description ericwang 2009-10-23 06:17:01 CEST
Created attachment 2625 
Thunar enhancement for disk's space and other ...

Hi all:
   We have done some enhancement based on Thunar's version which I git from
"git://git.xfce.org/xfce/thunar" at 09,16 2009.
   The enhancement is as following
1, can show the available disk space

2, can show the available space of the mounted removable device, and add an
"eject button" to unmount it.

3, show a notification once the removable device is removed unsafely

4, Auto-refresh the removable device once a copying operation done

  These enhancement can make Thunar more user friendly, it is useful for some
computer newbies to use the Thunar, which has been verified in our project.
  you can check the attach file : Thunar-enhancement-git-version-20090916.patch
Comment 1 ericwang 2009-10-23 06:18:17 CEST
Created attachment 2626 
screenshot
Comment 2 ericwang 2009-10-23 06:22:04 CEST
I have also tried to merge these enhancement based on the newest [10,23 2009]'s git version, but I found this version couldn't compiled in my develop environment [fedora core 11].
Comment 3 Jannis Pohlmann editbugs 2009-10-23 10:03:57 CEST
Can you attach the stock icon to this bug? I can't build the patch without it.
Comment 4 ericwang 2009-11-10 09:32:04 CET
Created attachment 2662 
stock icon

sorry for my late reply
Comment 5 ericwang 2009-11-10 09:33:34 CET
Created attachment 2663 
more enhancement

bug fix and multi-language support
Comment 6 Nick Schermer editbugs 2012-09-26 11:51:10 CEST
See also https://wiki.xfce.org/design/thunar/freespaceindicator
Comment 7 Simon Steinbeiss editbugs 2012-09-26 14:01:42 CEST
This looks nice, but I'd incorporate the size-label in the progressbar, then this line wouldn't look so "fat" in the treeview.

While it seems to be more conventional to show the free space in the label, it'd intuitively make more sense to me personally if it displayed the space that is in use – especially in combination with the progressbar, which highlights the space that is taken, not the one that is free. (In the screenshot: 14,4GB / 48.1GB) But that might just be me...
Comment 8 Nick Schermer editbugs 2012-10-30 09:04:21 CET
What about putting this in a tooltip of a device?
Comment 9 Simon Steinbeiss editbugs 2012-10-30 09:13:15 CET
(In reply to comment #8)
> What about putting this in a tooltip of a device?

Not a bad idea. Would definitely keep the visual appearance cleaner.
What about showing some kind of visual change in the label though when the free space is below a critical amount (e.g. 5% on /) ?
Comment 10 Julien [nodiscc] editbugs 2018-06-24 18:41:53 CEST
Is this still being looked into?

> What about showing some kind of visual change in the label

Based on this screenshot https://wiki.xfce.org/_media/design/thunar/thunar_fs-bars_.png ,

 * the disk space bar could turn primary RED when free space is below 10%
 * a tooltip showing this information on hover would be ice

 Size: 100GB
 Used: 83GB (83%)
 Free: 17GB (17%)
Comment 11 alexxcons editbugs 2019-03-28 22:06:05 CET
Actually I already have thisbug on my personal TODO list ;)
The bad news: My personal list is very long, and currently I dont have much time for xfce. :[
Comment 12 alexxcons editbugs 2019-03-28 22:06:53 CET
*** Bug 15229 has been marked as a duplicate of this bug. ***
Comment 13 Or Schiro 2019-03-31 12:31:29 CEST
Hello there, 

I am adding myself to this discussion. In addition to the feature discussed above, could we also have Thunar trigger a periodical low disk space desktop notification? For example, trigger every 4 hours or similar. 

Looking forward to your thoughts. 👋🙂
Comment 14 alexxcons editbugs 2019-12-29 10:11:48 CET
(In reply to Or Schiro from comment #13)
> Hello there, 
> 
> I am adding myself to this discussion. In addition to the feature discussed
> above, could we also have Thunar trigger a periodical low disk space desktop
> notification? For example, trigger every 4 hours or similar. 
> 
> Looking forward to your thoughts. 👋🙂

IMO periodic whatchdogs + desktop notifications should not be part of thunar.
Cron/Anacron can be used for such services.

Though I agree that it would be nice to have a GUI in order to manage periodic services, like checking for full disks,  doing backups and other stuff.

Actually, before I maintained thunar, I started to work on something like that, though both projects are stalled, unfinished, and still need alot of work. Not to mention that I was not much into gtk at that time. Please feel free to fork them, or to start a new one .. possibly  you can reuse parts of my work:
 
https://github.com/alexxcons/anacron-gui
https://github.com/alexxcons/cron-gui
Comment 15 Git Bot editbugs 2020-05-26 23:08:28 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/19.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #5901

Reported by:
ericwang
Reported on: 2009-10-23
Last modified on: 2020-05-26
Duplicates (1):

People

Assignee:
Jannis Pohlmann
CC List:
5 users

Version

Version:
Migration to GIO

Attachments

Thunar enhancement for disk's space and other ... (89.79 KB, patch)
2009-10-23 06:17 CEST , ericwang
no flags
screenshot (72.61 KB, image/png)
2009-10-23 06:18 CEST , ericwang
no flags
stock icon (531 bytes, image/png)
2009-11-10 09:32 CET , ericwang
no flags
more enhancement (23.50 KB, patch)
2009-11-10 09:33 CET , ericwang
no flags

Additional information