LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 05-17-2008, 11:17 PM   #1
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, openSuSE 11.0
Posts: 389
Thanked: 0
Adjusting font in applications in KDE for Slack 12.1


[Log in to get rid of this advertisement]
I've just recently completed a fresh install of Slackware 12.1 on one of my computers. However, I am having troubles adjusting the font sizes for various applications, such as FIrefox and VLC Media Player. Even though I have adjusted the font size from the KDE Control Center, the font size in the menu bar of both the aforementioned applications is larger than what I would like it to be, despite of what I have set KDE to render for the system. I adjusted the font size in Firefox under the Edit > Preferences menu, but this did not seem to make a difference. Is there something that I am missing with the font configuration?
swampdog2002 is offline     Reply With Quote
Old 05-18-2008, 01:28 AM   #2
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, openSuSE 11.0
Posts: 389
Thanked: 0

Original Poster
Upon further research, it seems that the application fonts for programs such as Firefox do not respond to changes made within the KDE Control Center, but do so for GNOME. Since I do not have GNOME installed, is there any other way to change the application fonts for programs under KDE?
swampdog2002 is offline     Reply With Quote
Old 05-18-2008, 01:36 AM   #3
SqdnGuns
Member
 
Registered: Aug 2005
Location: Sarasota, FL
Distribution: Slackware64 ® 13.0
Posts: 707
Thanked: 20
Quote:
Originally Posted by swampdog2002 View Post
Upon further research, it seems that the application fonts for programs such as Firefox do not respond to changes made within the KDE Control Center, but do so for GNOME. Since I do not have GNOME installed, is there any other way to change the application fonts for programs under KDE?
Firefox Preferences > Content > Fonts & Colors
SqdnGuns is offline     Reply With Quote
Old 05-18-2008, 02:10 AM   #4
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, openSuSE 11.0
Posts: 389
Thanked: 0

Original Poster
I tried that, but it makes no difference for the menu fonts in Firefox. Also, this is, as I mentioned, for the application fonts for other programs as well. I am not certain how to go about adjusting the application font itself for programs in KDE. I believe that it is based upon various GTK-based programs based upon what I have read so far.
swampdog2002 is offline     Reply With Quote
Old 05-18-2008, 02:13 AM   #5
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware 12.2
Posts: 1,306
Thanked: 27
I think the only way to do that is to make a ~/.gtkrc-2.0.mine file with some good font parameters. Search the forums for .gtkrc -- there was a very recent thread detailing this very issue.
T3slider is offline     Reply With Quote
Old 05-18-2008, 02:21 AM   #6
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, openSuSE 11.0
Posts: 389
Thanked: 0

Original Poster
Thanks T3Slider. I found this link:
http://www.linuxquestions.org/questi...gh-kde-210660/
It does just what you mentioned with GTK-based applications. However, I am still having font rendering issue with Firefox, no matter what I have set the Edit > Preferences > Content > Fonts & Colors to. These changes seem to only reflect the fonts size and type within the browser window, and not for the font parameters within the file menu of Firefox itself. This is the area I am having trouble with still.
swampdog2002 is offline     Reply With Quote
Old 05-18-2008, 02:26 AM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware 12.2
Posts: 1,306
Thanked: 27
See this thread: http://www.linuxquestions.org/questi...ghlight=.gtkrc
And this one: http://www.linuxquestions.org/questi...ghlight=.gtkrc
And for system-wide fonts to fix the ugliness of the default fonts, see here: http://www.linuxquestions.org/questi...n-12.1-640468/

All from a simple search of .gtkrc in the Slackware forum (and the last one through a link in one of the posts -- but I already knew about that thread).
T3slider is offline     Reply With Quote
Old 05-18-2008, 03:35 AM   #8
Daedra
Member
 
Registered: Dec 2005
Location: Long Beach, CA
Distribution: Slackware32/64 13.0
Posts: 486
Thanked: 25
Can you post a screenshot?
Daedra is offline     Reply With Quote
Old 05-23-2008, 03:36 PM   #9
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, openSuSE 11.0
Posts: 389
Thanked: 0

Original Poster
The issue I am having is similar to that of another user on this forum with Firefox, which is represented by the following screenshot at this link:

http://www.thecolorfulways.com/pictu.../fontsize5.png

The original post is fond here:

http://www.linuxquestions.org/questi...ghlight=.gtkrc

Basically, the menu options in Firefox (File, Edit, View, etc.), as well as the font size in the address bar, are still larger than what I would like them to be, regardless of what I have in either of my .gtkrc.mine or gtkrc-2.0 files in my home directory. These appear to work for other GTK-based applications, but still nothing for Firefox.

Last edited by swampdog2002; 05-23-2008 at 03:38 PM..
swampdog2002 is offline     Reply With Quote
Old 05-24-2008, 10:39 AM   #10
allend
Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 840
Thanked: 47
A quick Google search found this:
http://osdir.com/ml/linux.distributi.../msg00003.html
allend is offline     Reply With Quote
Old 05-24-2008, 01:21 PM   #11
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware64-current
Posts: 377
Thanked: 6
I dunno if that's mentioned in one of the linked posts here, I'll just throw it in:

A nice small program to set up the appearance of GTK-based programs without fiddling with gtkrc-2.0 is gtk-chtheme.
General Failure is offline     Reply With Quote
Old 05-24-2008, 05:47 PM   #12
dugan
Member
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 534
Thanked: 27
Adjust the fonts in gnome or xfce first. Then when you're in KDE, have gnome-settings-daemon or xfce-mcs-manager running in the background.

Last edited by dugan; 05-24-2008 at 05:53 PM..
dugan is offline     Reply With Quote
Old 05-24-2008, 07:41 PM   #13
Rupa
Member
 
Registered: Apr 2008
Location: Berlin, Germany
Distribution: Slackware, Debian, NetBSD
Posts: 45
Thanked: 0
You might want to change your DPI settings. Type 'about:config' in firefox's address bar and search for 'dpi'. Set it to something between 75 and 100 and restart firefox. On the other hand it might be a good idea to explicitly set your physical monitor dimensions in xorg.conf if it's not recognized correctly at startup.
Rupa is offline     Reply With Quote
Old 05-25-2008, 11:07 PM   #14
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, openSuSE 11.0
Posts: 389
Thanked: 0

Original Poster
allend, your Google search is just what I needed. After following the instructions in the link, I was able to get Firefox to the desired resolution. Thank you!
swampdog2002 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Weird font problem with GTK applications running in KDE Jeshua Linux - Software 1 02-22-2006 09:16 AM
KDE Performance Adjusting onelung02 Linux - Software 2 04-12-2005 04:58 AM
Slack 10, KDE and Mozilla, true type font how-to? Slovak Slackware 2 12-12-2004 01:00 PM
Adjusting GTK2 fonts through KDE doctorwebbox Linux - Software 1 07-28-2004 03:47 PM
Slack 10 KDE dsktp the Moz 1.7 font too small acummings Slackware 2 07-17-2004 01:35 AM


All times are GMT -5. The time now is 09:49 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration