I’m sorry, but I don’t understand what you mean by ‘blank or not blank’. Are you talking about the setting in Power>Power Saving>Blank Screen
Do you have dconf-editor installed? If so, could you try to navigate to org>gnome>settings-daemon>plugins>power
So what I understand is that while you are watching Youtube videos, you don’t want the suspend to activate. Is this correct?
You can suspend at will, but you just don’t want it to occur during video watching; however, it inadvertently seems to occur. Is this also correct?
I am basing my suggestions below that I am making correct assumptions above. You will have to correct me if I am wrong, though.
I am not too sure if pm-utils might be what your looking for. I only had a quick run down through it. link text So you may need to read it a bit more than I did. I don’t think it will satisfy what you have in mind.
Better yet, I think the xmacro utility might actually be better suited for you. link text
Now I did do a bit of Googling for you. I found a weblink that seems to be related to your interest. It’s a web link for Ubuntu but I think that it carries similarity in interest to what you are looking into. link text There is a script that seems like you can copy and paste and see if it works for you.
Hopefully…if this is what your looking for, that is.