From 8b41dbe6772130f5efe642b8dcfc18446a558502 Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 13 Jun 2014 20:05:50 +0200 Subject: Fixes to show crappy Unity again (this desktop is a pretty evil hack which might change with next update again significantly) --- src/initramfs/distro-specs/ubuntu/functions-14.04 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/initramfs/distro-specs/ubuntu/functions-14.04 b/src/initramfs/distro-specs/ubuntu/functions-14.04 index 291edfd5..fdbad5c2 100644 --- a/src/initramfs/distro-specs/ubuntu/functions-14.04 +++ b/src/initramfs/distro-specs/ubuntu/functions-14.04 @@ -59,12 +59,14 @@ required." >/mnt/etc/init.inactive/README # apt stuff testmkd /mnt/var/cache/apt/archives/partial - # Gnome/Unity panel stuff + # Gnome/Unity panel stuff and startup fixes (nasty crap) echo -e "[D-BUS Service]\nName=com.canonical.Unity.Panel.Service\n\ Exec=/usr/lib/unity/unity-panel-service" >/mnt/usr/share/dbus-1/services/com.canonical.Unity.Panel.Service.service echo -e "[Desktop Entry]\nType=Application\nName=Unity Panel Service\n\ Exec=/usr/lib/unity/unity-panel-service\nOnlyShowIn=Unity;\n\ -NoDisplay=true" >/mnt/etc/xdg/autostart/unity-panel-service.desktop +NoDisplay=true\nAutostartCondition=GNOME3 if-session ubuntu" >/mnt/etc/xdg/autostart/unity-panel-service.desktop + echo -e "#!/bin/ash\ntouch /tmp/washereagain\n\ +export COMPIZ_CONFIG_PROFILE='ubuntu'\n" >/mnt/etc/X11/Xsession.d/95-compiz # add the slx specific path (/var/opt/openslx/bin) to the PATH variable echo -e "# stuff generated by $0 (out of InitRamFS written $date)\n\ -- cgit v1.2.3-55-g7522