From 633afb5bcf12ae77996891d2b94e0942b311eaca Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 2 Feb 2019 17:42:59 +0000 Subject: Enable the gnome-shell topicons extension by default (mga#23795). --- config/build.cfg | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/build.cfg b/config/build.cfg index 9d0b05e..4c6bd50 100644 --- a/config/build.cfg +++ b/config/build.cfg @@ -258,6 +258,15 @@ my $config = { "systemctl -q enable NetworkManager-wait-online.service", "sed -i 's/NETWORK=yes/NETWORK=no/' /etc/draklive-install.d/sysconfig/finish-install", "echo 'AUTOSTART=FALSE' > /home/live/.net_applet", + + # Enable the TopIcons extension + "mkdir -p /etc/dconf/db/local.d", + "echo -e \"[org/gnome/shell]\nenabled-extensions=['TopIcons\@phocean.net']\" > /etc/dconf/db/local.d/00-extensions", + "echo -e \"user-db:user\nsystem-db:local\" > /etc/dconf/profile/user", + "dconf update", + # and adjust its default position. + "sed -i 's/center/right/' /usr/share/gnome-shell/extensions/TopIcons\@phocean.net/schemas/org.gnome.shell.extensions.topicons.gschema.xml", + "glib-compile-schemas /usr/share/gnome-shell/extensions/TopIcons\@phocean.net/schemas/", ), if_($has_plasma, -- cgit v1.2.1