You are not logged in.
Basically i prefer Adwaita light them for desktop environment, I prefer terminal alone set to dark theme,
OS: Arch Linux
Kernel: 5.14.16
DE: xfce 4.16
WM: Xfwm4
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: xfce4-terminal
I tried this command from terminal and it did not work., I have set it
GTK_THEME=Adwaita-dark xfce4-terminal
env GTK_THEME=Adwaita-dark xfce4-terminal
both did not work
I even edited and applied the above command in xfce4-terminal.desktop in /usr/share/applications/xfce4-terminal.dekstop file
still not working any help please How to set Adwaita-dark theme to xfce4-terminal application, not setting theme globally.
Regards
Offline
xfce4-terminal will connect new windows to the existing process, using its environment variables. To bypass this, also pass the "--disable-server" parameter:
GTK_THEME=Adwaita-dark xfce4-terminal --disable-server
...or, if you don't have an Adwaita-dark theme installed, you can use the fallback Adwaita theme via:
GTK_THEME=Adwaita:dark xfce4-terminal --disable-server
(note the ":" instead of the "-").
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Now I tried both the ways as mentioned
still dark theme does't set.
Last edited by sureshsaragadam (2021-11-08 11:56:15)
Offline
Can you post screenshots? Make sure you are viewing some GTK3 elements that will change, like the menubar or toolbar. Or make sure "Use system theme colors..." is selected in Preferences (Colors tab).
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for the quick reply,
The above reference command worked. After settings "use system theme colors"
It has set the default theme of my system to Adwaita and then to Adwaita-dark after that command
GTK_THEME=Adwaita:dark xfce4-terminal --disable-server
but my title bar color still has not changed to dark theme.
I am unable to add the image i am sharing the link of the image here for quick ref.
https://drive.google.com/file/d/1DfQxNB … sp=sharing
Regards
Offline
My guess is that the Window Manager theme you are using does not incorporate gtk colour pickup, but rather hard codes the colours. Which xfwm4 theme are you using?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
In xfwm4-settings it is in default theme,
It is set to default theme in Window Manager
I find no color option there.
Offline
Can you post back:
xfconf-query -c xfwm4 -p /general/theme
...and:
ls -l /usr/share/themes/$(xfconf-query -c xfwm4 -p /general/theme)/xfwm4
The colour options are in the THEMENAME/xfwm4/*.xpm files for that window manager theme. The Default xfwm4 theme has them, so its strange that your titlebar is not changing colours.
Edit: Also:
xfconf-query -c xsettings -p /Net/ThemeName
Last edited by ToZ (2021-11-08 18:58:46)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[suresh@mylinux ~]$ xfconf-query -c xfwm4 -p /general/theme
Default
[suresh@mylinux ~]$ls -l /usr/share/themes/$(xfconf-query -c xfwm4 -p /general/theme)/xfwm4
rw-r--r-- 1 root root 96 Jun 3 09:12 bottom-active.png
-rw-r--r-- 1 root root 292 Jun 3 09:12 bottom-active.xpm
-rw-r--r-- 1 root root 96 Jun 3 09:12 bottom-inactive.png
-rw-r--r-- 1 root root 298 Jun 3 09:12 bottom-inactive.xpm
-rw-r--r-- 1 root root 119 Jun 3 09:12 bottom-left-active.png
-rw-r--r-- 1 root root 478 Jun 3 09:12 bottom-left-active.xpm
-rw-r--r-- 1 root root 119 Jun 3 09:12 bottom-left-inactive.png
-rw-r--r-- 1 root root 484 Jun 3 09:12 bottom-left-inactive.xpm
-rw-r--r-- 1 root root 119 Jun 3 09:12 bottom-right-active.png
-rw-r--r-- 1 root root 479 Jun 3 09:12 bottom-right-active.xpm
-rw-r--r-- 1 root root 119 Jun 3 09:12 bottom-right-inactive.png
-rw-r--r-- 1 root root 485 Jun 3 09:12 bottom-right-inactive.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 close-active.png
-rw-r--r-- 1 root root 953 Jun 3 09:12 close-active.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 close-inactive.png
-rw-r--r-- 1 root root 963 Jun 3 09:12 close-inactive.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 close-prelight.png
-rw-r--r-- 1 root root 992 Jun 3 09:12 close-prelight.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 close-pressed.png
-rw-r--r-- 1 root root 993 Jun 3 09:12 close-pressed.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 hide-active.png
-rw-r--r-- 1 root root 952 Jun 3 09:12 hide-active.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 hide-inactive.png
-rw-r--r-- 1 root root 962 Jun 3 09:12 hide-inactive.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 hide-prelight.png
-rw-r--r-- 1 root root 991 Jun 3 09:12 hide-prelight.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 hide-pressed.png
-rw-r--r-- 1 root root 992 Jun 3 09:12 hide-pressed.xpm
-rw-r--r-- 1 root root 98 Jun 3 09:12 left-active.png
-rw-r--r-- 1 root root 370 Jun 3 09:12 left-active.xpm
-rw-r--r-- 1 root root 98 Jun 3 09:12 left-inactive.png
-rw-r--r-- 1 root root 372 Jun 3 09:12 left-inactive.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 maximize-active.png
-rw-r--r-- 1 root root 956 Jun 3 09:12 maximize-active.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 maximize-inactive.png
-rw-r--r-- 1 root root 966 Jun 3 09:12 maximize-inactive.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 maximize-prelight.png
-rw-r--r-- 1 root root 995 Jun 3 09:12 maximize-prelight.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 maximize-pressed.png
-rw-r--r-- 1 root root 996 Jun 3 09:12 maximize-pressed.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 maximize-toggled-active.png
-rw-r--r-- 1 root root 956 Jun 3 09:12 maximize-toggled-active.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 maximize-toggled-inactive.png
-rw-r--r-- 1 root root 966 Jun 3 09:12 maximize-toggled-inactive.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 maximize-toggled-prelight.png
-rw-r--r-- 1 root root 995 Jun 3 09:12 maximize-toggled-prelight.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 maximize-toggled-pressed.png
-rw-r--r-- 1 root root 996 Jun 3 09:12 maximize-toggled-pressed.xpm
-rw-r--r-- 1 root root 136 Jun 3 09:12 menu-active.png
-rw-r--r-- 1 root root 866 Jun 3 09:12 menu-active.xpm
-rw-r--r-- 1 root root 136 Jun 3 09:12 menu-inactive.png
-rw-r--r-- 1 root root 872 Jun 3 09:12 menu-inactive.xpm
-rw-r--r-- 1 root root 136 Jun 3 09:12 menu-prelight.png
-rw-r--r-- 1 root root 866 Jun 3 09:12 menu-prelight.xpm
-rw-r--r-- 1 root root 136 Jun 3 09:12 menu-pressed.png
-rw-r--r-- 1 root root 867 Jun 3 09:12 menu-pressed.xpm
-rw-r--r-- 1 root root 179 Jun 3 09:12 README
-rw-r--r-- 1 root root 96 Jun 3 09:12 right-active.png
-rw-r--r-- 1 root root 371 Jun 3 09:12 right-active.xpm
-rw-r--r-- 1 root root 96 Jun 3 09:12 right-inactive.png
-rw-r--r-- 1 root root 373 Jun 3 09:12 right-inactive.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 shade-active.png
-rw-r--r-- 1 root root 953 Jun 3 09:12 shade-active.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 shade-inactive.png
-rw-r--r-- 1 root root 963 Jun 3 09:12 shade-inactive.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 shade-prelight.png
-rw-r--r-- 1 root root 992 Jun 3 09:12 shade-prelight.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 shade-pressed.png
-rw-r--r-- 1 root root 993 Jun 3 09:12 shade-pressed.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 shade-toggled-active.png
-rw-r--r-- 1 root root 953 Jun 3 09:12 shade-toggled-active.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 shade-toggled-inactive.png
-rw-r--r-- 1 root root 963 Jun 3 09:12 shade-toggled-inactive.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 shade-toggled-prelight.png
-rw-r--r-- 1 root root 992 Jun 3 09:12 shade-toggled-prelight.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 shade-toggled-pressed.png
-rw-r--r-- 1 root root 993 Jun 3 09:12 shade-toggled-pressed.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 stick-active.png
-rw-r--r-- 1 root root 953 Jun 3 09:12 stick-active.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 stick-inactive.png
-rw-r--r-- 1 root root 963 Jun 3 09:12 stick-inactive.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 stick-prelight.png
-rw-r--r-- 1 root root 992 Jun 3 09:12 stick-prelight.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 stick-pressed.png
-rw-r--r-- 1 root root 993 Jun 3 09:12 stick-pressed.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 stick-toggled-active.png
-rw-r--r-- 1 root root 953 Jun 3 09:12 stick-toggled-active.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 stick-toggled-inactive.png
-rw-r--r-- 1 root root 963 Jun 3 09:12 stick-toggled-inactive.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 stick-toggled-prelight.png
-rw-r--r-- 1 root root 992 Jun 3 09:12 stick-toggled-prelight.xpm
-rw-r--r-- 1 root root 133 Jun 3 09:12 stick-toggled-pressed.png
-rw-r--r-- 1 root root 993 Jun 3 09:12 stick-toggled-pressed.xpm
-rw-r--r-- 1 root root 522 Jun 3 09:12 themerc
-rw-r--r-- 1 root root 121 Jun 3 09:12 title-1-active.png
-rw-r--r-- 1 root root 344 Jun 3 09:12 title-1-active.xpm
-rw-r--r-- 1 root root 121 Jun 3 09:12 title-1-inactive.png
-rw-r--r-- 1 root root 350 Jun 3 09:12 title-1-inactive.xpm
-rw-r--r-- 1 root root 121 Jun 3 09:12 title-2-active.png
-rw-r--r-- 1 root root 344 Jun 3 09:12 title-2-active.xpm
-rw-r--r-- 1 root root 121 Jun 3 09:12 title-2-inactive.png
-rw-r--r-- 1 root root 350 Jun 3 09:12 title-2-inactive.xpm
-rw-r--r-- 1 root root 121 Jun 3 09:12 title-3-active.png
-rw-r--r-- 1 root root 344 Jun 3 09:12 title-3-active.xpm
-rw-r--r-- 1 root root 121 Jun 3 09:12 title-3-inactive.png
-rw-r--r-- 1 root root 350 Jun 3 09:12 title-3-inactive.xpm
-rw-r--r-- 1 root root 121 Jun 3 09:12 title-4-active.png
-rw-r--r-- 1 root root 344 Jun 3 09:12 title-4-active.xpm
-rw-r--r-- 1 root root 121 Jun 3 09:12 title-4-inactive.png
-rw-r--r-- 1 root root 350 Jun 3 09:12 title-4-inactive.xpm
-rw-r--r-- 1 root root 121 Jun 3 09:12 title-5-active.png
-rw-r--r-- 1 root root 344 Jun 3 09:12 title-5-active.xpm
-rw-r--r-- 1 root root 121 Jun 3 09:12 title-5-inactive.png
-rw-r--r-- 1 root root 350 Jun 3 09:12 title-5-inactive.xpm
-rw-r--r-- 1 root root 224 Jun 3 09:12 top-left-active.png
-rw-r--r-- 1 root root 463 Jun 3 09:12 top-left-active.xpm
-rw-r--r-- 1 root root 224 Jun 3 09:12 top-left-inactive.png
-rw-r--r-- 1 root root 469 Jun 3 09:12 top-left-inactive.xpm
-rw-r--r-- 1 root root 238 Jun 3 09:12 top-right-active.png
-rw-r--r-- 1 root root 464 Jun 3 09:12 top-right-active.xpm
-rw-r--r-- 1 root root 238 Jun 3 09:12 top-right-inactive.png
-rw-r--r-- 1 root root 470 Jun 3 09:12 top-right-inactive.xpm
[suresh@mylinux ~]$ xfconf-query -c xsettings -p /Net/ThemeName
Adwaita
Offline
Can you post the contents of /usr/share/themes/Default/xfwm4/title-3-active.xpm?
Also, run this command (sets GTK3 theme to fallback) and try to run xfce4-terminal in dark mode again:
xfconf-query -c xsettings -p /Net/ThemeName -s ""
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
content of the file /usr/share/themes/Default/xfwm4/title-3-active.xpm?
* XPM */
static char * title_active_xpm[] = {
"4 29 2 1",
" c None",
". c #C0C0FF s active_mid_2",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
"....",
AS A ROOT I AM GETTING AN ERROR EXECUTING
[root@mylinux suresh]# xfconf-query -c xsettings -p /Net/ThemeName -s ""
Failed to init libxfconf: The connection is closed.
WITH OUT ROOT NO ERRORS BUT NOT WORKING FOR TITLE BAR DARK THEME
Offline
Is there any content in ~/.config/gtk-3.0/gtk.css or ~/.gtkrc-2.0 that may be overriding the settings?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
there is no .gtkrc-2.0 file, and gtk.css in gtk-3.0 has only one line
tooltip { opacity: 0}
Offline
Sorry, my bad. I had enabled CSD system-wide on my test system and it was interfering with my results. With it disabled, then I am seeing what you are seeing.
There is no easy way to change titlebar color to dark as well, unless of course, you enable CSD for that application. To do so, try this command:
GTK_CSD=1 GTK_THEME=Adwaita:dark xfce4-terminal --disable-server
This will enable CSD decorations on the terminal, change the colours of the theme to it's dark variant, and because you have forced CSD it will also colour the "titlebar" dark. The downside is, that it is now a CSD decorated window. This may or may not be what you want.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
CSD ENABLED as in the command still did not work either, but there lies the issue, because i have downloaded 'tilix' it has the option to mimic with CSD, tilix worked fine with inbuilt dark mode theme which changed the title-bar color.
and this command did not work enabling CSD, I am planning to completely shift to dark theme sytem-wide, may be that is a generous solution for the issue.
solution lies with Client-side decoration (CSD).
Last edited by sureshsaragadam (2021-11-09 11:36:53)
Offline
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 627.18 KiB (Peak: 660.46 KiB) ]