You are not logged in.

#1 2012-08-10 10:52:45

yaffare
Member
Registered: 2011-12-29
Posts: 71

Arch Installation: load X with gparted, firefox, terminal, mc, editor

how to load a minimal desktop in RAM from the arch install-cd:

boot cd, then type:

wget -q -O - http://slexy.org/raw/s20l2GLprW | bash

systemd is like pacman. enjoys eating up stuff.

Offline

#2 2012-08-10 11:22:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,332
Website

Re: Arch Installation: load X with gparted, firefox, terminal, mc, editor

Interesting idea.  A couple of questions/suggestions: why do you install both xterm and lxterminal?  Just pick one.

Also, using `pacman -Sy <lots of packages>` will almost certainly lead to breakage once the iso is out of date.  Either use just `pacman -S <packages>` or `pacman -Syu <packages>`.  I suspect the latter will be necessary as there is not yet a package database in the live environment - but I'm not sure ... if the former works, it would be simpler.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-08-10 12:45:32

yaffare
Member
Registered: 2011-12-29
Posts: 71

Re: Arch Installation: load X with gparted, firefox, terminal, mc, editor

Trilby wrote:

Interesting idea.  A couple of questions/suggestions: why do you install both xterm and lxterminal?  Just pick one.

Also, using `pacman -Sy <lots of packages>` will almost certainly lead to breakage once the iso is out of date.  Either use just `pacman -S <packages>` or `pacman -Syu <packages>`.  I suspect the latter will be necessary as there is not yet a package database in the live environment - but I'm not sure ... if the former works, it would be simpler.

thx for feedback. Yes sometimes this will not work, but then people could -Syu manually or use the daily snapshot: https://releng.archlinux.org/isos/
I added xterm cause if I remember correctly, x sometimes does not start without it. I chose lxterminal cause you can right click copy and paste.

Of course it would be better if those packages were already on the live-cd and "startx" command ready to go.
(packages only 70MB could be put in /var/cache/pacman)
You could easily create your own with archiso, but I dont want to create a new one every release, so I just thought for some people this little script might help installing.

Last edited by yaffare (2012-08-10 13:15:14)


systemd is like pacman. enjoys eating up stuff.

Offline

#4 2012-08-10 16:41:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,332
Website

Re: Arch Installation: load X with gparted, firefox, terminal, mc, editor

Xorg only fails in the absence of xterm when it uses the default start up files.  You can avoid this by calling "xinit" instead of "startx", then xterm is not needed.  Either way works, but if you wanted to trim it down, that would help.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2012-08-11 13:55:41

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: Arch Installation: load X with gparted, firefox, terminal, mc, editor

Sorry, but xinit also runs xinitrc just like startx, and xterm is never needed unless specified, or if running without a user .xinitrc, as the system-default one in /etc/X11/xinit/xinitrc runs xterms and twm...

Last edited by mhertz (2012-08-11 14:02:02)

Offline

Board footer

Powered by FluxBB