-
Notifications
You must be signed in to change notification settings - Fork 3
Does it work with awesome 3.5? #1
Comments
Currently using it with the exact same version you're posting; although it's compiled with Lua 5.1 rather than 5.3. It's possible that Lua changed the semantics of global variables and/or modules (again), this might have caused your problem. I'll take a look. |
Thank you for your answer. I confirm I'm using Lua 5.3 on Arch Linux. I haven't seen your script on Regards. On Fri, Nov 20, 2015 at 7:58 AM, Krzysztof Zych notifications@github.com
Albert. |
Besides Lua, this can be a problem with parsing Xinerama info. Can you provide the output of running
on the machine where it causes problems? |
Please try the updated version. I discovered that when EDID isn't reporting the model name, two places in the code can break. This is often the case with laptop displays, but didn't occur on my machines. To verify whether your display reports its model name, install |
Note: |
Thanks for your feedback @k3rni, The output of my regular user didn't return much information, I had to sudo it. Herewith the output of the command you gave me (with sudo). Unfortunately I am still having the same error. Do I have to install something explicitly for Xinerama or is it embedded within Xorg? Regards. |
Yes, it should be ran under sudo, I forgot to mention that. Your output is somewhat strange, but shouldn't be a problem. As for xinerama, it's built in to Xorg, and enabled on your machine, which I know from the
Find which file is your session log, run |
Hello @k3rni,
Note that I don't use GDM, I use Slim so I had to modify my Thank you very much! |
Thanks for the traceback, it's most useful. It seems that the error was unrelated to EDID parsing. What's probably happening is that foggy can't properly guess what screen your mouse cursor is on. I need more things:
function menu.menu(current_screen)
io.stderr:write("current screen: " .. (current_screen or "nil") .. "\n")
io.stderr:write("mouse screen: " .. (mouse.screen or "nil") .. "\n")
io.stderr:write("mouse coords: " .. mouse.coords().x .. "," .. mouse.coords().y .. "\n")
-- rest of function untouched and please report the additional output it now prints before the traceback. As an aside, I regularly use awesome with foggy on two and three-screen setups. Your case should be routine, but still evades an explanation :) |
Hello @k3rni,
As always, thank you very much! |
No problems with the keybinding; what matters here is that you don't pass any additional arguments to In 5.3: print(tostring(1.0 - 1))
0.0 While in 5.1: print(tostring(1.0 - 1))
0 Replacing this code with |
Thank you @k3rni, I confirm it now works, and I'm able to see the menu, amazing! However, I stumbled with another bug. Steps to reproduce:
Herewith the full trace:
Note that if I go to |
Glad to hear it works. As for the second problem, I'll post this as a new issue and close this one. |
Great, thank you very much for your support! |
Greetings @k3rni,
I'm trying foggy with awesome 3.5.
But when I
mod+p
as it is on the readme I get the following error:Does foggy work with awesome 3.5?
Thank you very much.
Regards.
The text was updated successfully, but these errors were encountered: