Improve the appearance of GTK + 3 and QT applications in OpenBox

OpenBox can be modified with themes and engines GTK so that windows and applications look much more attractive and in harmony with our desktop. Unfortunately, these modifications do not apply for GTK + 3 as the new applications included in GNOME 3 and not for applications developed in QT.

For these applications to have an image according to our OpenBox-based desktop, it is necessary to perform a couple of extra manual settings.

For GTK + 3 applications

For the GTK + 3 applications to use a more pleasant theme or more similar to the rest of the GTK applications on our system, it is necessary to install the librsvg and gnome-themes-standard packages.

Note: remember that this manual is for OpenBox on Arch Linux but you can adapt it to other distributions.
sudo pacman -S librsvg gnome-themes-standard

Next, create the configuration file where you specify the theme that the GTK + 3 applications will use.

mkdir -p ~ / .config / gtk-3.0 /
nano ~ / .config / gtk-3.0 / settings.ini

Paste the following lines, changing the word THEME to the name of the GTK + 3 theme you want to use.

[Settings] gtk-application-prefer-dark-theme = false
gtk-theme-name = THEME
gtk-fallback-icon-theme = gnome

There are few themes that provide a similar appearance between the GTK + 3 and GTK + 2 versions, among them are the following:

  • Adwaita for GTK + 3 and Aldabra for GTK + 2
  • Newlooks for GKT + 3 and Clearlooks for GTK + 2
  • zukitwo
  • Elegant Brit
  • Atom
  • Hope
Note: remember that to set the GTK + 2 theme that OpenBox will use you can use the LXAppearance application.

For QT applications

For QT applications we can use the QTConfig application included in the QT 4.5 packages that are installed when we install an application based on QT.

To start, run qtconfig from the terminal.

Once in the QT Configuration window, select the Appearance tab. There you will be able to choose the necessary options to change the image of the QT-based applications installed on your system.

The options that need to be modified are the following:

  • GUI Style: GTK +
  • Build Palette: We choose the desired colors for 3-D Effects and Windows Background.

At the bottom of the window, you can see a preview image of how QT-based applications will look after the changes made, once you are satisfied with the changes, click on the File menu and select the Save option.

This is enough so that all the applications installed on your system have a similar and pleasant appearance.

Source: emslinux


2 comments, leave yours

Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Andrex said

    I want to contribute something. In order for the integration between openbox and Qt to be perfect, make sure that the «libgnomeui» library is installed. I had that problem between Lubuntu and VLC and I solved it like this. Successes!

  2.   Andrew said

    But what themes does gnome-themes-standard have?