Discussion:
[Fluxbox-users] fluxbox styles for HiDPI screens
Michael M. Tung
2017-02-20 23:17:09 UTC
Permalink
Hi all,

I am looking for suitable fluxbox styles on high-resolution screens (3200x1800).

It is possible to increase the fonts size with overlays, but I am looking for a
convenient way to also scale bigger the title bars (increasing the height of the
bars so that the bigger fonts fit in comfortably).

Perhaps anybody knows a style that cares care of this. Any other suggestions are
also welcome.

Many thanks.
Best,
Michael
higuita
2017-02-21 01:36:50 UTC
Permalink
Hi
Post by Michael M. Tung
It is possible to increase the fonts size with overlays, but I am
looking for a convenient way to also scale bigger the title bars
(increasing the height of the bars so that the bigger fonts fit in
comfortably).
I do not have a HiDPI screenm but when i increase the font size,
the height of their respective bars also increase to match the
font. Have you tried it? Can you make a screenshot if it is wrong

higuita
--
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger. It works the same in every country.
-- Hermann Goering, Nazi and war criminal, 1883-1946
Massimo Canonico
2017-02-21 08:17:53 UTC
Permalink
Hi,

I'm having the same problem and in the mean while I'm using another
windows manager, but I'm missing fluxbox so much.

The other windows manager fix the problem by set the "HiDPI Windows
scaling" to 2.

I did not find a similar option in Fluxbox.

Another way could be to use xrandr and the option --scale.

M
Post by higuita
Hi
Post by Michael M. Tung
It is possible to increase the fonts size with overlays, but I am
looking for a convenient way to also scale bigger the title bars
(increasing the height of the bars so that the bigger fonts fit in
comfortably).
I do not have a HiDPI screenm but when i increase the font size,
the height of their respective bars also increase to match the
font. Have you tried it? Can you make a screenshot if it is wrong
higuita
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fluxbox-users mailing list
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
Michael M. Tung
2017-02-21 10:57:36 UTC
Permalink
Hi Massimo,

you're absolutely right. I would miss Fluxbox, and therefore I
am trying to avoid any of those 'other' window managers (clunky
with lots of additional libraries)...

I did minimally rescale the resolution in X windows with xrandr,
but there is a reasonable limit, of course. Otherwise: Why have
a HiDPI screen?

Without 'HiDPI Windows scaling' a good compromise would be a
style which doubles the size of titlebars etc.

Best,
Michael

P.S.: I sent a screen photo requested by higuita, but the attachment
is large. It will take a while to pass the fluxbox-users
moderator (hopefully!).
Hi,
I'm having the same problem and in the mean while I'm using another windows
manager, but I'm missing fluxbox so much.
The other windows manager fix the problem by set the "HiDPI Windows scaling"
to 2.
I did not find a similar option in Fluxbox.
Another way could be to use xrandr and the option --scale.
M
Post by higuita
Hi
Post by Michael M. Tung
It is possible to increase the fonts size with overlays, but I am
looking for a convenient way to also scale bigger the title bars
(increasing the height of the bars so that the bigger fonts fit in
comfortably).
I do not have a HiDPI screenm but when i increase the font size,
the height of their respective bars also increase to match the
font. Have you tried it? Can you make a screenshot if it is wrong
higuita
--
-------------------------------------------------------------------------
Michael M. Tung Email: ***@mat.upv.es
Departamento de Matemática Aplicada ***@gmail.com
Universidad Politécnica de Valencia Phone: +34 96 38-79557 (IMM)
Inst. de Matemática Multidisciplinar +34 96 38-79777 (Teleco)
Edificio 8-G, 2º piso IM: ICQ96423950
Camino de Vera, s/n
46022 Valencia (Spain)
-------------------------------------------------------------------------
PGP PubKey http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9920E3BA
-------------------------------------------------------------------------
Lionel Barnett
2017-02-21 12:14:27 UTC
Permalink
Could you not just customise your style of choice? It's pretty
straightforward (and fun!) - 'man fluxbox-style' gives you the basics;
see also https://wiki.archlinux.org/index.php/Fluxbox/Style_guide

