add scripts.md page to the wiki-web
This commit is contained in:
parent
693f1beb4e
commit
fa746c8b6b
1 changed files with 78 additions and 0 deletions
78
scripts.md
78
scripts.md
|
@ -4,3 +4,81 @@ If you don't wish to [[install|https://git.disroot.org/joborun/web/src/branch/ma
|
|||
|
||||
### Install X + openbox + jwm ###
|
||||
|
||||
The first script that many may be interested in is simply a file list needed on top of base to start X and openbox or jwm.
|
||||
Note here that <strong>you don't need a kernel or a fully booted system to run X</strong>, you can chroot from console from another system, and if mounting of system directories is equivalent to arch's arch-chroot, you can switch to user, go to the home directory and simply type xinit or startx.
|
||||
|
||||
#### installX ####
|
||||
<pre>
|
||||
#!/usr/bin/zsh
|
||||
sudo pacman -Sy $(cat X.list) --noconfirm
|
||||
# sudo /usr/local/bin/cldoc # use if you want documentation/help removed to save space
|
||||
xinit
|
||||
</pre>
|
||||
|
||||
cldoc is an other optional script for those who would rather reach documentation through network and don't need it in their minimalist system
|
||||
|
||||
#### /usr/local/bin/cldoc ####
|
||||
<pre>
|
||||
% sudo chmod 0755 /usr/local/bin/cldoc
|
||||
</pre>
|
||||
contents:
|
||||
<pre>
|
||||
#!/bin/sh
|
||||
sudo rm -rf /usr/share/{doc,man,html}/*
|
||||
sudo rm -rf /usr/local/share/{doc,man,html}/*
|
||||
</pre>
|
||||
|
||||
X.list is separated from the script and it is just the list of proposed packages we suggest for your first start. Unfortunately the configurations are stored in that /home/make directory, and without them the setup will be as plain and boring as arch.
|
||||
|
||||
This X.list is as follows and feel free to subtract and add what you know will work better for you. It is meant for remembering what is needed and not keep reading Xorg.0.log for what is missing.
|
||||
|
||||
#### ~/X.list ####
|
||||
|
||||
<pre>
|
||||
arandr
|
||||
conky
|
||||
elinks
|
||||
feh
|
||||
jwm
|
||||
leafpad
|
||||
lxterminal
|
||||
obconf
|
||||
obmenu-generator
|
||||
openbox-patched
|
||||
virtualbox-guest-utils
|
||||
xdg-user-dirs
|
||||
xf86-video-ati
|
||||
xf86-video-amdgpu
|
||||
xf86-video-intel
|
||||
xf86-video-vesa
|
||||
xf86-video-vmware
|
||||
xorg-server
|
||||
xorg-xinit
|
||||
pcmanfm
|
||||
libtool
|
||||
package-query
|
||||
</pre>
|
||||
|
||||
At this point you have to make sure you have this minimal file in your home directory:
|
||||
|
||||
#### ~/.xinitrc ####
|
||||
|
||||
<pre>
|
||||
#!/usr/bin/zsh
|
||||
exec openbox-session
|
||||
#exec jwm
|
||||
#exec lxterminal
|
||||
</pre>
|
||||
|
||||
then simply type xinit (or startx no difference).
|
||||
|
||||
|
||||
### More scripts to follow: ###
|
||||
<pre>
|
||||
</pre>
|
||||
|
||||
<pre>
|
||||
</pre>
|
||||
|
||||
<pre>
|
||||
</pre>
|
||||
|
|
Loading…
Reference in a new issue