Raspberry Puppi

A home for all kinds of Puppy related projects
Message
Author
User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#21 Post by antiloquax »

I have JWM running on Arch Arm. My .jwmrc is pretty useless, points to lots of stuff that isn't there!
I can open a terminal though. Next job is to get ROX working.
mark
Attachments
jwm.png
(16.36 KiB) Downloaded 2011 times
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#22 Post by antiloquax »

I've got rox working now as well as geany and the Python Idle!
Attachments
rox.png
(68.32 KiB) Downloaded 2020 times
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

aarf

#23 Post by aarf »

antiloquax wrote:I've got rox working now as well as geany and the Python Idle!
were happy for you antiloquax but it would also be helpful if you could document your breakthroughs so we can follow. tell us how as well.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#24 Post by antiloquax »

Sorry aarf :oops:
Well, first of all I extracted the root file system from the arch image.
Run the command:

Code: Select all

file archlinuxarm-19-04-2012.img
This will tell you that there are two partitions. We want to extract the second one, which is ext3.

Code: Select all

dd if=archlinuxarm-19-04-2012.img of=arch.ext3 skip=<start sector> count=<end sector>
Now I have found that this doesn't always work first time. To check your file, try:

Code: Select all

gparted arch.ext3
If gparted shows an ext3 partition, good. If not, try again. When you have successfully got a file-system in arch.ext3, you can run it in qemu.
Next you need a kernel. This one works.
I logged in as root.
Then I installed a few things:
pacman -S xorg-server xorg-xinit xorg-server-utils xf86-video-fbdev
That should make it possible to run jwm. Then I got xterm and rox
pacman -S xterm rox
Now if you run:
xinit /usr/bin jwm
JWM should start. Most of the menu items don't work (they point at programs that are not there!) But you should be able to launch the terminal and then run rox from there.

I am on a steep learning curve here!
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#25 Post by Lobster »

well done antiloquax
thanks for the info
:)

The steeper the curve, the better the view.

. . . meanwhile in Debian I installed synaptic.
. . . it was so slow I went to watch some paint dry for light relief . . .
eventually midori and snaptic collapsed and locked up the pi

Learned some more apt-get commands,
looked for squeeze ARM lists online
- just going to the right FTP servers might be quicker then zzzznaptic
will try again with snaptic - need to know what progs are available . . .

To credit Debian, Scratch is fast
and the Rpi is designed as a teaching computer
so Debian are focused
There is also an emphasis on Python editors and tools

For Raspberry PupPy we have a series of spec to work towards:

Run in the 256MB ram of the Pi
This means we can lock the SD card if we wish and write to a second device for config and data e.g. a keydrive. It also means calling from memory cache rather than SD
Recognizable Puppy scripts and programs

JWM - Joes Window Manager
Rox File Manager

Puppy Package Manager and/or ARMpet based on Quickpet/Slickpet
Puppy Control Panel

Puppy Soft Phone
Puppy GROWL Security
Mhwavedit
MoManager - create non-English Puppy

Puppy Cloud support, Meebo, Gmail, Yahoo, IRC etc
Transmission bit torrent
Emergency Yodel button - optional :oops:
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#26 Post by Lobster »

The name of rox in Debian Squeeze .deb = rox-filer
used apt-get install rox-filer

The Pi now has Rox

Puppy Linux
Rox
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#27 Post by antiloquax »

Lobster wrote: The Pi now has Rox

Puppy Linux
Rox
:D :D
I'm going to try to get mtpaint on my qemu Arch Pi later today. Also I need to wrestly with jwm and rox so that I can get a desktop image and some icons on it. :oops:
mark
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#28 Post by antiloquax »

I need a bit of help!
I have been editing system.jmrc, but I realise that I should have set up something else (is it __root__.jmrc or something?)
Anyway, if anyone can tell me how, or where to look, I'd appreciate it.

