postinst 765 Bytes
Newer Older
Jonathan Carter's avatar
Jonathan Carter committed
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

glib-compile-schemas /usr/share/glib-2.0/schemas/
glib-compile-schemas /usr/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/schemas/
update-desktop-database
update-mime-database /usr/share/mime

# For Su Finance system keybindings
[ -e /etc/X11/app-defaults/XTerm.orig ] || \
(cp /etc/X11/app-defaults/XTerm /etc/X11/app-defaults/XTerm.orig && cat /etc/X11/app-defaults/XTerm.QVT >> /etc/X11/app-defaults/XTerm)
Jonathan Carter's avatar
Jonathan Carter committed
11
12
13
14
15
16
17
18
19

# We play it very conservative, if this file doessn't exist at all,
# we write it.
if [ ! -f /etc/gdm3/custom.conf ]; then
    echo "# On AIMS Desktop systems, set this to true if you want Wayland" \
	 > /etc/gdm3/custom.conf
    echo "[daemon]" >> /etc/gdm3/custom.conf
    echo "WaylandEnable=false" >> /etc/gdm3/custom.conf
fi