Comments (13)
Are you using Wayland by any chance. Pure Wayland applications are simply not recognized (and currently it seems there is no way around it :()
from linux-window-session-manager.
I'm using unity, which isn't over Wayland I believe? Either way it is probably a good idea to check and give an error, maybe?
from linux-window-session-manager.
Normally error logging should work. There are a lot of promises though. Might be that something gets swallowed there. I'll check tomorrow.
Could you maybe give me a little bit more of context? What applications do you have opened and what is saved inside ~/.lwsm?
from linux-window-session-manager.
from linux-window-session-manager.
Mhh that's interesting. Could you run mkdir ~/.lwsm && mkdir ~/.lwsm/sessionData
and try again? If that doesn't work trying to save with just one or two apps might be helpful to be see if the issue is related to a particular app or occurs every time.
from linux-window-session-manager.
Creating the folders didn't seem to help, the folders are still empty after running lwsm save
and lwsm restore
with no message.
Closing apps would sort of defeat the purpose of trying to save the current setup which takes a while to bring up... But I'll try that later
from linux-window-session-manager.
I checked all promise occurrences and added catch handlers. Hopefully everything is covered now.
from linux-window-session-manager.
Was it uploaded to npm already or should I clone into the repo?
from linux-window-session-manager.
from linux-window-session-manager.
This didn't work, so I updated nodejs and that seemed to solve the problem.
Now I get this:
/usr/local/lib/node_modules/linux-window-session-manager/cmd.js:3
const base = require('./lib/index');
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3
from linux-window-session-manager.
Äh what version of nodejs to you have installed now?
from linux-window-session-manager.
node -v
returns v0.10.25
from linux-window-session-manager.
Yeah, so it seems there is something wrong with my app repo configurations which gave all this trouble. After manually installing node v8.9.3 everything seems to work perfectly.
Thanks very much!
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.