[herbstluft] Lisp Development
Not downloaded yet
In this archive from Jun 2015 to Nov 2019
Alright so posts like this are a dime a dozen because copyright infringement is a miserable plague upon this community. However I would love some advice from my fellow photographers. I recently did some edits on a photo of a friend, and I posted them to my buisness' facebook page, cleverly utilizing...
You're going pretty far down the rabbit hole, but have yet to feature the best OS, Emacs.
xset s off --dpms is the command you're looking for.
Bear with me because I'm on mobile so the formatting is going to be utterly miserable. If it's unreadable I'll fix it.
#!/bin/bash
off(){ sudo xset s off --dpms && mplayer $2}
on(){sudo xset s on --dpms && kill $(pgrep mplayer) }
$1
Add that to a script chmod +x it and then just ./nameofscript off $nameofmedia to disable the backlight timeout & start whatever media you're wishing to watch and ./nameofscript on to re-enable it and kill the player.
Dunno what player you're using (I honestly only read the comment that said you needed help with a script), but if you need anything further I'd be happy to help.
Emacs
It's pronounced emacs bootloader.
Now this is unix porn. I love everything on this sub, but never have I been so inclined to shamelessly steal someone's code and apply it to all of my servers.