Skip to content

Instantly share code, notes, and snippets.

@gerjantd
Last active August 29, 2015 13:57
Show Gist options
  • Save gerjantd/9706483 to your computer and use it in GitHub Desktop.
Save gerjantd/9706483 to your computer and use it in GitHub Desktop.
Commands to restart unity without losing session
Ctrl+Alt+F1, log on
unity &> /dev/null & disown
or (unity is a compiz plugin)
compiz --replace &> /dev/null & disown
http://askubuntu.com/questions/38579/how-do-i-restart-an-unity-session-from-the-terminal
In case panel doesn't start:
/usr/lib/unity/unity-panel-service &> /dev/null & disown
http://askubuntu.com/questions/46788/is-it-possible-to-restart-the-unity-panel-without-restarting-compiz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment