LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-25-2007, 09:16 PM   #1
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
Fluxbox Huge Fonts (wrong DPI)...


I've had DPI issues not too long ago, but I found something that worked for XFCE. All I had to do was edit ~/.Xresources to contain this line of code:
Code:
Xft.dpi: 91
Well, I switched back to Fluxbox recently and everything is huge again and nothing I find online is helping me out - my DPI is not budging one bit...

Here is some output:

Code:
billy@debdesk:~$ xrdb -query | grep dpi
Xft.dpi:        120
billy@debdesk:~$ xdpyinfo | grep resolution
  resolution:    180x96 dots per inch
billy@debdesk:~$ xdpyinfo | grep dimensions
  dimensions:    2560x1024 pixels (361x271 millimeters)
billy@debdesk:~$ cat /home/billy/.Xresources 
Xft.dpi: 91
billy@debdesk:~$
And here is a screenshot so you can visualize whats going on:

http://houston.pl3x.net/billy/pictur...x-huge-dpi.png

Any help would be greatly appreciated!

* Debian Sid (latest updates, except for the ekiga bug).
 
Old 09-26-2007, 03:34 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Rep: Reputation: Disabled
I don't quite see the problem in the.jpg and your explanation is not truly clear for me?!? Anyhow, would this help?

http://www.linuxquestions.org/questi...27&postcount=5

Additionally there is this
Code:
# This selects your default screen font from among the ones in
# /usr/share/kbd/consolefonts.
#
setfont -v alt-8x8
HTH.
 
Old 09-26-2007, 01:41 PM   #3
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Original Poster
Rep: Reputation: 31
You honestly dont see how huge my fonts are in the PNG (not JPG)? Everything is huge, except my xterm...

The problem is not ith the size of the fonts - those are all fine - its the DPI.. Your link doesnt help me because I can set all the fonts super small, but image/buttons will still render too big.

Fluxbox is setting the DPI as 120 (180x96), when I want it to be 91 (91x91). The huge DPI is cause everything to be too big. It's almost unusable for me :/

Last edited by BillyGalbreath; 09-27-2007 at 12:21 PM. Reason: fixed typo
 
Old 09-26-2007, 01:49 PM   #4
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Original Poster
Rep: Reputation: 31
Here's a better screenshot comparing my HUGE fonts/DPI to my Windows machine at work. Used to, my home machine would have a slightly smaller (if not the exact same) font/DPI than my Windows machine at work.

http://www.pl3x.net/billy/pictures/screenshot.jpg
 
Old 09-26-2007, 07:32 PM   #5
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Original Poster
Rep: Reputation: 31
Ok, nvm - I seemed to have stumbled onto a solution, although I'm not entirely sure what I did... But now my DPI is 96 (72x72) and everything looks better than ever! I'm very pleased - too bad I can't remember exactly what I did... :/
 
Old 09-27-2007, 01:12 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Rep: Reputation: Disabled
Okay, at least I understand now what you mean, sorry for the unhelpful thread-link.

BTW if you find out what you changed, don't forget to post the solution for the posterity .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Huge fonts in Fluxbox 1.0rc3 alkos333 Slackware 7 07-09-2007 04:19 PM
xorg + fluxbox -> huge fonts darkleaf Linux - Software 3 07-14-2005 04:16 AM
how do i use 100 dpi fonts? webazoid Linux - Software 0 07-09-2004 06:21 AM
how to use 100 dpi fonts in mdk 10? webazoid Linux - Software 0 07-08-2004 06:56 AM
what's difference between 75 dpi and 100 dpi fonts? webazoid Linux - Software 0 07-06-2004 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration