ALPS GlidePoint TouchPad configuration in linux

I was missing edge scrolling on my Fujitsu XI3650 laptop running Bodhi Linux 2.2.0.

I came across this thread http://ubuntuforums.org/showthread.php?t=1190259, and here is how I ended getting it working:

cd /usr/share/X11/xorg.conf.d
sudo nano 50-synaptics.conf

Add the following options to the “InputClass” section with identifier “touchpad catchall”:

 Option "SHMConfig" "True"
 Option "LeftEdge" "0"
 Option "RightEdge" "850"
 Option "TopEdge" "300"
 Option "BottomEdge" "650"
 Option "EmulateTwoFingerMinZ" "100"
 Option "EmulateTwoFingerMinW" "0"
 Option "VertScrollDelta" "7"
 Option "HorizScrollDelta" "7"
 Option "HorizEdgeScroll" "True"
 Option "VertTwoFingerScroll" "1"
 Option "MaxSpeed" "1"
 Option "RTCornerButton" "2"
 Option "RBCornerButton" "3"
 Option "TapButton2" "0"
 Option "TapButton3" "0"
Posted in commands, Linux | Tagged , , , , | Leave a comment

Eclipse UI theming issue

I had some issues with the theming of eclipse juno on linux. I’m running with a dark GTK theme, and the tabs were all light, and blurry even though i told eclipse to use GTK theme in the preferences. I finally found this bug ticket over at eclipse.org: https://bugs.eclipse.org/bugs/show_bug.cgi?id=392965

The suggestion is to remove all *.css files used for styling. It worked for me:

rm eclipse/plugins/org.eclipse.platform_4.2.1.v201209141800/css/*.css
Posted in Eclipse, Java, Linux | Leave a comment

Flatten directory in linux

Here is a few simple commands to flatten a directory in linux:

find . -type f -exec mv --backup=t {} . \;
find . -depth -exec rmdir {} \;
Posted in commands, Gaming, Linux | Tagged , , , | Leave a comment

Num Lock on in Bodhi Linux

In Bodhi Linxu (and probably any other distro using LXDM) you can turn on Num Lock automatically by entering numlock=1 in /etc/lxdm/lxdm.conf file.

Posted in Linux | Tagged , , | Leave a comment

64bit ADT needs ia32-libs

Messing around with ADT (Android Development Toolkit) for 64bit linux i found that it needs ia32-libs to run

apt-get install ia32-libs

Posted in Android, Linux | Tagged , , , , | Leave a comment

Bodhi Linux

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 :)

Posted in Linux | Tagged , , , | Leave a comment

StarCraft II on Ubuntu 12.04 crash

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

Posted in Gaming, Linux | Tagged , , , , | Leave a comment

Better Fullscreen Flash Detection in Caffeine

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

 

Posted in Linux | Tagged , , , | Leave a comment