LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-14-2005, 03:34 PM   #1
foucault
LQ Newbie
 
Registered: May 2005
Location: Athens, Greece
Distribution: Ubuntu 6.06 "Dapper Drake"
Posts: 25

Rep: Reputation: 15
Fonts in some GTK applications look "wrong"


Hi everyone,
To better understand what I am talking about take a look at the following screenshot of Aria download manager:

http://img35.echo.cx/img35/8576/falsescreen5iv.jpg

As you can see, everything on the program is hardly readable. All fonts look crappy!!

This happens in a lot of similar applications (eg GnuCash, xmms, GnomeCard and so on). I am working at a 1280x1024 resolution. Switching back to a lower resolution (any one), fonts are looking fine. I was thinking if there is a way to fix that most annoying situation, considering that half of my applications look like that. Obviously using a lower resolution isn't the better option 'cause it is a bit uncomfortable working with a 20" CRT monitor in a resolution below 1280x1024.

I am using gnome 2.6 exclusively as my default window manager. Of course the same problem exists under KDE. My distro is Mandrake 10.1 Official (Kernel 2.6.8.1-12mdk-smp)

Thank you all in advance for your patience to stop by
F.

Last edited by foucault; 06-14-2005 at 03:35 PM.
 
Old 06-14-2005, 04:36 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
try using a different font, and see what happens when you change font size
 
Old 06-14-2005, 05:12 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
That looks like a KDE/qt application and not a gnome/gtk app.
 
Old 06-15-2005, 03:34 AM   #4
foucault
LQ Newbie
 
Registered: May 2005
Location: Athens, Greece
Distribution: Ubuntu 6.06 "Dapper Drake"
Posts: 25

Original Poster
Rep: Reputation: 15
And how is it possible to change the font size? Through GConf?
 
Old 06-15-2005, 03:41 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I have just realised its a gtk+ (gtk 1 app) using KDE 2 icons. I am not sure how you can change the fonts using gconf. Can't you change the fonts from its own settings option. If not you can use another download manager like gwget which fits in nicely with gnome 2.x desktops because its writtn in gtk2.
 
Old 06-15-2005, 10:34 AM   #6
foucault
LQ Newbie
 
Registered: May 2005
Location: Athens, Greece
Distribution: Ubuntu 6.06 "Dapper Drake"
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by reddazz
I have just realised its a gtk+ (gtk 1 app) using KDE 2 icons. I am not sure how you can change the fonts using gconf. Can't you change the fonts from its own settings option. If not you can use another download manager like gwget which fits in nicely with gnome 2.x desktops because its writtn in gtk2.
Aria was just an example. There are a lot of applications that have the same problem.
 
Old 06-16-2005, 02:36 PM   #7
Lintegwathion
LQ Newbie
 
Registered: Jun 2005
Distribution: Arch
Posts: 6

Rep: Reputation: 0
With gtk2 apps you could always create the file ~/.gtkrc-2.0 and add the following line:
Code:
gtk-font-name = "Sans 12"
As for gtk1 i suppose you could try adding the same line in ~/.gtkrc
 
Old 06-16-2005, 07:58 PM   #8
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
he uses gnome ...... in gnome its best not to edit config files (i had gnome get pissed at me, and blow up in my face (not literally .... but you get the idea)

the config panel it has built in lets you change fonts
 
Old 06-17-2005, 10:16 AM   #9
Lintegwathion
LQ Newbie
 
Registered: Jun 2005
Distribution: Arch
Posts: 6

Rep: Reputation: 0
true, gnome-settings-daemon should do the work for him.
 
Old 06-19-2005, 03:10 PM   #10
foucault
LQ Newbie
 
Registered: May 2005
Location: Athens, Greece
Distribution: Ubuntu 6.06 "Dapper Drake"
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Lintegwathion
true, gnome-settings-daemon should do the work for him.
Could you be a little more specific?
Thank you!
 
Old 06-19-2005, 03:13 PM   #11
foucault
LQ Newbie
 
Registered: May 2005
Location: Athens, Greece
Distribution: Ubuntu 6.06 "Dapper Drake"
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Lintegwathion
With gtk2 apps you could always create the file ~/.gtkrc-2.0 and add the following line:
Code:
gtk-font-name = "Sans 12"
As for gtk1 i suppose you could try adding the same line in ~/.gtkrc
And that didn't work!
 
Old 06-20-2005, 01:36 PM   #12
PMorph
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 213

Rep: Reputation: 31
How about this?

style "gtk-default"
{
font = "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*"
}
class "*" style "gtk-default"
 
Old 06-20-2005, 02:14 PM   #13
foucault
LQ Newbie
 
Registered: May 2005
Location: Athens, Greece
Distribution: Ubuntu 6.06 "Dapper Drake"
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by PMorph
How about this?

style "gtk-default"
{
font = "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*"
}
class "*" style "gtk-default"
I am afraid this does not work either. I create a file $HOME/.gktrc and add the lines but I have no results. Am I making smth wrong?

There wasn't any gtkrc on my home folder. There was a .gtkrc-1.2-gnome2 file. I tried to edit that one but it keeps changing to the default all the time
Code:
# Autowritten by gnome-settings-daemon. Do not edit

include "/usr/share/themes/Raleigh/gtk/gtkrc"

include "/home/foucault/.gtkrc.mine"
I have to point out that there is no .gtkrc.mine file on my home directory. The first one does exist and contains the following

Code:
# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
#
# include "rc-file"
#
# style <name> [= <name>]
# {
#   <option>
# }
#
# widget <widget_set> style <style_name>
# widget_class <widget_class_set> style <style_name>

style "default"
{
  engine "raleigh" 
    {
    }
}

class "GtkWidget" style "default"

Last edited by foucault; 06-20-2005 at 02:16 PM.
 
Old 06-21-2005, 11:43 AM   #14
foucault
LQ Newbie
 
Registered: May 2005
Location: Athens, Greece
Distribution: Ubuntu 6.06 "Dapper Drake"
Posts: 25

Original Poster
Rep: Reputation: 15
I have also noticed that under 1600x1200 resolution everything is looking fine. What could be wrond with 1280x1024 and 1280x960 resolutions??
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
Adding new applications to "Applications" menu scng Fedora 1 07-03-2005 12:02 AM
Large fonts in GTK(1) applications objorkum Slackware 4 12-05-2004 03:54 PM
RedHat9 Shrike: Adding applications gives "packages not found" ChristiaanTinga Linux - Newbie 4 05-03-2004 01:53 PM
"K"/Start Applications menu items disappear when installing .rpms in KDE 3.1.3 infidel Mandriva 2 01-10-2004 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:27 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