Regards,
Lionel
Post by Michael M. Tung
Hi Massimo,
you're absolutely right. I would miss Fluxbox, and therefore I
am trying to avoid any of those 'other' window managers (clunky
with lots of additional libraries)...
I did minimally rescale the resolution in X windows with xrandr,
but there is a reasonable limit, of course. Otherwise: Why have
a HiDPI screen?
Without 'HiDPI Windows scaling' a good compromise would be a
style which doubles the size of titlebars etc.
Best,
Michael
P.S.: I sent a screen photo requested by higuita, but the attachment
is large. It will take a while to pass the fluxbox-users
moderator (hopefully!).
Hi,
I'm having the same problem and in the mean while I'm using another windows
manager, but I'm missing fluxbox so much.
The other windows manager fix the problem by set the "HiDPI Windows scaling"
to 2.
I did not find a similar option in Fluxbox.
Another way could be to use xrandr and the option --scale.
M
Post by higuita
Hi
Post by Michael M. Tung
It is possible to increase the fonts size with overlays, but I am
looking for a convenient way to also scale bigger the title bars
(increasing the height of the bars so that the bigger fonts fit in
comfortably).
I do not have a HiDPI screenm but when i increase the font size,
the height of their respective bars also increase to match the
font. Have you tried it? Can you make a screenshot if it is wrong
higuita
--
-------------------------------------------------------------------------
Universidad Politécnica de Valencia Phone: +34 96 38-79557 (IMM)
Inst. de Matemática Multidisciplinar +34 96 38-79777 (Teleco)
Edificio 8-G, 2º piso IM: ICQ96423950
Camino de Vera, s/n
46022 Valencia (Spain)
-------------------------------------------------------------------------
PGP PubKey http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9920E3BA
-------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fluxbox-users mailing list
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
--
Lionel Barnett, D.Phil.
Research Fellow
Sackler Centre for Consciousness Science
Department of Informatics, University of Sussex
http://users.sussex.ac.uk/~lionelb/
http://www.sussex.ac.uk/sackler/
Michael M. Tung
2017-02-21 13:08:58 UTC
Permalink
Hi Lionel,

I am aware of that and have been customizing styles before.

Probably this will be my last resort (in case there is no
style repository for HiDPI screens or alternative solutions
for global scaling).

Best,
Michael
Post by Lionel Barnett
Could you not just customise your style of choice? It's pretty
straightforward (and fun!) - 'man fluxbox-style' gives you the basics;
see also https://wiki.archlinux.org/index.php/Fluxbox/Style_guide
Regards,
Lionel
Post by Michael M. Tung
Hi Massimo,
you're absolutely right. I would miss Fluxbox, and therefore I
am trying to avoid any of those 'other' window managers (clunky
with lots of additional libraries)...
I did minimally rescale the resolution in X windows with xrandr,
but there is a reasonable limit, of course. Otherwise: Why have
a HiDPI screen?
Without 'HiDPI Windows scaling' a good compromise would be a
style which doubles the size of titlebars etc.
Best,
Michael
P.S.: I sent a screen photo requested by higuita, but the attachment
is large. It will take a while to pass the fluxbox-users
moderator (hopefully!).
Hi,
I'm having the same problem and in the mean while I'm using another windows
manager, but I'm missing fluxbox so much.
The other windows manager fix the problem by set the "HiDPI Windows scaling"
to 2.
I did not find a similar option in Fluxbox.
Another way could be to use xrandr and the option --scale.
M
Post by higuita
Hi
Post by Michael M. Tung
It is possible to increase the fonts size with overlays, but I am
looking for a convenient way to also scale bigger the title bars
(increasing the height of the bars so that the bigger fonts fit in
comfortably).
I do not have a HiDPI screenm but when i increase the font size,
the height of their respective bars also increase to match the
font. Have you tried it? Can you make a screenshot if it is wrong
higuita
--
-------------------------------------------------------------------------
Universidad Politécnica de Valencia Phone: +34 96 38-79557 (IMM)
Inst. de Matemática Multidisciplinar +34 96 38-79777 (Teleco)
Edificio 8-G, 2º piso IM: ICQ96423950
Camino de Vera, s/n
46022 Valencia (Spain)
-------------------------------------------------------------------------
PGP PubKey http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9920E3BA
-------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fluxbox-users mailing list
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
--
-------------------------------------------------------------------------
Michael M. Tung Email: ***@mat.upv.es
Departamento de Matemática Aplicada ***@gmail.com
Universidad Politécnica de Valencia Phone: +34 96 38-79557 (IMM)
Inst. de Matemática Multidisciplinar +34 96 38-79777 (Teleco)
Edificio 8-G, 2º piso IM: ICQ96423950
Camino de Vera, s/n
46022 Valencia (Spain)
-------------------------------------------------------------------------
PGP PubKey http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9920E3BA
-------------------------------------------------------------------------
Thomas Lübking
2017-02-21 14:24:51 UTC
Permalink
Post by Michael M. Tung
Hi Lionel,
I am aware of that and have been customizing styles before.
Probably this will be my last resort (in case there is no
style repository for HiDPI screens or alternative solutions
for global scaling).
There's none. The majority of themes uses pixmap buttons and in addition
fixed titlebar height specifications (in pixels)
One could probably easily apply a DPI translation on the pixel hints of
the styles but that does not fix the button etc. pixmaps: you'd have to
scale them and that will at best look "bricky" (if you apply integer
scaling only, ie. *2, *3, ...) and otherwise murky (because scaling
items of that size will cause unsharp and visually squeezed results)

