| 5 Jun 2021 |
piegames | Some GTK applications that I run in Nix ignore my system's settings: No theme, no font settings, and only one button in the top corner. How can I fix them? | 13:42:57 |
piegames | I think this has to do with application that are somehow wrapped with custom settings that override my system's, but not surre | 13:43:17 |
piegames | * I think this has to do with application that are somehow wrapped with custom settings that override my system's, but not sure | 13:43:19 |
Jan Tojnar | what apps? are they GTK3? | 14:43:19 |
Jan Tojnar | piegames: wrappers do not change values of settings, only the defaults | 14:43:54 |
piegames | Jan Tojnar: I get this with Chromium when I enable experimental Wayland support, and with Eclipse. But I also remember running into this with my own GTK application. Other GTK applications are fine, however. | 14:46:16 |
Jan Tojnar | piegames: chromium does weird things with theming so I cannot really say | 14:47:26 |
Jan Tojnar | and eclipse is java thing so probably still stuck on GTK2 | 14:47:44 |
Jan Tojnar | if your app is GTK 3, that would be something we could look into | 14:48:42 |
piegames | In reply to @jtojnar:matrix.org and eclipse is java thing so probably still stuck on GTK2 Nope, there's only one eclipse packaging left that still uses GTK2 (eclipse-scala-sdk, which is a weird branch-off Eclipse Oxygen (2017)) | 14:49:21 |
piegames | Okay, I'll try to reproduce it on my application with proper packaging and then come back (at the moment I'm using a simple shell.nix, so it's not really pure at all) | 14:50:07 |
Jan Tojnar | either way, it is some kind of weird java toolkit thing | 14:50:09 |
Jan Tojnar | so I am not really familiar with it | 14:50:26 |
Jan Tojnar | piegames: though, thinking about it, if you are still on old GNOME, that uses different schemas for some font settings | 14:57:57 |
Jan Tojnar | (hinting, etc.) | 14:58:11 |
piegames | I'm on 3.38 (and currently updating to 40) | 14:58:35 |
Jan Tojnar | I do not think it would affect the window buttons or theme, thouhg | 14:58:38 |
piegames | So these things are controlled via gsettings, so I guess some env variable/build sandboxing cuts off that connection, falling back to defaults | 14:59:24 |
Jan Tojnar | you can try running the app with G_MESSAGES_DEBUG=all | 15:00:26 |
Jan Tojnar | * you can try running the app with G_MESSAGES_DEBUG=all env var | 15:00:37 |
Jan Tojnar | it should at least tell you which gsettings backend is used | 15:00:53 |
Jan Tojnar | (should be dconf) | 15:00:59 |
| 6 Jun 2021 |
piegames | In reply to @jtojnar:matrix.org piegames: I think overrides à la haskell’s configuration common would be most convenient I just had a look at https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/default.nix. You sure about that? | 00:37:03 |
piegames | I mean, I'd be a really big gun for that problem … | 00:37:14 |
piegames | * I mean, it'd be a really big gun for that problem … | 00:37:18 |
Jan Tojnar | piegames: no need to go all out with multi-layer overlays, just meant the general direction that we would have an overlay that could fix issues like https://github.com/NixOS/nixpkgs/blob/4a34590eced7ec7aadf4a64105d7a88125919738/pkgs/development/haskell-modules/configuration-common.nix#L16-L21 | 06:48:01 |
hmenke | Jan Tojnar: I tried looking at sysprof, but as I said there is no actual resource congestion. The system load doesn't increase during those freezes. It appears to me as if the screen is just not refreshed. | 13:17:31 |
-(𝕂eloτ)- | Redacted or Malformed Event | 13:18:10 |
hmenke | Also sysprof is not too useful right now, because I'm not really sure what I am looking for. | 13:18:48 |
hmenke | I've also checked the settings and found that the maximum refresh rate that I can choose is 59.95 Hz, when the display is actually rated for 60 Hz. Maybe that is an indication. | 13:18:49 |