Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configure fonts.conf to get xft ????????
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
H-Dragon
Guru
Guru


Joined: 22 Oct 2002
Posts: 547

PostPosted: Thu Oct 31, 2002 7:02 pm    Post subject: configure fonts.conf to get xft ???????? Reply with quote

how do i have to configure fonts.conf to get me xft in gnome???
i was told to config my fonts.config instead of the old xftconfig
but HOW???? can anyone help me out??
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Thu Oct 31, 2002 9:21 pm    Post subject: Reply with quote

Using the XftConfig approach worked fine for me with my recent Gnome 2 migration. But the following environment variable must be defined as follows:
Code:
export GDK_USE_XFT=1

This won't be happening automatically when your gnome-session starts unless you've got something like this in your ~/.xinitrc file, or even your ~/.xsession file.
Code:
exec `/etc/X11/chooser.sh`
.
Note that those are backticks surrounding "chooser.sh". It will capture the output of that script, which will return the correct script name for starting the session for your chosen window manager, provided you've specified it in your /etc/rc.conf file. You could achieve the same effect by doing this:
Code:
exec /etc/X11/Sessions/Gnome

but it is probably more correct to use the former method, otherwise rc.conf won't change anything. The reason it works then, is because the "Gnome" script contains the necessary export directive.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum