scopri tutte le dimensioni delle icone di gtk disponibili

4

Con gtk_icon_size_register () un l'app può registrare una nuova dimensione di icona, ma come faccio a sapere sulla console quali sono le dimensioni delle icone?

Spero di essere in grado di regolare le dimensioni delle icone delle app (in xfce4) che non rispondono a

xfconf-query -c xsettings -p /Gtk/IconSizes -s "gtk-large-toolbar=32,32:gtk-small-toolbar=24,24:gtk-menu=32,32:gtk-dialog=88,88:gtk-button=32,32:gtk-dnd=32,32"

come ad esempio i menu e le icone in sublime sono ancora molto piccoli sul mio schermo hdpi

    
posta rubo77 01.11.2015 - 07:12

1 risposta

1

Dipende da cosa fornisce ciascun tema.

  1. Verifica quali di questi stai utilizzando.
  2. Quindi cerca il suo file indice in /usr/share/icons

Esempio: /usr/share/icons/elementary-xfce/index.theme

[Icon Theme]
Name=elementary Xfce
Comment=Smooth modern theme for Xfce
Inherits=adwaita,gnome,hicolor

Example=directory-x-normal

#Directory list
Directories=actions/16,actions/22,actions/24,actions/32,actions/48,actions/64,actions/96,actions/128,actions/symbolic,animations/16,anim
ations/22,animations/24,animations/32,animations/48,animations/64,animations/128,apps/16,apps/22,apps/24,apps/32,apps/48,apps/64,apps/96
,apps/128,apps/symbolic,categories/16,categories/24,categories/32,categories/48,categories/64,categories/96,categories/128,categories/sy
mbolic,places/16,places/22,places/24,places/32,places/48,places/64,places/96,places/128,places/symbolic,mimes/16,mimes/24,mimes/32,mimes
/48,mimes/64,mimes/96,mimes/128,mimes/symbolic,devices/16,devices/22,devices/24,devices/32,devices/48,devices/64,devices/96,devices/128,
devices/symbolic,emblems/10,emblems/16,emblems/22,emblems/24,emblems/32,emblems/48,emblems/64,emblems/128,emblems/symbolic,emotes/16,sta
tus/16,status/22,status/24,status/32,status/48,status/64,status/128,status/symbolic,notifications/16,notifications/22,notifications/24,n
otifications/32,notifications/48,panel/16,panel/22,panel/24,panel/48,stock/16,stock/22,stock/24,stock/32,stock/48,tools/22,

[actions/16]
Size=16
Context=Actions
Type=Fixed

[actions/22]
Size=22
Context=Actions
Type=Fixed

[actions/24]
Size=24
Context=Actions
Type=Fixed

[actions/32]
Size=32
Context=Actions
Type=Fixed

[actions/48]
Size=48
Context=Actions
Type=Scalable

[actions/64]
Size=64
Context=Actions
Type=Scalable

[actions/96]
Size=96
Context=Actions
Type=Scalable

[actions/128]
Size=128
Context=Actions
Type=Scalable

[actions/symbolic]
Size=16
Context=Actions
MinSize=8
MaxSize=512
Type=Scalable

...

Ricorda che è Inherits=adwaita,gnome,hicolor , quindi i temi principali potrebbero avere dimensioni aggiuntive. Le dimensioni non standard potrebbero essere coperte da icone Type=Scalable .

    
risposta data user.dz 29.09.2016 - 14:03

Leggi altre domande sui tag