LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-16-2003, 02:56 AM   #1
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
startx -- -dpi 100 .. automatically?


hi.
my default run level is 4
and kdm seems to do startx

i can't find where i can give option to startx?
(i don't want to login to command shell and type startx -- -dpi 100)

where should i modify to startx starts with the option ?
 
Old 03-16-2003, 05:04 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: startx -- -dpi 100 .. automatically?

Quote:
Originally posted by doublefailure
hi.
my default run level is 4
and kdm seems to do startx

i can't find where i can give option to startx?
(i don't want to login to command shell and type startx -- -dpi 100)

where should i modify to startx starts with the option ?
edit your xinitrc file
usually located in /etc/X11 folder
 
Old 03-16-2003, 02:44 PM   #3
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
thanks
i managed to do it with modifying this file.
/usr/X11R6/lib/X11/xdm/Xservers

$ps -ef | grep dpi
root 1615 135 0 02:07 ? 00:00:26 /usr/X11R6/bin/X -dpi 100 -auth /var/run/xauth/A:0-rNRKAs

by the way.. my applications don't seem to use 100 instead of 75?

my main concern is font in galeon browser.

galeon font information gives
-Adobe-Helvetica-Medium-R-Normal--12-120-75-75-P-67-ISO8859-1

which looks like 75..

what do i do?

thanks again
 
Old 03-17-2003, 09:27 AM   #4
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Quote:
Originally posted by doublefailure
thanks
i managed to do it with modifying this file.
/usr/X11R6/lib/X11/xdm/Xservers

$ps -ef | grep dpi
root 1615 135 0 02:07 ? 00:00:26 /usr/X11R6/bin/X -dpi 100 -auth /var/run/xauth/A:0-rNRKAs

by the way.. my applications don't seem to use 100 instead of 75?

my main concern is font in galeon browser.

galeon font information gives
-Adobe-Helvetica-Medium-R-Normal--12-120-75-75-P-67-ISO8859-1

which looks like 75..

what do i do?

thanks again
i don't know about galeon
but for availability of 100 dpi fonts
check the xfs (x font server) config file
it should point to 100 dpi font folder
check man xfs
keep posted
 
Old 03-17-2003, 11:09 AM   #5
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
less /usr/X11R6/lib/X11/fs/config

clone-self = on
use-syslog = off
catalogue = /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Ty
pe1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
error-file = /var/log/fs-errors
# in decipoints
default-point-size = 120
default-resolutions = 75,75,100,100

# font cache control, specified in KB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70

should i remove /usr-----/75dpi ?

thanks again
 
Old 03-17-2003, 11:19 PM   #6
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Quote:
Originally posted by doublefailure
less /usr/X11R6/lib/X11/fs/config

clone-self = on
use-syslog = off
catalogue = /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Ty
pe1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
error-file = /var/log/fs-errors
# in decipoints
default-point-size = 120
default-resolutions = 75,75,100,100

# font cache control, specified in KB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70

should i remove /usr-----/75dpi ?

thanks again
maybe you should change the default resolutions
that should work
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
startx automatically free_andrew Slackware 17 11-10-2014 10:40 AM
how do i use 100 dpi fonts? webazoid Linux - Software 0 07-09-2004 07:21 AM
how to use 100 dpi fonts in mdk 10? webazoid Linux - Software 0 07-08-2004 07:56 AM
what's difference between 75 dpi and 100 dpi fonts? webazoid Linux - Software 0 07-06-2004 11:26 PM
Automatic -dpi option for startx Zoombie Linux - Software 2 07-13-2003 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:39 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
Open Source Consulting | Domain Registration