I just installed the Cairo dock in gnome and would like to hide/remove the standard dash in gnome. I followed the instructions on the Cairo website (here). If i run the code in the terminal it works but i would like to run it on startup:
dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview._dash.actor.hide();'
I created a gedit file with this code in ~/Desktop and set execute permissions. I used the startup application (gnome-session-properties) to run it on startup but i doesn't work. Next thing i tried was to add bash in front of the path to the script in the startup application GUI. No succes either. I also tried to write a shell script with nano (as explained here):
#!/bin/bash
#hide gnome dash
dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview._dash.actor.hide();'
Saved the script in ~/Desktop and add it in the startup application GUI. Didn't work. I also saved the script in ~/.config/autostart but that failed as well. On startup the dash is still there.
I'm new to Ubuntu and trying to learn so please be clear :)