Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-02-15 22:00:25

golinux
Member
Registered: 2011-11-19
Posts: 127

How to override/change the default theme in the source?

Is there a list/guide somewhere of all the hooks in the source that relate to changing/overriding the default Xfce desktop theme?  Over at Devuan we're having trouble sorting this so that we can rebuild the appropriate packages. Searches have plenty of guides for changing the theme in an already installed desktop not the source.   Any suggestions/pointers would be appreciated.  Thanks.

golinux

Offline

#2 2017-02-16 00:54:41

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,998

Re: How to override/change the default theme in the source?

xfce4-settings (xfsettingsd) is the Xfce component that applies gtk settings. I am unaware of a list or guide that goes into any detail, so you're probably stuck with trawling through the code.

Can you give an example of what you're trying to do?


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

#3 2017-02-16 02:47:50

golinux
Member
Registered: 2011-11-19
Posts: 127

Re: How to override/change the default theme in the source?

ToZ wrote:

xfce4-settings (xfsettingsd) is the Xfce component that applies gtk settings. I am unaware of a list or guide that goes into any detail, so you're probably stuck with trawling through the code.

Can you give an example of what you're trying to do?

We're trying to integrate the custom wallpaper, WM theme (including xfwm), cursor and panel settings.  We already have an idea of where the changes need to be made but I'm not actually them or the packaging so can't provide details.  All I know is that the first attempt broke some things in the main settings menu.  I was hoping there was a list of specific hooks and their location.  Or maybe even a shell script to do everything all at once.  In any case, I'll share the links . . . there might be some useful info in there.  And I'll poke around them - maybe something will pop out at me.   Thanks.  smile

Offline

#4 2017-02-16 15:57:18

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: How to override/change the default theme in the source?

for the theme stuff you could use etc/xdg eg: I do this here: https://github.com/sixsixfive/Hedera/tr … onfigs/etc and ask for change with a postinst: https://github.com/sixsixfive/Hedera/bl … n/postinst (but you can also force it like all the other distro artwork packages)

also afaik xfconf uses /etc/xdg,too so it should be possible to store the default settings there

also wallpaper could be a bit more complicated since it is set for every monitor and virtual screen separately

Last edited by sixsixfive (2017-02-16 15:59:36)

Offline

#5 2017-02-17 04:27:30

golinux
Member
Registered: 2011-11-19
Posts: 127

Re: How to override/change the default theme in the source?

Thanks, sixsixfive.  Took a look - interesting - and passed on the info.

Offline

Board footer

Powered by FluxBB