Skip to content

Instantly share code, notes, and snippets.

@ilyesAj
Last active November 24, 2018 22:10
Show Gist options
  • Save ilyesAj/42a387cb16b88063953594b9ddf177de to your computer and use it in GitHub Desktop.
Save ilyesAj/42a387cb16b88063953594b9ddf177de to your computer and use it in GitHub Desktop.
restore last session on ubuntu 18.04
sudo apt install gnome-shell-extensions
sudo apt-get remove nodejs npm ## remove existing nodejs and npm packages
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install npm
npm install -g linux-window-session-manager
https://github.com/johannesjo/gnome-shell-extension-window-session-manager
verify if node and npm installed : node -v and rpm -v
to launch : https://itsfoss.com/gnome-shell-extensions/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment