Skip to content
Discussion options

You must be logged in to vote

To change the units from MiB/GiB to MB/GB in Fastfetch, you’ll want to adjust the binaryPrefix setting in your configuration. Here's how you can do it:

🛠️ Update Fastfetch Config to Use MB/GB Units

In your Fastfetch JSON config file (usually located at ~/.config/fastfetch/config.jsonc), find or add the following under the display section:

json "display": { "size": { "binaryPrefix": "jedec" } }

🔍 What This Does

  • Setting "binaryPrefix": "jedec" switches the unit system from IEC (MiB/GiB) to JEDEC (MB/GB).
  • This affects how memory and disk sizes are displayed—using base 10 (1 GB = 1000 MB) instead of base 2 (1 GiB = 1024 MiB).

You can also pass this directly via command line if you prefer:

b…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@onefish2
Comment options

@onefish2
Comment options

Comment options

You must be logged in to vote
1 reply
@Joao-Schio
Comment options

Comment options

You must be logged in to vote
1 reply
@Joao-Schio
Comment options

Answer selected by Joao-Schio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants