In Ubuntu, the default color for selected items is orange. However, you may want to change this to a color that suits your personal preference or to improve visibility. This article will guide you through the process of changing the selected items color in Ubuntu, using different methods depending on your Ubuntu version.
To change the selected items color in Ubuntu, you can use the dconf-editor tool in Ubuntu 11.10, modify color values in specific files for Ubuntu 16.10, or use the GTK Theme Preferences tool for Ubuntu 13.10 and newer versions.
Using the dconf-editor Tool in Ubuntu 11.10
For Ubuntu 11.10, you can use the
dconf-editor tool to change the color. Here’s how:
- Install dconf-editor: First, you need to install the
dconf-editortool. Open the terminal by pressing
Tand run the following command:
sudo apt-get install dconf-tools
This command uses the
sudo (Super User Do) command to run the
apt-get install command, which installs the
- Open dconf-editor: Once installed, open
dconf-editor, and pressing Enter.
- Navigate to the Interface settings: In the program, navigate to
- Change the color: Look for the line “gtk-color-scheme” and add the desired color string, such as
bg_color:#f0f1f2;selected_bg_color:#023C88. Replace the last color in the string (
#023C88) with the highlight color you want.
- Log out and log back in: After making the changes, log out and log back in to see the effect.
Modifying Color Values in Specific Files in Ubuntu 16.10
For Ubuntu versions that do not have the
dconf-editor tool, such as 16.10, you can manually modify the color values in specific files. Here’s how:
- Open the files: Open the following files using a text editor:
/usr/share/themes/Ambiance/gtk-3.0/gtk.css /usr/share/themes/Ambiance/gtk-3.0/settings.ini /usr/share/themes/Ambiance/gtk-2.0/gtkrc
- Change the color: In these files, look for the color value
#f07746, which represents the default Ubuntu orange color. Replace it with the desired color value, such as
- Save the changes and log out and log back in: Save the changes and log out and log back in to see the updated color.
Using the GTK Theme Preferences Tool in Ubuntu 13.10 and Newer
For versions before 13.10, you can try using the GTK Theme Preferences GUI tool, which can be installed from a PPA. However, for newer versions, starting from 13.10, you can install it directly from the main repositories using the command:
sudo apt-get install gtk-theme-config
Once installed, you can use the GTK Theme Preferences tool to customize the GTK themes, including changing the “Selected Items” color. However, keep in mind that some elements like buttons and other highlights based on images may still retain their original color.
In summary, to change the “Selected Items” color in Ubuntu, you can use the
dconf-editor tool or manually modify specific files for older versions. For newer versions, you can use the GTK Theme Preferences tool. Remember to always back up your original settings before making any changes to your system. Happy customizing!
Yes, you can change the selected items color in Ubuntu by following the steps mentioned in the article.
To install the
dconf-editor tool in Ubuntu 11.10, open the terminal and run the command
sudo apt-get install dconf-tools.
In the dconf-editor tool, navigate to
interface to find the "gtk-color-scheme" line.
To open the dconf-editor tool in Ubuntu 11.10, press
dconf-editor, and press Enter.
To change the selected items color in Ubuntu 16.10, you need to modify the following files:
To install the GTK Theme Preferences tool in Ubuntu 13.10 and newer versions, run the command
sudo apt-get install gtk-theme-config in the terminal.
Before making any changes to your system, it is always recommended to back up your original settings to avoid any potential problems.