LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-05-2004, 11:09 PM   #1
justa_bassplayr
LQ Newbie
 
Registered: Nov 2003
Posts: 13

Rep: Reputation: 0
change X resolution to 91 dpi, system boots gdm


Ive been doing some googling about how to change the resolution of my systems X configuration. So far what I have found deals with changing xdm and starting it with startx. That is all well and fine if thats the only optional way of doing it. I could probably find how to switch from gdm to xdm without too much trouble.
Before I consider doing that however, I am curious as to whether or not anyone knows what I need to edit when working with gdm. If there is more to it than that feel free to elaborate.
Thank you in advance
 
Old 12-05-2004, 11:27 PM   #2
SirSlappy
Member
 
Registered: Jun 2003
Location: Glendale AZ
Distribution: Slackware 10
Posts: 152

Rep: Reputation: 30
If you want to change resolutions, you just need to add the resolutions in your /etc/X11/xorg.conf file. There is a section to add resolutions under the default DPI setting.

You can also test the resolutions by doing...


Ctrl + alt + (+ or - on the number pad)
 
Old 12-06-2004, 02:43 AM   #3
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
The Debian command to change X settings is "dpkg-reconfigure xserver-xfree86". If you've already manually edited your /etc/X11/XF86Config-4, the dpkg-reconfigure program may not write down the changes and you have to keep maintaining XF86Config-4 manually. So, if you're a newbie, it's safer to make all changes via "dpkg-reconfigure xserver-xfree86" and not to mess with XF86Config-4.
 
Old 12-06-2004, 09:45 PM   #4
justa_bassplayr
LQ Newbie
 
Registered: Nov 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Yes, I understand how to change the resolution on my monitor between 800x600 1024x768 etc, but what this has to deal with is having fonts that aren't anti-aliased. What reminded me of 91 dpi was when I opened GIMP the other day and said that I was running at 81 dpi also noticing how gagged my fluxbox fonts are, That is when I remembered that my previous setup ran an 91 dpi. This is what I want to know how to change.
thanks again
 
Old 12-07-2004, 02:28 AM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
One way to set default dpi for fonts is to create ~/.Xresources file and to make the first line similar to this:
Code:
Xft.dpi: 96
Also the order in which the 75dpi and 100dpi fontpaths are listed in /etc/X11/XF86Config-4 may affect the fontsize in some apps -- the fontpath listed first is used as the default size. Unfortunately the order of fontpaths cannot be changed via "dpkg-reconfigure xserver-xfree86", so you may have to maintain XF86Config-4 manually from the moment you edit it using a text editor. But if you're familiar with manually configuring XWindowSystem, this shouldn't be a problem.
 
Old 12-07-2004, 12:27 PM   #6
justa_bassplayr
LQ Newbie
 
Registered: Nov 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Great, thank you.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
75 dpi, and i cant change it budhusa Linux - Software 4 11-01-2007 06:54 PM
screen dpi in x - how do i change it?? sortia Linux - Newbie 2 02-10-2005 06:00 AM
dpi font | gdm | kde DE | xinitrc.kde | Slackware 10 acummings Slackware 2 07-28-2004 10:28 PM
what's difference between 75 dpi and 100 dpi fonts? webazoid Linux - Software 0 07-06-2004 10:26 PM
Can I have more than 75 dpi screen resolution in Linux? J_Szucs Linux - Software 2 11-21-2001 03:38 PM


All times are GMT -5. The time now is 05:31 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