Recently I've been looking at Povray, pyprocessing, and cfdg (version 3.0) as tools for creating digital images. I have branched two separate blogs where I mainly explore jruby + processing and

Saturday, 17 August 2013

Packaging processing for linux

It is a longterm goal for the processing guys to package processing for debian (ubuntu, mint etc). This would be nice but, from what I've read packaging requirements for debian are pretty anal, you require source for everything, and whatever you came up with they would probably futz with it anyway. But wait ArchLinux is streets ahead, it is there already.
  1. sudo pacman -Syu (make sure you are up to date)
  2. sudo pacman -S processing (and you are done)
and yes they are bang up to date, as processing-2.0.2 is what gets installed (only a day after it was released).  There is a slight problem though, ArchLinux is not the easiest distro to install, however once you've done it, you are the one in control (it does not seem that way with many other distros).

The pacman distro also does a pretty good job with jruby

  1. sudo pacman -S jruby (and you are done, it is also the most recent version)
What you need to know is where your gems will end up which is probably:-

{USER.HOME}.gem/ruby/2.0.0, it might be worth setting this as GEM_HOME in your .bashrc, and while you are at adding ${GEM_HOME}/bin to your path so your gem installed executables will run. So you might as well install ruby-processing whilst you are at it. 

Friday, 16 August 2013

Selecting a default kernel in kubuntu (linux since grub2)

Those distro/grub guys try to make it really hard for you to control which kernel you boot, and its getting harder. For a long time now I've been rolling my own kernel (currently linux-3.10.7), and usually what I want is for the latest kernel to get selected by by default, which is what normally happens by default. That is until I start to to experiment with nouveau, now my linux-3.10.7-nouveau is the one that gets to the top of the pile, and is selected by default. The answer in this case when you are running kubuntu (actually probably any linux distro since grub2) is to edit /etc/default/grub, the following is rather specific for kubuntu but you get the idea:- replace
GRUB_DEFAULT='Advanced options for Kubuntu GNU/Linux>gnulinux-3.10.7-advanced-9a864d14-c01c-46d8-b4f8-f62579a8e34d'
sudo update-grub
Note the preferred way to do it is with a string rather than using numbers note
Advanced options for Kubuntu GNU/Linux
navigates you to the second ('hidden') menu and the ">" is require to step to second part of menu. By the way
grep menuentry /boot/grub/grub.cfg
is a neat way to examine your current boot setup (don't even consider editing /boot/grub/grub.cfg).


Blog Archive

About Me

My photo
Pembrokeshire, United Kingdom
I have developed JRubyArt and propane new versions of ruby-processing for JRuby- and processing-3.2.2