@RequiresBackgroundThread
  @ApiStatus.Internal
  public static @Nullable String getWindowButtonsConfig() {
    ThreadingAssertions.assertBackgroundThread();
    if (SystemInfo.isGNOME || SystemInfo.isKDE) {
      String execResult =
        exec("Cannot get gnome WM buttons layout", "gsettings", "get", "org.gnome.desktop.wm.preferences", "button-layout");
      return trimQuotes(execResult);
    }

    return null;
  }
@RequiresBackgroundThread
  @ApiStatus.Internal
  public static @Nullable String getWindowButtonsConfig()