You are not logged in.
Pages: 1
Offline
I think the app itself has to support xscreensaver. For example, for mplayer you can add something to .mplayer/config to disable it (it's in the xscreensaver FAQ)
If you don't find anything for popcorn-time, I think you'd have to write a wrapper script to do the same thing
Offline
Offline
Why is this program even allowed in AUR?
https://wiki.archlinux.org/index.php/Fo … e#Legality
Popcorn time steams movies from torrents regardless of copyright infringement.
Really, just want a clarification why it hasn't been deleted yet?
Last edited by headkase (2014-08-03 05:07:37)
Offline
Here is a background article on Popcorn Time: http://torrentfreak.com/mpaa-pulls-popc … ub-140711/
Popcorn Time's source repository is moving from shifty server to shifty server since that article mentioned it was removed from Github.
Offline
Why is this program even allowed in AUR?
https://wiki.archlinux.org/index.php/Fo … e#Legality
Popcorn time steams movies from torrents regardless of copyright infringement.
Really, just want a clarification why it hasn't been deleted yet?
From the comments in link you have passed:
I enjoy watching the MPAA desperately fight the hydra. It amuses me. Theyre like the bully on the block who realizes the end of their glory days is near.
And this: http://en.wikipedia.org/wiki/Streisand_effect
BTW, job done.
popcorn-detect.sh:
#!/bin/sh
pgrep Popcorn-Time > /dev/null
if [ $? -eq 0 ]; then
xscreensaver-command -deactivate
fiCrontab:
*/2 * * * * /path/to/script/popcorn-detect.sh > /dev/null 2>&1P.S.:
This generates a very large conflict of opinions(a.k.a. Flames).
I do not share your philosophy, please do not misunderstand me.
My question was technical, not ethical.
Last edited by sistematico (2014-08-03 08:30:07)
Offline
nvm...
/usr/bin/popcorntime:
#!/bin/sh
XSS="xscreensaver"
PC="/opt/popcorntime/Popcorn-Time"
pgrep $XSS > /dev/null
if [ $? -eq 0 ]; then
killall $XSS
($PC && $XSS -no-splash)
else
$PC
fiVery, very, very better workaround...
Last edited by sistematico (2015-05-21 05:52:54)
Offline
Really, just want a clarification why it hasn't been deleted yet?
Well, nobody filed a deletion request yet. See also: https://wiki.archlinux.org/index.php/Ar … the_AUR.3F
If unsure, ask on the aur-general mailing list first.
Last edited by Alad (2015-05-21 11:48:34)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
RE: legality and deletion. These issues have come up in regard to popcorn time previously - I believe when the first PKGBUILDs were being made. It seems the legality of the use depends to a great extent on the country it is used in*. The ethics of it's use - to me personally - seem pretty cut and dry: it's wrong.
The non-legal precedent on these forums was that the threads for creating the PKGBUILDs were closed to avoid any of the cases where it could be considered illegal. The AUR is, however, maintained and moderated by a different set of community members. Perhaps they have not been made aware of the potential legal concerns, or they have decided to err on the other side. Feel free to file the appropriate request via the AUR interface or on aur-general to raise the issue.
As this thread isn't specifically about how to run this software, but rather how to control a screensaver when the software is running, I think there is much less concern with this thread itself: there is nothing illegal in helping someone control their screensaver in any jurisdiction. Any discussion of legality of it being in the AUR needs to happen through the AUR channels.
That said, I'll simply highlight that if you use this software, you should take time to consider it's legality in your country - you may be unwittingly breaking laws.
* Edit / disclaimer: this was the result of a handful of mods/admins doing our best to read a few webpages. I don't know that any one involved has nearly the necessary legal training to make a properly informed assessment.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Offline
Quick update, maybe a more "elegant" approach:
/usr/bin/popcorntime
#!/bin/sh
savers=( "mate-screensaver" "xscreensaver" )
for saver in ${savers[@]}
do
ps=$(ps -ef | grep $saver | egrep -v grep)
if [ "$ps" ]; then
killall -9 $saver
fi
done
if [ "$DESKTOP_SESSION" == "mate" ]; then
rs="mate-screensaver"
else
rs="xscreensaver -no-splash"
fi
/opt/popcorntime/Popcorn-Time && $rsLast edited by sistematico (2016-09-08 06:48:53)
Offline
ps=$(ps -ef | grep $saver | egrep -v grep)![]()
Use pgrep. Also, don't store arguments in a single variable; use an array instead.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
ps=$(ps -ef | grep $saver | egrep -v grep)
Use pgrep. Also, don't store arguments in a single variable; use an array instead.
Thank you Alad.
Offline
Pages: 1