You are not logged in.

#1 2010-06-03 00:37:48

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

LXDE - how to set the DPI [SOLVED]

Just install LXDE on an atom based machine but the fonts are very small.  I can't figure out where to configure the DPI for the DE.  Anyone?

Last edited by graysky (2010-06-04 20:19:55)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2010-06-03 01:10:58

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: LXDE - how to set the DPI [SOLVED]

Offline

#3 2010-06-03 17:32:58

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: LXDE - how to set the DPI [SOLVED]


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#4 2010-06-03 21:44:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: LXDE - how to set the DPI [SOLVED]

Thanks for the replies.  I should have clarified: I can configure the DPI in my xorg.conf but I use the box in a headless mode (no keyboard, mouse, or monitor) and for some reason, X won't start automatically without a monitor.  I access the box via tightvnc and it is here where I need to set the DPI to 96x96 but have no idea how!

Thanks!


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2010-06-03 22:08:38

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: LXDE - how to set the DPI [SOLVED]

You can edit your ~/.Xdefaults file and add "Xft.dpi: 96" or whatever font dpi you want.

Offline

#6 2010-06-04 20:19:42

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: LXDE - how to set the DPI [SOLVED]

Thanks, that worked!


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2010-06-05 12:54:00

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: LXDE - how to set the DPI [SOLVED]

Also, if you're using tightvnc you can do it with the -dpi x switch, my setup:

#!/bin/bash
vncserver -geometry 1440x900 -alwaysshared -dpi 96 :1

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#8 2011-04-26 22:29:00

darkreaper476
Member
Registered: 2010-05-17
Posts: 102

Re: LXDE - how to set the DPI [SOLVED]

xorf.conf don't exist any more and everything is now separated... I tried making a new monitor file to handle the dpi but it didnt  work... I have an nvidia vid card with 2 monitors hooked up one is off.. And my main monitor is a 32" 1080p lcd tv and in the nvidia config app its showing that the DPI is set to 305! Which is way too big..

Any help would be greatly appreiated

Thanks

Offline

#9 2011-04-26 22:36:20

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: LXDE - how to set the DPI [SOLVED]

darkreaper476 wrote:

xorf.conf don't exist any more

Where do people read this stuff?? It's completely false, xorg.conf was explicitly part of the design. xorg.conf.d/ is just an addition to it, for increased flexibility and configuration possibilities.

Offline

#10 2011-04-27 00:24:02

darkreaper476
Member
Registered: 2010-05-17
Posts: 102

Re: LXDE - how to set the DPI [SOLVED]

[root@samus esc]# ls /etc/X11/
twm  xinit  xorg.conf.d

do you see it anywhere?

i can take a screen shot if you want please help....

Offline

#11 2011-04-27 01:13:43

darkreaper476
Member
Registered: 2010-05-17
Posts: 102

Re: LXDE - how to set the DPI [SOLVED]

ok well i created an xorg.conf file with Xorg -configure but it gave me an error that didnt have any effect on the file.. .. so I edited it
Section "Monitor"
    Identifier "Monitor0"
    DisplaySize 286 179    # In millimeters
EndSection

this made my DPI 96 which is better but my tv is up high I like 120-150 DPI and still cant change it.

thanks

Offline

#12 2011-04-27 09:53:34

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: LXDE - how to set the DPI [SOLVED]

darkreaper476 wrote:

[root@samus esc]# ls /etc/X11/
twm  xinit  xorg.conf.d

do you see it anywhere?

There are lots of config files that aren't there at first. But that doesn't mean they don't exist. I have an xorg.conf. And it works. Of course I could always move that stuff into separate files in xorg.conf.d/ and delete xorg.conf. Like I said, added flexibility.

Don't run X -configure though, or even nvidia-xconfig. What they create is outdated. When you do create an xorg.conf, write it from scratch, and with just the section where you're actually configuring something.

Offline

#13 2011-04-27 14:12:36

darkreaper476
Member
Registered: 2010-05-17
Posts: 102

Re: LXDE - how to set the DPI [SOLVED]

Well like I said I already did xorg config.  It failed but created a file for me so I used it and it worked now I just need to fix the dpi.. Thanx

Offline

Board footer

Powered by FluxBB