About

Welcome to Panela, Matt Harrison's take on mostly Open Source, Linux, Python, innovation in those areas, other buzzwords and Dick Proenneke. It comes complete with the illustrations as needed. Note the opinions expressed here are merely my opinions and not the opinions of my employer.

about Matt

Calendar

««Feb 2010»»
SMTWTFS
 
1
23456
78910111213
14151617181920
21222324252627
28

Mailing List

My RSS Feeds








Configuring Linux fonts (kde, OOo, gtk+, java, emacs and firefox)

posted 2008.12.22 Mon

(Mainly notes for myself). Since I switched over to Gentoo and am running Awesome for a window manager, I no longer have the Ubuntu fonts/cursors are consistent thing going on (widget themes are another story, and quite frankly, I'm not worried about getting them consistent). Here's some notes, (gentoo wiki used to have this somewhere but it's gone, here's the link), hopefully they are useful to others.

Fonts

I'm using konsole, akregator, konversation, firefox, emacs, OOo, gimp and inkscape as my main apps. Also I've got a T61p thinkpad (1680x1050) and am normally using a 24 inch monitor (1920x1200) in combination with it. The defaults fonts were way too big for me.

KDE

I just used kcontrol "Appearance & Themes"->"Fonts", "Adjust All Fonts..." to bring the default size to 8.

GTK+

To get GTK+ fonts smaller I created a ~/.gtkrc-2.0 file with

gtk-font-name="BitStreamVeraSans 8"
in it. Firefox Firefox seems to just work after setting .gtkrc-2.0

OOo

"Tools"->"Options". "OpenOffice.org"->"View".

Under "User Interface" set "Scaling" to 80%.

Java

TBD

Emacs

See Emacs with Xft gentoo docs

. Cursor

I also wanted to change the default cursor. I installed xcursor-neutral and restarted X but it only worked for kde apps.

KDE

Just works

GTK+/Firefox

add

gtk-cursor-theme-name="Neutral_plus"
to ~/.gtkrc-2.0. I also needed to symlink a "default" cursor in /usr/share/cursors/xorg-x11, ie:
cd /usr/share/cursors/xorg-x11/
ln -s Neutral_Plus default
Also needed to restart X.

OOo

Works with default link

Java

TBD

Feel free to leave tips/hints in the comments

tags:            

links: digg this    del.icio.us    reddit