Openbox

From Alpine Linux
Revision as of 01:30, 18 November 2021 by Ethanpil (talk | contribs) (Updated and simplified)

Initial setup

Start by booting Alpine (see these instructions on how to do that)

Enable Community Repository

We need the Community Repository available for access to the OpenBox packages. Instructions are available on the Enable Community Repository page.

Install packages

Install openbox, xterm, and terminus font.

Depending on your network speed, it might take a few minutes.

Configure xorg-server

On most systems, xorg should be able to autodetect all devices. However, you can still configure xorg-server manually by launching:

# setup-xorg-base

acpid

If you installed your Alpine Linux as a VirtualBox or VMWare guest, you might find it handy to be able execute an ACPI shutdown.

# rc-update add acpid

Set openbox as the default WM

$ echo 'openbox-session' >> /home/<newuser>/.xinitrc

Copy the config files to your home folder

$ mkdir /home/<newuser>/.config

$ cp -r /etc/xdg/openbox ~/.config

Edit openbox settings

You can now edit the openbox settings for your user by editing the files located in

~/.config/openbox

The OpenBox configuration details can he studied on the OpenBox wiki.

Start your X!

$ startx