summaryrefslogtreecommitdiffstats
path: root/src/initramfs/distro-specs/ubuntu/functions-14.04
diff options
context:
space:
mode:
Diffstat (limited to 'src/initramfs/distro-specs/ubuntu/functions-14.04')
-rw-r--r--src/initramfs/distro-specs/ubuntu/functions-14.046
1 files changed, 4 insertions, 2 deletions
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\