Fluxbox: Difference between revisions

From Alpine Linux
m (Add to Desktop Category)
(mark insecure url)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Initial setup =
{{TOC right}}
Start by booting Alpine (see [[Installation|these]] instructions on how to do that)<BR>
 
[http://fluxbox.org Fluxbox]{{insecure url|HTTPS connection refused}} is an easy and fast X11 window manager based on BlackBox.
 
== Basic Installation ==
 
Begin by booting Alpine Linux following [[Installation|these instructions]].
 
=== Enable Community Repository ===


= Enable Community Repository =
We need the Community Repository available for access to the packages. Instructions are available on the [[Repositories#Enabling_the_community_repository|Repositories]] page.
We need the Community Repository available for access to the packages. Instructions are available on the [[Repositories#Enabling_the_community_repository|Repositories]] page.


= Install packages =
=== Install packages ===
 
Install fluxbox, xterm, and terminus font.<BR>
Install fluxbox, xterm, and terminus font.<BR>


{{Cmd|# apk add openbox xterm terminus-font}}
{{Cmd|# apk add {{Pkg|fluxbox}} {{Pkg|xterm}} {{Pkg|font-terminus}}}}
 
<code>xterm</code> 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 Fluxbox.
 
=== Configure <code>xorg-server</code> ===


xterm is needed so you have a way to access the terminal in X. There are alternatives but this is the classic.
On most systems, xorg should be able to auto-detect all devices. However, you can still configure <code>xorg-server</code> manually by launching:
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 autodetect all devices. However, you can still configure xorg-server manually by launching:
{{Cmd|# setup-xorg-base}}
{{Cmd|# setup-xorg-base}}


== 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.<BR>
If you installed your Alpine Linux as a VirtualBox or VMWare guest, you might find it handy to be able execute an ACPI shutdown.<BR>
{{Cmd|# rc-update add acpid}}
{{Cmd|# rc-update add acpid}}


= Set fluxbox as the default WM =
=== Set Fluxbox as the default Window Manager ===
 
{{Cmd|$ echo 'exec startfluxbox' >> ~/.xinitrc}}
{{Cmd|$ echo 'exec startfluxbox' >> ~/.xinitrc}}


= Start your X! =
=== Start X ===
 
{{Cmd|$ startx}}
{{Cmd|$ startx}}


'''Note:''' The default menu (right click on desktop) will have a lot of options that won't work because we didnt install anything else! Luckily XTerm will work if you added the package in the first step, and you can use that to add additional packages.
{{Note|The default menu (right-click on desktop) will contain options that won't work due to missing packages. XTerm will work if you added the package in the first step, and you can use that to add additional packages.}}
 
== Edit Fluxbox settings ==


= Edit fluxbox settings =
You can now edit the flux settings for your user by editing the files located in <code>~/.fluxbox/</code>
You can now edit the flux settings for your user by editing the files located in
{{Cmd|~/.fluxbox/}}


This directory is created after your first run of fluxbox. The Fluxbox configuration details can he studied on the [http://fluxbox.org/help/ Fluxbox Help Page].  
This directory is created after your first run of Fluxbox. The Fluxbox configuration details can he studied on the [http://fluxbox.org/help/ Fluxbox Help Page].  


The default configuration is minimal and most menu options won't work unless you customize and/or install additional packages. More information is available on the [http://fluxbox.org/help/ Fluxbox Help Page].
The default configuration is minimal and most menu options won't work unless you customize and/or install additional packages. More information is available on the [http://fluxbox.org/help/ Fluxbox Help Page].


[[Category:Desktop]]
[[Category:Desktop]]
[[Category:Window Managers]]

Latest revision as of 11:55, 25 September 2023

Fluxbox 🔓 is an easy and fast X11 window manager based on BlackBox.

Basic Installation

Begin by booting Alpine Linux following these instructions.

Enable Community Repository

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

Install packages

Install fluxbox, xterm, and terminus font.

# apk add fluxbox 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 Fluxbox.

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

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 Fluxbox as the default Window Manager

$ echo 'exec startfluxbox' >> ~/.xinitrc

Start X

$ startx

Note: The default menu (right-click on desktop) will contain options that won't work due to missing packages. XTerm will work if you added the package in the first step, and you can use that to add additional packages.

Edit Fluxbox settings

You can now edit the flux settings for your user by editing the files located in ~/.fluxbox/

This directory is created after your first run of Fluxbox. The Fluxbox configuration details can he studied on the Fluxbox Help Page.

The default configuration is minimal and most menu options won't work unless you customize and/or install additional packages. More information is available on the Fluxbox Help Page.