Comment 20 for bug 1277972

Revision history for this message
Jason Gambrel (jaygambrel) wrote :

Addendum

- My above post seems to work intermittently. Sometimes it doesn't. Another workaround for flash is to try using the x64-flash plugin instead. This seems to have taken care of the problem with flash for me. As for Silverlight, I tried installing Devil's Pie 2:

sudo apt-get install devilspie2

Then ran it, to allow it to create ~/.config/devilspie2

I then created a file in that folder called Firefox-Fix.lua and pasted in the following script:

if (get_application_name()=="Microsoft Silverlight") then
 unminimize();
end

I then ran devilspie2 again and it seems to work a bit more reliably. It fails about 1/8 attempts. Unfortunately, I don't know how to detect if a window is still minimized or has lost focus (ie. the unminimize attempt has failed) in Lua. If anyone else does, feel free to rewrite the script.

I then added devilspie2 to my autostart. It still isn't perfect, but better than before.

- Jay