Openbox: Difference between revisions
mNo edit summary |
|||
Line 1: | Line 1: | ||
{{Expand|These instructions need completing.}} | |||
== Initial setup == | == Initial setup == | ||
Line 7: | Line 9: | ||
We need the Community Repository available for access to the Openbox packages. Instructions are available on the [[Repositories#Enabling_the_community_repository|Repositories]] page. | We need the Community Repository available for access to the Openbox packages. Instructions are available on the [[Repositories#Enabling_the_community_repository|Repositories]] page. | ||
== Minimal Installation == | == Minimal Installation and Configuration == | ||
Install the basic packages for a minimal installation: | Install the basic packages for a minimal installation: | ||
Line 16: | Line 18: | ||
Terminus is needed because without any fonts, you will not be able to see any text in Openbox. | Terminus is needed because without any fonts, you will not be able to see any text in Openbox. | ||
== Configure <code>xorg-server</code> == | === Configure <code>xorg-server</code> === | ||
On most systems, xorg should be able to auto-detect all devices. However, you can still configure xorg-server manually by launching: | On most systems, xorg should be able to auto-detect all devices. However, you can still configure xorg-server manually by launching: | ||
Line 22: | Line 24: | ||
{{Cmd|# setup-xorg-base}} | {{Cmd|# setup-xorg-base}} | ||
== Configure user == | === Configure user === | ||
To make Xorg work as normal user you need to add user to these groups: video, input. | To make Xorg work as normal user you need to add user to these groups: video, input. | ||
Line 30: | Line 32: | ||
{{Cmd|# addgroup <username> video}} | {{Cmd|# addgroup <username> video}} | ||
== acpid == | === 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. | If you installed your Alpine Linux as a VirtualBox or VMWare guest, you might find it handy to be able execute an ACPI shutdown. | ||
Line 36: | Line 38: | ||
{{Cmd|# rc-update add acpid}} | {{Cmd|# rc-update add acpid}} | ||
== Set Openbox as the default WM == | === Set Openbox as the default WM === | ||
{{Cmd|$ echo 'exec openbox-session' >> ~/.xinitrc}} | {{Cmd|$ echo 'exec openbox-session' >> ~/.xinitrc}} | ||
== Copy the config files to your home folder == | === Copy the config files to your home folder === | ||
{{Cmd|$ mkdir ~/.config}} | {{Cmd|$ mkdir ~/.config}} | ||
Line 48: | Line 50: | ||
{{Note|The default configuration is minimal and most menu options won't work unless you customize and/or install additional packages. More information is available in the [http://openbox.org/wiki/Help:Configuration Openbox configuration documentation].}} | {{Note|The default configuration is minimal and most menu options won't work unless you customize and/or install additional packages. More information is available in the [http://openbox.org/wiki/Help:Configuration Openbox configuration documentation].}} | ||
== Edit Openbox settings == | === Edit Openbox settings === | ||
You can now edit the Openbox settings for your user by editing the files located in <code>~/.config/openbox</code> | You can now edit the Openbox settings for your user by editing the files located in <code>~/.config/openbox</code> |
Revision as of 07:29, 19 April 2023
This material needs expanding ... These instructions need completing. |
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 Repositories page.
Minimal Installation and Configuration
Install the basic packages for a minimal installation:
# apk add openbox xterm font-terminus
xterm is needed so you have a way to access the terminal in X. There are alternatives but this is the classic. Terminus is needed because without any fonts, you will not be able to see any text in Openbox.
Configure xorg-server
On most systems, xorg should be able to auto-detect all devices. However, you can still configure xorg-server manually by launching:
# setup-xorg-base
Configure user
To make Xorg work as normal user you need to add user to these groups: video, input.
# addgroup <username> input
# addgroup <username> video
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 'exec openbox-session' >> ~/.xinitrc
Copy the config files to your home folder
$ mkdir ~/.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 be studied on the Openbox wiki.
Start X
$ startx