So far I have changed the menus so they only show the things that work (geany, rox and Python). I've also changed the start menu label to "PupPy". This version of arch doesn't seem to have many icons included, but I have a menu icon for geany!

I've made the desktop a nice red colour and written an xorg.conf so I have an 800x600 screen. Wallpaper will have to wait until I get home (I don't have internet on the set-up I am using at the moment).

I would like to know how to get the pinboard working. So far I cannot put things on the desktop.
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#29 Post by Lobster »

I have been editing system.jmrc, but I realise that I should have set up something else (is it __root__.jmrc or something?
look in etc/system.jwmrc

meanwhile . . . installed chromium-browser in Debian Squeeze
So far faster and more reliable than the default midori
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#30 Post by Lobster »

dia running OK
mhwaveedit below message. OK understood - drivers needed

Code: Select all

root@raspberrypi:/home/pi# mhwaveedit
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
socket(): Address family not supported by protocol

(mhwaveedit:1954): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
The program did come on screen and ran
Last edited by Lobster on Tue 24 Apr 2012, 00:56, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#31 Post by Tman »

Lobster,

I don't have a Raspberry Pi, but I have been trying out Arch recently and did create some notes for myself. Below are my notes to get xfce or lxde up and running in Arch. It's not Jwm, but at least you'll have a working Desktop Environment. These notes will be easier to read if you copy them to a script and view it from geany.

Code: Select all

#!/bin/sh
# AFTER INSTALLING ARCH TO THE HARD-DRIVE:

#ADD NEW USER
adduser
#Additional groups: audio,video,optical,storage,power,wheel,games
nano /etc/sudoers
#give new user root permission

#UPDATING ARCH
pacman -Syy
pacman -S pacman
pacman -S filesystem --force
pacman -S tzdata
rm /etc/profile.d/locale.sh
pacman -Syu

#INSTALL X
pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils
pacman -S xorg-twm xorg-xclock xterm ttf-dejavu

#INSTALL VIDEO DRIVERS + DBUS
pacman -S xf86-video-vesa dbus
cp /etc/skel/.xinitrc /root
cp /etc/skel/.xinitrc /home/tman
#replace tman with your username

#ADDING DBUS TO STARTUP
nano /etc/rc.conf
#add "dbus" to beginnng of "DAEMONS" list
#reboot to get dbus running

#INSTALL A DESKTOP ENVIRONMENT
pacman -S lxde xfce
nano ~/.bash_profile
#add "export DESKTOP_SESSION=LXDE" to the last line (without quotes)
nano ~/.xinitrc
#add "exec ck-launch-session startlxde" without quotes
nano /home/tman/.xinitrc
#exec ck-launch-session startlxde

#CONFIGURE OPENBOX
cd /etc/xdg/openbox
mkdir ~/.config/openbox
cp * ~/.config/openbox
rm ~/.config/openbox/environment

#START LXDE OR XFCE FROM CONSOLE
#I have created go-lxde and go-xfce scripts to run the commands below:
xinit /usr/bin/ck-launch-session dbus-launch startlxde
xinit /usr/bin/ck-launch-session dbus-launch startxfce4
These notes are based on info from some Youtube tutorials and the Arch Wiki: https://wiki.archlinux.org/index.php/LXDE

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#32 Post by Lobster »

have been trying out Arch recently
Image

excellent Tman - added link to your info on wiki
antiloquax will be pleased - preparing an Arch based Puppi . . .

Have decided the Puppi name suggested works 8)

Two notes for old BBC micro enthusiasts . . .
Rox and and xaraLX were originally coded for the ARM based
Archimedes computer
http://en.wikipedia.org/wiki/Acorn_Archimedes

Also read this to get an honest and mature appraisal of the software
http://benosteen.wordpress.com/2012/04/ ... pberry-pi/
Start by expecting that nothing works and that you, or someone like you, will have to put the time and effort in to make it do what you want.
Be supportive and congratulatory of anyone who improves that situation. For example, going from no sound through linux to a partially working ALSA driver is cause for celebration, not ‘WTF Boo SUCKS’
More of guideline #1 – if you expect everything to work Out-Of-The-Box this early on, you will be disappointed.


