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: AwesomeWM + Gvim resize crashes (segfault)
Also not helpful: have you tried just using vim in xterm? That works great for me, but you might be using plugins/features that terminal vim doesn't support. But, if you are just using vanilla Gvim, then you might consider giving terminal vim a try. Abe On Sat, Apr 30, 2016 at 11:16 AM, Uli Schlachterwrote: > Hi, > > Am 30.04.2016 um 16:28 schrieb Jeroen Budts: > [...] > > When starting gvim with `strace gvim -V9log.txt file.tex > stdout.txt 2> > > stderr.txt` I got the following in stdout.txt: > > RenderBadPicture (invalid Picture parameter) > > Vim: Got X error > > Vim: Finished. > > > > Any help on this is much appreciated. > > I know that this isn't helpful at all, but this sounds like a problem with > GVim. > A BadPicture means that gvim sent a request to the X11 server to act on > some > picture, but that picture does not exist (or is not suitable for this > request > due to some other reason). The window manager has nothing to do with > Pictures, > so hm. > > The only recommendations that I can give is to try other (newer?) versions > of > gvim, gtk and cairo (the drawing library used by gtk). > > Sorry & good luck, > 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: AwesomeWM + Gvim resize crashes (segfault)
Hi, Am 30.04.2016 um 16:28 schrieb Jeroen Budts: [...] > When starting gvim with `strace gvim -V9log.txt file.tex > stdout.txt 2> > stderr.txt` I got the following in stdout.txt: > RenderBadPicture (invalid Picture parameter) > Vim: Got X error > Vim: Finished. > > Any help on this is much appreciated. I know that this isn't helpful at all, but this sounds like a problem with GVim. A BadPicture means that gvim sent a request to the X11 server to act on some picture, but that picture does not exist (or is not suitable for this request due to some other reason). The window manager has nothing to do with Pictures, so hm. The only recommendations that I can give is to try other (newer?) versions of gvim, gtk and cairo (the drawing library used by gtk). Sorry & good luck, 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
AwesomeWM + Gvim resize crashes (segfault)
Hi all, A few days ago I started using Awesome as my window manager (running inside XFCE on xubuntu 15.10). The versions from the repository are v3.5.6 (awesome) and 7.4.712 (gvim). I upgraded Awesome to 3.5.9 using a ppa[1]. When Gvim gets resized, either because I resize the master-pane of awesome, or simply by switching Awesome layout, Gvim will frequently hang and/or crash. From what I could find it seems to be a segfault, but I have no clue what is causing this. In the past I have been using Gvim without any problems with xfwm4 (default xfce window manager). I also tried xmonad for a week where I didn't see these crashes when similarly resizing the xmonad master-pane or switching layouts. This is what I saw in the Ubuntu crash-submit tool: vim.gnome crashed with sigsegv in get_syntax_atttr() When starting gvim with `strace gvim -V9log.txt file.tex > stdout.txt 2> stderr.txt` I got the following in stdout.txt: RenderBadPicture (invalid Picture parameter) Vim: Got X error Vim: Finished. Any help on this is much appreciated. [1] https://launchpad.net/~klaus-vormweg/+archive/ubuntu/awesome Kind regards, Jeroen -- website: http://budts.be/ - twitter: @teranex ___ Registered Linux User #482240 - GetFirefox.com - ubuntu.com signature.asc Description: OpenPGP digital signature
Screen attach/detach: avoid restart?
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 -- website: http://budts.be/ - twitter: @teranex ___ Registered Linux User #482240 - GetFirefox.com - ubuntu.com signature.asc Description: OpenPGP digital signature