Posts

When using VLC, why does my screen saver keep waking up?

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite XScreenSaver uses DPMS to turn my laptop screen off. I'd like to find out why it's waking up to the prompt again. I enabled logging with log , but it shows nothing useful, xscreensaver: 22:04:21: logging to "/tmp/f" at Thu Apr 26 22:04:21 2018 That's all that's in the log. Checking /var/log/kern.log , I see xscreensaver: pam_ecryptfs: seteuid error How can I debug this issue, what are the likely causes of XScreenSaver waking my display up. I'm using xscreensaver 5.36. vlc screensaver xscreensaver dpms share | improve this question edited Apr 28 at 8:22 asked Apr 27 at 3:08 Evan Carroll 4,486 8 34 72 add a comment  |  up vote 0 down vote favorite XScreenSaver uses DPMS to turn my laptop screen off. I'd like to find out why it's waking up to the prompt again. I enabled logging with log , but it shows nothing useful...

Executing command for each newline separated [duplicate]

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite 1 This question already has an answer here: How can I run a specific command for each find result? 5 answers This is a newb question..I have this: chmod u+x $(find scripts -name "*.sh") But I believe it's only running chmod u+x for the first item in the list from find, since the results are newline separated. How can I run chmod u+x for each item returned from the find call? My guess is that xargs is the best way? something like this: find scripts -name "*.sh" | xargs chmod u+x find chmod xargs share | improve this question asked Apr 27 at 4:46 Alexander Mills 1,885 9 29 marked as duplicate by muru, Stephen Kitt, αғsнιη, Romeo Ninov, Evan Carroll Apr 27 at 6:50 This question has been asked before and already has an answer. If those answers do not fully address yo...