• Home
  • About

Overbenny's Blog

Von Computer über Origami und Glaube zu Sinnbefreitem

Feeds:
Posts
Comments
« libkibi ready for testing
libkibi 0.1 released »

Nautilus with libkibi

8. January 2011 by overbenny

In this Ubuntu cycle, I work on getting the units policy implemented. For this I wrote a library called libkibi. Here are some screen shots how nautilus looks like with libkibi. Some changes are highlighted in red.

The file properties will show the file size in base10 and base2:

PS: I failed to launch nautilus in English. Therefore the screen shots are in German.

PS²: You can grab the modified nautilus package for Ubuntu 10.10 (maverick) from my experimental PPA (at your own risk!).

About these ads

Rate this:

Like this:

Like Loading...

Posted in libkibi, Planet Debian, Planet Ubuntu | Tagged libkibi, nautilus | 15 Comments

15 Responses

  1. on 8. January 2011 at 23:29 Anonymous

    Why does libkibi still use the name “byteprefix” for its configuration file and environment variable?


  2. on 8. January 2011 at 23:33 overbenny

    It uses byteprefix, because this configuration should be independent from the library. I plan to create a freedesktop.org specification for this configuration.


  3. on 9. January 2011 at 0:54 Alex

    I think your work is really important. Besides what some people say, we can’t continue using the wrong prefixes, especially as storage capacities and file sizes increase and the difference gets even bigger.

    So, my question is: Is there any plan to adopt this also for Debian, not only for Ubuntu?


    • on 9. January 2011 at 1:00 overbenny

      The libkibi package will be available in Debian. I’ll try to get my patches upstream. So it’s up to the package maintainers to build their package against libkibi. Let’s see how far we get in wheezy.


  4. on 9. January 2011 at 2:45 Ben

    Why kB (with a lower-case ‘k’) instead of KB? I thought all the larger prefixes were upper-case.

    (searching around, it seems I was wrong–and that ‘de’ is used for Deca- instead of D, which is weird…)


    • on 9. January 2011 at 17:34 overbenny

      Full list of SI prefixes: http://en.wikipedia.org/wiki/SI_prefix


      • on 9. January 2011 at 18:00 Ben

        Thanks, I had visited that page, but hadn’t read the whole thing. The only obvious reason I could find for a lower-case ‘k’ is that the upper-case ‘K’ was already being used for ‘KB’, which is usually used to refer to kilobytes. That makes sense, I guess, except you shouldn’t use an upper-case ‘B’ to refer to bits anyway (according to the same page):

        “The National Institute of Standards and Technology in the United States has suggested the use of bit for bits and B for bytes.”

        So, instead of kB, you should probably use kbit (or something like that, but I didn’t find that in the pdf they referenced)

        It’s also said that ‘K’ is the symbol for Kelvin, which should be fine (I think), since it shouldn’t prefix anything anyway…but I guess it’s good to prevent conflicts whenever possible. ;-)

        Oh, and it’s ‘da’, not ‘de’ for deca; a combination of bad memory and not great vision does that to me sometimes.


      • on 9. January 2011 at 18:03 Ben

        Err, you aren’t referring to bits, so you can and probably should ignore the last two thirds of my previous comment. XD

        Sorry about that.


  5. on 9. January 2011 at 11:06 Elessar

    Strange, I thought everything was already there in Nautilus. Since something like two years I see sizes indicated in Kio, Mio and Gio (in French, the word octet is used instead of byte), both in the file list view and the file properties dialog.

    In addition, in your first screenshot I do not see any binary prefix, on the contrary.

    So I do not understand what you are working on. Does Nautilus not already support binary prefixes?


  6. on 9. January 2011 at 17:23 a

    I think this library approach is too difficult. Simply use Kib / Mib suffixes where Kb / Mb has been traditionally misused and use Kb / Mb where they are correct. Giving users options for changing between Mb and Mib is probably just going to confuse people.


  7. on 18. January 2011 at 1:27 libkibi 0.1 released « Overbenny's Blog

    [...] Comments « Nautilus with libkibi [...]


  8. on 3. July 2011 at 22:50 Oh my

    Don’t care about ubutnut crap on planet Debian


  9. on 4. July 2011 at 17:32 anon

    My parents, family and friends understand MB’s and GB’s. This won’t mean much to them. Or me. Does it have a dconf-scheme to disable it?


    • on 4. July 2011 at 21:27 overbenny

      You can configure libkibi by setting the format in /etc/byteprefix or XDG_CONFIG_HOME/byteprefix. More details in the man page of byteprefix.


      • on 4. July 2011 at 21:52 anon

        Looks cool. thx



Comments are closed.

  • Archives

    • November 2012 (1)
    • April 2012 (1)
    • March 2011 (3)
    • January 2011 (5)
    • December 2010 (1)
    • November 2010 (1)
    • October 2010 (1)
    • August 2010 (2)
    • July 2010 (1)
    • May 2010 (1)
    • April 2010 (2)
    • March 2010 (8)
    • January 2010 (2)
    • December 2009 (3)
    • September 2009 (3)
    • August 2009 (2)
    • July 2009 (1)
    • April 2009 (2)
    • March 2009 (1)
    • December 2008 (1)
    • November 2008 (1)
    • September 2008 (2)
    • June 2008 (1)
    • May 2008 (4)
    • April 2008 (2)
    • March 2008 (6)
  • Categories

    • Blog (1)
    • freie Software (33)
      • dvdbackup (1)
      • HTML Validator (1)
      • libkibi (5)
      • Ubuntu (21)
    • Glaube (1)
    • Origami (4)
    • Planet Debian (18)
    • Planet Ubuntu (34)
    • Sinnbefreites (3)
    • Studium (1)
    • Tiefsinniges (3)
    • Urlaub (1)
    • verschiedenes (7)
  • Pages

    • About

Blog at WordPress.com.

Theme: MistyLook by WPThemes.


Follow

Get every new post delivered to your Inbox.

Powered by WordPress.com
%d bloggers like this: