|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
Running Sid with Nvidia driver 9631. X has always been rock solid, but recently I notice that the DPI settings of the display changes on the fly, when I do: xdpyinfo | grep 'dots per inch' I normally get 110x110. That's what I set it to in /etc/gdm/gdm.conf: .... command=/usr/bin/X0 :1 -layout X0 -dpi 110 -deferglyphs 16 -isolateDevice \"PCI:1:0:0\" -sharevts .... But recently "suddenly"... maybe related to running Qt apps? the DPI setting changes on the fly to 138x88 and all font sizes get tiny. Logging out and back in sets it back to 110x110. Is that possible, those DPI changes on the fly? How does it happen? Hugo -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Mon, Sep 10, 2007 at 09:44:26AM -0500, Hugo Vanwoerkom wrote:
> Hi, > > Running Sid with Nvidia driver 9631. > > X has always been rock solid, but recently I notice that the DPI settings > of the display changes on the fly, when I do: > > xdpyinfo | grep 'dots per inch' > > I normally get 110x110. That's what I set it to in /etc/gdm/gdm.conf: > > ... > command=/usr/bin/X0 :1 -layout X0 -dpi 110 -deferglyphs 16 -isolateDevice > \"PCI:1:0:0\" -sharevts > ... > > But recently "suddenly"... maybe related to running Qt apps? the DPI > setting changes on the fly to 138x88 and all font sizes get tiny. > > Logging out and back in sets it back to 110x110. > > Is that possible, those DPI changes on the fly? gnome lets you change dpi on the fly from within the fonts configuration window (don't ask me how to get there, I don't use gnome, that's the wife's little clicky stuff). A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG5uSLaIeIEqwil4YRAlQoAKDjRD/MEKgF9drJgmE+8Cgjbf0NugCgnqQR 4B9M7ea7PBPbl/NbxR6AUFg= =WJWk -----END PGP SIGNATURE----- |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
I use kdm and had to make this change to stop
random font changes, but I only saw fonts change size when rebooting: root:/etc/kde3/kdm# diff Xservers Xservers.20041211 13c13 < :0 local@tty1 /usr/X11R6/bin/X -nolisten tcp -dpi 100 --- > :0 local@tty1 /usr/X11R6/bin/X -nolisten tcp Hugo Vanwoerkom wrote: > Hi, > > Running Sid with Nvidia driver 9631. > > X has always been rock solid, but recently I notice that the DPI > settings of the display changes on the fly, when I do: > > xdpyinfo | grep 'dots per inch' > > I normally get 110x110. That's what I set it to in /etc/gdm/gdm.conf: > > ... > command=/usr/bin/X0 :1 -layout X0 -dpi 110 -deferglyphs 16 > -isolateDevice \"PCI:1:0:0\" -sharevts > ... > > But recently "suddenly"... maybe related to running Qt apps? the DPI > setting changes on the fly to 138x88 and all font sizes get tiny. > > Logging out and back in sets it back to 110x110. > > Is that possible, those DPI changes on the fly? > > How does it happen? > > Hugo -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Hugo Vanwoerkom wrote:
> Hi, > > Running Sid with Nvidia driver 9631. > > X has always been rock solid, but recently I notice that the DPI > settings of the display changes on the fly, when I do: > > xdpyinfo | grep 'dots per inch' > > I normally get 110x110. That's what I set it to in /etc/gdm/gdm.conf: > > ... > command=/usr/bin/X0 :1 -layout X0 -dpi 110 -deferglyphs 16 > -isolateDevice \"PCI:1:0:0\" -sharevts > ... > > But recently "suddenly"... maybe related to running Qt apps? the DPI > setting changes on the fly to 138x88 and all font sizes get tiny. > > Logging out and back in sets it back to 110x110. > > Is that possible, those DPI changes on the fly? > > How does it happen? > I think I figured it out: I have fvwm as window manager and have buttons defined as: .... Key F9 A S Exec xrandr -o left Key F10 A S Exec xrandr -o normal .... to rotate the screen. When I run my Qt app it displays a window rotated (i.e.text is drawn in vertical lines from right to left). In order to see them straight up I rotate the screen with F9 and after looking I rotate it back again. But... doing xdpyinfo then shows: resolution: 138x88 dots per inch And if you start a Qt app then all the fonts are very small, naturally. However doing F9 + F10 once more sets the dpi to 110x110 once more. A bug in xrandr perhaps? Hugo -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Hugo Vanwoerkom wrote:
> Hugo Vanwoerkom wrote: >> Hi, >> >> Running Sid with Nvidia driver 9631. >> >> X has always been rock solid, but recently I notice that the DPI >> settings of the display changes on the fly, when I do: >> >> xdpyinfo | grep 'dots per inch' >> >> I normally get 110x110. That's what I set it to in /etc/gdm/gdm.conf: >> >> ... >> command=/usr/bin/X0 :1 -layout X0 -dpi 110 -deferglyphs 16 >> -isolateDevice \"PCI:1:0:0\" -sharevts >> ... >> >> But recently "suddenly"... maybe related to running Qt apps? the DPI >> setting changes on the fly to 138x88 and all font sizes get tiny. >> >> Logging out and back in sets it back to 110x110. >> >> Is that possible, those DPI changes on the fly? >> >> How does it happen? >> > > I think I figured it out: > > I have fvwm as window manager and have buttons defined as: > > ... > Key F9 A S Exec xrandr -o left > Key F10 A S Exec xrandr -o normal > ... > > to rotate the screen. > > When I run my Qt app it displays a window rotated (i.e.text is drawn in > vertical lines from right to left). > > In order to see them straight up I rotate the screen with F9 and after > looking I rotate it back again. > > But... doing xdpyinfo then shows: > > resolution: 138x88 dots per inch > > And if you start a Qt app then all the fonts are very small, naturally. > > However doing F9 + F10 once more sets the dpi to 110x110 once more. > > A bug in xrandr perhaps? > Here's a picture: http://www.facebook.com/photo.php?pi...5&id=517767587 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|