linux-win-pos
linux-win-pos copied to clipboard
Failure to restore windows on Ubuntu 18.04
There were a few packages I had to install to get linux-win-pos -sr command to work. It looks like it might be that some packages that used to be a standard part of the ISO may not be any more, perhaps. After installing them I got the package to save the positions. However, when I try to restore them, I'm getting an error. I'm using the git-installed commands.
node ~/linux-win-pos
child_process.js:644
throw err;
^
Error: Command failed: command -v redshift
at checkExecSyncError (child_process.js:601:13)
at execSync (child_process.js:641:13)
at blink (/home/dgw/linux-win-pos/src/__.js:23:23)
at blink (/home/dgw/linux-win-pos/src/__.js:20:5)
at blink (/home/dgw/linux-win-pos/src/__.js:20:5)
at blink (/home/dgw/linux-win-pos/src/__.js:20:5)
at blink (/home/dgw/linux-win-pos/src/__.js:20:5)
at end (/home/dgw/linux-win-pos/src/position-windows.js:64:8)
at positionWindows (/home/dgw/linux-win-pos/src/position-windows.js:54:10)
at positionWindows (/home/dgw/linux-win-pos/src/position-windows.js:49:28)
@witcradg I can't believe I missed this issue for a whole year 😭
Sorry, I haven't been maintaining this repo and haven't gotten around to upgrading my OS to 18.04, yet. However, that command does seem to work in my windows WSL Ubuntu 18.04 environment.
Can you try running just command -v redshift
in your terminal and let me know what happens?
If, after that entire year, you're still interested in using this utility, the guilty code lives here and could probably be easily removed if you don't use Redshift:
https://github.com/jonnyasmar/linux-win-pos/blob/master/src/__.js#L23
I believe I listed all of the necessary OS level dependencies near the top of the README, but if you know of any others you had to install, please let me know and I can get them added to the documentation.
Thanks for trying out the tool and sorry again for missing your issue!