Installation and Configuration files
First of all you need to install it, note that in default repositories only version 3.4 available, but the latest one is 3.5.6:
awesome
- basically awesome itselfawesome extra
- some additional lua libraries with which you can create widgets for example
Then logout and login selecting Awesome wm in available shells.
Awesome uses /etc/xdg/awesome/rc.lua
file which could be overriden by ~/.config/awesome/rc.lua
. So we need to copy original file to your home folder.
From now all changes should be done with rc.lua which is under your home directory.
Two screens (swap screens)
By default when I logged in first time using awesome screens were swapped, so left one was on the right and right on the left. If I were using Gnome Shell swap them back would be easier, just using Displays application, but in awesome it should be done manually. To see what screens you have, you need to run xrandr
. You’ll see name of the screen with applied parameters and then available options, such as screen resolutions and FPS. It would be something like this (I replaced some parts with ...
):
From this output we can see that I have two monitors, one is connected using HDMI port and another using VGA. HDMI is at the top left position (1920x1200+0+0) and VGA in on top right (1920x1200+*1920+0). To swap them in my case I need to run:
Done!
Themes
There are two types of themes: for awesome: which basically applies to top panel, widgets and for applications: GTK themes.
Regarding GTK themes to check available ones you need to install lxappearance
application which allows you to
change theme:
Personally I like adwaita dark theme, so I download it and put in /usr/share/themes. And then I choose it from available themes in lxappearance:
Startup application
One of the simplest way is to add following section to your rc.lua:
Java applications (SQL Developer)
I am using SQL Developer to work with databases. I was unable to run it after installation (I had just white screen without anything), I tried different versions, but then I discovered that for some reason Awesome has some problems with running Java processes. For SQL Developer solution is to add magical wmname LG3D
before running the program. More info here and here. First you need to install it:
And then add magic spell before running sqldeveloper.sh:
and change it to:
Shortcuts
Volume control. First you need to find out how increase/decrease volume from shell, depends on your soundcard you can use one of the following:
And then add following section to the shortcuts: