LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   How do I set default font size in Debian Sid - using xorg.conf not xfree86 (https://www.linuxquestions.org/questions/debian-26/how-do-i-set-default-font-size-in-debian-sid-using-xorg-conf-not-xfree86-617656/)

walterbyrd 01-31-2008 07:52 AM

How do I set default font size in Debian Sid - using xorg.conf not xfree86
 
I am using debian sid with xorg - not xfree86, and icewm. My fonts are very sharp, but now they are sometimes too small.

After a recent apt-get upgrade, my fonts in the toolbar in my apps like iceweasel, gedit, and abiword, became very tiny, the same thing happened to the fonts in the icewm toolbar and menus. The screen resolution did not change - just the font size.

I edited userChrome, and my ~/.icewm/preferences file, and fixed the fonts in iceweasel and icewm; but the fonts in the toolbars of my apps are still too tiny. Also, when a help box appears - like when I want to open of save a file - the fonts are all very tiny.

There is a file called /etc/X11/fs/config that may have something to do this. There is a section at the bottom that looks like this:

# in decipoints
default-point-size = 120
# x1,y1,x2,y2,...
default-resolutions = 100,100,75,75

I am guessing I could change the font size by editing this, but I have no idea how.

craigevil 02-02-2008 11:22 AM

IceWM - LQWiki
http://wiki.linuxquestions.org/wiki/IceWM

walterbyrd 02-20-2008 11:24 AM

A poster called "rbochan" on forums.debian.net answered my question, and got it exactly right:

----
I'm guessing you use startx instead of a GUI login manager?
Check the file /etc/X11/xinit/xserverrc. You should see a line like this:
exec /usr/bin/X11/X -dpi 100 -nolisten tcp
However, yours is most likely missing the -dpi 100 part. If that's the case, add it, and restart X
----

deepclutch 02-20-2008 01:24 PM

install sux(su X wrapper) .operate as "sux -" the X session of root in Debian(careful).
go to appearance>fonts>details in System menu.
set dpi as 96 .enable hinting to ur like.


All times are GMT -5. The time now is 07:08 AM.