Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-11-21 12:13:36

fryk
Member
Registered: 2017-11-21
Posts: 3

XFCE Panel on Hi-DPI Screens

XFCE works quite nice on Hi-DPI Screens. But theres one thing that really annoys me:
When setting the row size (pixels) to fit the high resolution, at about 52 pixels the number of rows change for the "Window Buttons" and the "indicator plugin" which then have two rows (In the "Measurements" section of the panels the Number of Rows is still set to "1"). On Hi-DPI screens this is really annoying as, before the second row appears, the panel-size  is still too small. After the second row appears, its of course even worse.
Is this on purpose or a bug? Is there a workaround or patch?
This happens on Xubuntu 16.04 as well as on Xubuntu 17.10.

Offline

#2 2017-11-21 17:08:18

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: XFCE Panel on Hi-DPI Screens

style "xfcetasklist"{
XfceTasklist::max-button-size=120}
widget "*.XfceTasklist" style "xfcetasklist"

add this at the bottom of your ~/.gtkrc-2.0. If the file doesn't exist - create it.

Last edited by sixsixfive (2017-11-21 17:09:29)

Offline

#3 2017-11-22 08:34:06

fryk
Member
Registered: 2017-11-21
Posts: 3

Re: XFCE Panel on Hi-DPI Screens

Thank you, sixsixfive. This works like a charm for the "Window Buttons". I did quite some research, if there's a similar solution for the indicator plugin. I did find some Xfce Panel .gtkrc-2.0 hacks but nothing about the indicator plugin height/resize. Any idea if it's possible using ~/.gtkrc-2.0?

Offline

#4 2017-11-22 15:34:39

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: XFCE Panel on Hi-DPI Screens

not sure since indicators are an ubuntu-only thing but it seems they are hardcoded in the source:

https://github.com/xfce-mirror/xfce4-in … tton.c#L39

so the best way might be to adjust and recomplie the whole plugin

you can use debian-tools for that eg: https://raphaelhertzog.com/2010/12/15/h … -packages/

Offline

#5 2017-11-23 10:07:43

fryk
Member
Registered: 2017-11-21
Posts: 3

Re: XFCE Panel on Hi-DPI Screens

Thank you again. I'll take a look into it.

Offline

Board footer

Powered by FluxBB