I wonder if they read sickguts adventures with a mountain and mouthwash . . . :wink:
Last edited by Lobster on Tue 24 Apr 2012, 10:48, edited 2 times in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#33 Post by antiloquax »

Tman wrote:I have been trying out Arch recently and did create some notes for myself.
This is very useful, thanks Tman.
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#34 Post by Tman »

Lobster and Antiloquax,

You're welcome. Please note that in the "UPDATING ARCH" section, that the commands I used were workarounds needed to update the official release of Arch. :wink:
But during most other times, Arch can be updated with the usual commands: Pacman -Syy && Pacman -Syu

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#35 Post by antiloquax »

I haven't got around to looking at your notes properly tman - I will do so a bit later this evening.
However, my Arch Puppy is coming along! I installed NetSurf as my default browser.
By the way, if anyone else is trying this, you'll need to do:

Code: Select all

pacman -S lcms
in order to get a shared object that netsurf requires.

And i've added a few essentials (gparted, leafpad, hardinfo, mtpaint, pygame).
I've got it starting JWM automatically (after login).
I have been putting off tacking the "icons on the desktop" issue ... :oops:
EDIT: I can't seem to get a pinboard working. I've tried adding:

Code: Select all

 rox -p /usr/Choices/ROX-filer/pin
to .xinitrc, but I still can't put icons on the desktop. Can anyone offer advice?[/b]

I'm posting a screen-shot that shows glx gears running.
Attachments
puppi1.png
(65.07 KiB) Downloaded 1659 times
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#36 Post by Tman »

I'm not sure about the Rox/Jwm combo but with LXDE, everything is pretty much set up for you. The only problems that I have with it, is that some apps don't appear in the menus after you install them with Pacman.
Attachments
arch_preview.jpg
(42.88 KiB) Downloaded 1527 times

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#37 Post by antiloquax »

Thanks to sickgut for his help!
I now have ROX and JWM working together.
I think that what I was doing wrong was that I set a background image in my .jwmrc and so, although the pinboard was there, I couldn't see it. This is where I am up to so far. I need to make some more room in my partition so I can install some more things. But I have Vim and Python, so I am a pretty happy bunny (sorry - Puppy!)
BTW I am posting this from my virtual Pi!
Attachments
Puppi.png
(95.64 KiB) Downloaded 1492 times
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

sneekylinux
Posts: 61
Joined: Fri 20 Mar 2009, 19:49
Location: dorset,uk

#38 Post by sneekylinux »

Lobster wrote:I am trying Arch
and so far I have
updated Arch
downloaded and 'installed' the jwm window manager
the configuration for jwm is in /etc/system.jwmrc
and I have looked at it with nano - a cli editor

not sure how to get jwm running . . . :?
Any ideas?

it needs a display option
something like jwm -display vesa30
drop liam a line over at raspberry pi tutorials, he has arch up and running fine lobster..

sneekylinux
Posts: 61
Joined: Fri 20 Mar 2009, 19:49
Location: dorset,uk

#39 Post by sneekylinux »

have had debian running fine for a while now on mine, might give ubuntu arm dev a go in a bit me thinks

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#40 Post by Lobster »

have had debian running fine for a while now on mine
Have you done a review? :D
Also using the Puppification process will give you faster options . . .
http://puppylinux.org/wikka/Puppi

I will be going through the puppification process again
and adding/improving the process. I welcome your comments and/or suggestions.

Mark, who is starting more from scratch with Arch on Qemu is offering an alternative approach but working with an ARM emulator

Meanwhile Barry is compiling on a more advanced ARM chip
http://bkhome.org/blog/?viewDetailed=02800

I am getting more comfortable with the Rpi - early days though . . .
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply