summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2019-02-02 17:42:59 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2019-02-02 17:42:59 +0000
commit633afb5bcf12ae77996891d2b94e0942b311eaca (patch)
treee617a5a505a88b271e6a388bfb0f56edf100ae0e /config
parent1444f545271fc5351c0bcf692c033d3a7a123714 (diff)
downloaddraklive-config-633afb5bcf12ae77996891d2b94e0942b311eaca.tar
draklive-config-633afb5bcf12ae77996891d2b94e0942b311eaca.tar.gz
draklive-config-633afb5bcf12ae77996891d2b94e0942b311eaca.tar.bz2
draklive-config-633afb5bcf12ae77996891d2b94e0942b311eaca.tar.xz
draklive-config-633afb5bcf12ae77996891d2b94e0942b311eaca.zip
Enable the gnome-shell topicons extension by default (mga#23795).
Diffstat (limited to 'config')
-rw-r--r--config/build.cfg9
1 files changed, 9 insertions, 0 deletions
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,