Skip to content

Xenial Minimal Install

CroutonGeek edited this page Mar 10, 2020 · 26 revisions

A. Create the ability to have a GUI

sudo sh ~/Downloads/crouton -r xenial -t x11

(The above will take a little while)

B. When the above completes, enter your chroot

sudo enter-chroot

Test the install with this command

xinit

A small xterm window will open against a black background. Press ctrl-d to exit

C. Install openbox

sudo apt-get install openbox menu nano

(The above will take a little while)

D. We need to create a few configuration files

nano .Xresources

xterm*font:10x20
xterm*geometry:80x25
xterm*background:black
xterm*foreground:green

nano .xinitrc

xsetroot -solid teal &
xrdb .Xresources &
exec openbox

Test your new GUI with the same command we used before

xinit

You will see a teal-colored background and a cursor. using the touchpad, then click on the top item, Terminal Emulator. A very nice xterm will open up with easily readable green letters against a black background.

Congratulations! You can now install anything else you wish from the terminal. What follows is merely a suggestion.


We will use some "spare parts" from LXDE to create a more usable environment. While still in the terminal, type this command

sudo apt-get lxpanel lxapperance lxsession-edit lxsession-logout lxterminal leafpad pcmanfm

After the above, we need to tweak the .xinitrc file so it appears like this

nano .xinitrc

xsetroot -solid teal &
xrdb .Xresources &
lxpanel &
exec openbox

After saving the changes, you now need to exit openbox. Close your terminal with ctrl-d, then right-click on the "desktop" and choose Exit.

Finally, from within the chroot, execute

xinit

You will now see the LXDE menu at the bottom of the page. Click on its start icon (it looks like a black terminal), choose Preferences, and Configure Look and Feel. Under the widgets tab, change to Clearlooks, and under Icons, choose the Humanity theme, and apply/click .

At this point, you have a usable system! You can tweak other settings same as you would in LXDE, and add other packages.

Clone this wiki locally