I suggest to take your favorite style and create a HiDPI interpretation
of it (ie. repaint the pixmaps like a retexture project for quake 1
would do ;-)
Then share the result.

Cheers,
Thomas
Michael M. Tung
2017-02-21 19:19:03 UTC
Permalink
Post by Thomas Lübking
Post by Michael M. Tung
Hi Lionel,
I am aware of that and have been customizing styles before.
Probably this will be my last resort (in case there is no
style repository for HiDPI screens or alternative solutions
for global scaling).
There's none. The majority of themes uses pixmap buttons and in addition
fixed titlebar height specifications (in pixels)
One could probably easily apply a DPI translation on the pixel hints of
the styles but that does not fix the button etc. pixmaps: you'd have to
scale them and that will at best look "bricky" (if you apply integer
scaling only, ie. *2, *3, ...) and otherwise murky (because scaling
items of that size will cause unsharp and visually squeezed results)
I suggest to take your favorite style and create a HiDPI interpretation
of it (ie. repaint the pixmaps like a retexture project for quake 1
would do ;-)
Then share the result.
Cheers,
Thomas
Hi Thomas,

That's probably the only option left: repainting the pixmaps and give
them a fancy gaming touch. ;-)

On the long run, as HiDPI screen become more common, it would probably
be good to have a collection of suitable themes available.

Thanks to all for suggestions!

Best,
Michael
higuita
2017-02-21 22:03:27 UTC
Permalink
Post by Michael M. Tung
P.S.: I sent a screen photo requested by higuita, but the attachment
is large. It will take a while to pass the fluxbox-users
moderator (hopefully!).
Use a web service for image upload, like http://pasteboard.co/ or
https://ctrlv.in/ , they should accept it and post the url

Attached is a changed style i use with huge fonts, test it.
in my my no HiDPI screen, the bars and font are resized automatically.

good luck
higuita
--
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger. It works the same in every country.
-- Hermann Goering, Nazi and war criminal, 1883-1946
Michael M. Tung
2017-02-22 12:43:34 UTC
Permalink
Thank you, higuita, for the style file. I'll can check it out this
afternoon and let you know. Best, Michael
Post by higuita
Post by Michael M. Tung
P.S.: I sent a screen photo requested by higuita, but the attachment
is large. It will take a while to pass the fluxbox-users
moderator (hopefully!).
Use a web service for image upload, like http://pasteboard.co/ or
https://ctrlv.in/ , they should accept it and post the url
Attached is a changed style i use with huge fonts, test it.
in my my no HiDPI screen, the bars and font are resized automatically.
good luck
higuita
Massimo Canonico
2017-02-24 15:36:29 UTC
Permalink
The higuita style (thanks for that) is not good for my 3200x1800 screen.

M
Post by Michael M. Tung
Thank you, higuita, for the style file. I'll can check it out this
afternoon and let you know. Best, Michael
Post by higuita
Post by Michael M. Tung
P.S.: I sent a screen photo requested by higuita, but the attachment
is large. It will take a while to pass the fluxbox-users
moderator (hopefully!).
Use a web service for image upload, like http://pasteboard.co/ or
https://ctrlv.in/ , they should accept it and post the url
Attached is a changed style i use with huge fonts, test it.
in my my no HiDPI screen, the bars and font are resized automatically.
good luck
higuita
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fluxbox-users mailing list
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
Michael M. Tung
2017-02-27 20:18:13 UTC
Permalink
Hi higuita,

thanks for sending your style with the huge fonts. Letters partially overlap
(and are huge indeed), but I'll see if I can fiddle around with it and make
use of it.

danter's overlay seems to be the global solution for most styles.

In any case thanks again,
Mike
Post by Massimo Canonico
The higuita style (thanks for that) is not good for my 3200x1800 screen.
M
Post by Michael M. Tung
Thank you, higuita, for the style file. I'll can check it out this
afternoon and let you know. Best, Michael
Post by higuita
Post by Michael M. Tung
P.S.: I sent a screen photo requested by higuita, but the attachment
is large. It will take a while to pass the fluxbox-users
moderator (hopefully!).
Use a web service for image upload, like http://pasteboard.co/ or
https://ctrlv.in/ , they should accept it and post the url
Attached is a changed style i use with huge fonts, test it.
in my my no HiDPI screen, the bars and font are resized automatically.
good luck
higuita
higuita
2017-02-27 22:57:07 UTC
Permalink
Post by Michael M. Tung
Hi higuita,
thanks for sending your style with the huge fonts. Letters partially
overlap (and are huge indeed), but I'll see if I can fiddle around with
it and make use of it.
Yes, i set a very high value and that is probably causing some
extra problems... but it was to show that fluxbox did scale with
the font size.
Post by Michael M. Tung
danter's overlay seems to be the global solution for most styles.
I hope you manage to do it. Do not forget to publish your style,
so others HiDPI users may test it and finetune their own styles. :)

Good luck
--
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger. It works the same in every country.
-- Hermann Goering, Nazi and war criminal, 1883-1946
D.T.
2017-02-24 12:06:33 UTC
Permalink
This has already accumulated too many answers, but i have one more thing
to add.
preamble:

* I don't think there's a central collection of fluxbox hdpi styles.
so that answers that.
* styles using pixmaps don't take well to scaling, period. But there's
plenty of non-pixmap styles.

*
*

*ok, here's the magic: ~/.fluxbox/overlay*

should contain

* suitably large fonts - you probably need ALL of the below:
* *font:
*Font:
menu.title.font:
menu.frame.font:
window.font:
toolbar.clock.font:
toolbar.workspace.font:
toolbar.iconbar.focused.font:
toolbar.iconbar.unfocused.font:
* a suitably large override for pixel-based sizes in themes. some
examples I can think of:
* *.bevelWidth:
*.borderWidth:
toolbar.height: 0
window.title.height:
window.handleWidth:

hope this helps.


cheers,

danter
Post by Michael M. Tung
Hi all,
I am looking for suitable fluxbox styles on high-resolution screens (3200x1800).
It is possible to increase the fonts size with overlays, but I am looking for a
convenient way to also scale bigger the title bars (increasing the height of the
bars so that the bigger fonts fit in comfortably).
Perhaps anybody knows a style that cares care of this. Any other suggestions are
also welcome.
Many thanks.
Best,
Michael
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fluxbox-users mailing list
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
Michael M. Tung
2017-02-27 20:12:47 UTC
Permalink
Many thanks danter,

I have been experimenting with this overlay and it works fine with
the majority of available styles. The fonts in titlebar etc. are
legible again on the HiDPI screen.

