awesome/docs/01-readme.md

144 lines
3.6 KiB
Markdown
Raw Normal View History

# Readme
## About Awesome
Awesome is a highly configurable, next generation framework window manager for X.
2007-09-05 20:15:00 +02:00
## Building and installation
After extracting the dist tarball or cloning the repository, run:
2007-09-05 20:15:00 +02:00
```sh
make
sudo make install
```
2007-09-05 20:15:00 +02:00
This will
1. create a build directory at `./build`,
2. run `cmake`,
3. build Awesome and
4. install it to the default prefix path `/usr/local`.
Alternatively to the above, you can generate a `.deb` or `.rpm` package, for easy installation management:
2015-01-19 01:20:33 +01:00
```sh
make package
sudo dpkg -i awesome-x.y.z.deb
# or
sudo rpm -Uvh awesome-x.y.z.rpm
```
2015-01-19 01:20:33 +01:00
### Advanced options and testing
A full list of dependencies, more advanced build options, as well as instructions on how to use the test suite can be found [here](https://awesomewm.org/apidoc/documentation/10-building-and-testing.md.html).
### Installing current git master as a package receipts
#### Arch Linux AUR
```sh
sudo pacman -S --needed base-devel git
git clone https://aur.archlinux.org/awesome-git.git
cd awesome-git
makepkg -fsri
```
#### Debian-based
```sh
sudo apt build-dep awesome
git clone https://github.com/awesomewm/awesome
cd awesome
make package
cd build
sudo apt install ./*.deb
```
## Running Awesome
You can directly select Awesome from your display manager. If not, you can
2019-06-09 19:47:31 +02:00
add the following line to your `.xinitrc` to start Awesome using `startx`
or to `.xsession` to start Awesome using your display manager:
2007-09-05 20:15:00 +02:00
```sh
exec awesome
```
2007-09-05 20:15:00 +02:00
In order to connect Awesome to a specific display, make sure that
the `DISPLAY` environment variable is set correctly, e.g.:
2007-09-05 20:15:00 +02:00
```sh
DISPLAY=foo.bar:1 exec awesome
```
2007-09-05 20:15:00 +02:00
(This will start Awesome on display `:1` of the host foo.bar.)
2007-09-05 20:15:00 +02:00
## Configuration
The configuration of Awesome is done by creating a
`$XDG_CONFIG_HOME/awesome/rc.lua` file, typically `~/.config/awesome/rc.lua`.
An example configuration named `awesomerc.lua` is provided in the source.
## Troubleshooting
On most systems any message printed by Awesome (including warnings and errors)
is written to `~/.xsession-errors`.
If Awesome does not start or the configuration file is not producing the
desired results the user should examine this file to gain insight into the
problem.
### Debugging tips
You can call `awesome` with `gdb` like this:
```sh
DISPLAY=:2 gdb awesome
```
2019-06-09 19:47:31 +02:00
Then in `gdb` set any arguments and run it:
```
(gdb) set args --replace
(gdb) run
```
## Asking questions
2018-11-19 22:09:46 +01:00
#### IRC
You can join us in the `#awesome` channel on the [OFTC](http://www.oftc.net/) IRC network.
[IRC Webchat](https://webchat.oftc.net/?channels=awesome)
#### Stack Overflow
You can ask questions on [Stack Overflow](http://stackoverflow.com/questions/tagged/awesome-wm).
#### Reddit
We also have an [awesome subreddit](https://www.reddit.com/r/awesomewm/) where you can share your work and ask questions.
## Reporting issues
Please report any issues you may find on [our bugtracker](https://github.com/awesomeWM/awesome/issues).
## Contributing code
You can submit pull requests on the [GitHub repository](https://github.com/awesomeWM/awesome).
Please read the [contributing guide](https://github.com/awesomeWM/awesome/blob/master/docs/02-contributing.md) for any coding, documentation or patch guidelines.
## Status
[![Build Status](https://travis-ci.com/awesomeWM/awesome.svg?branch=master)](https://travis-ci.com/awesomeWM/awesome)
## Documentation
Online documentation is available [here](https://awesomewm.org/apidoc/).
## License
The project is licensed under GNU General Public License v2 or later.
You can read it online at ([v2](http://www.gnu.org/licenses/gpl-2.0.html)
or [v3](http://www.gnu.org/licenses/gpl.html)).