Wednesday, June 24, 2015

Virtual Box (Ubuntu 14.04), i3 (window manager), and acme

My quest to use three-button mouse with acme on mac book continues.

  1. download 14.04 desktop iso
  2. create new virtual box server
  3. update
    1. tell ubuntu to update as part of install
    2. then run built-in updater
    3. then apt-get update/upgrade
    4. install virtualbox guest additions
    5. Create virtual box snapshot (so you can roll back to this state if you need to)

Install software

  1. apt-get install i3 git
  2. mkdir $HOME/src ; cd $HOME/src
  3. git clone https://github.com/9fans/plan9port.git
  4. cd plan9port
  5. ./INSTALL

Configure Mouse

I'm using Microsoft IntelliPoint mouse, as the middle button is decent. (I found wheels as middle button too hard to click.) Make sure to configure mouse so that middle button is "Handled by Mac OS".

To check, in Ubuntu terminal window, run xev then click in the white window that comes up. The mouse events will echo to the terminal. Buttons 1, 2, and 3 should be left, middle, and right respectively.

i3 Cheat Sheet

full screen
Alt-f
open menu
Alt-d
stack windows
Alt-s
tab windows
Alt-w
logout
Alt-Shift-e
quit window
Alt-Shift-q

Success

I now have a full three-button mouse for using acme editor in OSX.

No comments:

Post a Comment