Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to restore a session #10

Closed
flccrakers opened this issue Sep 27, 2017 · 1 comment
Closed

Error when trying to restore a session #10

flccrakers opened this issue Sep 27, 2017 · 1 comment

Comments

@flccrakers
Copy link

I try to use your tool, but cannot restore a session.
I got this error: 

gnome-terminal-server.Gnome-terminal is running:  true 1 0
Navigator.Firefox is running:  false 1 0
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: spawn "/usr/share/applications/firefox.desktop" ENOENT
    at exports._errnoException (util.js:1020:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:197:32)
    at onErrorNT (internal/child_process.js:376:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Any idea how to fix it?
I'm using node v6.11.3

@johannesjo
Copy link
Owner

johannesjo commented Sep 29, 2017

Hi there! Thanks for reporting! Is there a file at /usr/share/applications/firefox.desktop present? If not adding "Navigator.Firefox": "firefox" to "WM_CLASS_AND_EXECUTABLE_FILE_MAP" inside ~/.lwsm/config.json might help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants