How to use Qt Oxygen Theme in i3?
How can i use KDE Oxygen Theme in i3 for Qt Applications?
qtconfig-qt4 won't work (it's show only old themes)
How can i use KDE Oxygen Theme in i3 for Qt Applications?
qtconfig-qt4 won't work (it's show only old themes)
answered 2015-01-17 14:45:17 +0000
This post is a wiki. Anyone with karma >100 is welcome to improve it.
After I set these environment variables clementine changed the theme to oxygen:
export GTK_RC_FILES="/etc/gtk/gtkrc:$HOME/.gtkrc:$HOME/.kde4/share/config/gtkrc"
export GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:$HOME/.gtkrc-2.0:$HOME/.kde4/share/config/gtkrc-2.0"
export QT_PLUGIN_PATH="$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/"
I edit ~/.profile to changes it permanent:
if [ "$XDG_CURRENT_DESKTOP" == "i3" ] ; then
export GTK_RC_FILES="/etc/gtk/gtkrc:$HOME/.gtkrc:$HOME/.kde4/share/config/gtkrc"
export GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:$HOME/.gtkrc-2.0:$HOME/.kde4/share/config/gtkrc-2.0"
export QT_PLUGIN_PATH="$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/"
fi
For gtk2-Applications:
vim ~/.gtkrc-2.0
include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
style "user-font" {
font_name = "Sans Serif 11"
}
widget_class "*" style "user-font"
gtk-font-name="Sans Serif 11"
include "/home/$USER/.gtkrc.mine"
For gtk3-Applications: since gtk3-16+ oxygen is no longer supported and doesn't work, so you can't use it, but to change the theme you can edit ~/.config/gtk-3.0/settings.ini, for more information see:
wiki.archlinux.org/index.php/Uniform_Look_for_Qt_and_GTK_Applications
wiki.archlinux.org/index.php/GTK%2B
Having a full kde installation I can run systemsettings and configure it under application appearance. Probably not the most helpful answer.
Asked: 2013-08-21 12:45:11 +0000
Seen: 1,352 times
Last updated: Apr 13