I recently switched from Ubuntu 12.04 to Bodhi Linux 2.1 as my primary home distro. This is a really light weight distro with a slick user interface (defaults to Enlightenment e17). Since it doesn’t come with all the bloat that other distros tend to, I needed to install a few apps and tweak it a little before I felt at home, but now it really is a treat to use.
Go to http://www.bodhilinux.com/ and give the live CD a spin for yourself 🙂
After updating to Ubuntu 12.04 StarCraft II started crashing during login with an “ACCESS VIOLATION” error.
I did a quick google search and found this post about it.
Basically the workaround is to turn off a kernes security feature by executing:
sudo sysctl kernel.yama.ptrace_scope=0
You can turn it back on by executing:
sudo sysctl kernel.yama.ptrace_scope=1
Why: I’m currently running Ubuntu 11.10 and I recently discovered Caffeine to help me overcome a problem with the screensaver/screenlock kicking in when watching videos on the web. Unfortunately the option to “Activate for flash video” will not work for iPlayer and yousee.tv, so I added firefox to the list of programs that Caffeine activates for. Although this is working it’s not optimal, since the screensaver/screenlock won’t kick in if I forget to close firefox. So I have been trying to come up with a better solution, that effectively detects fullscreen Flash.
How: I wrote a small bash script called flash_detect.sh that checks if the current window is libflashplayer. I changed the _check_for_Flash method in core.py and made it call flash_detect.sh instead of flash_detect.py.
Download: Better Fullscreen Flash Detection in Caffeine.tar.gz
I had some inspiration for the fullscreen flash detection in an ubuntuforums.org thread