summaryrefslogtreecommitdiffstats
path: root/src/initramfs/distro-specs/ubuntu/functions-14.04
diff options
context:
space:
mode:
authorDirk2014-06-13 20:05:50 +0200
committerDirk2014-06-13 20:05:50 +0200
commit8b41dbe6772130f5efe642b8dcfc18446a558502 (patch)
tree97e9605a03c74891fd6168af86640c6c1362a95a /src/initramfs/distro-specs/ubuntu/functions-14.04
parentRequired fixes for device mount and audio ... (diff)
downloadcore-8b41dbe6772130f5efe642b8dcfc18446a558502.tar.gz
core-8b41dbe6772130f5efe642b8dcfc18446a558502.tar.xz
core-8b41dbe6772130f5efe642b8dcfc18446a558502.zip
Fixes to show crappy Unity again (this desktop is a pretty evil hack which might change with next update again significantly)
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\