I'm on Ubuntu 16.04 and I have a few little bash aliases set up like this:
alias radio='cvlc http://internet/radio/stream.pls -q'
so I can just quickly fire up some music in Bash. Is there a command I can add to disable suspend while VLC is running and enable it again when I exit VLC? I know I can change the power settings but I'd rather not do that every time I want to play some Internet radio. What's a better general solution?