Best,
Mike
Post by D.T.
This has already accumulated too many answers, but i have one more thing
to add.
* I don't think there's a central collection of fluxbox hdpi styles.
so that answers that.
* styles using pixmaps don't take well to scaling, period. But there's
plenty of non-pixmap styles.
*
*
*ok, here's the magic: ~/.fluxbox/overlay*
should contain
* a suitably large override for pixel-based sizes in themes. some
toolbar.height: 0
hope this helps.
cheers,
danter
Post by Michael M. Tung
Hi all,
I am looking for suitable fluxbox styles on high-resolution screens (3200x1800).
It is possible to increase the fonts size with overlays, but I am looking for a
convenient way to also scale bigger the title bars (increasing the height of the
bars so that the bigger fonts fit in comfortably).
Perhaps anybody knows a style that cares care of this. Any other suggestions are
also welcome.
Many thanks.
Best,
Michael
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fluxbox-users mailing list
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fluxbox-users mailing list
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
--
-------------------------------------------------------------------------
Michael M. Tung Email: ***@mat.upv.es
Departamento de Matemática Aplicada ***@gmail.com
Universidad Politécnica de Valencia Phone: +34 96 38-79557 (IMM)
Inst. de Matemática Multidisciplinar +34 96 38-79777 (Teleco)
Edificio 8-G, 2º piso IM: ICQ96423950
Camino de Vera, s/n
46022 Valencia (Spain)
-------------------------------------------------------------------------
PGP PubKey http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9920E3BA
-------------------------------------------------------------------------
Massimo Canonico
2017-02-28 09:25:21 UTC
Permalink
Hi Mike,

did you just copy and past what Danter suggested or you make other
modification.

Could you please share your files?

Thanks,

M
Post by Michael M. Tung
Many thanks danter,
I have been experimenting with this overlay and it works fine with
the majority of available styles. The fonts in titlebar etc. are
legible again on the HiDPI screen.
Best,
Mike
Post by D.T.
This has already accumulated too many answers, but i have one more thing
to add.
* I don't think there's a central collection of fluxbox hdpi styles.
so that answers that.
* styles using pixmaps don't take well to scaling, period. But there's
plenty of non-pixmap styles.
*
*
*ok, here's the magic: ~/.fluxbox/overlay*
should contain
* a suitably large override for pixel-based sizes in themes. some
toolbar.height: 0
hope this helps.
cheers,
danter
Post by Michael M. Tung
Hi all,
I am looking for suitable fluxbox styles on high-resolution screens (3200x1800).
It is possible to increase the fonts size with overlays, but I am looking for a
convenient way to also scale bigger the title bars (increasing the height of the
bars so that the bigger fonts fit in comfortably).
Perhaps anybody knows a style that cares care of this. Any other suggestions are
also welcome.
Many thanks.
Best,
Michael
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fluxbox-users mailing list
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fluxbox-users mailing list
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
Michael M. Tung
2017-02-28 09:52:55 UTC
Permalink
Hi Massimo,

I just copied danter's overlay file to ~/.fluxbox/overlay, and it took
care of the titlebar fonts on my 3200x1800 screen. You find attached his
file.

These configurations are for my new Dell XPS13. Since it comes installed
with Ubuntu and Gnome, I had to run fluxbox as a secondary window manager.

In the near future I will wipe out this installation to put Arch Linux
with fluxbox (as on all my other boxes). On this final installation I
will be able make some more fluxbox experiments and will be happy to share.

Best,
Mike
Post by Massimo Canonico
Hi Mike,
did you just copy and past what Danter suggested or you make other
modification.
Could you please share your files?
Thanks,
M
Post by Michael M. Tung
Many thanks danter,
I have been experimenting with this overlay and it works fine with
the majority of available styles. The fonts in titlebar etc. are
legible again on the HiDPI screen.
Best,
Mike
Post by D.T.
This has already accumulated too many answers, but i have one more thing
to add.
* I don't think there's a central collection of fluxbox hdpi styles.
so that answers that.
* styles using pixmaps don't take well to scaling, period. But there's
plenty of non-pixmap styles.
*
*
*ok, here's the magic: ~/.fluxbox/overlay*
should contain
* a suitably large override for pixel-based sizes in themes. some
toolbar.height: 0
hope this helps.
cheers,
danter
Post by Michael M. Tung
Hi all,
I am looking for suitable fluxbox styles on high-resolution screens (3200x1800).
It is possible to increase the fonts size with overlays, but I am looking for a
convenient way to also scale bigger the title bars (increasing the height of the
bars so that the bigger fonts fit in comfortably).
Perhaps anybody knows a style that cares care of this. Any other suggestions are
also welcome.
Many thanks.
Best,
Michael
Loading...