LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-18-2012, 08:38 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
GTK font selection


how to change font for GTK applications without manually editing ~/.gtkrc-2.0
?
 
Old 01-18-2012, 08:35 PM   #2
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
It is difficult to discern exactly what you mean.

Do you mean simply change the founts that are displayed?
If you are using Gnome, Kde, XFCE or LXDE, founts can be changed in the Appearance dialogue box. With Gnome and XFCE one can also click the right mouse button on the desktop. If using Openbox, settings are changed with Obconf.

Do you mean add GTK founts to the system?
Fount packages are available in both Synaptic and the Software Centre.

If using lxappearance, the /.gtkrc-2.0 file is automatically generated and will be over-written. Changes should be made to /.gtkrc-2.0.mine. I assume this holds true for other appearance tools, but I am only guessing.
 
1 members found this post helpful.
Old 01-19-2012, 01:45 AM   #3
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by Randicus Draco Albus View Post
you are using Gnome, Kde, XFCE or LXDE, founts can be changed in the Appearance dialogue box.
unfortunately that doesn't work in all applications (like iceweasel).

obconf reported many errors: "
Code:
(obconf:2989): GdkPixbuf-CRITICAL **: gdk_pixbuf_fill: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(obconf:2989): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy_area: assertion `src_pixbuf != NULL' failed

(obconf:2989): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion `height > 0' failed
"
but it seems to work, thanks.

Last edited by qrange; 01-19-2012 at 01:56 AM.
 
Old 01-19-2012, 03:39 AM   #4
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
If the problem is with IceWeasle, that is another matter. I have seen many posts on several fora concerning founts on web browsers. It seems they have their own methods of rendering, so letters occasionally look different than on the rest of the system. ??
I can offer no ideas, since it is not a problem I have had. All I know is that IceWeasle/FireFox allows fount selection in Edit/Preferences/Content. All of the founts on your system should be there. If not, we are way beyond the bounds of my meagre expertise.
 
Old 01-20-2012, 02:55 AM   #5
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
I solved the Iceweasel problem too, by editing file ~/.mozilla/firefox/*.default/chrome/userChrome.css

it is sad that we still have to edit files to configure such things.
 
Old 01-21-2012, 11:25 AM   #6
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
Quote:
Originally Posted by qrange View Post
I solved the Iceweasel problem too, by editing file ~/.mozilla/firefox/*.default/chrome/userChrome.css

it is sad that we still have to edit files to configure such things.

Glad you figured it out. would you mind sharing just what you changed in the file and what version of Iceweasel you are using. You might help some poor soul in the future with the same problem.

Thanks
 
Old 01-21-2012, 03:03 PM   #7
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
added this to end of file:
Code:
/* Global UI font */
* { font-size: 12pt !important;
font-family: Liberation !important;
}
 
  


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
Can't find Arial Font in selection lists remargorp Linux - Newbie 1 04-12-2007 09:00 AM
GTK File Selection Question EnigmaX Programming 3 02-14-2006 12:02 AM
GTK Getting Filename From A File Selection Button HELP animehair Linux - Software 1 02-13-2006 10:58 PM
I miss my lovely GTK+ file selection melinda_sayang Slackware 0 07-12-2004 10:55 PM
GTK tree view/model/selection question elluva Programming 8 05-22-2004 12:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration