I'am using this script -- lightsOn, to delay screensaver when flash playing.
However, the script provides only the Chromuim way:
flash_process=`pgrep -lfc "chromium-browser --type=plugin --plugin-path=/usr/lib/adobe-flashplugin"`
I am using the official Google Chrome in xfce. Not familiar with shell programming, the screenshot of my process running in Chrome.

I want to know how to detect the process of flash player to make this script running? Thanks.


flash_process=pgrep -lfc "google-chrome --type=plugin --plugin-path=/usr/lib/adobe-flashplugin"`` ? (although this might not work because chrome uses its own brand of flash) – Glutanimate Nov 17 '12 at 16:25/opt/google/chrome/PepperFlash/libpepflashplayer.sois what I see in Chrome 23 inchrome://plugins. – vasa1 Nov 17 '12 at 18:28