Can avoidStruts stop working?
Does anybody else run XMonad on Arch Linux AMD64 (non-testing)? Since about a week (and a half) ago something seems to have caused avoidStruts to be ignored, because xmobar is covered by any window I open. I've tried unsuccessfully with my full config and the recently suggested new sample config here on the list[1]. Any idea what's happening? It's possibly an operator issue, but I don't know how to debug it. [1] https://mail.haskell.org/pipermail/xmonad/2015-December/014977.html
I have a similar issue but when i startup xmonad for the first time. All i do is reset the layout on all visible workspaces (mod-shift-space). Havent figured how to fix it. Using dzen as my status bars. On Wed, Mar 2, 2016 at 7:49 AM, Tuncer Ayaz <tuncer.ayaz@gmail.com> wrote:
Does anybody else run XMonad on Arch Linux AMD64 (non-testing)? Since about a week (and a half) ago something seems to have caused avoidStruts to be ignored, because xmobar is covered by any window I open. I've tried unsuccessfully with my full config and the recently suggested new sample config here on the list[1]. Any idea what's happening? It's possibly an operator issue, but I don't know how to debug it.
[1] https://mail.haskell.org/pipermail/xmonad/2015-December/014977.html _______________________________________________ xmonad mailing list xmonad@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Same issue here. After I reset the layout it's working fine. I'm using xmobar. Le mercredi 02 mars 2016 à 09:25:39 (-0500), Dave Macias a écrit :
I have a similar issue but when i startup xmonad for the first time. All i do is reset the layout on all visible workspaces (mod-shift-space). Havent figured how to fix it. Using dzen as my status bars.
On Wed, Mar 2, 2016 at 7:49 AM, Tuncer Ayaz <tuncer.ayaz@gmail.com> wrote:
Does anybody else run XMonad on Arch Linux AMD64 (non-testing)? Since about a week (and a half) ago something seems to have caused avoidStruts to be ignored, because xmobar is covered by any window I open. I've tried unsuccessfully with my full config and the recently suggested new sample config here on the list[1]. Any idea what's happening? It's possibly an operator issue, but I don't know how to debug it.
[1] https://mail.haskell.org/pipermail/xmonad/2015-December/014977.html _______________________________________________ xmonad mailing list xmonad@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
On Wed, Mar 2, 2016 at 10:05 AM, Jean-Philippe Braun <eon@patapon.info> wrote:
Same issue here. After I reset the layout it's working fine. I'm using xmobar.
Le mercredi 02 mars 2016 à 09:25:39 (-0500), Dave Macias a écrit :
I have a similar issue but when i startup xmonad for the first time. All i do is reset the layout on all visible workspaces (mod-shift-space). Havent figured how to fix it. Using dzen as my status bars.
On Wed, Mar 2, 2016 at 7:49 AM, Tuncer Ayaz <tuncer.ayaz@gmail.com> wrote:
Does anybody else run XMonad on Arch Linux AMD64 (non-testing)? Since about a week (and a half) ago something seems to have caused avoidStruts to be ignored, because xmobar is covered by any window I open. I've tried unsuccessfully with my full config and the recently suggested new sample config here on the list[1]. Any idea what's happening? It's possibly an operator issue, but I don't know how to debug it.
[1] https://mail.haskell.org/pipermail/xmonad/2015-December/014977.html
If you're running xmonad 0.12, you might want to either downgrade to 0.11 or remove your current xmonad + xmonad-contrib and reinstall both from git master. 0.12 introduced strut caching, but had a bug that caused it to cache the nonexistence of struts at startup time and not notice them being added later when the dock is (un)managed. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
On 2 March 2016 at 16:17, Brandon Allbery <allbery.b@gmail.com> wrote:
If you're running xmonad 0.12, you might want to either downgrade to 0.11 or remove your current xmonad + xmonad-contrib and reinstall both from git master. 0.12 introduced strut caching, but had a bug that caused it to cache the nonexistence of struts at startup time and not notice them being added later when the dock is (un)managed.
I was using xmonad and xmonad-contrib master with xmobar stable from hackage. I had rebuilt before, but I'll try again. Where exactly is the caching store and can it be invalidated? Ideally a cache shall not need manual management.
I moved from haskage xmonad + contrib to git master. Avoidstruts no longer works even if i refresh (mod-shift-space). Also noticed that "completionKey" lline from Xmonad.Prompt no longer works(might be default since it still works). Uncommented with no issues. When i go back to haskel xmonad + contrib, avoidstruts works but after refreshing the layout. Using dzen. i can try haskell xmobar... On Wed, Mar 2, 2016 at 10:17 AM, Brandon Allbery <allbery.b@gmail.com> wrote:
On Wed, Mar 2, 2016 at 10:05 AM, Jean-Philippe Braun <eon@patapon.info> wrote:
Same issue here. After I reset the layout it's working fine. I'm using xmobar.
Le mercredi 02 mars 2016 à 09:25:39 (-0500), Dave Macias a écrit :
I have a similar issue but when i startup xmonad for the first time. All i do is reset the layout on all visible workspaces (mod-shift-space). Havent figured how to fix it. Using dzen as my status bars.
On Wed, Mar 2, 2016 at 7:49 AM, Tuncer Ayaz <tuncer.ayaz@gmail.com> wrote:
Does anybody else run XMonad on Arch Linux AMD64 (non-testing)? Since about a week (and a half) ago something seems to have caused avoidStruts to be ignored, because xmobar is covered by any window I open. I've tried unsuccessfully with my full config and the recently suggested new sample config here on the list[1]. Any idea what's happening? It's possibly an operator issue, but I don't know how to debug it.
[1] https://mail.haskell.org/pipermail/xmonad/2015-December/014977.html
If you're running xmonad 0.12, you might want to either downgrade to 0.11 or remove your current xmonad + xmonad-contrib and reinstall both from git master. 0.12 introduced strut caching, but had a bug that caused it to cache the nonexistence of struts at startup time and not notice them being added later when the dock is (un)managed.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
On 2 March 2016 at 17:21, Dave Macias <davama@gmail.com> wrote:
I moved from haskage xmonad + contrib to git master. Avoidstruts no longer works even if i refresh (mod-shift-space). Also noticed that "completionKey" lline from Xmonad.Prompt no longer works(might be default since it still works). Uncommented with no issues. When i go back to haskel xmonad + contrib, avoidstruts works but after refreshing the layout.
Using dzen. i can try haskell xmobar...
dzen failed the same way as xmobar here, so I think it's a general problem.
On Wednesday, March 2, 2016 11:21:07 AM MSK Dave Macias wrote:
Avoidstruts no longer works even if i refresh (mod-shift-space). Now `docksEventHook`(for adding a dock to layout) and `docksStartupHook`(for re-adding all docks when you restore layout) are required. Btw, restoring layout breaks many layout modifiers, b.e. subj, X.L.Minimize, X.L.Fullscreen and some others. The only solution I see is to add something like `docksStartupHook`(btw, that is very bad name because it's not for `startupHook` but for running after `setLayout =<< asks (layoutHook . config)`)
Also noticed that "completionKey" lline from Xmonad.Prompt no longer works(might be default since it still works). Now format is `(KeyMask, KeySym)`, see CHANGES.md
-- Bogdan Sinitsyn
On 2 March 2016 at 18:55, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com> wrote:
On Wednesday, March 2, 2016 11:21:07 AM MSK Dave Macias wrote:
Avoidstruts no longer works even if i refresh (mod-shift-space). Now `docksEventHook`(for adding a dock to layout) and `docksStartupHook`(for re-adding all docks when you restore layout) are required. Btw, restoring layout breaks many layout modifiers, b.e. subj, X.L.Minimize, X.L.Fullscreen and some others. The only solution I see is to add something like `docksStartupHook`(btw, that is very bad name because it's not for `startupHook` but for running after `setLayout =<< asks (layoutHook . config)`)
Thanks, Bogdan, that fixes it. I'll post an updated sample config. It was sufficient to add just docksEventHook. Feel free to critique the new sample config.
Thanks for info. I already have docksEventHook. `setLayout =<< asks ....` works since im able to go back to my default layout but it does not respect the dzen bar. I did not quite understand how to try the `docksStartupHook` after `setLayout =<<...` config here: https://raw.githubusercontent.com/davama/xmonad/master/xmonad.hs Thanks On Wed, Mar 2, 2016 at 12:55 PM, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com> wrote:
On Wednesday, March 2, 2016 11:21:07 AM MSK Dave Macias wrote:
Avoidstruts no longer works even if i refresh (mod-shift-space). Now `docksEventHook`(for adding a dock to layout) and `docksStartupHook`(for re-adding all docks when you restore layout) are required. Btw, restoring layout breaks many layout modifiers, b.e. subj, X.L.Minimize, X.L.Fullscreen and some others. The only solution I see is to add something like `docksStartupHook`(btw, that is very bad name because it's not for `startupHook` but for running after `setLayout =<< asks (layoutHook . config)`)
Also noticed that "completionKey" lline from Xmonad.Prompt no longer works(might be default since it still works). Now format is `(KeyMask, KeySym)`, see CHANGES.md
-- Bogdan Sinitsyn
Thank you Bogdan for the reply. I did as suggested. I tried different versions: `setLayout $ XMonad.layoutHook conf` -- original code. works fine under Haskell xmonad 0.12. with GIT xmonad docks are not longer respected. `setLayout $ XMonad.layoutHook conf >> docksStartupHook` -- failed on xmonad restart `(setLayout $ XMonad.layoutHook conf) >> docksStartupHook` -- passes xmonad restart but setLayout to default does not work, neither respect for docks `(setLayout =<< asks (XMonad.layoutHook . config)) >> docksStartupHook` -- passes restart. setLayout works. but still no respect for docks. I feel like im very close. Could it be that my `manageDocks` or `docksEventHook e` are not properly configured? Thank you again for assistance. Hopefully my struggles will help someone else who reads this. -Dave On Wed, Mar 2, 2016 at 2:48 PM, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com> wrote:
On Wednesday, March 2, 2016 2:38:34 PM MSK you wrote:
I did not quite understand how to try the `docksStartupHook` after `setLayout =<<...` `(setLayout =<< asks (layoutHook . config)) >> docksStartupHook`
-- Bogdan Sinitsyn
Are you speaking about action on some hotkey instead of `setLayout =<< asks (layoutHook . config)` or something else? If first then I dunno what's wrong, can you give the whole config? On Thursday, March 3, 2016 8:36:10 AM MSK you wrote:
Thank you Bogdan for the reply. I did as suggested. I tried different versions:
`setLayout $ XMonad.layoutHook conf` -- original code. works fine under Haskell xmonad 0.12. with GIT xmonad docks are not longer respected. `setLayout $ XMonad.layoutHook conf >> docksStartupHook` -- failed on xmonad restart `(setLayout $ XMonad.layoutHook conf) >> docksStartupHook` -- passes xmonad restart but setLayout to default does not work, neither respect for docks `(setLayout =<< asks (XMonad.layoutHook . config)) >> docksStartupHook` -- passes restart. setLayout works. but still no respect for docks.
I feel like im very close. Could it be that my `manageDocks` or `docksEventHook e` are not properly configured?
Thank you again for assistance. Hopefully my struggles will help someone else who reads this. -Dave
On Wed, Mar 2, 2016 at 2:48 PM, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com>
wrote:
On Wednesday, March 2, 2016 2:38:34 PM MSK you wrote:
I did not quite understand how to try the `docksStartupHook` after `setLayout =<<...`
`(setLayout =<< asks (layoutHook . config)) >> docksStartupHook`
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
Yes, it's an action on a hotkey. (mod+shift+space) which resets layout on workspace. See http://web.mit.edu/nelhage/Public/xmonad.hs Under haskell xmonad, i had to (mod-shift-space) in order for the docks to be respected, since it was never respected upon xmonad restart. Under Git xmonad, docks are still not respected upon xmonad restart but my previous solution (mod-shift-space) for displaying the dock, no longer works. Here is my code: https://raw.githubusercontent.com/davama/xmonad/master/xmonad.hs On Thu, Mar 3, 2016 at 8:58 AM, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com> wrote:
Are you speaking about action on some hotkey instead of `setLayout =<< asks (layoutHook . config)` or something else? If first then I dunno what's wrong, can you give the whole config?
On Thursday, March 3, 2016 8:36:10 AM MSK you wrote:
Thank you Bogdan for the reply. I did as suggested. I tried different versions:
`setLayout $ XMonad.layoutHook conf` -- original code. works fine under Haskell xmonad 0.12. with GIT xmonad docks are not longer respected. `setLayout $ XMonad.layoutHook conf >> docksStartupHook` -- failed on xmonad restart `(setLayout $ XMonad.layoutHook conf) >> docksStartupHook` -- passes xmonad restart but setLayout to default does not work, neither respect for docks `(setLayout =<< asks (XMonad.layoutHook . config)) >> docksStartupHook` -- passes restart. setLayout works. but still no respect for docks.
I feel like im very close. Could it be that my `manageDocks` or `docksEventHook e` are not properly configured?
Thank you again for assistance. Hopefully my struggles will help someone else who reads this. -Dave
On Wed, Mar 2, 2016 at 2:48 PM, Bogdan Sinitsyn < bogdan.sinitsyn@gmail.com>
wrote:
On Wednesday, March 2, 2016 2:38:34 PM MSK you wrote:
I did not quite understand how to try the `docksStartupHook` after `setLayout =<<...`
`(setLayout =<< asks (layoutHook . config)) >> docksStartupHook`
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
Add `docksStartupHook` to both your action on mod-shift-space and your startup hook(because you restore initial layout state before restart). On Thursday, March 3, 2016 9:29:38 AM MSK you wrote:
Yes, it's an action on a hotkey. (mod+shift+space) which resets layout on workspace. See http://web.mit.edu/nelhage/Public/xmonad.hs Under haskell xmonad, i had to (mod-shift-space) in order for the docks to be respected, since it was never respected upon xmonad restart. Under Git xmonad, docks are still not respected upon xmonad restart but my previous solution (mod-shift-space) for displaying the dock, no longer works.
Here is my code: https://raw.githubusercontent.com/davama/xmonad/master/xmonad.hs
On Thu, Mar 3, 2016 at 8:58 AM, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com>
wrote:
Are you speaking about action on some hotkey instead of `setLayout =<< asks (layoutHook . config)` or something else? If first then I dunno what's wrong, can you give the whole config?
On Thursday, March 3, 2016 8:36:10 AM MSK you wrote:
Thank you Bogdan for the reply. I did as suggested. I tried different versions:
`setLayout $ XMonad.layoutHook conf` -- original code. works fine under Haskell xmonad 0.12. with GIT xmonad docks are not longer respected. `setLayout $ XMonad.layoutHook conf >> docksStartupHook` -- failed on xmonad restart `(setLayout $ XMonad.layoutHook conf) >> docksStartupHook` -- passes
xmonad
restart but setLayout to default does not work, neither respect for docks `(setLayout =<< asks (XMonad.layoutHook . config)) >> docksStartupHook`
--
passes restart. setLayout works. but still no respect for docks.
I feel like im very close. Could it be that my `manageDocks` or `docksEventHook e` are not properly configured?
Thank you again for assistance. Hopefully my struggles will help someone else who reads this. -Dave
On Wed, Mar 2, 2016 at 2:48 PM, Bogdan Sinitsyn <
bogdan.sinitsyn@gmail.com>
wrote:
On Wednesday, March 2, 2016 2:38:34 PM MSK you wrote:
I did not quite understand how to try the `docksStartupHook` after `setLayout =<<...`
`(setLayout =<< asks (layoutHook . config)) >> docksStartupHook`
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
I tried adding `dockStartupHook` to `myStartupHook` but no change. so i moved it to `main` with still no change. So then i tried both location but nothing different, avoidStruts not working. how it currently looks in my xmonad.hs file: [code] (....... (setLayout =<< asks (XMonad.layoutHook . config)) >> docksStartupHook) ....... myStartupHook = do docksStartupHook ...... ..... main = do .... , startupHook = composeAll [ myStartupHook , docksStartupHook ..... [/code] Just to reiterate, xmonad 0.12 from GIT allows me to reset the layout but avoidstruts does not work. Same xmonad.hs code but w/o docksStartupHook under xmonad 0.12 from haskell, still allows me to reset the layout but also respects docs (avoidstruts) if and only if I reset the layout (mod-shift-space) on all "visible" workspaces after an xmonad start/restart. "Non-visible" workspaces seem to work fine, avoidstruts works when spawning a window client; as does reset layout. My understanding is that GIT is now the "darcs" version of xmonad (aka development version). That being the case, I can live for now under haskell xmonad with the annoyance of (mod-shift-space) upon xmonad start/restart. It's no biggy. I'll deal with it once GIT gets pushed to haskell (unless we abandoning haskell). Hope all this makes sense. Thanks again for assistance, -Dave On Fri, Mar 4, 2016 at 6:08 AM, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com> wrote:
Add `docksStartupHook` to both your action on mod-shift-space and your startup hook(because you restore initial layout state before restart).
On Thursday, March 3, 2016 9:29:38 AM MSK you wrote:
Yes, it's an action on a hotkey. (mod+shift+space) which resets layout on workspace. See http://web.mit.edu/nelhage/Public/xmonad.hs Under haskell xmonad, i had to (mod-shift-space) in order for the docks to be respected, since it was never respected upon xmonad restart. Under Git xmonad, docks are still not respected upon xmonad restart but my previous solution (mod-shift-space) for displaying the dock, no longer works.
Here is my code: https://raw.githubusercontent.com/davama/xmonad/master/xmonad.hs
On Thu, Mar 3, 2016 at 8:58 AM, Bogdan Sinitsyn < bogdan.sinitsyn@gmail.com>
wrote:
Are you speaking about action on some hotkey instead of `setLayout =<< asks (layoutHook . config)` or something else? If first then I dunno what's wrong, can you give the whole config?
On Thursday, March 3, 2016 8:36:10 AM MSK you wrote:
Thank you Bogdan for the reply. I did as suggested. I tried different versions:
`setLayout $ XMonad.layoutHook conf` -- original code. works fine under Haskell xmonad 0.12. with GIT xmonad docks are not longer respected. `setLayout $ XMonad.layoutHook conf >> docksStartupHook` -- failed on xmonad restart `(setLayout $ XMonad.layoutHook conf) >> docksStartupHook` -- passes
xmonad
restart but setLayout to default does not work, neither respect for docks `(setLayout =<< asks (XMonad.layoutHook . config)) >> docksStartupHook`
--
passes restart. setLayout works. but still no respect for docks.
I feel like im very close. Could it be that my `manageDocks` or `docksEventHook e` are not properly configured?
Thank you again for assistance. Hopefully my struggles will help someone else who reads this. -Dave
On Wed, Mar 2, 2016 at 2:48 PM, Bogdan Sinitsyn <
bogdan.sinitsyn@gmail.com>
wrote:
On Wednesday, March 2, 2016 2:38:34 PM MSK you wrote:
I did not quite understand how to try the `docksStartupHook` after `setLayout =<<...`
`(setLayout =<< asks (layoutHook . config)) >> docksStartupHook`
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
On Fri, Mar 4, 2016 at 9:32 AM, Dave Macias <davama@gmail.com> wrote:
Just to reiterate, xmonad 0.12 from GIT allows me to reset the layout but avoidstruts does not work. Same xmonad.hs code but w/o docksStartupHook under xmonad 0.12 from haskell, still allows me to reset the layout but also respects docs (avoidstruts) if and only if I reset the layout (mod-shift-space) on all "visible" workspaces after an xmonad start/restart. "Non-visible" workspaces seem to work fine, avoidstruts works when spawning a window client; as does reset layout.
You're going to have to supply more information if you want anyone to debug this, because other people don't seem to be seeing it. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
It seems to be like X.L.PerWorkspace bug. It does not handle messages before it is run first time. But I still dunno how to fix it. Any ideas? On Friday, March 4, 2016 9:32:46 AM MSK you wrote:
I tried adding `dockStartupHook` to `myStartupHook` but no change. so i moved it to `main` with still no change. So then i tried both location but nothing different, avoidStruts not working.
how it currently looks in my xmonad.hs file: [code] (....... (setLayout =<< asks (XMonad.layoutHook . config)) >> docksStartupHook) ....... myStartupHook = do docksStartupHook ...... ..... main = do .... , startupHook = composeAll [ myStartupHook , docksStartupHook ..... [/code]
Just to reiterate, xmonad 0.12 from GIT allows me to reset the layout but avoidstruts does not work. Same xmonad.hs code but w/o docksStartupHook under xmonad 0.12 from haskell, still allows me to reset the layout but also respects docs (avoidstruts) if and only if I reset the layout (mod-shift-space) on all "visible" workspaces after an xmonad start/restart. "Non-visible" workspaces seem to work fine, avoidstruts works when spawning a window client; as does reset layout.
My understanding is that GIT is now the "darcs" version of xmonad (aka development version). That being the case, I can live for now under haskell xmonad with the annoyance of (mod-shift-space) upon xmonad start/restart. It's no biggy. I'll deal with it once GIT gets pushed to haskell (unless we abandoning haskell).
Hope all this makes sense.
Thanks again for assistance, -Dave
On Fri, Mar 4, 2016 at 6:08 AM, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com>
wrote:
Add `docksStartupHook` to both your action on mod-shift-space and your startup hook(because you restore initial layout state before restart).
On Thursday, March 3, 2016 9:29:38 AM MSK you wrote:
Yes, it's an action on a hotkey. (mod+shift+space) which resets layout on workspace. See http://web.mit.edu/nelhage/Public/xmonad.hs Under haskell xmonad, i had to (mod-shift-space) in order for the docks
to
be respected, since it was never respected upon xmonad restart. Under Git xmonad, docks are still not respected upon xmonad restart but
my
previous solution (mod-shift-space) for displaying the dock, no longer works.
Here is my code: https://raw.githubusercontent.com/davama/xmonad/master/xmonad.hs
On Thu, Mar 3, 2016 at 8:58 AM, Bogdan Sinitsyn <
bogdan.sinitsyn@gmail.com>
wrote:
Are you speaking about action on some hotkey instead of `setLayout =<< asks (layoutHook . config)` or something else? If first then I dunno what's wrong, can you give the whole config?
On Thursday, March 3, 2016 8:36:10 AM MSK you wrote:
Thank you Bogdan for the reply. I did as suggested. I tried
different
versions:
`setLayout $ XMonad.layoutHook conf` -- original code. works fine
under
Haskell xmonad 0.12. with GIT xmonad docks are not longer respected. `setLayout $ XMonad.layoutHook conf >> docksStartupHook` -- failed on xmonad restart `(setLayout $ XMonad.layoutHook conf) >> docksStartupHook` -- passes
xmonad
restart but setLayout to default does not work, neither respect for docks `(setLayout =<< asks (XMonad.layoutHook . config)) >>
docksStartupHook`
--
passes restart. setLayout works. but still no respect for docks.
I feel like im very close. Could it be that my `manageDocks` or `docksEventHook e` are not
properly
configured?
Thank you again for assistance. Hopefully my struggles will help
someone
else who reads this. -Dave
On Wed, Mar 2, 2016 at 2:48 PM, Bogdan Sinitsyn <
bogdan.sinitsyn@gmail.com>
wrote:
On Wednesday, March 2, 2016 2:38:34 PM MSK you wrote: > I did not quite understand how to try the `docksStartupHook`
after
> `setLayout =<<...`
`(setLayout =<< asks (layoutHook . config)) >> docksStartupHook`
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
Thank you for the pointer. Ill test without it and report soon. As far as clearer explanation, this is the order of operations as they happen: 1. Login into computer or restart xmonad (mod-q) 2. Xmonad starts but docks is not respected on all visible workspaces 3. Use my current solution (mod+shift+space) 4. Docks begin to be respected. 5. Move on with life Hope this is better. Thank you for the continual support! Really enjoy xmonad Dave Sent from my iPhone
On Mar 4, 2016, at 11:59 AM, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com> wrote:
It seems to be like X.L.PerWorkspace bug. It does not handle messages before it is run first time. But I still dunno how to fix it. Any ideas?
On Friday, March 4, 2016 9:32:46 AM MSK you wrote: I tried adding `dockStartupHook` to `myStartupHook` but no change. so i moved it to `main` with still no change. So then i tried both location but nothing different, avoidStruts not working.
how it currently looks in my xmonad.hs file: [code] (....... (setLayout =<< asks (XMonad.layoutHook . config)) >> docksStartupHook) ....... myStartupHook = do docksStartupHook ...... ..... main = do .... , startupHook = composeAll [ myStartupHook , docksStartupHook ..... [/code]
Just to reiterate, xmonad 0.12 from GIT allows me to reset the layout but avoidstruts does not work. Same xmonad.hs code but w/o docksStartupHook under xmonad 0.12 from haskell, still allows me to reset the layout but also respects docs (avoidstruts) if and only if I reset the layout (mod-shift-space) on all "visible" workspaces after an xmonad start/restart. "Non-visible" workspaces seem to work fine, avoidstruts works when spawning a window client; as does reset layout.
My understanding is that GIT is now the "darcs" version of xmonad (aka development version). That being the case, I can live for now under haskell xmonad with the annoyance of (mod-shift-space) upon xmonad start/restart. It's no biggy. I'll deal with it once GIT gets pushed to haskell (unless we abandoning haskell).
Hope all this makes sense.
Thanks again for assistance, -Dave
On Fri, Mar 4, 2016 at 6:08 AM, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com>
wrote:
Add `docksStartupHook` to both your action on mod-shift-space and your startup hook(because you restore initial layout state before restart).
On Thursday, March 3, 2016 9:29:38 AM MSK you wrote: Yes, it's an action on a hotkey. (mod+shift+space) which resets layout on workspace. See http://web.mit.edu/nelhage/Public/xmonad.hs Under haskell xmonad, i had to (mod-shift-space) in order for the docks
to
be respected, since it was never respected upon xmonad restart. Under Git xmonad, docks are still not respected upon xmonad restart but
my
previous solution (mod-shift-space) for displaying the dock, no longer works.
Here is my code: https://raw.githubusercontent.com/davama/xmonad/master/xmonad.hs
On Thu, Mar 3, 2016 at 8:58 AM, Bogdan Sinitsyn <
bogdan.sinitsyn@gmail.com>
wrote:
Are you speaking about action on some hotkey instead of `setLayout =<< asks (layoutHook . config)` or something else? If first then I dunno what's wrong, can you give the whole config?
On Thursday, March 3, 2016 8:36:10 AM MSK you wrote: Thank you Bogdan for the reply. I did as suggested. I tried
different
versions:
`setLayout $ XMonad.layoutHook conf` -- original code. works fine
under
Haskell xmonad 0.12. with GIT xmonad docks are not longer respected. `setLayout $ XMonad.layoutHook conf >> docksStartupHook` -- failed on xmonad restart `(setLayout $ XMonad.layoutHook conf) >> docksStartupHook` -- passes
xmonad
restart but setLayout to default does not work, neither respect for docks `(setLayout =<< asks (XMonad.layoutHook . config)) >>
docksStartupHook`
--
passes restart. setLayout works. but still no respect for docks.
I feel like im very close. Could it be that my `manageDocks` or `docksEventHook e` are not
properly
configured?
Thank you again for assistance. Hopefully my struggles will help
someone
else who reads this. -Dave
On Wed, Mar 2, 2016 at 2:48 PM, Bogdan Sinitsyn <
bogdan.sinitsyn@gmail.com>
wrote: >> On Wednesday, March 2, 2016 2:38:34 PM MSK you wrote: >> I did not quite understand how to try the `docksStartupHook`
after
>> `setLayout =<<...` > > `(setLayout =<< asks (layoutHook . config)) >> docksStartupHook` > > -- > Bogdan Sinitsyn
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
Bogdan I tested your theory about X.L.PerWorkspace bug. I completely commented that module out and used one layout for all my WS. Here is the lines of code i changed: https://gist.githubusercontent.com/davama/c380cb816a0b578f94ae/raw/da796fef7... The above change was tested with haskel xmonad 0.12 and with GIT xmonad. Interestingly with GIT xmonad, my avoidstruts breaks entirely for all WS. Here is a screenshot of how the window clients look on my two visible workspaces upon login (using haskell xmonad): http://i.imgur.com/g8HW35g.png This screen shot is taken after i do mod-shift-space per each visible WS: http://i.imgur.com/wBOO4qT.png Please let me know if i can test something else. Thanks On Sat, Mar 5, 2016 at 2:23 PM, Dave Macias <davama@gmail.com> wrote:
Thank you for the pointer. Ill test without it and report soon.
As far as clearer explanation, this is the order of operations as they happen: 1. Login into computer or restart xmonad (mod-q) 2. Xmonad starts but docks is not respected on all visible workspaces 3. Use my current solution (mod+shift+space) 4. Docks begin to be respected. 5. Move on with life
Hope this is better. Thank you for the continual support! Really enjoy xmonad
Dave
Sent from my iPhone
On Mar 4, 2016, at 11:59 AM, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com> wrote:
It seems to be like X.L.PerWorkspace bug. It does not handle messages before it is run first time. But I still dunno how to fix it. Any ideas?
On Friday, March 4, 2016 9:32:46 AM MSK you wrote: I tried adding `dockStartupHook` to `myStartupHook` but no change. so i moved it to `main` with still no change. So then i tried both location but nothing different, avoidStruts not working.
how it currently looks in my xmonad.hs file: [code] (....... (setLayout =<< asks (XMonad.layoutHook . config)) >> docksStartupHook) ....... myStartupHook = do docksStartupHook ...... ..... main = do .... , startupHook = composeAll [ myStartupHook , docksStartupHook ..... [/code]
Just to reiterate, xmonad 0.12 from GIT allows me to reset the layout but avoidstruts does not work. Same xmonad.hs code but w/o docksStartupHook under xmonad 0.12 from haskell, still allows me to reset the layout but also respects docs (avoidstruts) if and only if I reset the layout (mod-shift-space) on all "visible" workspaces after an xmonad start/restart. "Non-visible" workspaces seem to work fine, avoidstruts works when spawning a window client; as does reset layout.
My understanding is that GIT is now the "darcs" version of xmonad (aka development version). That being the case, I can live for now under haskell xmonad with the annoyance of (mod-shift-space) upon xmonad start/restart. It's no biggy. I'll deal with it once GIT gets pushed to haskell (unless we abandoning haskell).
Hope all this makes sense.
Thanks again for assistance, -Dave
On Fri, Mar 4, 2016 at 6:08 AM, Bogdan Sinitsyn < bogdan.sinitsyn@gmail.com>
wrote:
Add `docksStartupHook` to both your action on mod-shift-space and your startup hook(because you restore initial layout state before restart).
On Thursday, March 3, 2016 9:29:38 AM MSK you wrote: Yes, it's an action on a hotkey. (mod+shift+space) which resets layout on workspace. See http://web.mit.edu/nelhage/Public/xmonad.hs Under haskell xmonad, i had to (mod-shift-space) in order for the docks
to
be respected, since it was never respected upon xmonad restart. Under Git xmonad, docks are still not respected upon xmonad restart but
my
previous solution (mod-shift-space) for displaying the dock, no longer works.
Here is my code: https://raw.githubusercontent.com/davama/xmonad/master/xmonad.hs
On Thu, Mar 3, 2016 at 8:58 AM, Bogdan Sinitsyn <
bogdan.sinitsyn@gmail.com>
wrote:
Are you speaking about action on some hotkey instead of `setLayout =<< asks (layoutHook . config)` or something else? If first then I dunno what's wrong, can you give the whole config?
> On Thursday, March 3, 2016 8:36:10 AM MSK you wrote: > Thank you Bogdan for the reply. I did as suggested. I tried
different
> versions: > > `setLayout $ XMonad.layoutHook conf` -- original code. works fine
under
> Haskell xmonad 0.12. with GIT xmonad docks are not longer respected. > `setLayout $ XMonad.layoutHook conf >> docksStartupHook` -- failed > on > xmonad restart > `(setLayout $ XMonad.layoutHook conf) >> docksStartupHook` -- passes
xmonad
> restart but setLayout to default does not work, neither respect for > docks > `(setLayout =<< asks (XMonad.layoutHook . config)) >>
docksStartupHook`
--
> passes restart. setLayout works. but still no respect for docks. > > I feel like im very close. > Could it be that my `manageDocks` or `docksEventHook e` are not
properly
> configured? > > Thank you again for assistance. Hopefully my struggles will help
someone
> else who reads this. > -Dave > > On Wed, Mar 2, 2016 at 2:48 PM, Bogdan Sinitsyn <
bogdan.sinitsyn@gmail.com>
> wrote: >>> On Wednesday, March 2, 2016 2:38:34 PM MSK you wrote: >>> I did not quite understand how to try the `docksStartupHook`
after
>>> `setLayout =<<...` >> >> `(setLayout =<< asks (layoutHook . config)) >> docksStartupHook` >> >> -- >> Bogdan Sinitsyn
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
Thanks for testing and reminding. Now I'm a bit more sure that it's X.L.PerWorkspace bug. But I don't know how to fix existing code except some ugly workarounds. I'll think about it when I have more time. On Wednesday, March 9, 2016 8:30:51 AM MSK you wrote:
Bogdan I tested your theory about X.L.PerWorkspace bug. I completely commented that module out and used one layout for all my WS. Here is the lines of code i changed: https://gist.githubusercontent.com/davama/c380cb816a0b578f94ae/raw/da796fef7 2bd382bdea3b9f117ecb42728cf4052/xmonad.hs-without-perworkpace-module
The above change was tested with haskel xmonad 0.12 and with GIT xmonad. Interestingly with GIT xmonad, my avoidstruts breaks entirely for all WS.
Here is a screenshot of how the window clients look on my two visible workspaces upon login (using haskell xmonad): http://i.imgur.com/g8HW35g.png
This screen shot is taken after i do mod-shift-space per each visible WS: http://i.imgur.com/wBOO4qT.png
Please let me know if i can test something else.
Thanks
On Sat, Mar 5, 2016 at 2:23 PM, Dave Macias <davama@gmail.com> wrote:
Thank you for the pointer. Ill test without it and report soon.
As far as clearer explanation, this is the order of operations as they happen: 1. Login into computer or restart xmonad (mod-q) 2. Xmonad starts but docks is not respected on all visible workspaces 3. Use my current solution (mod+shift+space) 4. Docks begin to be respected. 5. Move on with life
Hope this is better. Thank you for the continual support! Really enjoy xmonad
Dave
Sent from my iPhone
On Mar 4, 2016, at 11:59 AM, Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com>
wrote:
It seems to be like X.L.PerWorkspace bug. It does not handle messages
before
it is run first time. But I still dunno how to fix it. Any ideas?
On Friday, March 4, 2016 9:32:46 AM MSK you wrote: I tried adding `dockStartupHook` to `myStartupHook` but no change. so i moved it to `main` with still no change. So then i tried both location
but
nothing different, avoidStruts not working.
how it currently looks in my xmonad.hs file: [code] (....... (setLayout =<< asks (XMonad.layoutHook . config)) >> docksStartupHook) ....... myStartupHook = do docksStartupHook
......
..... main = do .... , startupHook = composeAll [ myStartupHook , docksStartupHook
.....
[/code]
Just to reiterate, xmonad 0.12 from GIT allows me to reset the layout
but
avoidstruts does not work. Same xmonad.hs code but w/o docksStartupHook under xmonad 0.12 from haskell, still allows me to reset the layout but also respects docs (avoidstruts) if and only if I reset the layout (mod-shift-space) on all "visible" workspaces after an xmonad start/restart. "Non-visible" workspaces seem to work fine, avoidstruts works when spawning a window client; as does reset layout.
My understanding is that GIT is now the "darcs" version of xmonad (aka development version). That being the case, I can live for now under
haskell
xmonad with the annoyance of (mod-shift-space) upon xmonad
start/restart.
It's no biggy. I'll deal with it once GIT gets pushed to haskell
(unless we
abandoning haskell).
Hope all this makes sense.
Thanks again for assistance, -Dave
On Fri, Mar 4, 2016 at 6:08 AM, Bogdan Sinitsyn <
bogdan.sinitsyn@gmail.com>
wrote:
Add `docksStartupHook` to both your action on mod-shift-space and your startup hook(because you restore initial layout state before restart).
On Thursday, March 3, 2016 9:29:38 AM MSK you wrote: Yes, it's an action on a hotkey. (mod+shift+space) which resets layout on workspace. See http://web.mit.edu/nelhage/Public/xmonad.hs Under haskell xmonad, i had to (mod-shift-space) in order for the
docks
to
be respected, since it was never respected upon xmonad restart. Under Git xmonad, docks are still not respected upon xmonad restart
but
my
previous solution (mod-shift-space) for displaying the dock, no longer works.
Here is my code: https://raw.githubusercontent.com/davama/xmonad/master/xmonad.hs
On Thu, Mar 3, 2016 at 8:58 AM, Bogdan Sinitsyn <
bogdan.sinitsyn@gmail.com>
wrote: > Are you speaking about action on some hotkey instead of `setLayout
=<<
> asks > (layoutHook . config)` or something else? If first then I dunno
what's
> wrong, > can you give the whole config? > >> On Thursday, March 3, 2016 8:36:10 AM MSK you wrote: >> Thank you Bogdan for the reply. I did as suggested. I tried
different
>> versions: >> >> `setLayout $ XMonad.layoutHook conf` -- original code. works fine
under
>> Haskell xmonad 0.12. with GIT xmonad docks are not longer >> respected. >> `setLayout $ XMonad.layoutHook conf >> docksStartupHook` -- failed >> on >> xmonad restart >> `(setLayout $ XMonad.layoutHook conf) >> docksStartupHook` -- >> passes > > xmonad > >> restart but setLayout to default does not work, neither respect for >> docks >> `(setLayout =<< asks (XMonad.layoutHook . config)) >>
docksStartupHook`
> -- > >> passes restart. setLayout works. but still no respect for docks. >> >> I feel like im very close. >> Could it be that my `manageDocks` or `docksEventHook e` are not
properly
>> configured? >> >> Thank you again for assistance. Hopefully my struggles will help
someone
>> else who reads this. >> -Dave >> >> On Wed, Mar 2, 2016 at 2:48 PM, Bogdan Sinitsyn < > > bogdan.sinitsyn@gmail.com> > >> wrote: >>>> On Wednesday, March 2, 2016 2:38:34 PM MSK you wrote: >>>> I did not quite understand how to try the `docksStartupHook`
after
>>>> `setLayout =<<...` >>> >>> `(setLayout =<< asks (layoutHook . config)) >> docksStartupHook` >>> >>> -- >>> Bogdan Sinitsyn > > -- > Bogdan Sinitsyn
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
-- Bogdan Sinitsyn
On 2 March 2016 at 16:05, Jean-Philippe Braun <eon@patapon.info> wrote:
Same issue here. After I reset the layout it's working fine. I'm using xmobar.
And you're both running Arch Linux, correct?
Le mercredi 02 mars 2016 à 09:25:39 (-0500), Dave Macias a écrit :
I have a similar issue but when i startup xmonad for the first time. All i do is reset the layout on all visible workspaces (mod-shift-space). Havent figured how to fix it. Using dzen as my status bars.
On Wed, Mar 2, 2016 at 7:49 AM, Tuncer Ayaz <tuncer.ayaz@gmail.com> wrote:
Does anybody else run XMonad on Arch Linux AMD64 (non-testing)? Since about a week (and a half) ago something seems to have caused avoidStruts to be ignored, because xmobar is covered by any window I open. I've tried unsuccessfully with my full config and the recently suggested new sample config here on the list[1]. Any idea what's happening? It's possibly an operator issue, but I don't know how to debug it.
Tuncer Ayaz <tuncer.ayaz@gmail.com> writes:
On 2 March 2016 at 16:05, Jean-Philippe Braun <eon@patapon.info> wrote:
Same issue here. After I reset the layout it's working fine. I'm using xmobar.
And you're both running Arch Linux, correct?
I'm using archlinux and I don't have this problem (dzen2)... -- :: Igor Sosa Mayor :: joseleopoldo1792@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: ::
Running arch. xmonad 0.12 and contrib from haskell. using dzen. Will try xmonad & contrib from git repo Thanks On Wed, Mar 2, 2016 at 10:23 AM, Igor Sosa Mayor <joseleopoldo1792@gmail.com
wrote:
Tuncer Ayaz <tuncer.ayaz@gmail.com> writes:
On 2 March 2016 at 16:05, Jean-Philippe Braun <eon@patapon.info> wrote:
Same issue here. After I reset the layout it's working fine. I'm using xmobar.
And you're both running Arch Linux, correct?
I'm using archlinux and I don't have this problem (dzen2)...
-- :: Igor Sosa Mayor :: joseleopoldo1792@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: ::
_______________________________________________ xmonad mailing list xmonad@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
On 2 March 2016 at 16:23, Igor Sosa Mayor <joseleopoldo1792@gmail.com> wrote:
I'm using archlinux and I don't have this problem (dzen2)...
Rebuilt xmonad and xmonad-contrib, and I still have this problem with xmobar latest from hackage. I'll try dzen2 or maybe xmobar git master first.
On 2 March 2016 at 15:25, Dave Macias <davama@gmail.com> wrote:
I have a similar issue but when i startup xmonad for the first time. All i do is reset the layout on all visible workspaces (mod-shift-space). Havent figured how to fix it. Using dzen as my status bars.
Does dzen exhibit the same issue?
On Wed, Mar 2, 2016 at 7:49 AM, Tuncer Ayaz <tuncer.ayaz@gmail.com> wrote:
Does anybody else run XMonad on Arch Linux AMD64 (non-testing)? Since about a week (and a half) ago something seems to have caused avoidStruts to be ignored, because xmobar is covered by any window I open. I've tried unsuccessfully with my full config and the recently suggested new sample config here on the list[1]. Any idea what's happening? It's possibly an operator issue, but I don't know how to debug it.
participants (6)
-
Bogdan Sinitsyn -
Brandon Allbery -
Dave Macias -
Igor Sosa Mayor -
Jean-Philippe Braun -
Tuncer Ayaz