Code Monkey home page Code Monkey logo

Comments (13)

johannesjo avatar johannesjo commented on June 17, 2024

That might be because your linked user binaries might not be available in this context. What you can do is, execute:

which lwsm

from the terminal and use this path instead of just lwsm.

from linux-window-session-manager.

ZerdoX-x avatar ZerdoX-x commented on June 17, 2024

nope, still doesn't work, nothing changed
image

from linux-window-session-manager.

johannesjo avatar johannesjo commented on June 17, 2024

Hm. Worked for me. What's the output of /home/zerdox/.nvm/versions/node/v10.16.3/bin/lwsm restore?

from linux-window-session-manager.

ZerdoX-x avatar ZerdoX-x commented on June 17, 2024

same as lwsm restore, I have tried already, before creating shortcut:

zerdox@zerdox-A320M-H:~$ /home/zerdox/.nvm/versions/node/v10.16.3/bin/lwsm restore
Status: "Opera developer.Opera developer" is running: true 1 0
Status: "gnome-terminal-server.Gnome-terminal" is running: true 1 0
Status: "org.gnome.Nautilus.Org.gnome.Nautilus" is running: false 1 0
Starting: org.gnome.Nautilus.desktop
Status: "code - insiders.Code - Insiders" is running: false 1 0
Starting: code-insiders.desktop
Status: "google-chrome-unstable.Google-chrome-unstable" is running: false 1 0
Starting: google-chrome-unstable.desktop
Status: "gitkraken.GitKraken" is running: false 1 0
Starting: gitkraken.desktop
Wait for all applications to start
All applications started
Restoring window position for "Opera developer.Opera developer"
Restoring window position for "gnome-terminal-server.Gnome-terminal"
Restoring window position for "org.gnome.Nautilus.Org.gnome.Nautilus"
Restoring window position for "code - insiders.Code - Insiders"
Restoring window position for "google-chrome-unstable.Google-chrome-unstable"
Restoring window position for "gitkraken.GitKraken"
RESTORED SESSION: DEFAULT

from linux-window-session-manager.

johannesjo avatar johannesjo commented on June 17, 2024

You can also try one of the following:

https://ubuntuforums.org/showthread.php?t=1540961
https://askubuntu.com/questions/604858/run-shell-script-on-keyboard-shortcut

from linux-window-session-manager.

ZerdoX-x avatar ZerdoX-x commented on June 17, 2024

tried to chmod x+u and add sh or bin/sh before command tp execute. nothing.

from linux-window-session-manager.

johannesjo avatar johannesjo commented on June 17, 2024

Did you try this:

gnome-terminal -e "/home/zerdox/.nvm/versions/node/v10.16.3/bin/lwsm restore"

?

I assume that this is related to using nvm and that the command is not available for some reason in the context where the shortcut is executed. Also maybe you want to try updating to the latest version of lwsm even though it's probably not related.

from linux-window-session-manager.

ZerdoX-x avatar ZerdoX-x commented on June 17, 2024

appears pop-up for a half of a second, that terminal window is waiting. windows do not restore

from linux-window-session-manager.

johannesjo avatar johannesjo commented on June 17, 2024

If you execute

gnome-terminal -e "/home/zerdox/.nvm/versions/node/v10.16.3/bin/lwsm restore && sleep 30000"

You should hopefully be able to see the error message.

from linux-window-session-manager.

ZerdoX-x avatar ZerdoX-x commented on June 17, 2024

nope. same. can't see error

from linux-window-session-manager.

johannesjo avatar johannesjo commented on June 17, 2024

One more thing you can try:

node /home/zerdox/.nvm/versions/node/v10.16.3/bin/lwsm restore 

from linux-window-session-manager.

ZerdoX-x avatar ZerdoX-x commented on June 17, 2024

doesn't work for me. I guess it's not lwsm problem, so I'll close issue

from linux-window-session-manager.

grssnbchr avatar grssnbchr commented on June 17, 2024

I have exactly the same issue, Gnome 3.36... has anyone found a solution?

from linux-window-session-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.