LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 02-09-2008, 10:31 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 51
How to have nicer fonts and gtk colors (no gnome, no kde)


Hello,
I am running openbox, blackbox, and fvwm. I do not use gnome-settings-daemon. What may I do / would you do / do you do, so that the Desktop looks bit nicer ?
thanks
 
Old 02-10-2008, 03:07 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Try something like gtk-theme-switch or gtk-chtheme.
 
Old 02-13-2008, 12:36 PM   #3
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 509

Rep: Reputation: 41
Finetune your .gtkrc.mine - I've added stuff like

Code:
style "user-font" {
        font_name = "Bitstream Vera Sans 8"
}

widget_class "*" style "user-font"

gtk-font-name="Bitstream Vera Sans 8"
gtk-icon-theme-name="Iris"
gtk-xft-dpi=98304
Do not put it into .gtkrc-2.0 - this is usally marked as to be overwritten by several configuration tools and has already included an include for .gtkrc.mine


Sadly, theming of Gtk isn't the best of documented things - there is some stuff around nevertheless...

See here for a start.
 
Old 02-13-2008, 12:38 PM   #4
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 509

Rep: Reputation: 41
Oh, and don't forget to configure your .fonts.conf - something like:

Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
</fontconfig>
This is my personal font taste - adjust it to your likings - hintstyle for example.
 
Old 02-13-2008, 02:47 PM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by reddazz View Post
Try something like gtk-theme-switch or gtk-chtheme.
thanks gtk-thme-swithc2 works but one have to change and then clikc on apply or preview to see it. I ll try if this gtk-chtheme better for seeing a theme before choosing.

thx
 
Old 02-13-2008, 02:50 PM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 51
http://live.gnome.org/GnomeArt/Tutorials/GtkThemes
nice tutorial, bit complicate, but nice.
a gui window to edit, change the thickness, fonts ... easy like windows, also for fonts would certainly be existing already. cool, that gtk. I put panther2 gtk2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No fonts displayed on gnome-find and some old gtk appliactions deepclutch Linux - Software 1 04-29-2007 04:14 AM
Changing GTK Styles and Fonts in KDE xbennyboy Suse/Novell 16 02-16-2007 05:46 PM
gtk colors in KDE weirdness Marsanghas Slackware 0 04-07-2004 12:36 PM
Problem with Gnome fonts (DPI) after installining GTK+2 satellitejune Linux - Software 1 12-26-2003 08:41 PM
nicer fonts biotek1 Linux - Software 11 10-13-2003 01:14 AM


All times are GMT -5. The time now is 07:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration