How to Enable Dark Mode on VirtualBox with Arch Linux as the Host OS

Abstract: Enable dark mode in VirtualBox on Arch Linux by installing and applying a dark GTK theme like Adwaita-dark or Greybird.

Created: 2026-09-16 by

VirtualBox on Arch Linux does not have a native "Dark Mode" toggle in its settings because it relies on the system’s GTK theme. To enable dark mode, you must install and activate a dark GTK theme like Adwaita-dark or Greybird. VirtualBox automatically inherits this theme upon restart, providing a consistent dark interface without requiring complex configuration files or hacks.

Understanding VirtualBox Theming on Linux

Unlike Windows or macOS versions of VirtualBox, which may have built-in appearance options, the Linux version is tightly integrated with the desktop environment’s toolkit. Specifically, VirtualBox uses the GTK (GIMP Toolkit) library for its graphical user interface. This means that VirtualBox does not manage its own colors independently; instead, it queries the current GTK theme applied to your Arch Linux system. If your system is using a light theme, VirtualBox will appear bright. If you switch to a dark GTK theme, VirtualBox will instantly reflect those changes. This dependency simplifies the process significantly. You do not need to edit hidden configuration files, use command-line flags to force color schemes, or modify internal XML descriptors. The solution lies entirely in managing your host OS’s visual style. For users who frequently switch between work and creative tasks, having a unified dark interface across all applications, including virtual machines, reduces eye strain and provides a cohesive look.

Installing Dark GTK Themes on Arch Linux

Arch Linux offers a vast repository of themes through the Arch User Repository (AUR) and official packages. The most straightforward approach is to install a well-maintained dark theme. Two popular choices are adwaita-dark, which is part of the GNOME ecosystem, and greybird-gtk-theme, which is highly customizable and widely used across various desktop environments like KDE Plasma and XFCE. To install adwaita-dark, you can use your package manager if it is available in your configured repositories. However, many users prefer AUR helpers like yay or paru for broader access. For example, running yay -S adwaita-dark will fetch and compile the necessary assets. Alternatively, for greybird, you might run yay -S greybird-gtk-theme. These packages place the theme files in standard directories such as /usr/share/themes or ~/.themes, making them immediately discoverable by any GTK application. If you choose to download themes manually from sites like GNOME Look, ensure you extract them into your local ~/.themes directory. This location takes precedence over system-wide installations for the current user. After installation, verify that the theme files contain the necessary CSS definitions for dark backgrounds and light text. Most modern themes include these out of the box, but older or poorly maintained ones might require manual tweaking.

Applying the Theme via Your Desktop Environment

Once the theme is installed, you must apply it to your system. The method depends on which desktop environment (DE) you are using on Arch Linux. For GNOME users, open the Tweaks application. Navigate to the Appearance tab. Under the Applications dropdown menu, select your newly installed dark theme (e.g., Adwaita-dark). GNOME applies this setting globally, affecting all GTK3 and GTK4 applications. For KDE Plasma users, go to System Settings, then select Appearance > Colors. Choose a dark color scheme, and under the Window Decorations and Taskbar sections, ensure consistency. KDE also allows you to set the global application style to Breeze or Oxy, but ensuring the color palette is dark is key for VirtualBox. For XFCE or MATE users, open the Settings Manager, find Appearance, and select the Style tab. Choose the dark theme from the list. XFCE may require logging out and back in for some applications to fully pick up the new theme variables. After applying the theme, close VirtualBox completely. It is crucial to exit the application so that it releases any cached graphical resources. Then, reopen VirtualBox. You should see the main window, the device manager, and the console windows rendered in dark colors. If VirtualBox still appears light, check if your DE has overridden the GTK theme specifically for certain apps or if there is a conflict with other styling tools.

Handling Specific UI Elements

Sometimes, while the main window turns dark, specific dialogs or the VM console might retain light backgrounds. This is often due to how individual components within VirtualBox handle inheritance. The console window, which displays the guest OS output, typically follows the system terminal settings rather than the GTK theme. If you want the console background to be dark, ensure your default terminal emulator (like kitty, alacritty, or gnome-terminal) is also using a dark profile. Additionally, some icons or buttons might not scale perfectly with every dark theme. If you encounter visual glitches where icons disappear against dark backgrounds, consider switching to a theme that includes icon packs designed for dark modes, such as Vimix-icon-theme paired with a dark GTK theme. This ensures that white icons remain visible on dark panels. For advanced users who wish to fine-tune the appearance further, you can create a custom gtk.css file in ~/.config/gtk-3.0/. This file allows you to override specific properties for VirtualBox alone. However, this is rarely necessary since most complete themes handle the application correctly. Start with a simple theme swap before resorting to custom CSS overrides.

Verifying the Change

To confirm that VirtualBox is correctly using the dark theme, inspect the main menu bar and the side panel listing your virtual machines. These areas should now have dark backgrounds with light text. If you have multiple VMs, notice how the selection highlight matches the theme’s accent color. This visual consistency extends to error dialogs and warning messages, which will also adopt the dark aesthetic. Remember that updates to VirtualBox or your GTK libraries might occasionally reset preferences or introduce bugs. If the dark mode stops working after an update, reapply the theme in your DE settings. In rare cases, clearing the GTK cache by deleting ~/.cache/gtk-3.0/ can resolve rendering issues.

Frequently Asked Questions

Does VirtualBox support custom color schemes natively?

No, VirtualBox on Linux does not have a built-in settings menu for changing colors. It strictly relies on the GTK theme provided by your operating system. Any customization must be done at the system level by installing and activating different GTK themes.

Why is only part of VirtualBox dark after I change my theme?

This usually happens because some components, like the VM console, inherit settings from your terminal emulator rather than the GTK theme. Ensure your default terminal app is also set to a dark profile to achieve full consistency across the interface.

Can I use a dark theme without changing my entire system?

Most desktop environments allow per-application styling, but VirtualBox generally follows the global GTK theme. While you can sometimes force a theme via environment variables, it is more reliable to simply switch your global theme to a dark variant temporarily.

Will updating Arch Linux break my VirtualBox dark mode?

Updates rarely break theme compatibility, but they might reset your DE settings if you use a display manager that saves state differently. If VirtualBox reverts to light mode, simply reselect the dark theme in your Appearance settings to restore the look.

Is there a way to make VirtualBox look like macOS dark mode on Linux?

You can approximate this by installing a macOS-inspired GTK theme, such as WhiteSur-gtk-theme or McMojave-circle. Apply the dark variant of these themes in your DE settings to get a closer visual match to Apple’s design language.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More