Hello,
I'm packaging TDE for RHEL and Fedora, but trying to keep each
distribution specific artwork (at least, the default wallpaper, and the
default "start" button in kicker). That way, TDE looks like it is
integrated in each distro.
To do so, I currently modify the default 'startkde' script, so that
default user preference file are created upon first login.
In fact, there are ubuntu-specific stuff in the default startkde script,
I just wrote a patch that replaces ubuntu stuff with RHEL/Fedora stuff.
For example, something like this is done in startkde for RHEL/Fedora:
if [ ! -e $kdehome/share/config/kdesktoprc ]; then
cat <<EOF >$kdehome/share/config/kickerrc
[KMenu]
CustomIcon=/usr/share/pixmaps/redhat-starthere.png
EOF
fi
if [ ! -e $kdehome/share/config/kickerrc ]; then
cat >$kdehome/share/config/kdesktoprc <<EOF
[Desktop0]
Wallpaper=/usr/share/backgrounds/verne/default/standard/verne.png
WallpaperMode=Scaled
EOF
fi
Now, I do not want to maintain patches the startkde script anymore, for
distribution-specific purposes.
What is the correct place to set these settings ?
BTW, I already found that:
TDM wallpaper: set in tdebase/tdm/kfrontend/gentdmconf.c
TDE wallpaper set via kpersonalizer: tdebase/kpersonalizer/keyecandypage.cpp
Should we consider an easy way (e.g. a cmake directive ...) to put the
distribution-specific artwork at build time ?
Thanks
Francois