Alfredo Palhares | 21 Aug 20:19 2014

Writing Unit Tests for my config

Hello fellow AwesomeWM users,

I am trying to write some test for my config, just for the heck of it.
i am trying to use busted[1]

But i am having troubles even loading awesome lua code.

package.path = package.path .. ';/usr/share/awesome/lib/?.lua;/usr/share/awesome/lib/?/init.lua'
battery = require("cfg.widgets.battery")
describe("a test", function()
  it("runs a test", function() end)

Basically it gives me this:

/usr/lib/lua/5.2/busted/core.lua:67: /usr/share/awesome/lib/awful/tag.lua:576: attempt to
index field 'client' (a nil value)

So what do you recomend ? Is it to hard to make awesome load its code
and run the tests to some parts of my config ? Or am I being a complete 
lunatic  if think I can pull this off?

Alfredo Palhares


To unsubscribe, send mail to awesome-unsubscribe <at>
(Continue reading)

Raphael Cervantes | 19 Aug 15:44 2014

keep gvim from opening on panel bar

Hi all,
I placed my panel bar in the bottom, mostly so that I don't accidentally 
click on another window when I want to click on another tab in firefox. 
However, now I have this obnoxious behavior where gvim will cover the 
panel. How can I prevent gvim from doing that?


Evgeny Pakhomov | 19 Aug 08:21 2014

Don't let mouse pointer move to another screen


Does anyone know how I can bind mouse pointer to a particular screen, so it won't escape to another screen when I accidentally move the mouse?

Carlos Pita | 18 Aug 20:53 2014

Maximize in floating layout always honors size hints

Hi guys,

when in the floating layout I maximize a client (floating or not)
which specifies size hints (say emacs or some terminal emulator) I
still get gaps despite having set size_hints_honor = false (both in
the properties and in the manage sections). The gaps disappear in the
tiling layouts, though.

Is this behavior expected?


Carlos Pita | 18 Aug 01:05 2014

Systray padding and icon size

Hi guys,

I'm pretty sure the answer is no but I will try anyway: is there any
way to set padding for the systray (both, for the systray as a whole
and separation between icons)? Or to set an upper limit to the icon
size? I mean, without patching the C code.


Mike Zak | 10 Aug 17:56 2014

A simple battery status indicator for awesome

I wrote a battery indicator for awesome that doesn't require to deal with lua.rc widgets, which I find quite clunky.

Check it out here, and let me know your thoughts:
Yuri Kanivetsky | 9 Aug 22:42 2014

can't get to run skype


I've run awesome for the first time now. And the problem is that I can't get to run skype. I enter password, press Enter, it shows contact list for a second and then disappears. If run from terminal, it crashes with: "Aborted (core dumped)". I'm running ubuntu 13.10, skype and awesome 3.4.15-1. Any thoughts?

Mike | 8 Aug 18:22 2014

Using 3.5 on Wheezy

I have Debian Wheezy system which supports 3.4 in the package
repository.  I have a configuration for 3.5 that I have been using
perfectly happily on my previous, now broken, Ubuntu system.  At first
blush it seems I have to build 3.5 from source, but it complains that
the lgi module is missing (a new run-time dependency).  

The Wheezy package is for lgi-0.6.1, which is no good for 3.5.2.

Using luarocks I can install lgi 0.8, but it seems it is not recognised.
The test command "lua -e 'lgi = require("lgi") ... fails to recognise

One issue may come from the fact that the Wheezy install has ended up
with both lua5.1 _and_ lua5.2.  The default is to run 5.2 but as far as
I can see install of lua-lgi is linked to 5.1.

Two questions:

1. Has anyone got a reasonable suggestion for what to do next?

2. Is this a reasonable question for this list (or, indeed, who should I


Mike S.

Daniele Varrazzo | 7 Aug 19:52 2014

Indicators and Ubuntu 14.04


I've just upgraded a machine to Ubuntu 14.04 from 12.04 and I don't
see application indicators anymore (e.g. skype, clementine). Is there
a way to have them back?

My awesome version is the one packaged with the OS:

awesome v3.4.15 (Never Gonna Give You Up)
 • Build: Jan 23 2014 14:28:37 for x86_64 by gcc version 4.8.2 (buildd <at> komainu)
 • D-Bus support: ✔

Is it worth to switch to a more up-to-date awesome version?

My rc.lua is at

Thank you very much.

-- Daniele

Stefan Geneshky | 3 Aug 20:27 2014

How to leave margin between windows

​Hi all,

I love the tiling, but sometimes it's hard to distinguish between two terminal windows. How can I configure the tiling to leave a few pixels of margin between windows?

Navi Charlotte | 30 Jul 11:01 2014

Keybinds to execute xdotool and emulate media keys


I am trying to emulate media keys in my keyboard by assigning a shortcut 
like Mod4 + a key in the Home block

The code its like this

awful.key({ modkey,}, "Delete", 
  function () awful.util.spawn_with_shell("xdotool key XF86AudioMute")  end 

But it didnt work. If I execute the command in a terminal, it works. If I 
asssign some other function to the same key combination, it works too.

I have tried with os.execute() and awful.util.spawn() as well, but no avail.

I also tried something like this that I saw in other post that explained 
that awesome was grabbing the key, so it needed a delay to give me time to 
release the key before xdotool was executed:

awful.key({ modkey,}, "Insert",
   function () awful.util.spawn_with_shell("sh -c 'sleep 0.5;xdotool key 
XF86AudioPlay")  end ),

And didnt work either, so I am out of ideas.
Any help will be greatly appreciated

This is the version of awesome I have
awesome v3.5.5 (Kansas City Shuffle)
 • Build: Apr 11 2014 09:36:33 for x86_64 by gcc version 4.8.2 (nobody <at> )
 • Compiled against Lua 5.2.3 (running with Lua 5.2)
 • D-Bus support: ✔


To unsubscribe, send mail to awesome-unsubscribe <at>