You are not logged in.
Pages: 1
Topic closed
The files sizes shown by thunar at bottom bar are not recursive, all of the folders appears to be 4kb. Is there any way of seeing the folder size without leftclick->properties ?
Offline
From Thunar no. But you could use du:
du -sOr write a simple wrapper script using some gtk dialog utility and then assign it to Thunar custom action. That would still require a right click.
For example:
#!/bin/sh
DIR_USAGE=$(du -s -h "$1" | cut -f 1)
zenity --info --title "Directory Info" --text "Selected directory: $1\nDirectory size: $DIR_USAGE"Offline
I'm finding it quite unbelieveble that something as great as Thunar, lacks something as basic as this.
Thanks alot for the script
Offline
I can't think of any FM that displays recursive folder size without a little work. Probably because a little work on the user's part makes more sense than the loads of work (disk reads) that would be required to do so for every folder displayed, or even just selected...
Last edited by alphaniner (2011-08-11 21:51:01)
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Um, what's wrong with simply right-clicking on the directory and selecting Properties?
Says something like: Size: xxxx items, totalling xxx.x MB![]()
Offline
So my script is recursive. Blah...
Yep, I checked it now. Directory size is in the first tab. I think Nautilus has it in the third tab, though. ![]()
Last edited by bocke (2011-08-11 22:54:36)
Offline
OK, new question, is there way to assign hotkeys for custom actions?
Offline
No, but you can place underscore in front of a letter, and then you can jump to that item when you open the right-click menu.
Offline
mandalic, I am sure Oxpoto wasn't waiting a year to figure that out. Please refrain from necrobumping threads.
Closing....
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Pages: 1
Topic closed