johannesjo / gnome-shell-extension-window-session-manager

An indicator that let's you save and restore your open apps and the window positions and arrangements over multiple real and virtual displays.
MIT License
91 stars 18 forks source link

unknown error when spawn okular #16

Closed schrodog closed 4 years ago

schrodog commented 5 years ago

When I type lwsm restore, all windows except okular restored,

Status: "nautilus.Nautilus" is running: true 1 0
Status: "okular.okular" is running: false 1 0
Starting: okular.desktop
Status: "Navigator.Firefox" is running: true 1 0
Status: "gnome-terminal-server.Gnome-terminal" is running: true 1 0
Wait for all applications to start
events.js:173
      throw er; // Unhandled 'error' event
      ^

Error: spawn okular.desktop ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19)
    at onErrorNT (internal/child_process.js:421:16)
    at process.internalTickCallback (internal/process/next_tick.js:72:19)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:252:12)
    at onErrorNT (internal/child_process.js:421:16)
    at process.internalTickCallback (internal/process/next_tick.js:72:19)
johannesjo commented 5 years ago

Have a look here: https://github.com/johannesjo/linux-window-session-manager#troubleshooting--issues