set window manager theme by command?

Ralf Mardorf ralf.mardorf at alice-dsl.net
Mon Oct 10 12:23:46 CEST 2016


On Mon, 10 Oct 2016 11:46:08 +0200, Ulli Horlacher wrote:
>Is there a shell command to set the window manager theme?

Just a shot in the dark...

[rocketmouse at archlinux ~]$ grep theme .config/xfce4/xfconf/xfce-perchannel-xml/*
.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml:    <property name="theme" type="string" value="Default"/>

...perhaps replacing "Default" by a theme name works around the issue.
OTOH I don't know for what theme this value is used.

Ensure that the value...

[rocketmouse at archlinux ~]$ grep -i zen .config/xfce4/xfconf/xfce-perchannel-xml/*
.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml:    <property name="ThemeName" type="string" value="Zen-verda"/>

...is set to the wanted theme name and restart the window manager. I
don't know if     xfwm4 --replace     does replace itself, IOW does
cause a restart.

I never used it, but there's an app named xfce-theme-manager available,
but perhaps it doesn't set the theme, maybe it's just a theme editor or
what ever else.

Regards,
Ralf


More information about the Xfce mailing list