LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-01-2015, 11:52 PM   #1
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Rep: Reputation: 231Reputation: 231Reputation: 231
Thunar can't show directory size correctly


hi
please look at the attachment. in detailed list view mode, Thunar can't show size of directories correctly. is there any solution or I must wait for Xfce4.12?
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	426
Size:	187.2 KB
ID:	17704  
 
Old 03-02-2015, 12:11 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
That output is perfectly normal.
The directory sizes being reported are actually the sizes of the . directories within the listed directories.
For example, /bin shows a size of 4.1K
This matches with the size of the ./ directory in the listing below. (I used grep to reduce the list).
Code:
bash-4.3$ ls -al /bin/ | grep  "\..$"
drwxr-xr-x  2 root root    4096 Feb 28 16:07 ./
drwxr-xr-x 28 root root    4096 Mar  1 13:54 ../
 
Old 03-02-2015, 12:56 AM   #3
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
The directory sizes being reported are actually the sizes of the . directories within the listed directories
thanks again for quick and clear answer. is there anyway to force Thunar to show actual size of a directory without using directory properties?
 
Old 03-02-2015, 01:15 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
The number of items and total file size usage within a directory is displayed in the status line at the bottom of the Thunar screen.
The total file size usage within a directory and all sub-directories is displayed by using directory properties.
 
Old 03-02-2015, 01:43 AM   #5
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
The number of items and total file size usage within a directory is displayed in the status line at the bottom of the Thunar screen.
The total file size usage within a directory and all sub-directories is displayed by using directory properties.
I know these. but want to know whether it is possible to show directory size in detailed list view mode? anyway I think I must try another file manager, is there any slackbuild for double commander as it is my default file manager in windows?
 
Old 03-02-2015, 08:13 AM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by travis82 View Post
I know these. but want to know whether it is possible to show directory size in detailed list view mode?
I don't know of any file managers that will do this automatically. I'd imagine a big reason is because of the additional I/O required any time you go into a directory to determine the size of child directories (which would take a decent chunk of time if you're in the / (root) directory). I know there was an addon you could get that would at it to Windows Explorer, but I think it no longer worked after Windows XP

Quote:
Originally Posted by travis82 View Post
anyway I think I must try another file manager, is there any slackbuild for double commander as it is my default file manager in windows?
I use Krusader. It is a twin-panel file manager (and it has tabs for both panels). It doesn't offer immediate viewing of folder sizes, but if you select the folders you're interested in, you can right click and select "Calculate occupied space", which will then go through and find the total folder size of those folders. It also has a disk usage utility which will show you graphical representations of your data usage based off a certain folder you specify with the ability to drill-down to child folders.
 
1 members found this post helpful.
Old 03-02-2015, 11:43 AM   #7
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
I use Krusader.
already I use krusader. double commander is simpler and less feature rich than krusader. but in windows it calculate directory size automatically in detailed list view mode. I don't know whether it has same functionality in linux or not. anyway it's not a big problem for me as I enjoy using slackware these days and hope that can leave windows (at least in home) very soon.
I love this great community
 
Old 03-02-2015, 12:00 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by travis82 View Post
anyway I think I must try another file manager, is there any slackbuild for double commander as it is my default file manager in windows?
It looks like there's nothing official, but back in 2011, Eric created a basic slackbuild for it (untested by him) and said it might build with two dependencies from slackbuilds.org, fpc and lazarus. The original poster reported back saying it did work. Keep in mind, this is for an older version, so you'll need to at least update the version in the slackbuild to 6.0.0. If you do run into errors, we might be able to figure out what needs to be modified/added to get it to build.

http://www.linuxquestions.org/questi...6/#post4520878

Other forum members also suggested just repackaging the builds provided for other distros or use the portable builds.

If you do end up with a working slackbuild, it may be worth submitting it to slackbuilds.org so others can benefit from your work.
 
1 members found this post helpful.
Old 03-02-2015, 12:43 PM   #9
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
It looks like there's nothing official, but back in 2011, Eric created a basic slackbuild for it (untested by him) and said it might build with two dependencies from slackbuilds.org, fpc and lazarus. The original poster reported back saying it did work. Keep in mind, this is for an older version, so you'll need to at least update the version in the slackbuild to 6.0.0. If you do run into errors, we might be able to figure out what needs to be modified/added to get it to build.

http://www.linuxquestions.org/questi...6/#post4520878

Other forum members also suggested just repackaging the builds provided for other distros or use the portable builds.

If you do end up with a working slackbuild, it may be worth submitting it to slackbuilds.org so others can benefit from your work.
Ok, I will test it tomorrow and will tell you whether it works or not. ohh, I had forgotten it has portable version too
also I know this is out of topic, but in the link you provided there are some suggestion about using Alien's slackbuild toolkit and src2pkg for creating slackbuilds and slackwre packages. are they safe and functional choice?

Last edited by travis82; 03-02-2015 at 12:46 PM.
 
Old 03-02-2015, 01:10 PM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by travis82 View Post
...there are some suggestion about using Alien's slackbuild toolkit and src2pkg for creating slackbuilds and slackwre packages. are they safe and functional choice?
Both must be taken with a grain of salt since they obviously can't account for every environment or issue (without editting), but generally, they hold up pretty well. However, I tend to look for actual slackbuilds, since they've been designed to work with that particular piece of software and, if needed, have patches to fix any issues, or I'll build the slackbuilds myself after trial and error with compiling the program (although, due to the massive amounts of packages in slackbuilds.org, it isn't very often I need to generate my own).

src2pkg is likely to be quicker when it is a standard ./configure && make && make install and many other standard compiling systems. But, if you get to unsupported build systems or systems that don't follow the standard conventions, it can be quite the pain to get it working (although, if gnashley is made aware of it, he should be able to add support if it isn't a one-of-a-kind compiling process).. Slackbuilds can be a bit difficult to set up initially (although, Eric's AST simplifies it a lot), but it works better for those weird use cases. You also get the added benefit of having a Slackbuild you can use on other computers, give to friends, or submit to slackbuilds.org.

It should also be mentioned that Pat and the rest of the dev team (Eric/Alien included) use Slackbuilds for all their software compiling. It provides consistent results and are easily portable (much easier than a binary package). You can find slackbuilds for every single piece of software in Slackware under the source directory on any major mirror. If you want to check out the crazy complexities they can handle, see the slackbuild for x11 :mindblown: and I'm sure KDE is right up there.

Last edited by bassmadrigal; 03-02-2015 at 01:16 PM.
 
1 members found this post helpful.
Old 03-02-2015, 11:26 PM   #11
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Both must be taken with a grain of salt since they ....
thanks a lot and sorry for taking your time.
 
Old 03-03-2015, 06:32 AM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by travis82 View Post
thanks a lot and sorry for taking your time.
No worries. That's what we're here to do
 
Old 03-04-2015, 05:23 AM   #13
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
I must download and install 100 mb dependency for this package which is somewhat tedious in my office. anyway I found that krusader can show size of directories by selecting directories in detailed view mode via pressing space pretty well.
I will try to download and build dependency packages and report the results as soon as possible.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Partitions doesn't show up in Thunar Lennie Linux From Scratch 3 02-19-2013 11:52 AM
Thunar doesn't show CD's or DVD's anymore kikinovak Slackware 5 09-28-2012 06:35 AM
Show full directory size in proftpd? livealie Linux - Server 3 07-28-2009 06:08 PM
thunar does not seem to use gamin to show file changes? titopoquito Slackware 12 09-22-2008 10:21 AM
show size of all filesin a directory watashiwaotaku7 Linux - Newbie 4 09-29-2003 11:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration