Reverse Mouse Wheel Scroll ala OS X Lion in Ubuntu 10.04
Posted: November 28, 2011 Filed under: Linux, Open Source, Uncategorized 1 Comment »Learned a new command today: xinput. This allows you to (re)configure how X11 maps your input devices.
If you are on Ubuntu, and you’d want what Apple calls the “Natural Scrolling”, then you may do the following:
In the shell:
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Macintosh mouse button emulation id=11 [slave pointer (2)]
⎜ ↳ SIGMACH1P USB Keykoard id=9 [slave pointer (2)]
⎜ ↳ A4Tech USB Mouse id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
↳ SIGMACH1P USB Keykoard id=8 [slave keyboard (3)]
In my case, my mouse is an “A4Tech USB Mouse”. Yours might be different so check carefully the output of xinput list.
I reversed mine using:
xinput set-button-map "A4Tech USB Mouse" 1 2 3 5 4 6 7 8 9 10 11 12 13 14 15 16
Check your wheel up/down scrolling. That’s it.
But this is not a permanent setting; it will be lost after a reboot. Add this command in the:
System > Preferences > Startup Applications.
The so called natural scrolling is a mode that was introduced in the release of OS X Lion; which corresponds to how one scrolls on an iPad/iPhone. It does feel awkward at first, but I retrained my brain/hand in continued usage. It does make sense when you think “I want to scroll the content” vs. “I want to scroll the scrollbar”.
People either love or hate this.
Installing Java 1.6 (OpenJDK) in CentOS 5.x from EPEL
Posted: April 7, 2011 Filed under: Linux, Open Source Leave a comment »I am posting this mini guide for those needing a quick guide in installing OpenJDK in CentOS 5.x.
The how-to information in CentOS community wiki sites explains how to build the rpms yourself from various JDK providers (IBM, Sun/Oracle, etc); but this is not what I wanted. What I wanted is to leverage existing yum repositories for CentOS, and this is where EPEL (Extra Packages for Enterprise Linux) comes to mind.
Assembla.com Free Project Hosting: free, trac, svn, wiki, private!
Posted: November 9, 2006 Filed under: Linux, Open Source, Programming 6 Comments »Update 2009-02-07: I am thanking Jason Fowler for pointing out that assemba does not offer free private svn hosting anymore. I tried logging in at my assembla account (yay, it’s been ages since) and my private spaces were marked readonly. For alternatives, check out Straw Dogs’ List
On one of my free days, I was on a lookout for a free subversion hosting, for a private project. There are several free SVN hosting for opensource projects (Sourceforge.net, Google, berlios.de among others) but I needed one for a private (read: closed) project. A quick google and forum reads led me to Assembla.com.
Read the rest of this entry »
Xubuntu: Pimp my Gateway Solo 3350 Notebook
Posted: October 21, 2006 Filed under: Linux Leave a comment »
It’s been 5 days since my shiny pre-owned notebook arrived. Considering it’s size, specs and above all, price, this sure is a bargain find from TipidPC. I am truly blessed to have found such an item. Hopefully for me this will bring more productivity and portability nirvana. The thing weighs less than 2 kgs, very light and it’s barely noticeable in my bag.
Here are the specifications:
- Celeron 500MHz Coppermine
- 128MB SDRAM
- 10GB HDD
- 12″ LCD
- ATI Rage Mobility Graphics Card
- ESS Sound Card
- 3com Ethernet LAN Card
- External CD-ROM
Shopping around for a suitable “lightweight” linux distribution to install, the choice for me is clear: Xubuntu.
Read the rest of this entry »
Xubuntu: Internet over GPRS via Bluetooth
Posted: October 19, 2006 Filed under: Linux 2 Comments »Setup was a breeze. No wonder the Ubuntu distro family are among the top ranking in Distrowatch. I am using this generic no-name dongle I found at a bargain price in CDR-King Philippines. More on my Xubuntu laptop installation later while I discuss setup bits of the little bluetooth wonder. Note that this mini-howto is (U|Ku|Xu|Edu)buntu specific. Basically this is a duplicate of my previous effort in making this work with my Gentoo desktop box.
Read the rest of this entry »
Hello world WordPress.com!
Posted: October 17, 2006 Filed under: Uncategorized 1 Comment »Finally! I am blogging my way back, thanks to wordpress.com. It has been a while since my old blog site died out of idleness. This is a fresh start and hopefully I can find the strength and wisdom to share more of me here. Thanks wordpress.com.