Drop forgotten diversion of /usr/share/xsessions/gnome-fallback.desktop.
Add diversion of /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
to set the default theme to the kali one.
Raphaël Hertzog
8 years ago
1 | 1 | --------------------------------- |
2 | 2 | |
3 | 3 | Most of the interesting configuration changes made by this |
4 | package are in debian/kali-defaults.gsettings-override. | |
4 | package are in debian/kali-defaults.gsettings-override and | |
5 | in dconf/kali-tweaks. | |
5 | 6 | |
6 | gdm sessions | |
7 | ------------ | |
7 | diversion of various files | |
8 | -------------------------- | |
8 | 9 | |
9 | Special diversions are made with gdm's xsessions files so that the | |
10 | default.desktop file defining the default session that gdm launches | |
11 | is the session that Kali wants. | |
12 | ||
13 | /usr/share/gdm/BuiltInSessions/default.desktop is moved away | |
14 | while /usr/share/xsessions/gnome-fallback.desktop is renamed | |
15 | into default.desktop. | |
16 | ||
17 | NOTE: If gnome-flashback is not installed, the default will be | |
18 | the first session by alphabetical order. | |
10 | The package also diverts some files when the configuration system | |
11 | does not offer something better. |
0 | kali-defaults (2.0~14) UNRELEASED; urgency=medium | |
0 | kali-defaults (2.0~14) kali-dev; urgency=medium | |
1 | 1 | |
2 | 2 | * Move the dock to the left. |
3 | * Drop forgotten diversion of /usr/share/xsessions/gnome-fallback.desktop. | |
4 | * Add diversion of /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml | |
5 | to set the default theme to the kali one. | |
3 | 6 | |
4 | 7 | -- Raphaël Hertzog <[email protected]> Fri, 12 Jun 2015 15:45:57 +0200 |
5 | 8 |
4 | 4 | browser/bookmarks.html usr/share/kali-defaults/ |
5 | 5 | browser/localstore.rdf usr/share/kali-defaults/ |
6 | 6 | browser/web usr/share/kali-defaults/ |
7 | xfce/xsettings.xml usr/share/kali-defaults/ | |
7 | 8 | dconf/user etc/dconf/profile/ |
8 | 9 | dconf/kali-tweaks etc/dconf/db/local.d/ |
9 | 10 | postgresql/kali_postgresql.conf lib/systemd/system/[email protected]/ |
7 | 7 | --divert /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml.original \ |
8 | 8 | --remove /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml |
9 | 9 | fi |
10 | if dpkg --compare-versions "$2" lt-nl 2.0~14; then | |
11 | dpkg-divert --rename --package kali-defaults \ | |
12 | --divert /usr/share/xsessions/default.desktop \ | |
13 | --remove /usr/share/xsessions/gnome-fallback.desktop | |
14 | fi | |
10 | 15 | |
11 | 16 | for file in /etc/iceweasel/profile/localstore.rdf /etc/iceweasel/profile/bookmarks.html \ |
12 | /etc/skel/.bashrc | |
17 | /etc/skel/.bashrc /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml | |
13 | 18 | do |
14 | 19 | orig_file="/usr/share/kali-defaults/$(basename $file)" |
15 | 20 | if [ ! -e $file ] && [ -e $orig_file ]; then |
27 | 27 | remove) |
28 | 28 | for file in /etc/iceweasel/profile/localstore.rdf \ |
29 | 29 | /etc/iceweasel/profile/bookmarks.html \ |
30 | /etc/skel/.bashrc | |
30 | /etc/skel/.bashrc \ | |
31 | /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml | |
31 | 32 | do |
32 | 33 | rm -f $file |
33 | 34 | drop_diversion $file $file.original |
29 | 29 | /etc/iceweasel/profile/localstore.rdf |
30 | 30 | /etc/iceweasel/profile/bookmarks.html |
31 | 31 | /etc/skel/.bashrc |
32 | /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml | |
32 | 33 | " |
33 | 34 | |
34 | 35 | case "$1" in |
35 | 36 | install) |
36 | 37 | setup_diversions $TO_DIVERT |
37 | setup_diversion /usr/share/xsessions/gnome-fallback.desktop \ | |
38 | /usr/share/xsessions/default.desktop | |
39 | 38 | ;; |
40 | 39 | |
41 | 40 | upgrade) |
45 | 44 | fi |
46 | 45 | if dpkg --compare-versions "$2" lt 0.8; then |
47 | 46 | setup_diversions /etc/skel/.bashrc |
47 | fi | |
48 | if dpkg --compare-versions "$2" lt 2.0~14; then | |
49 | setup_diversions /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml | |
48 | 50 | fi |
49 | 51 | ;; |
50 | 52 |
0 | <?xml version="1.0" encoding="UTF-8"?> | |
1 | ||
2 | <channel name="xsettings" version="1.0"> | |
3 | <property name="Net" type="empty"> | |
4 | <property name="ThemeName" type="string" value="Kali-X"/> | |
5 | <property name="IconThemeName" type="string" value="Vibrancy-Kali"/> | |
6 | <property name="DoubleClickTime" type="empty"/> | |
7 | <property name="DoubleClickDistance" type="empty"/> | |
8 | <property name="DndDragThreshold" type="empty"/> | |
9 | <property name="CursorBlink" type="empty"/> | |
10 | <property name="CursorBlinkTime" type="empty"/> | |
11 | <property name="SoundThemeName" type="empty"/> | |
12 | <property name="EnableEventSounds" type="empty"/> | |
13 | <property name="EnableInputFeedbackSounds" type="empty"/> | |
14 | </property> | |
15 | <property name="Xft" type="empty"> | |
16 | <property name="DPI" type="empty"/> | |
17 | <property name="Antialias" type="empty"/> | |
18 | <property name="Hinting" type="empty"/> | |
19 | <property name="HintStyle" type="empty"/> | |
20 | <property name="RGBA" type="empty"/> | |
21 | </property> | |
22 | <property name="Gtk" type="empty"> | |
23 | <property name="CanChangeAccels" type="empty"/> | |
24 | <property name="ColorPalette" type="empty"/> | |
25 | <property name="FontName" type="empty"/> | |
26 | <property name="IconSizes" type="empty"/> | |
27 | <property name="KeyThemeName" type="empty"/> | |
28 | <property name="ToolbarStyle" type="empty"/> | |
29 | <property name="ToolbarIconSize" type="empty"/> | |
30 | <property name="MenuImages" type="empty"/> | |
31 | <property name="ButtonImages" type="empty"/> | |
32 | <property name="MenuBarAccel" type="empty"/> | |
33 | <property name="CursorThemeName" type="empty"/> | |
34 | <property name="CursorThemeSize" type="empty"/> | |
35 | </property> | |
36 | </channel> |