[Github-comments] [geany/geany] HiDPI support: provide double-size icons (#1957)

Enrico Tröger notifications at xxxxx
Tue May 26 12:23:17 UTC 2020


This is weird:
`gtk_rc_get_default_files()` returns the following paths on Windows:
```
C:\Program Files (x86)\Geany\data\geany.gtkrc
C:\Program Files (x86)\Geany\share\gtk-2.0\gtkrc
C:\ProgramData\gtk-2.0\gtkrc
C:\Program Files (x86)\Geany\etc\gtk-2.0\gtkrc
C:\Users\enrico\.gtkrc-2.0
```
According to the documentation, all of these files should read by GTK.
However, setting `gtk-icon-sizes` in any of these files doesn't have any effect.

**But** setting `gtk-icon-sizes` in `C:\Program Files (x86)\Geany\share\themes\MS-Windows\gtk-2.0\gtkrc` does work actually.

This file  is overridden when you update Geany next time as it is part of the installer, so editing it doesn't make much sense.
Instead:
Copy the folder `C:\Program Files (x86)\Geany\share\themes\MS-Windows` to `c:\users\<username>\.themes` and then edit the `gtkrc` file in the new location.
For me that worked well. You just need to take care with the `.themes` folder, the leading dot is important but the Windows Explorer to create directories with a leading dot. Creating the folder using the terminal does work.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1957#issuecomment-633991061
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200526/cc5b1eda/attachment.htm>


More information about the Github-comments mailing list