LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 09-03-2007, 12:32 AM   #1
imputerate
LQ Newbie
 
Registered: May 2006
Location: houston/malibu
Distribution: ubuntu
Posts: 19

Rep: Reputation: 0
X server. shut down. FreeFontPath efcount is 2


KDE, Slackware 12.0

the fonts in firefox [menu bar, url line, tab line] are miniscule;

they don't respond to [Firefox]: View > Text Size > Increase C++, or to
plain old manual `C-+', like the fonts on the site pages do;

[KDE] Control Center > Appearance and Themes > Fonts > [All 7 categories
(General:, Fixed width:, etc.) are set to 24, but that doesn't help;

i get this error message every time i close down X:

waiting for X server to shut down FreeFontPath: FPE
"/usr/X11R6/lib/X11/fonts/misc/" r\ efcount is 2, should be 1; fixing.

whazzup?
 
Old 09-04-2007, 11:10 AM   #2
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50
I think kde will not change settings for gtk apps like firefox.

In your home directory, create a file called .gtkrc-2.0

insert a line:

gtk-font-name= "Verdana 10"


modify font and size to suit yourself, and save. Restart firefox and your menu bar etc should be as you put in the .gtkrc-2.0


Quote:
refcount is 2, should be 1; fixing
I get this too, don't know how to fix that one.

tobyl

Last edited by tobyl; 09-04-2007 at 11:45 AM.
 
Old 09-05-2007, 01:30 AM   #3
imputerate
LQ Newbie
 
Registered: May 2006
Location: houston/malibu
Distribution: ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
thanks tobyl;

here's my ~/.gtkrc-2.0,
where i changed the font size from 19 to 24;
[24 is the same size i set in KDE > Control Center > Appearances >
Fonts
[as you suggest, "Control Center > Appearances > Gtk Styles and Fonts"
is dead;]
------------------
# This file was written by KDE
# You can edit it in the KDE control center, under "GTK Styles and Fonts"

include "/usr/share/themes/Qt/gtk-2.0/gtkrc"

style "user-font"
{
font_name="Sans Serif 24"
}
widget_class "*" style "user-font"

gtk-theme-name="Qt"
gtk-font-name="Sans Serif 24"

------------------------
when i saved this file and reloaded a firefox window the fonts were
still the same tiny ant tracks [i didn't reload X, or close down
existing firefox windows on other desk tops];

thanks again, imputerate
 
Old 09-05-2007, 10:44 PM   #4
imputerate
LQ Newbie
 
Registered: May 2006
Location: houston/malibu
Distribution: ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
when i saved this file [~/.gtkrc-2.0] and reloaded a firefox window the fonts were still the same tiny ant tracks [i didn't reload X, or close down
existing firefox windows on other desk tops];

---------------------------
fellas; guess what; in order for a ~/.gtkrc-2.0 config file to take
effect in Firefox, ALL Firefox windows must be closed; shutting down X
is not necessary; now the fonts are o.k.;/ thanks, imputerate
 
Old 02-20-2009, 01:53 PM   #5
X00D45
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
lots of tanks tobyl!!!

thanks to you, i Have fixed QT enviroment in my Slackware 12.2.
I search for two months for solve this problem.
Only I create & modify the file .gtkrc-2.0 who you say & the trouble was fixed.

Many, many tnks.! LoL

Last edited by X00D45; 02-20-2009 at 01:54 PM.
 
Old 02-20-2009, 06:05 PM   #6
everal
Member
 
Registered: Nov 2004
Location: Zona Leste, Sao Paulo, Brazil, South America, Milk Way
Distribution: Slackware 10.1
Posts: 139

Rep: Reputation: 16
I use slack 12.1 and I always had this same message error:


Quote:
refcount is 2, should be 1; fixing

I'dreally like if someone could explain what is that.
 
Old 02-21-2009, 04:56 PM   #7
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 68
Quote:
Originally Posted by everal View Post
I'dreally like if someone could explain what is that.
This is just a harmless bug in the xorg-server, The font path was getting added twice somehow.
 
  


Reply

Tags
firefox, fonts, kde


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
When installing certain software on server sometimes it will shut down the server? LinuxCrazy Linux - General 4 06-05-2007 03:28 PM
Can't shut down X server, tried everything(?) trentr Linux - General 4 11-30-2005 06:55 PM
X-server.. how do I shut overproof Linux - Newbie 6 04-08-2005 12:43 AM
How do I shut down the x-server? JackieBrown Suse/Novell 1 12-29-2004 07:50 PM
how do i shut down X server? yzrider210 Linux - Newbie 17 11-21-2003 07:19 PM


All times are GMT -5. The time now is 01:37 AM.

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