#290 list sizes with fixed units

closed-fixed
5
2013-09-09
2013-05-15
Philipp
No

Let the user select a fixed unit for displaying file sizes e.g. Byte, KB, MB, GB

Listing Now
-------------------
File1.txt 100 bytes
File2.txt 10.0 MB
File3.txt 1.2 GB

Listing with MB selected
-------------------
File1.txt 0.1 MB
File2.txt 10 MB
File3.txt 1200 MB

In my opinion this makes comparing file sizes much cleaner and easier, since I don't have to read and comprehend the units
each time I look at a size.

Discussion

  • Lonely Stranger

    Lonely Stranger - 2013-08-31
    • assigned_to: nobody --> lstranger
    • status: open --> closed-fixed
     
  • Lonely Stranger

    Lonely Stranger - 2013-08-31

    This issue should be handled in 1.2.0-beta0 version of libfm using configuration option "list_view_size_units". Test it, please, when it's possible for you. Note that you should recompile pcmanfm as well to use new version of libfm.
    Thank you very much.

     
  • Philipp

    Philipp - 2013-09-03

    I tested the feature with current git 9adda2f92dc7b543f932a3155856a329cddcc0aa.

    I got a crash, when i tried to open the preferences, but editing
    ~/.config/libfm/libfm.conf
    and inserting

    {{{
    [ui]
    list_view_size_units=M
    }}}

    worked as expected, also b,K,G.

    Excellent work! Thanks a lot!

     
  • Philipp

    Philipp - 2013-09-03
    • status: closed-fixed --> open-fixed
     
  • Lonely Stranger

    Lonely Stranger - 2013-09-09
    • status: open-fixed --> closed-fixed
     
  • Lonely Stranger

    Lonely Stranger - 2013-09-09

    That is very bad if you got any crash. Can you reproduce it? If you can then, please, let me know exact steps to get the crash so I can fix it. Better opening the ticket in the Bugs tracker. Thank you very much.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks