Skip to content

Instantly share code, notes, and snippets.

@H2CO3
Created April 27, 2015 18:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save H2CO3/6fcc3ba2ea7e3e95075a to your computer and use it in GitHub Desktop.
Save H2CO3/6fcc3ba2ea7e3e95075a to your computer and use it in GitHub Desktop.
Ubuntu Retina MacBook Pro mid-2014 UI and general Setup

Set up Wi-Fi:

sudo apt-get install bcmwl-kernel-source
sudo modprobe wl

in the file /etc/modules, add the line

wl

in order to start up the wireless service upon reboot.

It might be necessary to edit /etc/modprobe.d/blacklist.conf and uncomment the lines that blacklist bcm43xx.

Use

lspci -nn | grep 0280

to check the type of your Wi-Fi hardware; it should be:

02:00.0 Network controller [0280]: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03) 

For the NVidia driver to work with X, install

sudo apt-get install nvidia-current

(use the NVidia X Server Settings app to configure it.)

In System Preferences -> Displays: set "Scale for menu and title bars" to 2

Use Chromium-Browser (NOT vanilla Chrome) for browsing: it respects high-DPI Retina display and looks normal (image isn't shrunk by a factor of 4...)

Install gnome-tweak-tool, use it to re-bind CAPS LOCK key to Control (for use with Emacs)

Install compiz-config-tool, use it to disable annoying Unity/Launcher keyboard combinations (especially Super=Windows=Command combinations). Here, also use the opportunity to use Cmd+Tab (Super+Tab) for switching between applications instead of the default Alt+Tab.

In Terminal: Edit -> Keyboard Shortcuts: uncheck "Enable menu access keys" to make Alt work normally (as the Meta key), [not only] in Emacs (instead of messing with the annoying menu bar.)

add the line

alias e='emacs -nw'

in ~/.bashrc (-nw is needed to start Emacs in command-line mode)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment