Fluxbox: Difference between revisions

From Alpine Linux
(mark insecure url)
(rearranged headings and added Include:Desktop prerequisites)
 
Line 3: Line 3:
[http://fluxbox.org Fluxbox]{{insecure url|HTTPS connection refused}} is an easy and fast X11 window manager based on BlackBox.
[http://fluxbox.org Fluxbox]{{insecure url|HTTPS connection refused}} is an easy and fast X11 window manager based on BlackBox.


== Basic Installation ==
{{:Include:Desktop prerequisites}}


Begin by booting Alpine Linux following [[Installation|these instructions]].
== Installation ==


=== Enable Community Repository ===
Install X11 and set it up using the <code>setup-xorg-base</code> script.{{Cmd|# setup-xorg-base}}


We need the Community Repository available for access to the packages. Instructions are available on the [[Repositories#Enabling_the_community_repository|Repositories]] page.
Install fluxbox, xterm, and terminus font.
 
=== Install packages ===
 
Install fluxbox, xterm, and terminus font.<BR>


{{Cmd|# apk add {{Pkg|fluxbox}} {{Pkg|xterm}} {{Pkg|font-terminus}}}}
{{Cmd|# apk add {{Pkg|fluxbox}} {{Pkg|xterm}} {{Pkg|font-terminus}}}}
Line 20: Line 16:
Terminus is needed because without any fonts, you will not be able to see any text in Fluxbox.
Terminus is needed because without any fonts, you will not be able to see any text in Fluxbox.


=== Configure <code>xorg-server</code> ===
== Configuration ==  
 
On most systems, xorg should be able to auto-detect all devices. However, you can still configure <code>xorg-server</code> manually by launching:
 
{{Cmd|# setup-xorg-base}}


=== acpid ===
=== acpid ===
Line 40: Line 32:
{{Cmd|$ startx}}
{{Cmd|$ 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 the flux settings for your user by editing the files located in <code>~/.fluxbox/</code>.  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].
 
== Edit Fluxbox settings ==


You can now edit the flux settings for your user by editing the files located in <code>~/.fluxbox/</code>
{{Note|The default menu (right-click on desktop) will contain options that won't work due to missing packages. The default configuration is minimal and most menu options won't work unless you customize and/or install additional packages. XTerm will work if you added the package in the first step, and you can use that to add additional packages.}}


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].
== See also ==


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].
[http://fluxbox.org/help/ Fluxbox Help Page].


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

Latest revision as of 06:07, 9 January 2025

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

Note: Before installing any desktop,

Installation

Install X11 and set it up using the setup-xorg-base script.

# setup-xorg-base

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.

Configuration

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

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.

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

See also

Fluxbox Help Page.