Re: How to set Xserver resolution
On Mon, Oct 02, 2000 at 09:57:52AM +1100, Brian May wrote: Debian == Debian Linux User [EMAIL PROTECTED] writes: Debian You could set up an alias. HTH That doesn't work to well if you are starting X via gdm... Yes, you could alter /etc/X11/gdm/gdm.conf, but this often gets changed upstream (forcing you to merge the changes each time). You can change lots of things via XF86Config, including BPP, power saver mode, etc, so I wonder how you go about changing the DPI setting. I use startx to bring up X and like you wondered whether a dpi setting in XF86Config is possible. The man page for XF86Config does not appear to have anything relevant but man startx mentions an xserverrc file. So after creating .xserverrc I put in it the line: exec X :0 -dpi 100 This worked for me so maybe it will also be of use when starting X via gdm. Brian. -- email: [EMAIL PROTECTED]
Re: How to set Xserver resolution
On 2 Oct 2000, Brian May wrote: Debian You could set up an alias. HTH That doesn't work to well if you are starting X via gdm... /etc/X11/{k,x}dm/Xservers is the place to set it for kdm and xdm, gdm is probably the same. They are conffiles. LyX was mentioned in the original post... ~/.lyx/lyxrc is where you override the resolution reported by X (and choose the default zoom factor). later, Bruce
Re: How to set Xserver resolution
Bruce Sass [EMAIL PROTECTED] writes: /etc/X11/{k,x}dm/Xservers is the place to set it for kdm and xdm, gdm is probably the same. They are conffiles. /etc/X11/gdm/gdm.conf for gdm (bottom of the file). Hubert
How to set Xserver resolution
I noticed that xdpyinfo reports a resolution of 75x75 dpi for my Xserver. When I calculate the real resolution however, it is about 90 dpi. Can I override this somehow? The reason I'm asking is that some apps (Gimp, LyX) query the Xserver for the resolution and adjust things like zoom factors and fonts accordingly. TIA -- Philipp Lehman [EMAIL PROTECTED]
Re: How to set Xserver resolution
Subject: How to set Xserver resolution Date: Sun, Oct 01, 2000 at 02:53:46PM +0200 In reply to:Philipp Lehman Quoting Philipp Lehman([EMAIL PROTECTED]): I noticed that xdpyinfo reports a resolution of 75x75 dpi for my Xserver. When I calculate the real resolution however, it is about 90 dpi. Can I override this somehow? The reason I'm asking is that some apps (Gimp, LyX) query the Xserver for the resolution and adjust things like zoom factors and fonts accordingly. TIA startx -bpp 16 -dpi 120 Would be one way. HTH=Hope This Helps, YMMV=Your Mileage May Vary, HAND=Have A Nice Day -- On-line, adj.: The idea that a human being should always be accessible to a computer. ___
Re: How to set Xserver resolution
How do you determine what the proper dpi should be? How do you calculate it? Wm On Sun, Oct 01, 2000 at 01:38:36PM -0400, Wayne Topa wrote: Subject: How to set Xserver resolution Date: Sun, Oct 01, 2000 at 02:53:46PM +0200 In reply to:Philipp Lehman Quoting Philipp Lehman([EMAIL PROTECTED]): I noticed that xdpyinfo reports a resolution of 75x75 dpi for my Xserver. When I calculate the real resolution however, it is about 90 dpi. Can I override this somehow? The reason I'm asking is that some apps (Gimp, LyX) query the Xserver for the resolution and adjust things like zoom factors and fonts accordingly. TIA startx -bpp 16 -dpi 120 Would be one way. HTH=Hope This Helps, YMMV=Your Mileage May Vary, HAND=Have A Nice Day -- On-line, adj.: The idea that a human being should always be accessible to a computer. ___ -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: How to set Xserver resolution
On Sun, 1 Oct 2000, William Jensen [EMAIL PROTECTED] wrote: How do you determine what the proper dpi should be? How do you calculate it? Take a ruler and mesure the visible screen width of you monitor. Convert this value to inches if you're using a cm ruler (multiply by 2.54). Then divide the number of vertical pixels (like 800, 1024, 1280, depending on the mode you're using) by the visible screen width in inches. Then go xdpyinfo | grep resolution: to compare that to what your Xserver thinks the resolution is. -- Philipp Lehman [EMAIL PROTECTED]
Re: How to set Xserver resolution
On Sun, 1 Oct 2000, William Jensen [EMAIL PROTECTED] wrote: On Sun, Oct 01, 2000 at 01:38:36PM -0400, Wayne Topa wrote: startx -bpp 16 -dpi 120 Would be one way. Is there a way to make that permanent as well? Something in XF86Config? -- Philipp Lehman [EMAIL PROTECTED]
Re: How to set Xserver resolution
You could set up an alias. HTH Curt [EMAIL PROTECTED] On Sun, Oct 01, 2000 at 09:00:07PM +0200, Philipp Lehman wrote: On Sun, 1 Oct 2000, William Jensen [EMAIL PROTECTED] wrote: On Sun, Oct 01, 2000 at 01:38:36PM -0400, Wayne Topa wrote: startx -bpp 16 -dpi 120 Would be one way. Is there a way to make that permanent as well? Something in XF86Config? -- Philipp Lehman [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: How to set Xserver resolution
Subject: Re: How to set Xserver resolution Date: Sun, Oct 01, 2000 at 09:00:07PM +0200 In reply to:Philipp Lehman Quoting Philipp Lehman([EMAIL PROTECTED]): On Sun, 1 Oct 2000, William Jensen [EMAIL PROTECTED] wrote: On Sun, Oct 01, 2000 at 01:38:36PM -0400, Wayne Topa wrote: startx -bpp 16 -dpi 120 Would be one way. Is there a way to make that permanent as well? Something in XF86Config? I used to have this as an alias in my .bashrc alias x16='startx -- -bpp 16 -dpi 120 ' Some kind Guru once posted a script that I tried and after finding it sooo useful I added that to my .bashrc and replaced the above alias. x() { D=x for i in `seq 0 4`;do if [ ! -f /tmp/.X${i}-lock ]; then D=$i; break; fi; done if [ ${D} = x ]; then echo No free virtual terminal else if [ $# -lt 1 ]; then startx -- :${D} -bpp 16 -dpi 120 2 ~/.X.err ~/.X.out else startx -- :${D} -bpp $1 2 ~/.X.err ~/.X.out fi; fi } Hope This Helps -- Windows: the ultimate triumph of marketing over technology. ___
Re: How to set Xserver resolution
On Sun, 1 Oct 2000, Wayne Topa [EMAIL PROTECTED] wrote: Some kind Guru once posted a script that I tried and after finding it sooo useful I added that to my .bashrc and replaced the above alias. [snip] ...does even more than I asked for, thanks. -- Philipp Lehman [EMAIL PROTECTED]
Re: How to set Xserver resolution
Debian == Debian Linux User [EMAIL PROTECTED] writes: Debian You could set up an alias. HTH That doesn't work to well if you are starting X via gdm... Yes, you could alter /etc/X11/gdm/gdm.conf, but this often gets changed upstream (forcing you to merge the changes each time). You can change lots of things via XF86Config, including BPP, power saver mode, etc, so I wonder how you go about changing the DPI setting. FYI, when starting Gimp, Helix version, for the this time, it had an option which displayed a window, which allowed for easy calculating and setting of the resolution. However, I can't find out how to access that anymore. -- Brian May [EMAIL PROTECTED]