1 |
Nils Freydank <nils.freydank@××××××.de> wrote: |
2 |
|
3 |
> Hi everybody, |
4 |
> |
5 |
> Am Freitag, 1. September 2017, 21:08:51 CEST schrieb J. Roeleveld: |
6 |
> > On Friday, September 1, 2017 7:28:48 PM CEST Mart Raudsepp wrote: |
7 |
> > > Ühel kenal päeval, R, 01.09.2017 kell 10:16, kirjutas Grant: |
8 |
> > [...] |
9 |
> > |
10 |
> > In KDE/Plasma there is a scaling setting in the display section. |
11 |
> > The scales go from 1 to 3 (in steps of 0.1) |
12 |
> > |
13 |
> > Seems to work, I don't need it on my displays as I tend to simply |
14 |
> > increase the font-sizes where necessary. |
15 |
> this led to really ugly proportions on my 317,5 mm FullHD display |
16 |
> (1920x1080 pi). |
17 |
> |
18 |
> I added "-dpi 144" to my Xorg string; in my case that’s a line in |
19 |
> sddm config. That one does not reflect my actual DPI (simplified |
20 |
> sqrt(1920^2+1080^2)/12.5 = 176), but was after trial and error the |
21 |
> best result I got. |
22 |
|
23 |
You can also set this parameter in XFCE preferences: |
24 |
|
25 |
xfce4-appearance-settings -> Fonts tab -> Own DPI-Value |
26 |
|
27 |
|
28 |
But AFAIK the dpi setting is only for fonts. If you also wanna have |
29 |
bigger window decorations then start xfwm4-settings and set |
30 |
Default-hdpi or Default-xhdpi as theme. AFAIK both themes are part of |
31 |
x11-themes/xfwm4-themes. |
32 |
|
33 |
|
34 |
If you wanna set the icon sizes (panel, menu, buttons, toolbar) for |
35 |
the gtk2-theme that you use, then edit the gtkrc file of this theme. |
36 |
|
37 |
Before you do this you should copy the complete theme directory into |
38 |
~/.themes/ (if .themes doesn't exist then create it), then rename it |
39 |
and then edit the gtkrc file. Finally you can set this theme as your |
40 |
new theme. |
41 |
|
42 |
By example: |
43 |
cp -r /usr/share/themes/Xfce-basic/ ~/.themes/ |
44 |
mv ~/.themes/Xfce-basic ~/.themes/Xfce-basic_big-icons |
45 |
vi ~/.themes/Xfce-basic_big-icons/gtk-2.0/gtkrc |
46 |
|
47 |
I have a 140 DPI display and insert these two lines at top of my |
48 |
gtkrc: |
49 |
|
50 |
gtk-toolbar-icon-size = large-toolbar |
51 |
gtk-icon-sizes = "panel-menu=32,32:panel=32,32:gtk-button=24,24:gtk-large-toolbar=48,48:gtk-small-toolbar=32,32" |
52 |
|
53 |
To be honest, I forgot for what the first line is good for. It's some |
54 |
time ago that I did this and my memory isn't as reliable as it was |
55 |
20 years ago. ;-) |
56 |
|
57 |
|
58 |
However some programs don't have a GUI that is ready yet for HiDPI |
59 |
displays. By example I have not found an option in Gimp to increase |
60 |
the size of its tiny toolbar icons. |
61 |
|
62 |
-- |
63 |
Regards |
64 |
wabe |