I'm using Mint 19.1, MATE edition. I've created a simple little bash script to turn my laptop display off:
Code: Select all
$ cat ~/bin/screenoff
xset dpms force off
I've used it from the terminal a few times and it works fine. However, I can't get a desktop launcher to work for it (see attached screenshot) - I just get "There was an error launching the application". I've tried "Type" as "Application" and "Application in terminal" but get the same result.
I've also tried the full path for the command -
- this time I get the error "Details: Failed to execute child process "xterm" (No such file or directory)"