Find a file
Uli Schlachter c5badcbe37 Add awesome.pixbuf_to_surface
This function takes a GdkPixbuf, copies it to a cairo image surface and
returns the image surface.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-01-18 18:10:35 +01:00
build-utils build-utils/dist.sh: remove "-dirty" suffix (#2074) 2017-10-22 16:34:04 +02:00
common Add missing va_end()s to buffer_addvf() 2017-11-17 10:23:11 +01:00
docs doc: Mutualize the wibar and wibox constructor documentation. 2017-11-27 00:22:11 -05:00
icons
lib fix(beautiful: xresources): don't return fallback colorscheme if only some of the values are missing (#2151) 2018-01-17 22:43:15 -05:00
manpages Typo in manpage (#2048) 2017-09-29 17:45:11 +02:00
objects Merge pull request #2117 from psychon/invalid_screen_swap 2017-11-20 00:38:11 +01:00
spec Add unit tests for #2152 2018-01-15 23:47:20 +01:00
tests Merge pull request #2127 from Elv13/doc_tests_and_notif_p3_1 2017-12-05 14:06:05 -05:00
themes Fix doc typos and optimised PNGs (#2000) 2017-08-16 20:07:08 +02:00
utils awesome-client: let env find bash (#1544) 2017-02-08 22:33:21 +01:00
.busted tests: busted: add config file, use --verbose by default (#2076) 2017-10-22 18:05:00 +02:00
.editorconfig
.gitignore luacheck: enable cache (#2004) 2017-08-20 22:50:30 +02:00
.luacheckrc luacheck: enable cache (#2004) 2017-08-20 22:50:30 +02:00
.luacov luacov: include everything 2017-01-08 20:34:13 +01:00
.travis.yml tests: improve coverage with integration tests (#2082) 2017-11-18 01:52:48 +01:00
awesome-version-internal.h
awesome.c Check for xdgInitHandle() failures (#2146) 2018-01-12 21:33:25 -05:00
awesome.desktop Remove deprecated Encoding key from awesome.desktop (#1394) 2017-01-13 22:21:50 +01:00
awesome.h
awesomeConfig.cmake build: make DO_COVERAGE a CMake variable 2017-08-29 22:24:12 +02:00
awesomerc.lua tag/tasklist: Update rc.lua 2017-12-02 16:33:06 -05:00
banning.c Fix recursive enterleave ignore (#1747) 2017-04-21 18:53:25 +02:00
banning.h
CMakeLists.txt add css 2017-10-28 00:08:28 +02:00
color.c
color.h
config.h Merge branch 'find-fallback-config' of https://github.com/psychon/awesome 2017-01-27 17:39:30 +01:00
dbus.c dbus.c: fix warning in a_dbus_connect 2017-07-02 11:25:09 +02:00
dbus.h
draw.c Add awesome.pixbuf_to_surface 2018-01-18 18:10:35 +01:00
draw.h Add awesome.pixbuf_to_surface 2018-01-18 18:10:35 +01:00
event.c 'Fix' codacy complaining about unused value 2017-11-17 10:31:50 +01:00
event.h Asynchronously update the keyboard state 2017-03-28 15:21:01 +02:00
ewmh.c client: Add request::geometry for client maximization 2017-05-23 22:33:26 +02:00
ewmh.h C code: save all instead of just one client icons 2017-03-07 22:45:49 +01:00
globalconf.h Asynchronously update the keyboard state 2017-03-28 15:21:01 +02:00
ISSUE_TEMPLATE.md Add an ISSUE_TEMPLATE.md file (#997) 2016-07-09 19:18:02 +02:00
keygrabber.c Fix some deprecated calls in code and docs 2017-03-30 21:26:50 -05:00
keygrabber.h
LICENSE
luaa.c Add awesome.pixbuf_to_surface 2018-01-18 18:10:35 +01:00
luaa.h luaA_warn: Balance stack (#2106) 2017-11-08 18:47:37 +01:00
Makefile Makefile: distclean: do not try to rm awesome (#2077) 2017-10-23 22:25:18 +02:00
mouse.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
mouse.h
mousegrabber.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
mousegrabber.h
Packaging.cmake Packaging.cmake: cache CPACK_GENERATOR (#1924) 2017-07-21 01:06:59 +02:00
property.c Add signal property::size_hints to clients (#1768) 2017-05-13 23:25:48 +02:00
property.h
README.md
root.c Emit wallpaper_changed less often (#1800) 2017-05-29 20:08:56 +02:00
selection.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
selection.h
spawn.c spawn: Fix some comments and messages 2017-08-16 13:23:19 +02:00
spawn.h Use command line instead of env for passing children 2017-06-04 16:04:44 +02:00
stack.c
stack.h
strut.c
strut.h
systray.c Remove most uses of XCB_CURRENT_TIME 2017-04-15 14:50:44 +02:00
systray.h Remove unused argument to systray_request_handle() 2016-05-29 14:33:23 +02:00
xkb.c Asynchronously update the keyboard state 2017-03-28 15:21:01 +02:00
xkb.h Asynchronously update the keyboard state 2017-03-28 15:21:01 +02:00
xrdb.c Don't print warnings for non-existing xrdb values 2017-05-24 10:06:24 +02:00
xrdb.h
xwindow.c Add & use a non-fatal kind of assert() (#1779) 2017-05-13 23:22:15 +02:00
xwindow.h

Readme

About Awesome

Awesome is a highly configurable, next generation framework window manager for X.

Building and installation

After extracting the dist tarball, run:

make

This will create a build directory, run cmake in it and build Awesome.

After building is finished, you can either install via make install:

make install  # you might need root permissions

or by auto-generating a .deb or .rpm package, for easy removal later on:

make package

sudo dpkg -i awesome-x.y.z.deb
# or
sudo rpm -Uvh awesome-x.y.z.rpm

NOTE: Awesome uses cmake to build. In case you want to pass arguments to cmake, please use the CMAKE_ARGS environment variable. For instance:

CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/opt/awesome" make

Build dependencies

Awesome has the following dependencies (besides a more-or-less standard POSIX environment):

Additionally, the following optional dependencies exist:

  • DBus for DBus integration and the awesome-client utility
  • asciidoc and xmlto for generating man pages
  • gzip for compressing man pages
  • ldoc >= 1.4.5 for generating the documentation
  • busted for running unit tests
  • luacheck for static code analysis
  • LuaCov for collecting code coverage information
  • libexecinfo on systems where libc does not provide backtrace_symbols() to generate slightly better backtraces on crashes
  • Xephyr or Xvfb for running integration tests

Running Awesome

You can directly select Awesome from your display manager. If not, you can add the following line to your .xinitrc to start Awesome using startx or to .xsession to start Awesome using your display manager:

exec awesome

In order to connect Awesome to a specific display, make sure that the DISPLAY environment variable is set correctly, e.g.:

DISPLAY=foo.bar:1 exec awesome

(This will start Awesome on display :1 of the host foo.bar.)

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:

DISPLAY=:2 gdb awesome

Then in gdb set any args and run it:

(gdb) set arg --replace
(gdb) run

Reporting issues

Please report any issues you may find on our bugtracker. You can submit pull requests on the github repository. Please read the contributing guide for any coding, documentation or patch guidelines.

Status

Build Status

Documentation

Online documentation is available at https://awesomewm.org/apidoc/.

License

The project is licensed under GNU General Publice License v2 or later. You can read it online at (v2 or v3).