Go to file
Uli Schlachter f859131bf3 wibox.widget.systray: Properly work when rotated (FS#1115)
The systray widget's fit() function worked in the (rotated) user coordinate
space while the draw() function used device coordinates (unrotated). This meant
that width and height were swapped up in the calculations and the systray ended
up being way too small.

Fix this by making the draw() function use user coordinates, too. This means
that it needs some new magic to detect a rotated coordinate space. This, in
turn, means that the systray is now automatically rotated when you put it into a
rotate layout.

This might cause some minor breakage because people no longer need to call
:set_horizontal() on the widgets.

Thanks a lot to Alexander Gehrke for his help!

Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-02-16 22:14:08 +01:00
build-tests use CMake check_function_exists() for execinfo 2010-10-11 22:52:20 +02:00
build-utils CMake: Check for the needed lgi dependency 2012-11-25 19:43:09 +01:00
common Remove compiler warnings 2012-11-24 18:15:34 +01:00
icons icons: remove invaders 2009-09-08 13:29:25 +02:00
lib wibox.widget.systray: Properly work when rotated (FS#1115) 2013-02-16 22:14:08 +01:00
luadoc luadoc: Fix a typo for awesome.release 2012-11-19 18:56:46 +01:00
manpages Remove all traces of awsetbg and wallpaper setters 2012-07-29 15:38:31 +02:00
objects Use glib instead of libev 2012-11-21 21:01:12 +01:00
themes Re-add wallpapers to the themes 2012-07-29 16:47:04 +02:00
utils Remove all traces of awsetbg and wallpaper setters 2012-07-29 15:38:31 +02:00
.gitignore gitignore: remove awesome-client 2009-04-11 16:10:42 +02:00
AUTHORS update Arnaud commit years 2009-08-24 11:13:59 +02:00
BUGS BUG's page 2008-04-18 19:33:58 +02:00
CMakeLists.txt CMake: Check for the needed lgi dependency 2012-11-25 19:43:09 +01:00
LICENSE chance license to GPLv2 2007-09-12 14:29:51 +02:00
Makefile build: allow to specify cmake args 2009-05-08 19:54:38 +02:00
PATCHES PATCHES: add more rules 2009-09-02 10:36:13 +02:00
README Grammar/spelling corrections in comments and docs. 2009-08-31 10:39:36 +02:00
STYLE STYLE: add prefix rule 2009-08-21 15:30:48 +02:00
awesome-version-internal.h.in cmake: consolidate version strings 2008-06-22 22:13:06 +02:00
awesome.c Fix keyboard layouts 2013-02-01 23:06:08 +01:00
awesome.desktop Add NoDisplay to .desktop file (FS#1031) 2012-08-22 11:38:23 +02:00
awesome.doxygen.in awesome.doxygen: doxygen configuration fixes. 2009-09-04 18:18:03 +02:00
awesome.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
awesomeConfig.cmake change codename 2012-12-22 00:18:18 +01:00
awesomerc.lua.in rc.lua: Resize clients via the titlebar 2012-10-29 09:46:56 +01:00
banning.c remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
banning.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
color.c C color code: Ignore alpha component (FS#966) 2012-04-07 22:03:38 +02:00
color.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
config.h.in test for __builtin_clz() and fallback to an inline implementation. 2010-10-11 20:42:03 +02:00
config.ld.in Use LDoc instead of Luadoc (FS#1006) 2012-11-19 14:57:47 +01:00
dbus.c Remove compiler warnings 2012-11-24 18:15:34 +01:00
dbus.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
draw.c Use gdk-pixbuf instead of Imlib2 (FS#1028) 2012-10-16 20:02:56 +02:00
draw.h draw.h: Include lua.h 2012-10-14 17:03:00 +02:00
event.c Refresh focus on FocusIn events 2013-02-11 16:19:28 +01:00
event.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
ewmh.c Tags: Remove screen property 2012-10-23 10:05:34 +02:00
ewmh.h Don't pass cairo surfaces around on the lua stack 2012-05-28 09:29:47 +02:00
globalconf.h Use glib instead of libev 2012-11-21 21:01:12 +01:00
keygrabber.c Renamed luaL_reg to luaL_Reg 2012-06-12 10:52:10 +02:00
keygrabber.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
keyresolv.c remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
keyresolv.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
luaa.c Use glib instead of libev 2012-11-21 21:01:12 +01:00
luaa.h Use glib instead of libev 2012-11-21 21:01:12 +01:00
mouse.c Fix mouse.object_under_cursor() with drawins 2013-01-05 20:53:13 +01:00
mouse.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
mousegrabber.c Added initial support for Xlib cursor themes 2012-10-07 12:39:56 +02:00
mousegrabber.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
property.c Don't pass cairo surfaces around on the lua stack 2012-05-28 09:29:47 +02:00
property.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
root.c root.wallpaper: Use main connection for pixmap filling (FS#1087) 2013-01-24 18:54:35 +01:00
screen.c screen: Ignore RANDR displays in clone mode (FS#1046) 2012-11-21 22:08:12 +01:00
screen.h Tags: Remove screen property 2012-10-23 10:05:34 +02:00
selection.c remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
selection.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
spawn.c Use glib instead of libev 2012-11-21 21:01:12 +01:00
spawn.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
stack.c remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
stack.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
strut.c remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
strut.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
systray.c remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
systray.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
xwindow.c Drawin: Re-add shape support 2012-11-05 18:11:16 +01:00
xwindow.h Drawin: Re-add shape support 2012-11-05 18:11:16 +01:00

README

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 install:

  make install # you might need root permissions

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.
An example configuration named "awesomerc.lua.in" is provided in the source.

Troubleshooting
---------------
In most systems any message printed by awesome (including warnings and errors)
are written to $HOME/.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.