Now Playing Tracks

arch_remix_3

md5sum:
c0c3df7b7300fd9fba814790bb7a0bd9  arch_remix_3.img

This is the latest release of my remix of Arch Linux for the Raspberry Pi.

I have not set up a separate user, so you log on as root, with the password “root”. (I am a Puppy Linux user at heart and we always run as root! ).

The following command will launch a graphical session:
startx

The desktop is managed by Rox and Openbox. A right-click on the desktop will bring up the openbox menu.

To power off, right click on the desktop and choose the “shut down” option from the Openbox menu.

This image overclocks the Pi to 900mhz by default. You can change this by editing /boot/config.txt.

The system comes with a bare minimum of software with which to start programming. Scratch and IDLE (Python 3.1.5) can be opened from desktop icons.

Also installed are
* Python 2.7.3 plus pygame
* MIT Scheme
* Leafpad
* Mtpaint (a useful image editor),
* Mupdf (a fast pdf reader)
* NetworkManager and nm-applet
* Tigervnc (to allow you to use a graphical interface when running headless).

If you log in via ssh and wish to use vnc, you might like to use a simple script I have written. You can launch the vnc server by  typing:
vnc.sh

You can then view this from your other computer (assuming you have a vnc viewer installed  and both computers are connected to the router) with this command:
vncviewer [address_of_pi]:1

I have compiled Python 3.1.5 from source. I prefer to use Python 3 and this version is fully supported by Pygame (which is also installed).

No browser is included, but you can easily install one with pacman, for example:
pacman -S midori

I have written a simple script which will mount the first partition of a usb drive  (which can be accessed via the openbox menu). If you want to mount other drives and partitionsYou will need to mount them manually. (See the Arch Wiki).

I have deliberately kept this installation small so it should easily fit onto a 2 gb card. As a result, it would be advisable to expand the main partition after copying it to an sd card. Instructions for how to do this can be found on the Raspberry Pi forum.

The sd card image does not include a swap partition but I have put a (commented out) entry for it in fstab, so you can use that if you make a swap on the SD card.

It’s worth noting that using the SD card for a swap partition will dramatically shorten its life. I’d recommend setting up the swap file on a real external hard drive.

Connection to the internet ought to be painless using nm-applet.

If you run into problems, leave a comment on my wordpress blog (teampython) or email me on antiloquax@sky.com.

If you are planning to try Arch and don’t have much experience, I recommend reading the Arch wiki: https://wiki.archlinux.org/

Enjoy.
antiloquax


notes:

When you open a terminal, the “archey” script displays some ascii art and system information. To disable this edit /etc/bash.bashrc

To change the openbox menu, conky and tint2 settings, look in the folder ~/.config.


dropbox_uploader.sh is a very useful script I found on github. If you run it, it will lead you through the process of setting up an app so that you can access your dropbox from the command-line. It’s a very handy tool.

If you do still do not have a Raspberry Pi, but want to try out Linux and learn programming on a PC or laptop, RacyPy 4_1may be for you.

Racy Py was featured in the first issue of the MagPi  and Liz Upton mentioned it in one of her blog posts on the RPi homepage.

This edition is built on the most up to date version of Puppy Linux. (kernel is 3.0.25).
It has Python 3.1.5 including pygame (this is “a source-only security fix for 3.1.4”.)

Other programming languages included are java (jdk 7u13), scala and mit scheme.

The devx (for gcc etc.) is here.

md5sum for the .iso:

c1e6e0ae46f58ffae5b432e18463a6a2  racypy4_1.iso

My arch set-up, #2

Arch Linux

This is a very basic installation of Arch Linux for the Raspberry Pi.

I have not set up a separate user, so you log on as root, with the password “root”. (I am a Puppy Linux user at heart and we always run as root! ).

The following command will launch a graphical session:
startx

The desktop is managed by Rox and Openbox. To power off, right click on the desktop and choose the “shut down” option from the Openbox menu.

This image overclocks the Pi to 930mhz by default. You can change this by editing /boot/config.txt.

The system comes with a bare minimum of software with which to start programming. Scratch and IDLE (Python 3.1.4) can be opened from desktop icons.

Also installed are
* MIT Scheme
* Leafpad,
* Mtpaint (a useful image editor),
* Mupdf (a fast pdf reader)
* wireless_tools and wpa_supplicant
* Tigervnc (to allow you to use a graphical interface when running headless).

If you log in via ssh and wish to use vnc, you might like to use a simple script I have written. You can launch the vnc server by typing:
vnc.sh

You can then view this from your other computer (assuming you have a vnc viewer installed and both computers are connected to the router) with this command:
vncviewer [address_of_pi]:1

You will be prompted for a password. The password is:
button

I have compiled Python 3.1.4 from source. I prefer to use Python 3 and this version is fully supported by Pygame (which is also installed). In the /home folder, you will find some useful Python tutorials (.pdf files).

When I tested on my Pi, pygame (including sound) as well as sound in Scratch, were working. If you wish you can try out a test program called “myshooter” which is the the /root/python folder and is my version of Liam Fraser’s PiShooter game.

No browser is included, but you can easily install one with pacman, for example:
pacman -S midori

I have written a simple script which will mount the first partition of a usb drive, but if you want to mount other drives and partitions, you will need to mount them manually. (See the Arch Wiki).

I have deliberately kept this installation small so it should easily fit onto a 2 gb card. As a result, it would be advisable to expand the main partition after copying it to an sd card. Instructions for how to do this can be found on the Raspberry Pi forum.

The sd card image includes a swap partition and I have put an entry for it in fstab, so it
should be activated on each boot.

To set up wifi, you will need to read the instructions on the arch wiki. Once you have set it up, there is a simple shell script called “wifi.sh” which should allow you to connect (although depending on your network settings you may need to alter it, again, the wiki will help here).

If you are planning to try Arch and don’t have much experience, I recommend reading the Arch wiki: https://wiki.archlinux.org/

Enjoy.
antiloquax


The sha1sum for the extracted image is: 7cf77ee91a6208604adc011c1d4bbb5b45654648 arch.img

I have made an image of a very simple installation of Arch with Scratch and Python3 + Pygame ready installed.

Setting up Arch is a bit more difficult than Raspbian, so this may help you see what performance benefits this distribution offers.

Download the .zip of the image here:
arch.zip - google drive
or here:
arch.zip on dropbox

The sha1sum is:
a8a44c145eabd8682f70d1a1f79c2e246dbb0ead  arch.img

There are some instructions in this file:
README.txt

I hope you find this useful!

We make Tumblr themes