You are not logged in.

#1 2019-10-11 19:09:32

christopherisnow
Member
Registered: 2018-05-19
Posts: 36

Screen resolution/ font size on Dell XPS 13 [SOLVED]

Greetings forum,

I'm in the process of migrating my system from a Toshiba Portege Z30A to a Dell XPS 13. The Dell has a 1080p screen. Everything looked small, so I changed the screen resolution in

~/.Xresources

to

Xft.dpi:166

according to http://dpi.lv/.

The Conky, terminal, and Firefox fonts are now gigantic, but tint2 and tray icons, as well as fonts in programs such as Reaper, are still very small.

Is there any trick to apply the .Xresources settings to EVERYthing?

Never had such a problem with BL on any other machine...

Thanks in advance...

Last edited by christopherisnow (2020-04-30 13:26:45)

Offline

#2 2019-10-12 06:56:17

ohnonot
...again
Registered: 2015-09-29
Posts: 4,771
Website

Re: Screen resolution/ font size on Dell XPS 13 [SOLVED]

I think you will need to adjust tint2 settings manually in any case.
That leaves "programs such as Reaper" - can you add some information here? I don't know any such thing.


BL quote proposals to this thread please.
how to ask smart questions | my repos / my repos | my blog
---
Thank you for posting direct image links!

Offline

#3 2020-04-26 16:31:49

christopherisnow
Member
Registered: 2018-05-19
Posts: 36

Re: Screen resolution/ font size on Dell XPS 13 [SOLVED]

Revisiting this topic after installing Lithium.

I adjusted the screen resolution as in Hydrogen by editing line 7 in .Xresources to read

Xft.dpi:144

But I still have an almost illegibly small Tint2 tray and Openbox menu. How and where can I bump them up?

Offline

#4 2020-04-26 17:19:13

damo
....moderator....
Registered: 2015-08-20
Posts: 6,115

Re: Screen resolution/ font size on Dell XPS 13 [SOLVED]

What is the output of

xrdb -query | grep dpi

Did you re-load the xresources file after editing?

xrdb ~/.Xresources

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2020-04-26 19:10:13

christopherisnow
Member
Registered: 2018-05-19
Posts: 36

Re: Screen resolution/ font size on Dell XPS 13 [SOLVED]

xrdb -query | grep dpi

gives

Xft.dpi:	144

I did reload .Xresources, and rebooted. The resolution is fine for most apps, just not for Tint2 and the Openbox menu.

Offline

#6 2020-04-30 05:27:19

ohnonot
...again
Registered: 2015-09-29
Posts: 4,771
Website

Re: Screen resolution/ font size on Dell XPS 13 [SOLVED]

Stray thought:
Possibly the resources are loaded after Openbox & tint2 start?


BL quote proposals to this thread please.
how to ask smart questions | my repos / my repos | my blog
---
Thank you for posting direct image links!

Offline

#7 2020-04-30 12:56:32

christopherisnow
Member
Registered: 2018-05-19
Posts: 36

Re: Screen resolution/ font size on Dell XPS 13 [SOLVED]

@ohnonot I can't find any evidence that would be the issue.

BUT I did solve the problem by bumping up a few values in ~/.config/jgmenu/jgmenurc (original values commented out):

#menu_width          = 134
menu_width          = 160

#menu_padding_top    = 24
menu_padding_top    = 32

#item_height         = 21
item_height         = 30

#sep_height          = 4
sep_height          = 6

#font                = Sans 10
font                = Sans 16

and ~/.config/tint2/tint2rc-lithium:

#panel_size = 99% 30
panel_size = 99% 40

#taskbar_name_font = Sans 9
taskbar_name_font = Sans 14

#task_maximum_size = 30 30
task_maximum_size = 35 35

#systray_icon_size = 22
systray_icon_size = 28

#time1_font = Futura Bk BT bold 10
time1_font = Monospace Bk bold 14

That's all just trial and error. Could be that there's a better way to get the same results...

Offline

#8 2020-05-01 07:11:30

dbvolvox
Member
From: England
Registered: 2015-09-29
Posts: 74
Website

Re: Screen resolution/ font size on Dell XPS 13 [SOLVED]

christopherisnow wrote:

That's all just trial and error. Could be that there's a better way to get the same results...

Maybe not, I remember having to do something similar with an MX-19 (also OpenBox) install on an i5 laptop with high res display.

Offline

#9 2020-05-02 08:23:49

ohnonot
...again
Registered: 2015-09-29
Posts: 4,771
Website

Re: Screen resolution/ font size on Dell XPS 13 [SOLVED]

I tested this; changing the dpi via Xresources during a running session has an effect on applications that are started thereafter (i.e. NOT openbox itself).
Loading the modified Xresources before the Openbox session begins (in my case in ~/.xinitrc before 'exec openbox-session' - in your case it'd be something in lightdm.conf I guess) has the desired effect - on all apps except tint2 (don't know about jgmenu though).


BL quote proposals to this thread please.
how to ask smart questions | my repos / my repos | my blog
---
Thank you for posting direct image links!

Offline

Board footer

Powered by FluxBB