Xfce Forum

Sub domains
 

You are not logged in.

#1 2026-02-01 05:30:13

lancsuk
Member
Registered: 2020-03-08
Posts: 3
LinuxFirefox 140.0

[XFWM4] Howto modify default theme hardcoded?

Hiya guys, I would like to modify ( hardcoded ) the XFWM4 default theme. Does anyone know the hardcoded XFWM4 settings?

cheers

Offline

#2 2026-02-01 11:47:38

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,463
LinuxFirefox 147.0

Re: [XFWM4] Howto modify default theme hardcoded?

Why do you want to do this? Couldn't you just change it when needed?

If you're asking about a default for new users, there are 3 options you could consider (you would need to test these):

  1. Copy a working xfwm4.xml from ~/.config/xfce4/xfconf/xfce-perchannel-xml to /etc/xdg/xfce4/xfconf/xfce-perchannel-xml. When a new user logs in, files from this location pre-populate new user defaults.

  2. Put the xfwm4.xml file in /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml for same reason, if above doesn't work. The copy will happen when a new user account is created.

  3. Create a script and drop entry into ~/.config/autostart that runs the command:

    xfconf-query -c xfwm4 -p /general/theme -s "YOUR_THEME_NAME"

    ...it will be executed during login. If you only want this done once, during first login, you'll need to add some logic to the script to manage this.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 524.66 KiB (Peak: 525.63 KiB) ]