Raspberry Puppi

A home for all kinds of Puppy related projects
Message
Author
User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#41 Post by Tman »

Antiloquax,

Although Jwm is not my favourite window manager, you got me curious to learning how to set it up in Arch.

So I installed Rox and Jwm, but cannot seem to get them to work in conjunction from the console.
xinit /usr/bin/jwm gives no rox pinboard and xinit rox -S ; /usr/bin/jwm doesn't work.

Currently I have to run the command:
xinit rox -S and then launch jwm with Rox-Filer.

Please post your technique on howto get these two running simulteanously,

...Much appreciated.

=====================

Edit: Oh,I figured out one way ...
Add the following to /root/.jwmrc

Code: Select all

<StartupCommand>rox -p=/root/Choices/ROX-Filer/Pin &</StartupCommand>
and then run xinit /usr/bin/jwm from the console.

But I still don't know how to get the ROX-Session running first and then Jwm after from the console...

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

#42 Post by Tman »

odd...it is not really using the "Pin" file, but the Pinboard is getting saved to somewhere else.

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

#43 Post by antiloquax »

This is the relevant part of my .xinitrc:

Code: Select all

rox -p --pinboard=pin
exec /usr/bin/jwm
The pinboard "pin" is then saved in ~/.config/rox.sourceforge,net/ROX-Filer as "pb_--pinboard=pin".
Which is a bit odd, come to think of it!

SNIP I realised that I didn't need "--pinboard=". It should be:

Code: Select all

rox -p pin
exec /usr/bin/jwm
The pinboard "pin" is then saved in ~/.config/rox.sourceforge,net/ROX-Filer as "pb_pin".

Thanks Tman - you saved me from a rookie error!
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

#44 Post by Tman »

Antiloquax,

And thank you as well; these exchanges help us both learn a few new tricks. :o

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

#45 Post by antiloquax »

Hi Lobster,

I haven't tried Barry's compile of Rox. What's the advantage of this over the Rox from the Arch repo? Is it smaller, faster? I may try it tomorrow if I get a chance.
Anyway, today I have been continuing to make slight progress.
I've installed xarchiver. I was having problems with Pygame in Python2, so I ditched that and compiled Python3.1.4. The current Arch version is 3.2.3 (I think). Pygame sound doesn't work yet with 3.2.x
Since the post about the "computers at school" manual made it clear that Python 3 will be the main teaching language in the educational release, I thought it more sensible to go for Python 3.
Anyway. I have pygame working now and it's importing images properly. So that's nice. I tried to install transmission-gtk, but got some errors. I will have to check my mirrors more thoroughly.
:)
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:

#46 Post by Lobster »

antiloquax wrote:Hi Lobster,
I haven't tried Barry's compile of Rox. What's the advantage of this over the Rox from the Arch repo? Is it smaller, faster? I may try it tomorrow if I get a chance.
Well I got a segmentation fault. I wish you more luck. It is more than likely smaller and is designed to link into Puppy programs, icons etc.
Anyway, today I have been continuing to make slight progress.
I've installed xarchiver. I was having problems with Pygame in Python2, so I ditched that and compiled Python3.1.4. The current Arch version is 3.2.3 (I think). Pygame sound doesn't work yet with 3.2.x
The sound facility/driver ALSA driver is at an early stage. I am not bothering with for example mhwaveedit.
I have pygame working now and it's importing images properly. So that's nice. I tried to install transmission-gtk, but got some errors. I will have to check my mirrors more thoroughly.
:)
Good that you are making progress. :) Yesterday I tried making use of upx to make programs smaller (without success). Though Puppy programs are compressed and decompressed before running anyways . . . Gnumeric was working OK. I have also started a simple bash script for the puppification of Squeeze. 8)
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

#47 Post by antiloquax »

That's great Lobster.
I am planing to install Scratch later. The version in the Arch repo is marked as "out of date" so I will have a go with the source files.
I'm planning to try to include some more specific Puppy bits (eg the screenshot shell script from Slacko).
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
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#48 Post by Flash »

Here are two articles about the Raspberry Pi board, one with pictures of the board.
http://www.techrepublic.com/photos/rasp ... hotopaging
http://www.techrepublic.com/blog/europe ... ag=nl.e010

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

#49 Post by antiloquax »

I've made some more progress with the Arch Puppi.
I've installed Open JDK, Greenfoot, GeoGebra, Lua and Ruby.
At present I can't get Scratch to work.
I've used the Slacko JWM tray and menu structure.
I will make a copy of the filesystem as soon as I can and upload it. This will probably take a long time as my internet connection isn't very fast. I don't see how I can make a proper image like the original one, but you should be able to dd the file-system across into an SD card set up with the original Arch image.
Attachments
Puppi3.png
(105.02 KiB) Downloaded 963 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
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#50 Post by Lobster »

