[SOLVED] Re: 'mark' buttons of non-kde applications in kde



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Liam O'Toole wrote:
On Fri, 25 May 2007 16:31:29 +0200
Johannes Wiedersich <johannes@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

[...]

From
16:18:01-jw@johannes2:~$ echo $GTK2_RC_FILES
/johannes2/.gtkrc-2.0

I delete that file and now the buttons get this nice frame for the
selected item. However, now the font used by these applications is
big, fat and ugly. So big and fat, that I refuse to use them.

Is there a way of having a light nice font *plus* these little frames?

I tried Helvetica 10, New Courier 10, Console 10, but none of them
worked.

Create a new gtkrc-2.0 file containing the following line:

gtk-font-name="Sans 8"

Obviously, you can experiment with the font size until you achieve the
desired effect.

I seem to remember there is an option in the Control Centre to apply
fonts and colour settings to non-KDE applications. You might want to
switch that option off, since the results are mixed, at best.

Thanks.

It appears to be a problem of the 'theme' Qt that is set in that file.
Replacing it by 'Platinum' solves it elegantly.

20:06:13-jw@johannes2:~$ colordiff .gtkrc-2.0 .gtkrc-2.0-kde
4c4
< #include "/usr/share/themes/Qt/gtk-2.0/gtkrc"
- ---
include "/usr/share/themes/Qt/gtk-2.0/gtkrc"
12c12
< gtk-theme-name="Platinum"
- ---
gtk-theme-name="Qt"

20:09:20-jw@johannes2:~$ more .gtkrc-2.0
# This file was written by KDE
# You can edit it in the KDE control center, under "GTK Styles and Fonts"

#include "/usr/share/themes/Qt/gtk-2.0/gtkrc"

style "user-font"
{
font_name="Helvetica 10"
}
widget_class "*" style "user-font"

gtk-theme-name="Platinum"
gtk-font-name="Helvetica 10"

Johannes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGVyaBC1NzPRl9qEURAuYPAJ0YiVcrsiRw9B7PRPbUB00cjTz5awCfd2o7
Mj0ITG8zx7fZ4GFn4rxhd5A=
=ycud
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Has anyone seen this? Openoffice 2.4.1 disappears after its splash screen
    ... was choking on a specific type 1 font. ... I tried installing the KDE integration package, ... It may help to use strace on the program like this: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: set up Xserver for etch upgrade
    ... AIGLX: Screen 0 is not DRI capable ... could not open default font 'fixed' ... To UNSUBSCRIBE, email to debian-user-REQU...@xxxxxxxxxxxxxxxx ... Do I need to reinstall the whole Debian Etch? ...
    (Debian-User)
  • Re: Small irritation with Serif
    ... I presume we're talking Page Plus here. ... you're not folloqing the proper procedure for changing the font. ... If the text you wish to change is in a text frame you need to DOUBLE ... other characteristics should change to what that paragraph style is - ...
    (uk.people.silversurfers)
  • Re: Text overlow in Iceweasel
    ... text are superimposed on top of one another - a sort of overflow. ... also happens with Iceape but not with Chromium-browser. ... Note, though, that my default font is Arial 15 and I've installed a lot of fonts, so that might make an impact. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • WordArt in Publisher 2007
    ... I just upgraded from Publisher 2000 to Publisher 2007 and I just can't figure ... In Publisher 2000 when I created a new WordArt object, I could select a font ... could select the "best fit" option to have the WordArt fit in my frame. ...
    (microsoft.public.publisher)