Skip to content

u/Corrivatus

In this archive from Jun 2015 to Nov 2019

3
posts
44
comments
2
media
194
score

Top posts

Help with copyright infringement

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...

1 points7 comments
Open on Reddit

Top comments

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.

12 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.