Page 1 of 1
SOLVED - Lowering the dpi on Firefox
Posted: 17. Jun 2011, 02:19
by macondo
In the past i've put this in my .bashrc for the dpi in the title of FF to become smaller:
but it doesn't work on Salix, i also put in in my .xinitrc, no dice.
Any suggestions?
Re: Lowering the dpi on Firefox
Posted: 17. Jun 2011, 06:33
by dab1414
So there could be several ways to tackle this. AFAIK you setting [quote="macondo"]In the past i've put this in my .bashrc for the dpi in the title of FF to become smaller:
is setting your entire xserver to that dpi.
Also knowing what you use for a login manager and video driver would help. But here is 3 ways that I have accomplished this with either salix or slackware.
1. If you start X with startx, then change the defaultserverargs line in /usr/bin/startx, so
Code: Select all
yourfavoriteeditor /usr/bin/startx
change
to
The next 2 are with the file /etc/X11/xorg.conf
2. Xorg way of setting up monitor size and DPI
Look for the section
change it to reflect
Code: Select all
Section "Monitor"
Identifier "Monitor0"
Option "DPI" "80 x 80"
EndSection
3.also in /etc/X11/xorg.conf But this one is if using the proprietary nvidia driver
Look at this section
Code: Select all
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
And add 2 lines to look like this
Code: Select all
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "UseEdidDpi" "FALSE"
Option "DPI" "80 x 80"
EndSection
Re: Lowering the dpi on Firefox
Posted: 17. Jun 2011, 07:41
by thenktor
To change the Firefox dpi setting only enter
about:config in the address bar and then search for
dpi. You'll find the layout.css.dpi setting, which is described here:
http://kb.mozillazine.org/Layout.css.dpi
Re: Lowering the dpi on Firefox
Posted: 17. Jun 2011, 14:22
by macondo
Thanks to both of you!
@dab1414: i edited /usr/bin/startx, success!