Re: Screen attach/detach: avoid restart?
On 04/30/2016 06:20 PM, Uli Schlachter wrote: > Am 30.04.2016 um 16:33 schrieb Bennett Piater: >> AFAIK, the only solution is to switch to i3wm. >> Awesome does not yet work very well with external monitors. > > That's quite a 'solution' and quite a claim. > > [...] >>> When I attach or detach an external screen (using xrandr) it seems >>> Awesome automatically restarts. >>> Is there any way to avoid this? > > Not with awesome 3.5.9, no. Sorry. > > However, for the next major release we are working on changing this[0]. This > requires quite some changes, because all the code right now assumes that all > screens are already known when the config file is loaded and doesn't change > later. > > [0]: https://github.com/awesomeWM/awesome/pull/672 > That certainly looks like a welcome improvement. >>> During a regular working day I happen to >>> connect/disconnect my screen easily 3 to 5 times. This causes my layouts >>> to reset each time (size of master pane, number of applications in the >>> master etc), which is a bit annoying. > [...] > > If you have some "frequent patter" for this, the only suggestion that I have > is > to configure some more of these settings in your config. You can e.g. use > awful.tag.setmwfact(0.3, tags[1][3]) in your rc.lua to configure a "default" > mwfact for the third tag. > Thanks for your tips. Meanwhile I have been playing more with Awesome and it's config [1]. I configured some rules for Terminator to let Awesome correctly handle the 'quake' functionality offered by terminator itself and I don't need scratch.drop anymore, fixing one of my annoyances. The other issue (layouts resize after restart) is also for less annoying now because I changed the default layout of one of my tags to use 'fair'. Also, while using xfwm4 I ran xrandr fairly often so my windows would all be moved to or from my external screen. Turns out with Awesome this is not necessary because I use the sharedtags module and my screen can just stay 'connected' (even when it is not physically connected) :). [1] https://github.com/teranex/awesome-config Thx for the help, Jeroen > Cheers, > Uli > -- website: http://budts.be/ - twitter: @teranex ___ Registered Linux User #482240 - GetFirefox.com - ubuntu.com signature.asc Description: OpenPGP digital signature
Re: Screen attach/detach: avoid restart?
Am 30.04.2016 um 16:33 schrieb Bennett Piater: > AFAIK, the only solution is to switch to i3wm. > Awesome does not yet work very well with external monitors. That's quite a 'solution' and quite a claim. [...] >> When I attach or detach an external screen (using xrandr) it seems >> Awesome automatically restarts. >> Is there any way to avoid this? Not with awesome 3.5.9, no. Sorry. However, for the next major release we are working on changing this[0]. This requires quite some changes, because all the code right now assumes that all screens are already known when the config file is loaded and doesn't change later. [0]: https://github.com/awesomeWM/awesome/pull/672 >> During a regular working day I happen to >> connect/disconnect my screen easily 3 to 5 times. This causes my layouts >> to reset each time (size of master pane, number of applications in the >> master etc), which is a bit annoying. [...] If you have some "frequent patter" for this, the only suggestion that I have is to configure some more of these settings in your config. You can e.g. use awful.tag.setmwfact(0.3, tags[1][3]) in your rc.lua to configure a "default" mwfact for the third tag. Cheers, Uli -- Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon? -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: Screen attach/detach: avoid restart?
AFAIK, the only solution is to switch to i3wm. Awesome does not yet work very well with external monitors. Cheers, Bennett On 04/30/2016 04:22 PM, Jeroen Budts wrote: > Hi all, > > When I attach or detach an external screen (using xrandr) it seems > Awesome automatically restarts. > Is there any way to avoid this? During a regular working day I happen to > connect/disconnect my screen easily 3 to 5 times. This causes my layouts > to reset each time (size of master pane, number of applications in the > master etc), which is a bit annoying. This also causes scratch.drop > (https://awesomewm.org/wiki/Scratchpad_manager) to lose track of the > applications so they become regular tiled applications. > > I'm using awesome 3.5.9 inside XFCE on Xubuntu 15.10. > > Thanks for any help, > Jeroen > -- GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808 signature.asc Description: OpenPGP digital signature