You are not logged in.

#1 2016-07-31 13:50:44

lvyj
Member
Registered: 2016-07-11
Posts: 11

HiDPI themes?

I have an X1 Carbon with a 2560x1440 screen. Most of my desktop scales well when I increase the font DPI in .Xresources, but the theme is still lo-res. This is mostly fine, except some elements (like header bar) don't scale up.

Any knowledge of a Bunsen or Crunchbang theme that is good for HiDPI screens?

Offline

#2 2016-07-31 14:09:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: HiDPI themes?

lvyj wrote:

the theme

Would this be the Openbox theme (the window borders and decorations) or the GTK theme (the buttons, sliders, checkboxes & suchlike)?

A (thumbnail link to a) screenshot would probably be useful here to describe the problem.

For GTK, I would recommend Greybird, Arc or Adapta for good GTK 3.20+ support.

https://github.com/shimmerproject/Greybird

https://github.com/horst3180/arc-theme

https://github.com/tista500/Adapta

Certain applications may not respect the DPI settings in the X server (I'm looking at you, chromium) so further tweaks may be required.

Offline

#3 2016-07-31 15:17:21

lvyj
Member
Registered: 2016-07-11
Posts: 11

Re: HiDPI themes?

Thanks for the response! Here's a shot of what I'm referring to. It's not terrible by any means. But for example, in XFCE 4.12 you can choose the HiDPI window theme to make the window buttons scale up in size. Here, they're pretty small: http://imgur.com/a/YVkpx

Last edited by lvyj (2016-07-31 15:18:29)

Offline

#4 2016-07-31 15:26:32

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: HiDPI themes?

Hmmm, looks like we may need a custom Openbox theme for HiDPI displays.

I can try to throw something together -- it may be as simple as enlarging the .xbm's used for the window buttons.

I am far from expert with Openbox themeing though so bear with me...

Offline

#5 2016-07-31 15:27:30

lvyj
Member
Registered: 2016-07-11
Posts: 11

Re: HiDPI themes?

That would be excellent! Appreciate the help.

Offline

#6 2016-07-31 16:57:16

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

Re: HiDPI themes?

@lvyj

As HoaS says, it looks like the image files for the titlebar are too small. It is an easy fix for you to do yourself...

1) Copy the theme you want from '/usr/share/themes' to '~/.themes'.

2) In the openbox-3 directory should be a bunch of xbm files. Some themes don't have them - they use defaults, in that case copy them from a theme which has them.

3) Enlarge them with an image editor, eg GIMP


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

#7 2016-07-31 17:34:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: HiDPI themes?

Well, I'm posting this more as a proof-of-concept and to amuse our resident artistes:

https://github.com/Head-on-a-Stick/conf … dpi.tar.gz

Click on "View Raw" to download the tarball then extract it with:

tar xf ~/Downloads/bunsenhidpi.tar.gz -C ~/.local/share/themes

Then open obconf and select the "Bunsen-HiDPI" theme and have a good laugh at my rather pathetic efforts...

Offline

#8 2016-07-31 20:31:15

lvyj
Member
Registered: 2016-07-11
Posts: 11

Re: HiDPI themes?

@HoaS - your theme worked brilliantly! The window header icons are the right size relative to the rest of the desktop. Thanks so much for your help! Maybe this theme can make into the next release wink

@damo thanks for the instructions. I'll use these next time I want to make tweak.

Offline

#9 2018-03-29 21:05:00

vinzv
Member
Registered: 2017-09-12
Posts: 186
Website

Re: HiDPI themes?

I just pulled some stuff together for a more-or-less complete HiDPI theme: https://forums.bunsenlabs.org/viewtopic … 769#p69769

Offline

Board footer

Powered by FluxBB