LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-17-2008, 11:17 PM   #1
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 397

Rep: Reputation: 33
Adjusting font in applications in KDE for Slack 12.1


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?
 
Old 05-18-2008, 01:28 AM   #2
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 397

Original Poster
Rep: Reputation: 33
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?
 
Old 05-18-2008, 01:36 AM   #3
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
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
 
Old 05-18-2008, 02:10 AM   #4
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 397

Original Poster
Rep: Reputation: 33
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.
 
Old 05-18-2008, 02:13 AM   #5
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,293

Rep: Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710
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.
 
Old 05-18-2008, 02:21 AM   #6
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 397

Original Poster
Rep: Reputation: 33
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.
 
Old 05-18-2008, 02:26 AM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,293

Rep: Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710
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).
 
Old 05-18-2008, 03:35 AM   #8
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 187Reputation: 187
Can you post a screenshot?
 
Old 05-23-2008, 03:36 PM   #9
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 397

Original Poster
Rep: Reputation: 33
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.
 
Old 05-24-2008, 10:39 AM   #10
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,485

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
A quick Google search found this:
http://osdir.com/ml/linux.distributi.../msg00003.html
 
Old 05-24-2008, 01:21 PM   #11
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 384

Rep: Reputation: 34
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.
 
Old 05-24-2008, 05:47 PM   #12
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,898

Rep: Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540
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.
 
Old 05-24-2008, 07:41 PM   #13
Rupa
Member
 
Registered: Apr 2008
Location: Berlin, Germany
Distribution: Slackware, Debian, NetBSD
Posts: 80

Rep: Reputation: 25
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.
 
Old 05-25-2008, 11:07 PM   #14
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 397

Original Poster
Rep: Reputation: 33
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!
 
  


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
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 08:55 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