johannesjo / gnome-shell-extension-window-session-manager

An indicator that let's you save and restore your open apps and the window positions and arrangements over multiple real and virtual displays.
MIT License
91 stars 18 forks source link

Cannot see any "screen" icon at the top bar #23

Closed i0annis closed 4 years ago

i0annis commented 4 years ago

I am currently using Ubuntu 20.04. Here is what I did (using terminal): 1) Installed nodejs (sudo apt install nodejs) 2) Installed npm (for some reason this package didn't come with nodejs) 3) Installed lwsm via npm: npm install -g linux-window-session-manager 4) I checked the /home/my-user-name/.local/share/gnome-shell/ directory, but the "extensions" folder did not exist so I created it (mkdir ~/.local/share/gnome-shell/extensions) 5) Inside the above dir I created a folder called "window-session-manager", downloaded the ZIP file from GitHub and extracted it in there. (Note: before that I tried the git clone command but I had an error saying I do not have permission to access the files.) 6) Reboot - nothing.

I tried renaming the folder "../extensions/window-session-manager" to "../extensions/lwsm@johannes.super-productivity.com" to match with the instructions and rebooted, but that didn't make any difference. I still cannot see any icon at the top bar. (The lwsm command works though.)

Any ideas?

johannesjo commented 4 years ago

Did you install the extension via:

cd tmp
git clone git@github.com:johannesjo/gnome-shell-extension-window-session-manager.git
mv gnome-shell-extension-window-session-manager /home/$(whoami)/.local/share/gnome-shell/extensions/lwsm@johannes.super-productivity.com

or directly form https://extensions.gnome.org/ ?

And does it show up under the gnome tweak tool?

i0annis commented 4 years ago

No, because the git clone command did not work. I downloaded the files from GitHub by clicking on the "Download ZIP" button. Then I right-clicked on the downloaded zip file and did "Extract-To" and chose the path ".../.local/share/gnome-shell/extensions/lwsm@johannes.super-productivity.com".

Nothing new appears in the gnome tweak tool.

johannesjo commented 4 years ago

In this case, maybe you can try installing it from here: https://extensions.gnome.org/extension/1323/window-session-manager/ ?

i0annis commented 4 years ago

Yep, I got it working! Thanks!

Just one final question. I managed to install it this time using the browser add-on from "gnome-extensions", but if I manually downloaded the file from this page https://extensions.gnome.org/extension/1323/window-session-manager/ then where do I need to extract the contents to?

johannesjo commented 4 years ago

The path would need to be:

/home/$(whoami)/.local/share/gnome-shell/extensions/lwsm@johannes.super-productivity.com
i0annis commented 4 years ago

I get it now, it has to be the exact path. Thanks again for your help! :)