Skip Navigation LinksUbuntu 12.04

​​Disable screen saver / screen blanker in Ubuntu 12.04:

gsettings set org.gnome.desktop.screensaver idle-activation-enabled false


 
Enabling HDMI audio:

for getting audio to work through my radeon hdmi, i had to change the following in my /etc/default/grub file from:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.audio=1"​


followed by issuing:

$ sudo update​-grub



 

How to install Office 2010 on Ubuntu 12.04 x64 (modified from http://craigacgomez.blogspot.com/2012/09/installing-microsoft-office-2010-in.html)


Add the official Wine PPA to get the latest Wine version

$ sudo add-apt-repository ppa:ubuntu-wine/ppa
$ sudo apt-get update
$ sudo apt-get install wine
Create a 32-bit Wine prefix. This is important since only Microsoft Office 2010 32-bit works on Wine and you need a 32-bit Wine environment to run 32-bit Windows applications. The WINEPREFIX can be a location of your choice.
$ export WINEPREFIX="$HOME/.wineprefixes/office2010/"
$ export WINEARCH="win32"
Start up Winetricks via the same command window to install some required dependencies
$ winetricks
In the WineTricks window which opens, select "Select the default wineprefix" and click OK. The new window which opens should have the WINEPREFIX location in the title
Winetricks - current prefix is "$HOME/.wineprefixes/office2010/"
Now select "Install a Windows DLL or component" and then select "dotnet20" and "msxml6" and follow the on-screen instructions.

Once that is done select "Install a font" and then select "corefonts"

After the "corefonts" installation is complete, select "Run winecfg". Then select the "Libraries" tab. 

You should see "*msxml6 (native, built-in)" in the "Existing overrides" section. Highlight it and click Edit and select "Native (Windows)" and click OK. Now, it should show up as "*msxml6 (native)"

Then add the "riched20" and "gdiplus" libraries from the "New override for library" section and make sure these are also set as "Native"

***** Adding the RICHED20 override in libraries will prevent you from being able to enter anything in the Product Key dialog box

Mount your ISO if applicable:

$  ​sudo mount -o loop /path/to/Office2010.iso /mnt


Now, navigate to the location of the Microsoft Office 2010 installation and type
$ wine setup.exe
Follow the on-screen instructions and complete the installation. Once that is complete, you should be able to run the Office programs you installed via the dash/menu icons.