You are not logged in.

#1 2013-01-13 09:03:46

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Urxvt, Openbox, Conky wrong font size suddenly?

All qt, gtk and gtk3 apps seem to be ok with font size only some apps seems to be affected. Like Urxvt, Openbox and Conky. I've set font size and dpi in .Xresources for years and it seems it suddenly stopped working. My .Xresources;

Xft.dpi:        49
Xft.antialias:  true
Xft.rgba:       rgb
Xft.hinting:    true
Xft.hintstyle:  hintfull
urxvt*font: xft:DejaVu Sans Mono:size=18
Xft.lcdfilter:  lcdlegacy
URxvt.perl-ext-common: default,clipboard1
URxvt.keysym.C-c:   perl:clipboard:copy
URxvt.keysym.C-v:   perl:clipboard:paste
! #   URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
background: Black
foreground: Green
urxvt*saveLines: 1100
urxvt*secondaryScroll:  true
URxvt*scrollBar_right:true
URxvt*scrollColor:#242424
urxvt*termName: rxvt-unicode-256color

Don't bother about the DPI-setting, it's calculated for my 32" TV and has been working for years.
Furthermore; changing font size here or dpi and do a xrdb -load .Xresouces doesn't change anything.

Could it be systemd? The logs from systemd or dmesg gives  no clue about dpi setting. Has the setting for dpi been changed to somewhere else?

Xorg.0.log:

[    18.286] (**) NVIDIA(0): DPI set to (49, 49); computed from "DisplaySize" Monitor

As said, this DPI has been ok for a long time.

Offline

#2 2013-01-13 09:13:29

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Urxvt, Openbox, Conky wrong font size suddenly?

I have never heard of a 49 DPI... I have heard of 72 DPI, 96, 100, but never that low.

At 49 DPI those must be some big-ass characters.


See the Xorg wiki page for DPI-related settings.

https://wiki.archlinux.org/index.php/Xorg

Last edited by DSpider (2013-01-13 09:17:02)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2013-01-13 09:56:29

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 326

Re: Urxvt, Openbox, Conky wrong font size suddenly?

I get this also from time to time,
to rectify it I open my .conkyrc & adjust the default font size & hit save then change it back to what it was & all is ok in conky & I do similar for openbox,
open obconf > Appearance & adjust the font size's affected, then reconfigure & then change the font size's back again & reconfigure.

I know this is not a fix more of a workaround but this is due to my inability to find the root cause, If you manage to work out the root cause please post back here what you found & how you fixed it please big_smile


Aurora R10 (0TYR0X) - Ryzen 7 5800X - 16GB - RX6700XT 12GB - Hyprland (occasionally XFCE) - AOC Q27G3XMN 1440P
EFI Stub Boot
PROUD XLIBRE USER
Linux User: 401820  Steam-Reddit

Offline

#4 2013-01-13 11:52:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: Urxvt, Openbox, Conky wrong font size suddenly?

urxvt != URxvt


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2013-01-13 12:24:20

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Urxvt, Openbox, Conky wrong font size suddenly?

The 49 dpi is a calulated figure in line with my 32" screen. And it has been OK since a long time. There's something else going on.

Offline

#6 2013-01-13 23:29:32

nuc
Member
Registered: 2012-04-26
Posts: 119

Re: Urxvt, Openbox, Conky wrong font size suddenly?

Then calculate again http://members.ping.de/~sven/dpi.html
Even TVs do have higher DPI values.


Or did you maby install infinality or some other patchset?

Last edited by nuc (2013-01-13 23:31:27)

Offline

#7 2013-01-14 04:26:42

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Urxvt, Openbox, Conky wrong font size suddenly?

My DPI has been working for a long time, as said. Furthermore, upon using your link it was the one I used for calculating way back; Display size: 27.43" × 15.49" (69.67cm × 39.34cm) = 49.58 PPI, 0.5123mm dot pitch, 2458 PPI² (1360x768, 31.5" diagonal, I was 0.58 off)

So, why does font sizes in Conky, Openbox and urxvt suddenly change? They did not change in any other app like; Thunderbird, Firefox, Thunar or any QT app!

Offline

#8 2013-01-14 04:29:38

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

Re: Urxvt, Openbox, Conky wrong font size suddenly?

If only a few applications are affected, it might be easier to just change their font sizes.

Offline

#9 2013-01-14 16:19:29

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Urxvt, Openbox, Conky wrong font size suddenly?

Yes, I've done that, waiting for a clue to what happened.

Offline

Board footer

Powered by FluxBB