Page 3 of 12

Posted: Thu 26 Apr 2012, 18:36
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...

Posted: Thu 26 Apr 2012, 19:27
by Tman
odd...it is not really using the "Pin" file, but the Pinboard is getting saved to somewhere else.

Posted: Thu 26 Apr 2012, 19:53
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!

Posted: Thu 26 Apr 2012, 20:22
by Tman
Antiloquax,

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

Posted: Thu 26 Apr 2012, 21:11
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.
:)

Posted: Fri 27 Apr 2012, 08:44
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)

Posted: Fri 27 Apr 2012, 09:22
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

Posted: Sat 28 Apr 2012, 03:36
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

Posted: Sat 28 Apr 2012, 13:33
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.

Posted: Sat 28 Apr 2012, 14:00
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

Posted: Sat 28 Apr 2012, 14:12
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

Posted: Sun 29 Apr 2012, 11:22
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

Posted: Sun 29 Apr 2012, 22:06
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,

Posted: Mon 30 Apr 2012, 11:32
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!

Posted: Mon 30 Apr 2012, 12:46
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 :)

Posted: Mon 30 Apr 2012, 13:23
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.
# 

Posted: Mon 30 Apr 2012, 13:24
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

Posted: Tue 01 May 2012, 05:41
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

Posted: Tue 01 May 2012, 11:36
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:

Posted: Tue 01 May 2012, 16:34
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 ...