2019-11-06 21:29:33 +01:00

33 lines
1.4 KiB
Markdown

# kali-themes
This package joins together all files that are related to theming
and configuration of the visual appearance. They were formerly split
across gnome-theme-kali, kali-defaults and desktop-base.
## desktop-base integration
desktop-base integration is provided by kali-desktop-base through
registration of various files in alternatives defined by the desktop-base
package. The files are not installed in /usr/share/desktop-base/
except for a symlink tree mimicking a "destkop-base theme". That symlink
tree is pre-built in the "desktop-base" directory in the source package.
The kali-themes-common package is also installing various symlinks
trees to mimick directories that are traditionnally handled by
desktop-base. Most notably the directories in /usr/share/wallpapers/ that
are used by KDE.
## configuration files
The configuration files stored in the "etc" sub-directory are installed
as is in the "kali-themes" package. However the files listed in
"files-to-divert" are first diverted by dpkg-divert and the actual
files are stored in /usr/share/kali-themes/etc/ and copied in their
target location by the postinst script (see debian/kali-themes.postinst).
When you add a new file that needs to be diverted, you can update
the list in "files-to-divert" and run "debian/update-maintainer-scripts"
to update the list of files in the 3 maintainer scripts. But you also
need to add a snippet in debian/kali-themes.preinst to setup the new
diversion on upgrade.