Code Monkey home page Code Monkey logo

Comments (13)

johannesjo avatar johannesjo commented on June 27, 2024

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.

Gilthans avatar Gilthans commented on June 27, 2024

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.

johannesjo avatar johannesjo commented on June 27, 2024

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.

Gilthans avatar Gilthans commented on June 27, 2024

from linux-window-session-manager.

johannesjo avatar johannesjo commented on June 27, 2024

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.

Gilthans avatar Gilthans commented on June 27, 2024

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.

johannesjo avatar johannesjo commented on June 27, 2024

I checked all promise occurrences and added catch handlers. Hopefully everything is covered now.

from linux-window-session-manager.

Gilthans avatar Gilthans commented on June 27, 2024

Was it uploaded to npm already or should I clone into the repo?

from linux-window-session-manager.

johannesjo avatar johannesjo commented on June 27, 2024

from linux-window-session-manager.

Gilthans avatar Gilthans commented on June 27, 2024

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.

johannesjo avatar johannesjo commented on June 27, 2024

Äh what version of nodejs to you have installed now?

from linux-window-session-manager.

Gilthans avatar Gilthans commented on June 27, 2024

node -v returns v0.10.25

from linux-window-session-manager.

Gilthans avatar Gilthans commented on June 27, 2024

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)

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.