The time now is Wed 22 May 2013, 07:55
All times are UTC - 4 |
| Author |
Message |
Tman

Joined: 22 Jan 2011 Posts: 731 Location: Toronto
|
Posted: Mon 23 Apr 2012, 18:11 Post subject:
|
|
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: |
#!/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
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Mon 23 Apr 2012, 23:15 Post subject:
|
|
| Quote: | | have been trying out Arch recently |
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
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/23/first-steps-with-the-raspberry-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 . . .
_________________ Puppy WIKI
Last edited by Lobster on Tue 24 Apr 2012, 06:48; edited 2 times in total
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Tue 24 Apr 2012, 00:19 Post subject:
|
|
| 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!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
|
|
Back to top
|
|
 |
Tman

Joined: 22 Jan 2011 Posts: 731 Location: Toronto
|
Posted: Tue 24 Apr 2012, 12:13 Post subject:
|
|
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.
But during most other times, Arch can be updated with the usual commands: Pacman -Syy && Pacman -Syu
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Tue 24 Apr 2012, 12:31 Post subject:
|
|
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:
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 ...
EDIT: I can't seem to get a pinboard working. I've tried adding:
| Code: | | 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.
| Description |
|
| Filesize |
65.07 KB |
| Viewed |
1130 Time(s) |

|
_________________ My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
|
|
Back to top
|
|
 |
Tman

Joined: 22 Jan 2011 Posts: 731 Location: Toronto
|
Posted: Wed 25 Apr 2012, 14:23 Post subject:
|
|
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.
| Description |
|
| Filesize |
42.88 KB |
| Viewed |
1072 Time(s) |

|
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Wed 25 Apr 2012, 15:11 Post subject:
|
|
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!
| Description |
|
| Filesize |
95.64 KB |
| Viewed |
1039 Time(s) |

|
_________________ My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
|
|
Back to top
|
|
 |
sneekylinux
Joined: 20 Mar 2009 Posts: 64 Location: dorset,uk
|
Posted: Wed 25 Apr 2012, 15:50 Post subject:
|
|
| 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..
|
|
Back to top
|
|
 |
sneekylinux
Joined: 20 Mar 2009 Posts: 64 Location: dorset,uk
|
Posted: Wed 25 Apr 2012, 15:52 Post subject:
|
|
have had debian running fine for a while now on mine, might give ubuntu arm dev a go in a bit me thinks
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Thu 26 Apr 2012, 03:40 Post subject:
|
|
| Quote: | | have had debian running fine for a while now on mine |
Have you done a review?
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 WIKI
|
|
Back to top
|
|
 |
Tman

Joined: 22 Jan 2011 Posts: 731 Location: Toronto
|
Posted: Thu 26 Apr 2012, 14:36 Post subject:
|
|
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: |
<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...
|
|
Back to top
|
|
 |
Tman

Joined: 22 Jan 2011 Posts: 731 Location: Toronto
|
Posted: Thu 26 Apr 2012, 15:27 Post subject:
|
|
odd...it is not really using the "Pin" file, but the Pinboard is getting saved to somewhere else.
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Thu 26 Apr 2012, 15:53 Post subject:
|
|
This is the relevant part of my .xinitrc:
| Code: | 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: | 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!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
|
|
Back to top
|
|
 |
Tman

Joined: 22 Jan 2011 Posts: 731 Location: Toronto
|
Posted: Thu 26 Apr 2012, 16:22 Post subject:
|
|
Antiloquax,
And thank you as well; these exchanges help us both learn a few new tricks.
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Thu 26 Apr 2012, 17:11 Post subject:
|
|
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!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|