On Sun, Sep 11, 2011 at 7:27 AM, Matt Freeman <[email protected]>wrote:
> A few newbie question
>
> I run a dual head setup, whats command that I can add to my rc.lua to
> wire up a keyboard shortcut to switch the focus from one head to the
> other? (I a near latest version from archlinux repos)
>
I use Mod + CTRL + K , Mod + CTRL + J... if I'm not wrong this is the
default configuration, otherwise just add
awful.key({ modkey, "Control" }, "j", function ()
awful.screen.focus_relative(-1) end),
awful.key({ modkey, "Control" }, "k", function ()
awful.screen.focus_relative( 1) end),
to your rc.lua in the key binding section
> Also when I click the menu bottom at the top left of screen and the
> awesome menu appears I either have to click the menu button again or
> right click on the menu, is there a way to hide/close the menu click
> anywhere else such as on a client?
>
You can add the following expression
if mymainmenu.hide then mymainmenu:hide() end
to a the root.buttons bindings to close the menu when you click on an empty
tag and or add the expression to clientbuttons replacing
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
with
awful.button({ }, 1, function (c) if mymainmenu.hide then
mymainmenu:hide() end ; client.focus = c; c:raise() end),
> Also seem to have an issue that firefox opens on the wrong head, have
> to modkey+o twice to get it behave correctly, unique?
>
What do you mean by "wrong head" ? On my setup (archlinux with 3 monitors)
Firefox starts on the head containing the mouse pointer.
You can define rules to have an application launched always on a defined
head and/or tag(s)
>
> thanks
>
> --
> To unsubscribe, send mail to [email protected].
>