LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2010, 12:15 PM   #1
professorgenival
LQ Newbie
 
Registered: Aug 2010
Posts: 20

Rep: Reputation: 1
Smile How to configure X and adds fonts to the X window system?


I'm having some difficulty to confgure the windows X manager...

I can't find /etc/X11/xorg.conf

I'm trying to do this in opensuse 11.1 and fedora 12

I tried to install in fedora yum install system-config-display but I think that isn't the best thing to do...

And can anyone tell me a distribution that use XFree 86.4.4.x?

Opense suse, Fedora and Ubuntu use X.org-X11 isn't it??

thank in advance
 
Old 08-09-2010, 01:31 PM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,967

Rep: Reputation: 274Reputation: 274Reputation: 274
Xorg now will run without a xorg.conf. to create a xorg.conf in a terminal run xorg -configure
 
Old 08-09-2010, 04:00 PM   #3
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,307

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
Most distros dispense with xorg.conf because they can identify your system correctly without help. If they don't expect it, they generally won't notice it even if you create it.

What exactly are you trying to configure?
 
Old 08-09-2010, 04:19 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
I have to disagree with DavidMcCann - if you make an xorg.conf file, your system should notice it. If it completely ignores it, I would suspect something funny. I've never on my own machines found that my xorg.conf was ignored, and I still use the file for configuration in distros that came with no such file..

As for fonts for X, common locations for them to reside are /usr/share/fonts/ and /usr/local/share/fonts, with the former location being the original fonts, and typically user-added ones in the latter location. On the two distros you mentioned, I'm not exactly sure what commands you would need to run after having added some fonts; on my Slackware box (which uses fontconfig), I would enter the directory where I added the fonts, and do (as root):
Code:
mkfontdir
mkfontscale
fc-cache -rv

# and then as my regular user, I would repeat:
fc-cache -rv
One or more of the above commands may not work on or apply to your distros.

Most modern Linux distros are using X11, and have been for some time. As asked above, what is it you're trying to accomplish or configure?
 
Old 08-10-2010, 11:01 AM   #5
professorgenival
LQ Newbie
 
Registered: Aug 2010
Posts: 20

Original Poster
Rep: Reputation: 1
Hello celine... thanks for your explanation, I'm studying alone to take lpic1 certification and always I try to do some commands and doesn't work because the books are outdated, and some things are so difficulty to understand like font servers...:-|

And X configurations...:-|

And each distribution have your way to do things...so I am always lost...:-)

I never encounter the configurations files to main distributions...:-)

thanks in advanced
 
Old 08-11-2010, 05:36 PM   #6
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,307

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
On the subject of fonts, you can also install them in ~/.fonts. I've never bothered with mkfontdir and mkfontscale in that case, and it doesn't seem to have any effect.

As for fc-cache, that is run automatically on rebooting. The cache just speeds up font handling.
 
Old 08-11-2010, 07:22 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,616
Blog Entries: 26

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
Hi,

Quote:
Originally Posted by GrapefruiTgirl View Post
I have to disagree with DavidMcCann - if you make an xorg.conf file, your system should notice it. If it completely ignores it, I would suspect something funny. I've never on my own machines found that my xorg.conf was ignored, and I still use the file for configuration in distros that came with no such file..

As for fonts for X, common locations for them to reside are /usr/share/fonts/ and /usr/local/share/fonts, with the former location being the original fonts, and typically user-added ones in the latter location. On the two distros you mentioned, I'm not exactly sure what commands you would need to run after having added some fonts; on my Slackware box (which uses fontconfig), I would enter the directory where I added the fonts, and do (as root):
Code:
mkfontdir
mkfontscale
fc-cache -rv

# and then as my regular user, I would repeat:
fc-cache -rv
One or more of the above commands may not work on or apply to your distros.

Most modern Linux distros are using X11, and have been for some time. As asked above, what is it you're trying to accomplish or configure?
Grapefruitgirl, just a correction:
Once you have changed to the directory then the commands would be;
Quote:
mkfontdir . <<< note the '.'
mkfontscale . <<< note the '.'
fc-cache -rv

# and then as my regular user, I would repeat:
fc-cache -rv
Quote:
excerpt 'man mkfontdir';
mkfontdir [-n] [-x suffix] [-r] [-p prefix] [-e encoding-directory-name] ... [--] [directory-name ... ]
Quote:
excerpt 'man mkfontscale';
mkfontscale [ -b ] [ -s ] [ -o filename ] [ -x suffix ] [ -a encoding ] ... [-f fuzz ] [ -l ] [ -e directory ] [ -p prefix ] [ -r prefix ] [ -n prefix ] [-- ] [ directory ] ...
I like Dugan's 'Optimizing Slackware Linux's Fonts' guide. Great reference and howto. Loads of reference links for other distributions.
 
Old 08-11-2010, 07:24 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,616
Blog Entries: 26

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
Hi,
Quote:
Originally Posted by DavidMcCann View Post
On the subject of fonts, you can also install them in ~/.fonts. I've never bothered with mkfontdir and mkfontscale in that case, and it doesn't seem to have any effect.

As for fc-cache, that is run automatically on rebooting. The cache just speeds up font handling.
It would make a difference if your doing something system wide.
 
Old 08-11-2010, 07:34 PM   #9
professorgenival
LQ Newbie
 
Registered: Aug 2010
Posts: 20

Original Poster
Rep: Reputation: 1
I will try dugan's thanks one more onebuck :-)
 
Old 08-11-2010, 08:06 PM   #10
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Onebuck,

thanks for that correction with the '.' on the commands (at least I remembered the commands themselves correctly - it's been a while since I've added fonts )

And @ professorgenival - definitely check out Dugan's pages - they are very helpful re: fonts.

Sasha
 
Old 08-12-2010, 09:58 AM   #11
professorgenival
LQ Newbie
 
Registered: Aug 2010
Posts: 20

Original Poster
Rep: Reputation: 1
thanks grapefruits
 
  


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
Disable Configure the X window System in Revisor Fedora amin.baghei Linux - Software 0 07-23-2009 04:40 AM
Fuzzy fonts in X Window System (icewm) checkmate3001 Linux - Desktop 10 11-22-2007 02:18 AM
why mandriva 10.2 gnome2.8 system freezes upon resizing/opening window/new window skaramanger Mandriva 8 08-30-2005 10:22 AM
why mandriva 10.2 gnome2.8 system freezes upon resizing/opening window/new window skaramanger Mandriva 2 08-15-2005 04:38 PM
xemacs configure unable to detect x11 window system macshark Linux - Software 0 11-22-2003 02:03 AM


All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration