Skip to content

Instantly share code, notes, and snippets.

View jorgemario's full-sized avatar

Jorge M. Gómez jorgemario

View GitHub Profile
@jorgemario
jorgemario / bumblebee installation
Last active August 29, 2015 14:00
Bumblebee Ubuntu 12.04 (Elementary OS)
Bumblebee Elementary OS (Ubuntu 12.04 precise)
# https://wiki.ubuntu.com/Bumblebee
1. sudo add-apt-repository ppa:bumblebee/stable
2. For more up-to-date nvidia drivers, you need to add another PPA. As of 12.04, this is still necessary for Nvidia GT 6xxM cards. It may be optional for the GT 4xxM and GT 5xxM series on 12.04. When in doubt, just install it. The command is:
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
3. sudo apt-get update
@jorgemario
jorgemario / VirtualBoxGuestAdditions
Created February 2, 2014 17:36
VirtualBox Guest additions in Ubuntu 12.04
sudo apt-get install build-essentials
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install virtualbox-guest-dkms
cd /media/VBOXADDITIONS/
sudo ./VBoxLinuxAdditions.run
@jorgemario
jorgemario / usb-autosuspend.conf
Created January 28, 2014 23:53
Ubuntu 13.10 - laptop-mode disable autosuspend of mouse and/or keyboard
First take note of usb device IDS:
> lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 064e:d213 Suyin Corp.
Bus 001 Device 003: ID 8087:07da Intel Corp.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0bc2:2320 Seagate RSS LLC USB 3.0 bridge [Portable Expansion Drive]