x11-wm/awesome-3.5.6-r1:0 has some problems when running on multiple _separate_ X11 screens. This setup is also known as "ZapHod" mode : no TwinView, esp. no Xinerama. The details are already provided UPSTREAM : . . . https://github.com/awesomeWM/awesome/issues/598 :: bug #598 "Regression: Multiple separate X11 screens setup (Zaphod, no Xinerama) fails; WORKAROUND: start multiple instances" Find attached patches which are specific for Gentoo. Thanks.
Created attachment 422556 [details, diff] add "epatch_user" to ebuild function src_prepare() "EAPI=5" provides "epatch_user" functionality: enable it.
Created attachment 422558 [details, diff] reset focus if X11 screen changes c.f. upstream bugs #598 referencing fix in #607
Created attachment 422560 [details] sample xorg.conf.d : 2 VGA , 4 Monitors
Created attachment 422562 [details] sample ~/.config/awesome/rc.lua
Created attachment 422564 [details] sample ~/bin/ startup file for the three additional awesome sessions
Created attachment 422566 [details] sample ~/bin command file to setup the four session backgrounds
# add "epatch_user" to ebuild function src_prepare() I created my local ebuild into . . . /usr/local/portage/local-overlay/x11-wm/awesome/ # reset focus if X11 screen changes This has to go into . . . /etc/portage/patches/x11-wm/awesome-3.5.6-r1 # sample xorg.conf.d Naturally, this has to be placed as . . . /etc/X11/xorg.conf.d # sample ~/.config/awesome/rc.lua . . . startx /usr/bin/awesome -c ~/.config/awesome/rc.lua -- -layout Four NOTABENE: The following file names are referenced in this rc.lua "Menu" section: # sample ~/bin/ startup file for the three additional awesome sessions I placed this as . . . ~/bin/awesome-on-four # sample ~/bin command file to setup the four session backgrounds I placed this as . . . ~/bin/bg.awesome It is already prepared to have additional applications added on startup. NOTABENE/
Package-wise, I think it boils down to applying the backported patch https://bugs.gentoo.org/attachment.cgi?id=422558&action=diff to Gentoo's awesome package. The rest of the info should find it's way into some kind of "How-To" @ awesome. Perhaps a hint can be added to the output of emerging awesome with portage, later.
Hello. It seems x11-wm/awesome was abandoned by everyone else. I am a new co-maintainer. Thank you very much for your contributions and info references. I've included your upstream patch and epatch_user support in 3.5.6-r2. Please go ahead and try it. commit b20d603e09c271470a4066f84456a71f2d10d7a0 Author: Ilya Tumaykin <itumaykin@gmail.com> Date: Thu Jan 14 14:35:53 2016 +0300 x11-wm/awesome: revbump to 3.5.6-r2 wrt bug 571544 Backport upstream fix for focus problems with multiple running awesome instances. Add epatch_user support. Gentoo-Bug: 571544 Package-Manager: portage-2.2.26