2023-11-03 15:59:24 -06:00
|
|
|
# Installing
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
- Xlib
|
|
|
|
- Xt
|
|
|
|
- Motif
|
2023-11-14 15:02:46 -07:00
|
|
|
- MWM
|
2023-11-03 15:59:24 -06:00
|
|
|
- A C compiler
|
2023-11-03 16:10:33 -06:00
|
|
|
- brightnessctl (for xmbrightness)
|
2023-11-14 15:02:46 -07:00
|
|
|
- xwallpaper
|
2023-11-03 15:59:24 -06:00
|
|
|
|
|
|
|
Installing via APK:
|
|
|
|
|
2023-11-03 16:05:04 -06:00
|
|
|
```
|
2023-11-14 15:02:46 -07:00
|
|
|
# apk add libx11 libx11-dev libxt libxt-dev motif motif-dev mwm xwallpaper clang
|
2023-11-03 15:59:24 -06:00
|
|
|
```
|
|
|
|
|
|
|
|
## libXmd
|
|
|
|
|
|
|
|
Before building any of the applications you will need to build libXmd, which
|
|
|
|
contains code common to most of them:
|
|
|
|
|
|
|
|
```
|
|
|
|
# cd libXmd
|
|
|
|
# ./build.sh install
|
|
|
|
```
|
|
|
|
|
|
|
|
## Individual applications
|
|
|
|
|
|
|
|
Individual applications can be installed using `./build.sh` in their respective
|
|
|
|
subdirectories:
|
|
|
|
|
|
|
|
```
|
|
|
|
# cd <application>
|
|
|
|
# ./build.sh install
|
|
|
|
```
|
2023-11-14 15:02:46 -07:00
|
|
|
|
|
|
|
## Replicants
|
|
|
|
|
|
|
|
Xmd provides something called replicants, which are dynamically loaded widgets
|
|
|
|
that can be placed inside of xmpanel. They can be installed using `./build.sh`
|
|
|
|
in their respective subdirectories:
|
|
|
|
|
|
|
|
```
|
|
|
|
# cd replicants/<replicant>
|
|
|
|
# ./build.sh install
|
|
|
|
```
|
|
|
|
|
2024-01-17 09:30:25 -07:00
|
|
|
## Glue
|
|
|
|
|
|
|
|
Xmd includes some utility scripts to provide a standard interface for things
|
|
|
|
like screenshotting. These can be installed using `./install.sh` in the `glue`
|
2023-11-14 15:02:46 -07:00
|
|
|
directory.
|
2024-01-17 09:47:18 -07:00
|
|
|
|
|
|
|
## Session
|
|
|
|
|
|
|
|
Xmd includes several scripts to facilitate using it as a desktop environment. It
|
|
|
|
can be installed using `./install.sh` in the `session` directory. Note that
|
|
|
|
without a configuration in place, the session scripts don't really do anything
|
|
|
|
useful. The next section of this document describes how to install a default
|
|
|
|
configuration.
|
|
|
|
|
|
|
|
## Default configuration
|
|
|
|
|
|
|
|
A default configuration can be installed by running `./install.sh` in the
|
|
|
|
`defaults` directory. It contains:
|
|
|
|
|
|
|
|
- An MWM configuration
|
|
|
|
- .xinitrc and .xsession files
|
|
|
|
- Default startup items
|
|
|
|
- MWM
|
|
|
|
- XMPanel
|
|
|
|
- Default panel replicants
|