Archive for linux

Compiling Python on Ubuntu / Linux

Posted in Twisted Pair with tags , , , , on 2012/09/25 by Adam Griffiths

I’ve been having problems installing Python on my Ubuntu machine because of errors with setup tools.

During installation you get the following error:

Installing distribute into /home/ting/.pythonbrew/pythons/Python-2.7.3
ERROR: Failed to install setuptools. See /home/ting/.pythonbrew/build.log to see why.
Skip installation of setuptools.

And if you try and use pip / easy_install, you get this:

ImportError: No module named setuptools

It turns out the answer is simple, we’re missing some libraries required to compile it.

sudo apt-get build-dep python2.7

BAM! Pythonbrew works!

Advertisements

Making .bashrc modular (and awesome)

Posted in How To, Platforms with tags , , on 2012/01/26 by Adam Griffiths

.bashrc files quickly get complex.

Putting them into revision control is handy for persistance, but not always the best for sharing when not everyone has the same environment.

So lets fix that! Continue reading

DLink 323 Ops Manual

Posted in How To, Platforms with tags , , , , , on 2012/01/17 by Adam Griffiths

I’ve created a page with a concise list of instructions for setting up and managing the DLink 323.

I’m considering moving some of the less “blog” style posts into pages to keep them in a single place.

Shock goes Open Source

Posted in Development, Shock, Twisted Pair with tags , , , , , , on 2011/12/04 by Adam Griffiths

Today marks a historic day for Twisted Pair, as we release the full source code to the Shock C++ Cross-Platform library.

The project files and Socket module are currently missing.

When I get time, I’ll take a day to create the project files for MSVC, Eclipse and XCode.

Look out for PyGLy, our Python graphics library, on GitHub soon.

Linux on Netbooks

Posted in Platforms with tags , , , , on 2010/11/19 by Adam Griffiths

Getting Linux setup on my Netbook has been so incredibly frustrating. I installed Ubuntu at least 4 times. Each time believing I had gotten the install correct, only to find that when I went roaming it would freeze.

Continue reading

Installing Ubuntu on a Samsung N145 (and possibly others)

Posted in Platforms with tags , , , , , , on 2010/11/16 by Adam Griffiths

There are a few issues out-of-the-box with Ubuntu (and possibly other distros) on Samsung laptops and netbooks. Specifically:

  • Pressing the brightness function keys causes the keyboard to lock
  • The brightness keys don’t change the brightness.
  • Resuming from suspend hangs the computer with a black / blank screen.
  • Wireless does not work properly after resuming from suspend.

There are also non-Samsung related problems with Ubuntu and Unity:

  • Vi inserts A, B, C, D characters in insert mode when using the arrow keys.
  • Eclipse and Lyx menus don’t display in Unity (and other applications).

This guide is specifically for Ubuntu 10.10 and the Samsung N145 netbook, but the information will be applicable to other distros and Samsung laptops and netbooks.

If this page doesn’t resolve your issues, check the comments as other users have experienced other issues and found further work-arounds for them.

A comment on installing Debian on the N145.

A post on installing Debian on Atom based computers.

Last updated: 2011/01/09

Continue reading

This is why we can’t have nice things…

Posted in Platforms, Rant with tags , , , , , , on 2010/11/15 by Adam Griffiths

So my Ubuntu Netbook Remix 10.10 install lasted me less than a single day, and now I have the choice of trying again and hoping, or trying out the other netbook distros.

But wait… let me re-wind there.

Continue reading

%d bloggers like this: