Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork639
How to change from MiB or GiB to MB and GB#1014
-
Hello there, I was wondering how to change the unit of the memory and disk modules from MiB and GiB to MB and GB |
BetaWas this translation helpful?Give feedback.
All reactions
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
-
|
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello, Can you provide the details on what to add to the schema portion of the config file so I can see MB and GB instead of MiB and GiB? |
BetaWas this translation helpful?Give feedback.
All reactions
-
No need for "stat": true. That printed a bunch of info on the right side of the screen. I just used "binaryPrefix": "jedec" and that worked. Thank you!! |
BetaWas this translation helpful?Give feedback.
All reactions
-
Can you try this? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Since this is the thread that is in the readme, do you mind adding the updated version of this config ? |
BetaWas this translation helpful?Give feedback.
All reactions
-
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:
🔍 What This Does
You can also pass this directly via command line if you prefer:
|
BetaWas this translation helpful?Give feedback.
All reactions
-
Thank you |
BetaWas this translation helpful?Give feedback.
