SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-04-08 17:31:19

derrend
Member
Registered: 2012-04-08
Posts: 30

[SOLVED] Resize openbox fonts

The default openbox fonts displayed on my lcd tv are too small to read. I've seen lots of complaints about this dating all the way back to 2009 with suggestions about 'zooming in' or 'changing the resolution' but i've succeeded in doing both of these things but still the fonts in the right click menu on the desktop and all the fonts in the gui windows are the same tint unreadable size regardless of how much you zoom in or enlarge the screen so it must be the GUI's fonts - openbox - that need to be enlarged.

I don't know how to do this though. can someone please point me in the right direction smile

Thanks in advance.

Last edited by derrend (2012-04-09 09:30:40)

Offline

Help fund CrunchBang, donate to the project!

#2 2012-04-08 17:42:10

rml
#! Member
Registered: 2012-02-10
Posts: 64

Re: [SOLVED] Resize openbox fonts

find Openbox > "GUI Config Tool" in your right-click menu or hit Alt+F2 and type "obconf" without quotes.  Under the Appearance tab you should be able to change the font sizes.

Offline

#3 2012-04-08 17:49:31

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Re: [SOLVED] Resize openbox fonts

For me, adjusting fonts in openbox, GTK and QT and all of the various places where font size is determined just didn't cut the mustard. I had to create a ~/.Xresources file and set the DPI of the monitor there, which is a global setting that will affect all apps including your login manager, and also scale menus and other interface elements to suit your larger screen, and still allow you to watch videos in full resolution. Try adding this line:

Xft.dpi:        96

Changes won't take effect immediately, you will have to restart the X server. If you are using GDM as your login manager you can simply hit ctrl+alt+F2 to switch to tty2, login, and then issue the following two commands:

sudo service gdm stop
sudo service gdm start

You may have to adjust the DPI to your liking. 96 worked well for me on a 42" 1080p LCD.

Last edited by mynis01 (2012-04-08 17:50:17)

Offline

#4 2012-04-08 18:35:30

derrend
Member
Registered: 2012-04-08
Posts: 30

Re: [SOLVED] Resize openbox fonts

mynis01 wrote:

For me, adjusting fonts in openbox, GTK and QT and all of the various places where font size is determined just didn't cut the mustard. I had to create a ~/.Xresources file and set the DPI of the monitor there, which is a global setting that will affect all apps including your login manager, and also scale menus and other interface elements to suit your larger screen, and still allow you to watch videos in full resolution. Try adding this line:

Xft.dpi:        96

Changes won't take effect immediately, you will have to restart the X server. If you are using GDM as your login manager you can simply hit ctrl+alt+F2 to switch to tty2, login, and then issue the following two commands:

sudo service gdm stop
sudo service gdm start

You may have to adjust the DPI to your liking. 96 worked well for me on a 42" 1080p LCD.

Just to pick your brain again mynis01, does it matter where i put this code in the file? I can see all the other font settings in here and was just wondering if i should be hashing them out at all??

-- Update: Never mind, I put it at the bottom and it worked like a charm. My eternal gratitude, thank you so much smile

Last edited by derrend (2012-04-08 18:52:57)

Offline

#5 2012-04-08 19:34:44

derrend
Member
Registered: 2012-04-08
Posts: 30

Re: [SOLVED] Resize openbox fonts

May have jumped the gun slightly on one or two points...

The very useful shortcut key display on the desktop is only half there after selecting the appropriate 1280x720 in 'Adjust with grandr'. Also when entering my username and password into the login screen the fonts are once again extreamly tiny which i imagine could cause me problems in other future applications. And, each time i log in the screen ratio mentioned above reverts back to 1360x768 and i have to change it each time.

Does anyone have any idea how i might correct these issues also please??

Last edited by derrend (2012-04-08 20:05:16)

Offline

#6 2012-07-20 01:08:20

Pinkfloyd420
New Member
Registered: 2012-07-20
Posts: 8

Re: [SOLVED] Resize openbox fonts

I hope someone look at this. I tried to edit the file and it say I can't save it because the file is truncated. Can anyone help?

Offline

#7 2012-07-20 05:50:40

barkbombardier
#! Member
Registered: 2011-09-07
Posts: 77

Re: [SOLVED] Resize openbox fonts

^It means you have to be root user to save changes. Just right click on the file and "open as root" then give your root password. Then make your changes and save it.

Offline

#8 2012-07-20 17:27:29

Pinkfloyd420
New Member
Registered: 2012-07-20
Posts: 8

Re: [SOLVED] Resize openbox fonts

Thank you for your help it worked. I can see at least!!!!!!!!!!

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo