Skip to main content

Ubuntu 12.4 install notes

Also related with install of Ubuntu 12.04 is my other post  Ubuntu 12.04 review on Lenovo Q150.

Add medibuntu repositories by running the commands below and use Software center to add the packages you need.

sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu 
sudo apt-get install non-free-codecs ubuntu-restricted-extras libdvdcss2


For google applications add one by one, the apps will add the repositories of the apps you install.
http://www.google.com/linuxrepositories/

Flash:
sudo apt-get install flashplugin-installer

Minitube and Vlc:
sudo apt-get install minitube vlc

Links:
http://www.unixmen.com/medibuntu-repositories-available-for-ubuntu-12-04-lts-precise-pangolin-ppa/
https://bugs.launchpad.net/ubuntu/+source/minitube/+bug/921287/comments/7


For MacBookPro users


Download the mac 12.04 iso for 64 bit (for EFI boot support) and boot your mac with it, it's the easiest method.

Sensors (temps & fans)


To enable proper detection of sensors edit /etc/modules:
gksudo gedit /etc/modules

Add to this to end of file, save and reboot:
coretemp

Bug report filed to track this not being part of the stock install.
To get the Macbook fans to work properly you will need to enable the Mactel PPA and install macfanctld.
sudo add-apt-repository ppa:mactel-support/ppa
sudo apt-get update && sudo apt-get install macfanctld

For more info on macfanctld
man macfanctld

Temperature, fanspeed, environmental light and keyboard backlight can be controlled over the sysfs exported interface at /sys/devices/platform/applesmc.768/.



edit your to look like this /etc/macfanctl.conf
# Config file for macfanctl daemon
#
# Note: 0 < temp_X_floor < temp_X_ceiling
#       0 < fan_min < 6200       

fan_min: 2000

temp_avg_floor: 36
temp_avg_ceiling: 55

temp_TC0P_floor: 50
temp_TC0P_ceiling: 58

temp_TG0P_floor: 50
temp_TG0P_ceiling: 58

# Add sensors to be excluded here, separated by space, i.e.
# exclude: 1 7
# will disable reading of sensors temp1_input and temp7_input.

exclude:

# log_level values:
#   0: Startup / Exit logging only
#   1: Basic temp / fan logging
#   2: Log all sensors  

log_level: 0


Wireless card
The Broadcom driver was not installed by default, you either need to connect your MacBookPro to the internet and allow the installer to download updates while installing. Or use System->Administration->Additional Drivers to install the STA drivers.
Sometimes it won't allow you to install the Drivers from "Additional Drivers" (specially with PAE Kernel) So, you will need to install the firmware manually:
sudo apt-get install firmware-b43-installer b43-fwcutter

Then, you need to reinstall bcmwl: 
sudo apt-get install --reinstall bcmwl-kernel-source

Touchpad (bcm5974)

The touchpad works out of the box. Uncheck the "Enable mouse clicks with touchpad" checkbox under the Touchpad tab, and enable two-finger scrolling from the preference->mouse->touchpad applet. Then the touchpad will work just like in OSX. Clicking and holding with one finger and dragging with the other work like a dream. Furthermore tweaking the drag and drop time to be less may be help. 

LCD Brightness Control

(taken fromhttp://www.voria.org/forum/viewtopic.php?f=3&t=1091):

If backlight control does not work for you, follow these instructions, this also enable PowerControl for the screen using the nvidia driver to keep temp down and battery life longer:
  • Edit the file '/etc/X11/xorg.conf' and add this line into the Device section:
  • Option  "Coolbits" "1"
    Option  "RegistryDwords" "EnableBrightnessControl=1; PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefaultAC=0x3"

Mac boot startup keys

Press C during startupStart up from a bootable CD, DVD, or USB thumb drive (such as OS X install media).
Press D during startupStart up in Apple Hardware Test (AHT).
Press Option-Command-P-R until you hear startup sound a second time.Reset NVRAM
Press Option during startupStart up in Startup Manager, where you can select an OS X volume to start from. Note: Press N to make the the first bootable Network volume appear as well.
Press Eject, F12, or hold the mouse or trackpad buttonEjects any removable media, such as an optical disc.
Press N during startupAttempt to start up from a compatible network server (NetBoot).
Press T during startupStart up in Target Disk Mode.
Press Shift during startupStart up in Safe Boot mode and temporarily disable login items.
Press Command-V during startupStart up in Verbose mode.
Press Command-S during startupStart up in Single-User mode.
Press Option-N during startupStart from a NetBoot server using the default boot image.
Press Command-R during startup
Start from Lion Recovery1
1 Available on Macs that ship with OS X Lion. Some CPUs require an EFI BootROM update to support this feature


https://help.ubuntu.com/community/MacBookPro5-5/Precise
https://help.ubuntu.com/community/MacBookPro

Comments

Popular posts from this blog

Using a socks proxy

#ssh to a machine on the network you need access and start # a local socks server ssh -D 9999 httpserver.blah.com
# setweb browser proxy to proxy: localhost:9999
# To use other apps with socks install sudo apt-get install tsocks
# Change config file to (remove everything else) /etc/tsocks.conf server = 127.0.0.1 server_port = 9999
# ssh to a machine tsocks ssh -X httpserver.blah.com
# eclipse to a machine tsocks eclipse
reference: using tsocks for tunneling cmds lines and everything else http://www.plenz.com/tunnel-everything

Ubuntu 17.10 running on Lenovo Yoga 920 with HiDPI and touch screen support

I resized the windows partiton to the minimun necessary (100G), disabled secure boot and I also remove bitlocker key encryption on windows drive, this allows Ubuntu to see that partition and allow windows to boot with secure boot disabled, without complaning.

This makes everything go easier if you want to keep windows arround on the same disk and dual boot with Ubuntu, you should do this it helps a lot. Even after you disable this, you can re-enable it back, both secure boot and bitlocker key encryption.

Before installing on windows updates resize your windows partition, installing all windows updates will not alow you to gain as much space as possible. After resizing the windows partition to the minimium size you want, install all windows updates, bios and driver updates.

I upgraded all windows updates to the latest version and all drivers to the latest version and upgraded the bios on windows to the latest version before installing Ubuntu, I don't think this makes much differenc…

Chrome OS advanced commands, settings, expert features

Chrome OS advanced commands, settings, expert features All features described here where tested on a Asus C302 Chromebook, but should work on all Chromebooks, screenshots are from the Asus C302.
Recovery Install new factory image for your chrome book
https://support.google.com/chromebook/answer/1080595?hl=en

Perform a Hard Reset Go to settings select the reset section, you can do a reset or a powerwash.

Force-Boot Into Recovery Mode If you’d like to reinstall Chrome OS and you don’t see the “Chrome OS is missing or damaged” message on your screen, you can force your Chromebook to boot into recovery mode.

First, turn off your Chromebook. Next, press Esc + Refresh on the keyboard and hold down the Power button. Your Chromebook will boot straight to recovery mode.

Enable Canary First, turn off your Chromebook. Press Esc+Refresh+Power and, when the recovery prompt appears, press Ctrl+D and accept the prompt that appears to disable boot verification. When the Chromebook reboots, press Ctrl…