From the Burrow

Ubuntu on Adam Tablet...again

2012-01-23 00:00:00 +0000

ubuntu 12.04

A good while back I got hold of an Adam tablet in order to try and forfill a desire. You see I’m a geek but I love being outdoors and I want technology to progress to where it doesn’t limit where I can do what activity. The Adam seemed to fit the bill nicely; it uses a PixelQi screen which is perfectly readable in direct sunlight and, being a tablet, runs on an Arm processor which means the battery life is good. The only thing that was missing was the OS. The tablet came with a really bad skin over android which was quickly removed in favour of a decent build of android, and it was OK for a time. But for me I need to be able to create on my machines, I want to code, I want Ubuntu on the tablet.

I, sadly, haven’t got the knowledge to put an image together for the tablet but it has been done by a bunch of fantastic people online.

Their ROM got me a working build of Ubuntu 11.04, which I’ve since upgraded to 12.04 to fix the massive slowdown issues I was having. I have also identified an issue where ttyS0 is being respawned constantly, if your not worried about serial then simply remove ttys0.conf from /etc/init.

While this is fantastic it still is a little slow for heavy use but this is likely down to the fact that I haven’t currently got the graphics drivers installed. I’ll post back my findings when I’ve done this (again an awesome person on the forums has this sussed)

If you would like to follow along or have an Adam Tablet gathering dust the forum is here.

Once these last little issues are licked I’ll be having a play around with writing tablet apps for Ubuntu, so drop by if thats your thing! Ciao

Eben Moglen on the Freedom Box

2012-01-23 00:00:00 +0000

http://www.youtube.com/watch?v=gORNmfpD0ak

Recent Emacs googlings

2012-01-19 00:00:00 +0000

Ok this is just me dumping a few more things I ended up googling for today

Multiple ‘windows’ pointing to the same buffer, scrolling as if one http://stackoverflow.com/questions/970292/emacs-multiple-columns-one-buffer

Enable line numbers M-x linum-mode http://www.emacswiki.org/emacs/LineNumbers

Showing row and column of cursor within file M-x line-number-mode M-x column-number-mode http://www.gnu.org/software/emacs/manual/html_node/emacs/Position-Info.html

Steve Yegge’s awesome article on tweaking Emacs

OK back to work!

Emacs - Fixing indentation for a whole document

2012-01-19 00:00:00 +0000

The indentation system on emacs is brilliant for most languages but manually going through and tabbing the lines to get the correct indentation is such a waste of time.

First select everything in the buffer C-x h

Next fix indentation! M-x indent-region

And thats it! Everything should be indented to the correct level.

Windows Event Log Pain

2012-01-18 00:00:00 +0000

If you have an error in the Windows event log with no decent information, try this site out: http://www.eventid.net/ It will take a event-id and source or just the vague error message and give a decent rundown on what might have happened. I’m getting a lot of these turnign up in Zenoss these days!

Exchange Email And Linux

2012-01-18 00:00:00 +0000

Evolution Into Multicelular Organism in 60 days

2012-01-18 00:00:00 +0000

Just wonderful! http://www.wired.com/wiredscience/2012/01/evolution-of-multicellularity/

Emacs on multiple monitors

2012-01-18 00:00:00 +0000

Alas it seems there no decent way to have this but you can open a new frame. C-x 5 2 or File->New Frame

Coding TCL in Emacs

2012-01-18 00:00:00 +0000

This is just a quick post. At work I’m having to do a lot of TCL development and having recently become a convert to Emacs I obviously want to use it for everything!

The shortcuts are a bugger to remember so I thought I’d dump them here so I know where I can find them.

From http://www.rgrjr.com/emacs/advanced.html#tcl-mode

Commands:

M-x tcl-mode M-x inferior-tcl (C-c C-t in a Tcl source buffer) Tcl editing:

C-c TAB (tcl-help-on-word) C-c C-c (comment-region) Tcl editing support for inferior Tcl:

C-c C-t (inferior-tcl) creates one. C-c C-s (switch-to-tcl) switches to the inferior Tcl process buffer (but does not create one). C-c C-x (tcl-eval-region) C-M-x or C-c C-v (tcl-eval-defun) C-c C-f (tcl-load-file) loads a Tcl file into the inferior Tcl process

Awesome! The eval region has to be the thing I love most from writing lis pin emacs so its great to have it for TCL.

Anyhoo thats all!

Browsing remote servers with eshell

2012-01-18 00:00:00 +0000

As a budding Emacs nerd I’m looking at replacing my current awesome terminal emulator Terminator (it’s in the Ubuntu repos) with a shell within emacs.

I had a play with eshell and it worked well, but I wanted to be able to use a feature called find-file-at-point which opens the file your cursor is currently over in the buffer.

Turns out this is pretty damn easy: cd /ssh:username@servername:/path/you/want

Hit return, type in your password and you in!

Mastodon