»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 09-30-2003, 08:25 AM   #1 (permalink)
Registered User
 
S.D.Willie's Avatar
 
Join Date: Oct 2001
Location: Ranger Country
Posts: 2,308
S.D.Willie is on a distinguished road
Kids startx with kde's fonts

hey,

was just curious if or what i have to add to my .xinitrc to have my regular fonts load when i start kde. only way i can get the fonts i specify is if i use run level 5 instead of 3. this is drake 9.1 btw.

all i have at this point in my file is

exec startkde &
exec gnome-panel



any help appreciated, even if you could post your .xinitrc, that would help alot as well.

SD

S.D.Willie is offline   Reply With Quote
Old 09-30-2003, 09:22 AM   #2 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
What's in the global xinitrc? This may be in /etc/X11/xinit but I'm not sure.
I'm pretty sure that if you boot to runlevel 4/5 you get the global xinit script as it isn't being launched as a normal user.
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 09-30-2003, 12:16 PM   #3 (permalink)
Registered User
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Champaign, IL
Posts: 3,253
jkrohn is on a distinguished road
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
*Shouldn't be any need to edit xinit*. What fonts are these? TTF?

Either way, if they are listed in XF86config-4 that is all you will need if you want to use XFT.

AFAIK .xinitrc will not work localy for the reason that nukes stated, you use the DM to change WM. You may want to take a look at the xinit to see how it is launching it.

Are the fontpaths specified in XF86config-4?

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 09-30-2003, 06:06 PM   #4 (permalink)
Registered User
 
S.D.Willie's Avatar
 
Join Date: Oct 2001
Location: Ranger Country
Posts: 2,308
S.D.Willie is on a distinguished road
Finance

Quote:
What fonts are these? TTF?
i imagine those are the true type fonts you can use as in windows fonts i was guessing. i actually dont have the font path in my XF86Config-4 but i see them in my XF86config

heres the first i mentioned.
____________________________________

# File generated by XFdrake.

# ************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
# Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
__________________________________


i only put the 1st few sections of it. and the lines that refer to the fonts in XF86Config are:
_________________________________
# FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"

# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
# The module search path. The default path is shown here.
___________________________________
this is basically what my goal was . to load the gnome panel when kde starts and have my fonts utilized of course. i have since created an additional taskbar in kde(up top) and have used that instead but would prefer the first option. anyhow i thought the only way i could get the gnome panel to run (automatically)when i log in was to create .xinitrc and edit it accordingly.

edit: not that this helps anyhow but my /etc/X11/xinit/xinitrc is this:


#!/bin/sh
# (c) 2000-2002 MandrakeSoft
# $Id: xinitrc-xinitrc,v 1.2 2002/09/10 05:53:43 flepied Exp $

# Set a background here because it's not done anymore
# in Xsesion for non root users
if [ "`whoami`" != root ]; then
xsetroot -solid "#21449C"
fi

exec /etc/X11/Xsession $*

Last edited by S.D.Willie; 09-30-2003 at 06:23 PM.
S.D.Willie is offline   Reply With Quote
Old 10-01-2003, 07:26 PM   #5 (permalink)
Registered User
 
S.D.Willie's Avatar
 
Join Date: Oct 2001
Location: Ranger Country
Posts: 2,308
S.D.Willie is on a distinguished road
^ bump ^
S.D.Willie is offline   Reply With Quote
Old 10-02-2003, 07:25 AM   #6 (permalink)
Registered User
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Champaign, IL
Posts: 3,253
jkrohn is on a distinguished road
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
Drake 9.1 uses XF86Config-4 so if it is in XF86config it won't do squat for you

Either way, what you need to do is this...
1) Put the TTF fonts you want to use in a directory, /usr/X11R6/lib/X11/fonts/TrueType/ should already exist and you can dump them there.
2) Add FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" to XF86Config-4 or uncomment it if it is already there.
3) Restart X

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 10-02-2003, 08:49 PM   #7 (permalink)
Registered User
 
S.D.Willie's Avatar
 
Join Date: Oct 2001
Location: Ranger Country
Posts: 2,308
S.D.Willie is on a distinguished road
ok, cool. thanks for the help.
S.D.Willie is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 10:11 PM.