creating img file

Code: Select all

dd if=/dev/sda of=/path/to/a/mounted/filesystem/filename.img 
http://www.murga-linux.com/puppy/viewto ... 977#621977
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#51 Post by Flash »

Lobster wrote:http://www.murga-linux.com/puppy/viewto ... 449#621449:
Can somebody with electronics knowledge explain this comment:
http://www.raspberrypi.org/archives/1090#comment-20572

I am quite keen on locking the SD boot device - only using it to boot from....
Ville on April 20, 2012 at 8:07 am said:

Wow, that actually explains why the lock “switch

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

#52 Post by antiloquax »

Hi Lobster,
Yes I used DD to create an image of the filesystem that I used in qemu (uploading to Ubuntu One now - very slow!)
What I wondered was if I could make a bootable SD card & image. I have had a go at this (but have no way to test it until I get my Pi).

I have a supposedly "2gb" card and I tried to DD the arch image onto it, but it isn't big enough! I had a go at DD-ing the boot partition onto it, but libparted told me that there were problems when I tried to run a check. Having said that Windows could see the files in this partition, so maybe it didn't matter!
I'm hoping to have a killer Arch-Pup by the time my Pi arrives!

I have one annoying problem. The "Up" key seems to be mapped to "print screen"! I've had a look at my .jwmrc and xorg settings, but so far I haven't solved it.
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.

Jades
Posts: 466
Joined: Sat 07 Aug 2010, 22:07
Location: Somewhere in Blighty.
Contact:

#53 Post by Jades »

I visited the Wakefield RISC OS Show on Saturday, Very interesting. Two stands had Raspberry Pis running. One had a version of Linux on it, I didn't have time for any more than a quick play but it appeared that the WM it was using was Openbox - I'm guessing this from the appearance of the icon bar and the presence of some Openbox items in the menu,
Zhaan - AMD K6 2 500, 512MB RAM, ATI Rage 128 VR. Full install Wary 5.5 [url=http://tinyurl.com/dy66kh8]HardInfo Report[/url]
Merlin - Core i5-4590, 8GB RAM, Radeon R9 270X. Slacko 5.7.0

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

#54 Post by antiloquax »

The file mentioned in my previous post is corrupt is some way.
I'll repost a link if I manage to get it working.
sorry!
Last edited by antiloquax on Mon 30 Apr 2012, 13:25, edited 1 time in total.
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:

#55 Post by Lobster »

Thanks guys :)

If anyone feels like having a look

Downloading and gonna burn over my Debian
. . . hope it works :)

If it is stable and faster - oh joy 8)

MarkG asked about Bacon Twitter - I did not test it
It is the GUI building that interests me
Progs can be created on X86 and easily moved

Report back soon :)
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:

#56 Post by Lobster »

Not sure what I am doing wrong but downloaded and tried to unzip twice . . .

Code: Select all

# unzip puppi.zip 
Archive:  puppi.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of puppi.zip or
        puppi.zip.zip, and cannot find puppi.zip.ZIP, period.
# 
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

#57 Post by antiloquax »

antiloquax wrote:
I haven'd had a chance yet to download it and test it, but hopefully it is ok.
mark
Hmmm :oops: I've just tried downloading it and unzipping but something is wrong. Sorry - I'll try re-uploading it.
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
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#58 Post by Lobster »

I'll try re-uploading it.
mark
Thanks Mark - appreciate the efforts

. . .meanwhile . . .
I tried compiling a GUI editor in and for Bacon
It took aprox 90 minutes to interpret and compile . . . and needed some dependencies
. . . could be a slow and laborious process to error check and I may have to put that on hold.

Compiling and optimisation is going to be critical
I may need a genie
http://puppylinux.org/wikka/ValaGenieintro
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:

#59 Post by Lobster »

OK been trying valac (the deb)
but it needs GTK+ and I am still unable to find this with synaptic

Must look again - got to be there somewhere
Not telling me I have to compile the GTK+ :?

Ay Chihuahua :roll:
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

#60 Post by antiloquax »

I've re-uploaded my arch filesystem (to a diff hosting site). I will check it myself with an md5sum before I post the link.
BTW after tman's comments about xorg-twm, I have been playing with it and ROX. I am going to get rid of JWM, just to see if it makes any difference to performance. :)

Also, I have been reading some interesting things about assembly code, Lisp and Perl. So much to learn ...
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.

Post Reply