DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk9 min

How to Customize btop’s Layout, Colors, and Update Interval

Configure btop’s dashboard layout, theme colors, terminal color depth, and refresh interval using the UI, btop.conf, and documented command-line switches.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

btop lets you change its dashboard arrangement, color output, and refresh cadence either from its interactive interface or by editing the persistent btop.conf file. The configuration lives in $XDG_CONFIG_HOME/btop when $XDG_CONFIG_HOME is set; otherwise it is in $HOME/.config/btop. Use presets and shown_boxes for layout, color_theme plus the color-mode settings for appearance, and update_ms for refresh timing. Command-line switches such as --preset, --themes-dir, and --update let you test a choice at startup without first rewriting the file.

Choose between the UI and the configuration file

Every option covered here can be changed through btop’s own user interface. That is the safest way to explore a setting because you can see the result immediately. btop also writes persistent choices to btop.conf, so direct editing is useful when you want a repeatable setup, need to copy a configuration to another machine, or want to keep several layouts ready.

As an Amazon Associate I earn from qualifying purchases.

The upstream README documents the file format, themes, color modes, and refresh setting at github.com/aristocratos/btop/blob/main/README.md. Startup switches are documented in the project’s man page, dated 2025-05-01, at github.com/aristocratos/btop/blob/main/manpage.md.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Find the file btop actually uses

  1. Check whether the environment variable XDG_CONFIG_HOME is set.
  2. If it is set, look for btop/btop.conf below that directory.
  3. If it is not set, use $HOME/.config/btop/btop.conf.
  4. Make a backup before hand-editing: cp btop.conf btop.conf.backup from the directory that contains the file.

If btop has not created the file yet, change an option in the UI and exit normally, then check the appropriate directory. Editing the generated file preserves the same setting model as the UI; do not create a second configuration in an unrelated directory and expect btop to read it.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

Arrange the dashboard with presets

Layout customization has two separate controls. presets describes arrangements of boxes, while shown_boxes decides which box types are available to display. Changing one does not automatically rewrite the other.

Understand the preset model

The upstream configuration comments define preset entries as a comma-separated sequence using box_name:P:G. In that form:

  • box_name identifies the box, such as cpu, mem, net, proc, or one of gpu0 through gpu5.
  • P selects one of two alternate positions for that box.
  • G selects the graph symbol used by that box.

Whitespace separates one preset definition from the next. Keep each individual definition comma-separated and keep the position and graph fields attached to the box name with colons. The exact graph characters are represented by the configuration’s documented symbols; copy those symbols from the comments in your generated file rather than substituting arbitrary punctuation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Preset 0 is special: it always shows all boxes with their default settings. The configuration supports up to nine preset definitions, and the startup option accepts preset IDs from 0 through 9. This gives you a stable default plus selectable alternatives, subject to the definitions present in your file.

Control which boxes can appear

Use shown_boxes when the problem is not placement but clutter. Its documented names include:

Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
  • cpu for processor information
  • mem for memory information
  • net for network information
  • proc for the process list
  • gpu0 through gpu5 for GPU boxes

Think of shown_boxes as the inventory and presets as the floor plan. If a box is absent from shown_boxes, changing its position in a preset cannot make it appear. Conversely, leaving every box enabled can produce a busy display even when the arrangement itself is orderly.

Make a persistent layout change

  1. Open btop’s configuration controls and adjust the visible boxes or their arrangement.
  2. Exit in the normal way so btop writes the change to btop.conf.
  3. Reopen the file in a text editor and confirm that the relevant presets or shown_boxes line changed.
  4. Keep the backup until the new arrangement starts reliably.

For a hand edit, preserve the existing option names and separators. A safe workflow is to alter one line, start btop, and verify the result before making another change. If the display falls back to an unexpected arrangement, restore the backup and reapply the edits one at a time.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Try a layout only for one launch

Use the startup preset switch when you want to compare arrangements without changing the saved configuration:

btop --preset 3

The short form is -p 3. Replace 3 with an ID from 0 through 9. This is useful for testing a compact workstation layout, a monitoring layout with every box enabled, or a GPU-focused view while leaving your normal startup choice untouched.

Choose a theme and adapt it to your terminal

The palette and the terminal’s color capability are related but distinct. Set color_theme to choose a named theme; then use truecolor or a lower-color mode to match what your terminal can render.

Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

Use built-in or custom themes

The README identifies Default and TTY as built-in themes. It also describes separate system and user theme directories. A custom theme can be supplied with --themes-dir; according to the man page, that directory takes priority over btop’s normal theme search paths.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
btop --themes-dir /path/to/themes

This switch is a startup choice, not a replacement for selecting color_theme. Put the theme file in the directory you intend to search, then select its name through the UI or the color_theme option. Keeping third-party or locally edited themes in a dedicated directory makes it easier to test them without overwriting the built-in files.

Know the limits of cross-project themes

btop uses the same theme-file family as bpytop and bashtop. Compatibility is not complete in every case: the README notes that some color values are missing in bashtop themes. A theme may therefore load while leaving particular interface elements at defaults. If a converted theme looks partly correct, compare its available color entries with a btop-generated theme instead of assuming that every color has a one-to-one equivalent.

Match color output to terminal capabilities

Mode How to select it Terminal requirement and behavior When it makes sense
24-bit truecolor truecolor = true (the default) Uses 24-bit colors for the richest palette. Use when your terminal supports truecolor and you want the closest rendering of a theme.
256-color conversion Set truecolor = false, or start with --low-color. Converts 24-bit theme colors to a 256-color palette. Use on terminals that do not render truecolor correctly but do support 256 colors.
TTY mode Start with --tty. Forces 16 colors and TTY-friendly graph symbols. Use for constrained TTY sessions where broad terminal features are unavailable.

The project describes 24-bit truecolor as the best experience and supports 256-color terminals through conversion. The practical test is visual: if gradients, labels, or graph colors look wrong, try --low-color; if you are working on a plain console or serial-style session, try --tty.

Set a theme permanently

  1. Choose a theme name in btop’s UI, or edit the color_theme line in btop.conf.
  2. Leave truecolor enabled when your terminal displays the theme accurately.
  3. Set truecolor = false when the terminal is limited to 256 colors.
  4. Restart btop and check both text legibility and graph distinctions, not just the background color.

Theme selection and color-depth selection should be diagnosed separately. A poor-looking display can result from a missing theme entry, an unsupported color depth, or TTY constraints; changing the theme name alone will not fix every case.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

Use command-line color overrides for troubleshooting

Command-line modes are useful when you do not want to edit the file yet:

btop --low-color
btop --tty

If one of these renders correctly, move the equivalent choice into the configuration only after confirming that it suits your normal terminal. The switches affect that launch, so they are convenient for remote sessions, recovery, and quick comparisons.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Set the update interval in milliseconds

update_ms controls how often btop refreshes its display, and the unit is milliseconds. The official configuration example uses 2000 and recommends 2000 ms or above for better graph sample times.

Setting Meaning Use case
update_ms = 2000 Refresh every 2,000 milliseconds (2 seconds). The project’s documented example and recommendation for better graph sampling.
update_ms = 5000 Refresh every 5,000 milliseconds (5 seconds). A slower monitoring view when minute-to-minute changes matter more than rapid updates.
update_ms = 1000 Refresh every 1,000 milliseconds (1 second). A more frequently updated display; the project’s recommendation still favors 2,000 ms or above for graph sample times.

The table illustrates the unit and trade-off, not a benchmark. The official material does not publish measured CPU, battery, or terminal-performance differences for particular intervals. Choose the shortest interval that gives you useful visibility, and remember that the documented guidance is 2,000 ms or higher for graph sampling.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Persist the interval in btop.conf

  1. Open the configuration file in the path determined by XDG_CONFIG_HOME or HOME.
  2. Find the update_ms option.
  3. Enter the interval as an integer number of milliseconds, for example update_ms = 2000.
  4. Save the file and restart btop so the setting is loaded cleanly.

Override it for one run

Use --update (or -u) followed by the interval in milliseconds:

btop --update 5000
btop -u 1000

This startup override lets you compare sampling behavior without replacing the saved value. Once you have chosen an interval, put that value in update_ms if you want it to apply to every future launch.

Combine layout, theme, and timing in a repeatable workflow

Changing several options at once makes it difficult to tell which edit caused a problem. Use a staged workflow instead:

  1. Back up the file. Copy btop.conf before editing.
  2. Establish the box inventory. Set shown_boxes to the CPU, memory, network, process, and GPU boxes you actually need.
  3. Arrange the inventory. Edit or create a presets definition using the documented box_name:P:G format.
  4. Choose the palette. Set color_theme to Default, TTY, or the name of a custom theme.
  5. Match color depth. Keep truecolor = true for a capable terminal; otherwise use truecolor = false, --low-color, or --tty as appropriate.
  6. Set sampling. Put an integer millisecond value in update_ms, starting with the documented 2,000 ms recommendation.
  7. Test each launch. Use --preset, --themes-dir, and --update to test alternatives without immediately changing persistent settings.
  8. Keep the working file. Once the display is correct, retain the backup and copy the finished configuration if you need the same setup elsewhere.

Troubleshoot common customization problems

The layout ignores a box change

  • Check whether the box name is present in shown_boxes. A preset cannot display a box excluded from that list.
  • Check the preset entry’s spelling and its comma/colon separators.
  • Test with btop --preset 0. Preset 0 always shows all boxes with default settings, which helps distinguish an inventory problem from a custom arrangement problem.

A custom theme loads with missing colors

  • Confirm that color_theme matches the theme file’s name.
  • If you used a custom location, launch with --themes-dir /path/to/themes; that directory has priority over normal search paths.
  • Remember that bashtop theme files can lack color values expected by btop. Missing entries may remain at defaults rather than indicating a layout failure.

Colors look washed out or incorrect

  • Try --low-color to convert the theme to 256 colors.
  • For a 16-color TTY, use --tty, which also selects TTY-friendly graph symbols.
  • If truecolor is supported and the theme is complete, set truecolor = true and restart.

The refresh value behaves unexpectedly

  • Verify that update_ms is expressed in milliseconds, not seconds.
  • Check for a launch command containing --update or -u; that one-run override takes precedence for that session.
  • Use 2,000 ms or more when graph sample quality is the priority, as recommended in the official configuration example.

Useful command combinations

These examples combine the documented startup controls without changing the saved file:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
# Test preset 2 at a 2-second interval
btop --preset 2 --update 2000

# Test a custom theme directory with 256-color conversion
btop --themes-dir /path/to/themes --low-color

# Run a constrained 16-color session
btop --tty

Use absolute or shell-resolvable paths for --themes-dir. If a command works only with a flag, decide whether that limitation is temporary (for example, a remote TTY) or permanent enough to encode in btop.conf.

What to remember

  • presets controls box placement and graph choices; shown_boxes controls which boxes are included.
  • Preset 0 is the all-boxes default, and --preset accepts IDs 0 through 9.
  • color_theme selects the palette; truecolor, --low-color, and --tty adapt it to terminal capabilities.
  • update_ms is measured in milliseconds. The upstream example uses 2,000 ms and recommends at least that interval for better graph sample times.
  • The UI is sufficient for normal changes, while btop.conf is the persistent, portable way to reproduce a setup.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.