Jump to content

CDE: Difference between revisions

890 bytes added ,  3 June 2020
no edit summary
imported>User
No edit summary
imported>User
No edit summary
Line 100: Line 100:


Put .jpg or .png under ~/.dt/backdrops then select it in Style Manager / Backdrop
Put .jpg or .png under ~/.dt/backdrops then select it in Style Manager / Backdrop
== Gtk and Qt theme ==
Add to your configuration
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
  services.xserver.desktopManager.cde.extraPackages = with pkgs;
    options.services.xserver.desktopManager.cde.extraPackages.default ++ [
      cde-gtk-theme
    ];
  environment.etc."xdg/gtk-2.0/gtkrc".text = ''
    gtk-theme-name="cdetheme"
  '';
  environment.etc."xdg/gtk-3.0/settings.ini".text = ''
    [Settings]
    gtk-theme-name=cdetheme
  '';
  qt5 = {
    enable = true;
    platformTheme = "gtk2";
    style = "gtk2";
  };
</nowiki>}}
Now copy the theme to home directory and adjust the colors to match your main CDE palette
  mkdir -p ~/.themes
  cp -Lr --no-preserve=mode /run/current-system/sw/share/themes/cdetheme ~/.themes/
  chmod +x ~/.themes/cdetheme/scripts/switchtheme
  cd ~/.themes/cdetheme/scripts/
  ./switchtheme ../palettes/Arizona.dp 8 3 22 false true false


== Useful sources ==
== Useful sources ==
Anonymous user