You are not logged in.
Hello,
The theme/fonts in GTK applications are different than what I want my system to use. Theme in all applications are right except Spotify. Spotify is using some weird theme. Fonts in all applications are messed up. I am using infinality for fonts. I have made no changes to infinality config. I am running Awesome WM and ttf-google-webfonts.
.gtkrc.mine
##### GTK THEME
gtk-theme-name = "Zukitwo"
##### ICON THEME
gtk-icon-theme-name = "Faenza-Darker"
##### FONTS
style "schrift"
{
font_name = "DejaVu Sans 10"
}
widget_class "*" style "schrift"
gtk-font-name = "Droid Sans 10"
##### TOOLBARS
gtk-toolbar-style = GTK_TOOLBAR_ICONS #Only icons
gtk-toolbar-style = GTK_TOOLBAR_TEXT #Only text
gtk-toolbar-style = GTK_TOOLBAR_BOTH #Both icons and text
gtk-toolbar-style = GTK_TOOLBAR_BOTH_HORIZ #Icons and text next to the icons.gtkrc-2.0 and .gtkrc-1.2-gnome2
include '/home/donnie/.gtkrc.mine'.config/gtk3/settings.ini
[Settings]
gtk-theme-name = Zukitwo
gtk-icon-theme-name = Faenza-DarkerSpotify uses some weird black theme.

Google-Chrome address bar and bookmark bar is using correct font but not the browser itself.
Thanks.
Last edited by donniezazen (2012-06-24 16:52:47)
Offline
why don't give a try to lxappearance ?
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
Are you sure spotify is a gtk app?
Offline
spotify is QT, so you can change qt theme under qtconfig
i noticed you to try lxappearance because you say: "The theme/fonts in GTK applications are different than what I want my system to use."
so GTK apps don't work are should
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
All those apps on screenshots except Chrome are qt.
To make them look like gtk applications add following to .xinitrc or your startup script
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"Then run "qtconfig" and select GTK+ for gui style and choose fonts.
Use lxappearance for gtk settings - you might have syntax errors.
Web page fonts and rendering in Chrome have nothing to do with gtk - play around with Infinality.
Defaults are expected to look shitty.
Offline
Chromium is also not a GTK app, but uses its own hybrid toolkit and simply mimics the desktop theme. As for the font in the browser window, you likely need to change that in Chromium itself.
Offline
Sorry for calling those apps GTK apps. Previously, all I had to do was to install lxappearance and infinality and everything was taken care of automatically, no settings what so ever.
I removed all those files and installed lxappearance. I see no change. If I make changes in fonts section of lxappearance, it quickly goes back to default.
@saran I don't use xinitrc as i use lightdm. I use run_once script from Awesome Wiki and if I use export gtk rc files command, it resets my whole rc.lua, reverting awesome to go to default settings.
QGtkStyle was unable to detect the current GTK+ t-- {{{ Run program once
local function processwalker()
local function yieldprocess()
for dir in lfs.dir("/proc") do
-- All directories in /proc containing a number, represent a process
if tonumber(dir) ~= nil then
local f, err = io.open("/proc/"..dir.."/cmdline")
if f then
local cmdline = f:read("*all")
f:close()
if cmdline ~= "" then
coroutine.yield(cmdline)
end
end
end
end
end
return coroutine.wrap(yieldprocess)
end
local function run_once(process, cmd)
assert(type(process) == "string")
local regex_killer = {
["+"] = "%+", ["-"] = "%-",
["*"] = "%*", ["?"] = "%?" }
for p in processwalker() do
if p:find(process:gsub("[-+?*]", regex_killer)) then
return
end
end
return awful.util.spawn(cmd or process)
end
-- }}}
-- Usage Example
-- run_once("firefox")
-- run_once("dropboxd")
-- Use the second argument, if the programm you wanna start,
-- differs from the what you want to search.
-- run_once("redshift", "nice -n19 redshift -l 51:14 -t 5700:4500")
run_once("xfce4-power-manager")
run_once("parcellite")
run_once("/opt/dropbox/dropboxd")
run_once("nm-applet")
run_once("volumeicon")
run_once("[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources")
--run_once("export GTK2_RC_FILES="$HOME/.gtkrc-2.0"")Last edited by donniezazen (2012-06-24 17:01:57)
Offline
I made changes to qtconfig. It seems to have fixed fonts in VLC and Nixnote. VLC is still completely black. Changing theme in qtconfig or VLC to GTK+ does nothing but changing font to desired fix the fonts. Google-chrome is still using crappy fonts. Also I am not sure if smooth infinality rendering is applied throughout system.
Offline