diff mbox series

[bug#63500] gnu: xfce: Use "Greybird" and "elementary-xfce-dark" as default theme.

Message ID 189318d3772464a39e0fe1b92eabfee2072b1f11.1684065126.git.iyzsong@member.fsf.org
State New
Headers show
Series [bug#63500] gnu: xfce: Use "Greybird" and "elementary-xfce-dark" as default theme. | expand

Commit Message

vasilii.smirnov--- via Guix-patches" via May 14, 2023, 11:52 a.m. UTC
From: 宋文武 <iyzsong@member.fsf.org>

* gnu/packages/patches/xfce4-settings-defaults.patch: Set "ThemeName"
to "Greybird", "IconThemeName" to "elementary-xfce-dark".
* gnu/packages/xfce.scm (xfce)[inputs]: Add elementary-xfce-icon-theme.
---
 .../patches/xfce4-settings-defaults.patch       | 17 +++++++++--------
 gnu/packages/xfce.scm                           |  4 +---
 2 files changed, 10 insertions(+), 11 deletions(-)


base-commit: 3c8d0f9e71bbddfb5b1f098c713ff37553f0efcc

Comments

Brendan Tildesley May 15, 2023, 5:41 a.m. UTC | #1
Fantastic. I was just looking at making this patch yesterday.
It should be noted this is important because adwaita-icon-theme 42 has 
removed
icons useful to xfce, causing missing icons in the settings menu.
宋文武 May 17, 2023, 10:18 a.m. UTC | #2
Brendan Tildesley <mail@brendan.scot> writes:

> Fantastic. I was just looking at making this patch yesterday.
> It should be noted this is important because adwaita-icon-theme 42 has
> removed
> icons useful to xfce, causing missing icons in the settings menu.

Pushed to master now :)
diff mbox series

Patch

diff --git a/gnu/packages/patches/xfce4-settings-defaults.patch b/gnu/packages/patches/xfce4-settings-defaults.patch
index fe91ae5f70..ce5865c481 100644
--- a/gnu/packages/patches/xfce4-settings-defaults.patch
+++ b/gnu/packages/patches/xfce4-settings-defaults.patch
@@ -1,17 +1,18 @@ 
-This patch make Xfce use "gnome" as the default icon theme and enable font antialias.
+This patch make Xfce use "elementary-xfce-dark" as the default icon theme, "Greybird" as
+the default GTK theme and enable font antialias.
 
-Taken from ArchLinux.
 
-diff -upr xfce4-settings-4.12.0.orig/xfsettingsd/xsettings.xml xfce4-settings-4.12.0/xfsettingsd/xsettings.xml
---- xfce4-settings-4.12.0.orig/xfsettingsd/xsettings.xml	2015-02-24 03:33:11.000000000 +0200
-+++ xfce4-settings-4.12.0/xfsettingsd/xsettings.xml	2015-03-01 09:52:24.376869688 +0200
+diff -upr xfce4-settings-4.18.2.orig/xfsettingsd/xsettings.xml xfce4-settings-4.18.2/xfsettingsd/xsettings.xml
+--- xfce4-settings-4.18.2.orig/xfsettingsd/xsettings.xml	2023-02-11 16:55:53.000000000 +0800
++++ xfce4-settings-4.18.2/xfsettingsd/xsettings.xml	2023-05-14 19:20:43.919701586 +0800
 @@ -6,8 +6,8 @@
- <?xml version="1.0" encoding="UTF-8"?>
+ 
  <channel name="xsettings" version="1.0">
    <property name="Net" type="empty">
-     <property name="ThemeName" type="empty"/>
+-    <property name="ThemeName" type="empty"/>
 -    <property name="IconThemeName" type="empty"/>
-+    <property name="IconThemeName" type="string" value="gnome"/>
++    <property name="ThemeName" type="string" value="Greybird"/>
++    <property name="IconThemeName" type="string" value="elementary-xfce-dark"/>
      <property name="DoubleClickTime" type="int" value="400"/>
      <property name="DoubleClickDistance" type="int" value="5"/>
      <property name="DndDragThreshold" type="int" value="8"/>
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 38d77cace2..2eb90ed4b2 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1176,9 +1176,7 @@  (define-public xfce
      (list exo
            garcon
            adwaita-icon-theme
-           ;; Greybird is the recommend theme since Xfce 4.14, see:
-           ;; <https://mail.xfce.org/pipermail/xfce4-dev/2018-August/032151.html>
-           ;; TODO: Make it default via "xfconf/xfce/perchannel-xml/xsettinsg.xml"
+           elementary-xfce-icon-theme
            greybird-gtk-theme
            hicolor-icon-theme
            mate-polkit-for-xfce