I want to make Cairo dock(with opengl) execute in the start-up only on Gnome-Classic but not on other DEs like cinnamon, unity or gnome.How to do that?
If you want to run Cairo on another desktop environment as well, such as ubuntu, you just need to repeat this process, making another set of commands just for that desktop session. First you would make another cairo.sh, naming it slightly different, such as cairo2.sh. Then you would open it with nautilus and copy the following lines:
Then you would save the file and make it executable as before.
Next, you would once again create a .desktop command, also naming it slightly different, such as cairo2. When copying the command lines, copy the following:
Don't forget to input the user name in place of "name of user" and to make sure the name of the file on the Exec= line is the same as your .sh command for ubuntu, in this case cairo2.sh.
After this just follow the steps as before and when you log in to the appropriate desktop environment, cairo dock should open atuomatically.
Have a look at the files in
There you'll find
Open one of those and you'll see they all have an
Now you can
The first two of those work but have the disadvantage that they may or may not be overwritten on update (you will have to check, I'm not sure).
In 2. Also if you copy your autostart folder only one of those will be updated depending on which session you are logged into.
So I recommend doing it as shown in 3. Have fun.