Comments (13)
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.
nope, still doesn't work, nothing changed
from linux-window-session-manager.
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.
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.
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.
tried to chmod x+u and add sh
or bin/sh
before command tp execute. nothing.
from linux-window-session-manager.
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.
appears pop-up for a half of a second, that terminal window is waiting. windows do not restore
from linux-window-session-manager.
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.
nope. same. can't see error
from linux-window-session-manager.
One more thing you can try:
node /home/zerdox/.nvm/versions/node/v10.16.3/bin/lwsm restore
from linux-window-session-manager.
doesn't work for me. I guess it's not lwsm problem, so I'll close issue
from linux-window-session-manager.
I have exactly the same issue, Gnome 3.36... has anyone found a solution?
from linux-window-session-manager.
Related Issues (20)
- Crash on steam deck
- GTK-3 (in xfce4) need to have there X and Y coordinates adjusted for restoring.
- LWSM stuck at 'Waiting for all applications to start...' HOT 1
- [Question] Does this project handle the case of moving a window to the specified workspace? HOT 3
- Multiple instances of the same application restored incorrectly HOT 4
- Restore fails for Gnome/Ubuntu HOT 4
- All windows restored to same GNOME workspace HOT 7
- Coping with multiple Firefox profiles HOT 5
- Error when saving/restoring edge app shortcuts HOT 2
- Not a single app got restored to its originall position HOT 7
- Not working for evince HOT 7
- Cannot save session HOT 10
- Pass parameters to application HOT 1
- Bug in restoring session with --closeAllOpenWindows from Terminal HOT 2
- Auto shutdown/startup script HOT 2
- do not overwrite config.json while restoring if json syntax error HOT 1
- To Save Application Behavior HOT 1
- Add to AUR HOT 3
- [feature request] Add option to freeze settings for an application
- UnhandledPromiseRejectionWarning: Error: Command failed: cat /proc/undefined/cmdline HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux-window-session-manager.