Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 29 Aug 2014, 16:10
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Raspberry Puppi
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 16 [237 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 14, 15, 16 Next
Author Message
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: 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
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: 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 Cool

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 . . . Wink

_________________
Puppy WIKI

Last edited by Lobster on Tue 24 Apr 2012, 06:48; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: 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
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: 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. Wink
But during most other times, Arch can be updated with the usual commands: Pacman -Syy && Pacman -Syu
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: 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:
Code:
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 ... Embarassed
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.
puppi1.png
 Description   
 Filesize   65.07 KB
 Viewed   1293 Time(s)

puppi1.png


_________________
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
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: 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.
arch_preview.jpg
 Description   
 Filesize   42.88 KB
 Viewed   1234 Time(s)

arch_preview.jpg

Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: 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!
Puppi.png
 Description   
 Filesize   95.64 KB
 Viewed   1198 Time(s)

Puppi.png


_________________
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
View user's profile Send private message 
sneekylinux

Joined: 20 Mar 2009
Posts: 65
Location: dorset,uk

PostPosted: 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 . . . Confused
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
View user's profile Send private message MSN Messenger 
sneekylinux

Joined: 20 Mar 2009
Posts: 65
Location: dorset,uk

PostPosted: 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
View user's profile Send private message MSN Messenger 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: 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? Very Happy
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
View user's profile Send private message Visit poster's website 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: 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
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: 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
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: 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
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: Thu 26 Apr 2012, 16:22    Post subject:  

Antiloquax,

And thank you as well; these exchanges help us both learn a few new tricks. Surprised
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: 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.
Smile

_________________
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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 16 [237 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 14, 15, 16 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

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
[ Time: 0.0940s ][ Queries: 13 (0.0067s) ][ GZIP on ]