> ~$ sudo sh ./dstack compiz >> compizstack.txt
> sh: 0: Can't open ./dstack
About the "Can't open ./dstack" error: you need to download the script first. It's attached on comment #4.
> Also, how can I enter the command when the problem disappears as soon as I unlock my machine?
Try this:
sudo sh -c "sleep 5; sh $HOME/dstack compiz" >> compizstack.txt
Launch the command, immediately lock the screen and wait for 10 seconds, then unlock the screen. This will dump the stack in the middle of the screen lock.
@knowhow91:
> ~$ sudo sh ./dstack compiz >> compizstack.txt
> sh: 0: Can't open ./dstack
About the "Can't open ./dstack" error: you need to download the script first. It's attached on comment #4.
> Also, how can I enter the command when the problem disappears as soon as I unlock my machine?
Try this:
sudo sh -c "sleep 5; sh $HOME/dstack compiz" >> compizstack.txt
Launch the command, immediately lock the screen and wait for 10 seconds, then unlock the screen. This will dump the stack in the middle of the screen lock.