As per my project requirement, I need to hide the Unity launcher (if present) automatically on startup of an Ubuntu 14.04 machine.
If I run the command:
dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode 1
into the terminal it works.
But as I mentioned already I need to hide the Unity launcher automatically on startup of an Ubuntu 14.04 machine, so to do this I have written this command in "~/.profile", but unfortunately the command is not working as expected on startup.
All my other commands work as expected on startup when put into "~/.profile".
The reasons behind writing this command in "~/.profile" are listed below.
- The command to hide the Unity launcher only works when we run the command with logged in user privileges and doesn't work when we run it with
If I write this command in "/etc/init.d/myscript", "/etc/rc.local", "/etc/init/myjob.conf" then it starts the command with
sudo privileges and it will not work.
- GUI applications don't start automatically on startup in Ubuntu 14.04 when we write the command into "/etc/init.d/myscript", "/etc/rc.local", "etc/init/myjob.conf" but if we write the command into "~/.profile" then it starts both GUI and non-GUI applications automatically on startup (I have tested the same myself).
Some useful links are as below.
Can anyone please let me know how can I hide the Unity launcher (if present) automatically on startup of an Ubuntu 14.04 machine so that it doesn't reveal or show when mouse cursor moves towards the left edge of the screen (I want to set the reveal sensitivity to low also)?