Fix Slow Graphics Performance on Ubuntu 13.04 + Intel GPU | LinuxG.net

This does actually appear to make a difference, but so does disabling the effects in cinnamon, I have not done detailed comparisons though.

Fix Slow Graphics Performance on Ubuntu 13.04 + Intel GPU | LinuxG.net.

 

cat /etc/X11/xorg.conf
Section “Device”
Identifier “Card0”
Driver “intel”
Option “AccelMethod” “uxa”
#Option “AccelMethod” “sna”
EndSection

It’s Alive! Install Jupiter In Ubuntu 13.04

It’s Alive! Install Jupiter In Ubuntu 13.04.

Rebuilding my laptop – Installation and Post Installation

Installation

Installation was as simple as getting a copy of Mint 16 DVD and performing a standard installation.

 Post Installation

I updated all packages that needed updating and then installed various additional packages to get me back the functionality I had before.

Additional PPAs

  • sudo -E add-apt-repository ppa:linrunner/tlp
  • sudo -E add-apt-repository ppa:ubuntu-wine/ppa

Packages

  • sudo apt-get install cntlm git gitk git-svn slapd ldap-utils ia32-libs proxytunnel openssh-server apache2 expect zenity tlp tlp-rdw indicator-cpufreq wine1.5

Additional Software

Virtual Box

wget http://download.virtualbox.org/virtualbox/4.3.8/virtualbox-4.3_4.3.8-92456~Ubuntu~raring_amd64.deb

sudo dpkg -i virtualbox-4.3_4.3.8-92456~Ubuntu~raring_amd64.deb

Dropbox

 

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
~/.dropbox-dist/dropboxd

Backups Restored

Restored:

  • bin directory
  • .ssh directory
  • Documents directory
  • Pictures directory
  • Desktop directory
  • gitolite-admin directory
  • .mozilla directory
  • .m2 directory
  • .profile
  • .gitconfig
  • .thunderbird
  • .mozilla

Copied opt.tar to /opt
Copied Development backup to ~

Other Stuff

  • sudo sudoedit /etc/sudoers – added NOPASSWD to the %sudo line

Configure system proxy to be localhost:3128

sudo vi /etc/apt/apt.conf.d/95proxy with proxy:

Acquire::http::proxy  "http://localhost:3128/";
Acquire::ftp::proxy "http://localhost:3128/";
Acquire::https::proxy "http://localhost:3128/";

Update Network Proxy to use localhost 3128 ffor http, https, ftp.  Don’t do this for socks

 

Fix up a android problem with a missing library

 

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0 /usr/lib/libGL.so

 

Intel Graphics and VMWARE

http://www.webupd8.org/2013/04/how-to-use-intel-linux-graphics-drivers.html

First of all upgrade the intel graphics drivers

echo "deb https://download.01.org/gfx/ubuntu/13.10/main saucy main #Intel Graphics drivers" | sudo tee /etc/apt/sources.list.d/intellinuxgraphics.list
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg -O - | sudo apt-key add -
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-2 -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get dist-upgrade

sudo apt-get install libtxc-dxtn-s2tc0

Modify vmware .vmx file to add

mks.gl.allowBlacklistedDrivers = "TRUE"

 

[ubuntu] bash: ./adb: No such file or directory

ia32-libs

via [ubuntu] bash: ./adb: No such file or directory.

Rebuilding my laptop – Preparation

Why am I doing this?

I am about to wipe my linux partition which was upgraded from Mint 14 to Mint 15. It left various residue of the mint 14 installation and I feel like doing it again from scratch.

I will be documenting the additional software I needed to install to get back to my preferred operating environment.

Preparation

Backup my /opt directory which contains most of my development software, including various installations of eclipse, soapui, maven, ant, jdk, android-sdk, sqldeveloper, lampp, maven repository, etc.

My work svn git clone which has 2 months now of history, even though I have a clone on a company server I don’t want to have to redownload it. All my git clones from github, for same reason.

Backup my bin and ssh directories, plus my .mozilla profile and .profile. Any downloads I wanted to keep, plus any documents and images, anything else I discarded and will just have to restore.

And don’t forget to tar -ztvf / tar – tvf the backed up tar balls to make sure they actually were saved to external hard drive correctly.

 

Additional Software

The additional software I can remember installing includes:

  • Shrew VPN (see previous blog post) – because vpnc sucks!
  • CNTLM – I use this to switch between my corporate proxy and no proxy without having to update anything else. All my tools point at localhost:3128, I just restart cntlm with a different parent proxy or the no proxy hack.
  • k3b – is an awesome ripping and cd / dvd burning software, nothing else from gnome comes close.
  • Chrome browser

Goodbye VPNC, hello Shrew VPN Client

I have been having a hell of a time with reliability of VPNC.

I have spent a lot of time lately trying to understand why sometimes it works and sometimes it does not work.

I have decided to try a different VPN client – Shrew VPN Client for Linux. I had to compile it from source on my Linux Mint 15 laptop, but it worked flawlessly.

I followed the instructions below.

http://stackoverflow.com/questions/13175823/how-can-i-install-shrew-soft-vpn-client-under-ubuntu-12-10

The only differences were I had to install flex and bison as well.

So the steps were:

1) cd /usr/local/src ; sudo wget https://www.shrew.net/download/ike/ike-2.2.1-release.tbz2

2) sudo apt-get install cmake libqt4-core libqt4-dev libqt4-gui libedit-dev libssl-dev checkinstall flex bison

3) sudo tar jxpvf ike-2.2.1-release.tbz2 ; cd ike

4) sudo cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES

5) sudo checkinstall -y

6) sudo cp /etc/iked.conf.sample /etc/iked.conf

7) sudo iked

8) qikea

9) Import my pcf file

10) Change the policy to configure split tunnel

11) Use ikec to execute from command line:

ikec -r “XXXX-Corp” -u first.last -p mypassword -a &

And low and behold works really well so far

Linux kernel and entropy – Pollux’s blog

HRNGDEVICE=/dev/urandom RNGDOPTIONS="-W 80% -t 20"

via Linux kernel and entropy – Pollux's blog.

Git-Svn and Remote Subversion Branches « Powered by the Pete

git svn rebase

via Git-Svn and Remote Subversion Branches « Powered by the Pete.

Archbird: Fix: Error “Blank line” installing Lexmark printer driver on Ubuntu 12.04

Archbird: Fix: Error "Blank line" installing Lexmark printer driver on Ubuntu 12.04.

Cheatsheet for Git as an SVN Client – Git-svn-cheatsheet.pdf

Cheatsheet for Git as an SVN Client – Git-svn-cheatsheet.pdf.