From tuncer.ayaz at gmail.com Wed Mar 2 12:49:04 2016 From: tuncer.ayaz at gmail.com (Tuncer Ayaz) Date: Wed, 2 Mar 2016 13:49:04 +0100 Subject: [xmonad] Can avoidStruts stop working? Message-ID: 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 From davama at gmail.com Wed Mar 2 14:25:39 2016 From: davama at gmail.com (Dave Macias) Date: Wed, 2 Mar 2016 09:25:39 -0500 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: Message-ID: 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 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 at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eon at patapon.info Wed Mar 2 15:05:14 2016 From: eon at patapon.info (Jean-Philippe Braun) Date: Wed, 2 Mar 2016 16:05:14 +0100 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: Message-ID: <20160302150514.GE31564@gnion.bou.cloudwatt.net> 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 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 at haskell.org > > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: not available URL: From allbery.b at gmail.com Wed Mar 2 15:17:12 2016 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 2 Mar 2016 10:17:12 -0500 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: <20160302150514.GE31564@gnion.bou.cloudwatt.net> References: <20160302150514.GE31564@gnion.bou.cloudwatt.net> Message-ID: On Wed, Mar 2, 2016 at 10:05 AM, Jean-Philippe Braun 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 > 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 at gmail.com ballbery at sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From tuncer.ayaz at gmail.com Wed Mar 2 15:17:24 2016 From: tuncer.ayaz at gmail.com (Tuncer Ayaz) Date: Wed, 2 Mar 2016 16:17:24 +0100 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: Message-ID: On 2 March 2016 at 15:25, Dave Macias 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 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. From tuncer.ayaz at gmail.com Wed Mar 2 15:17:52 2016 From: tuncer.ayaz at gmail.com (Tuncer Ayaz) Date: Wed, 2 Mar 2016 16:17:52 +0100 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: <20160302150514.GE31564@gnion.bou.cloudwatt.net> References: <20160302150514.GE31564@gnion.bou.cloudwatt.net> Message-ID: On 2 March 2016 at 16:05, Jean-Philippe Braun 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 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. From tuncer.ayaz at gmail.com Wed Mar 2 15:21:24 2016 From: tuncer.ayaz at gmail.com (Tuncer Ayaz) Date: Wed, 2 Mar 2016 16:21:24 +0100 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: <20160302150514.GE31564@gnion.bou.cloudwatt.net> Message-ID: On 2 March 2016 at 16:17, Brandon Allbery 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. From joseleopoldo1792 at gmail.com Wed Mar 2 15:23:46 2016 From: joseleopoldo1792 at gmail.com (Igor Sosa Mayor) Date: Wed, 02 Mar 2016 16:23:46 +0100 Subject: [xmonad] Can avoidStruts stop working? References: <20160302150514.GE31564@gnion.bou.cloudwatt.net> Message-ID: <87bn6wucn1.fsf@gmail.com> Tuncer Ayaz writes: > On 2 March 2016 at 16:05, Jean-Philippe Braun 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 at gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: :: From davama at gmail.com Wed Mar 2 15:30:47 2016 From: davama at gmail.com (Dave Macias) Date: Wed, 2 Mar 2016 10:30:47 -0500 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: <87bn6wucn1.fsf@gmail.com> References: <20160302150514.GE31564@gnion.bou.cloudwatt.net> <87bn6wucn1.fsf@gmail.com> Message-ID: 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 wrote: > Tuncer Ayaz > writes: > > > On 2 March 2016 at 16:05, Jean-Philippe Braun 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 at gmail.com :: > :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: > :: jabberid: rogorido :: :: > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tuncer.ayaz at gmail.com Wed Mar 2 15:54:07 2016 From: tuncer.ayaz at gmail.com (Tuncer Ayaz) Date: Wed, 2 Mar 2016 16:54:07 +0100 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: <87bn6wucn1.fsf@gmail.com> References: <20160302150514.GE31564@gnion.bou.cloudwatt.net> <87bn6wucn1.fsf@gmail.com> Message-ID: On 2 March 2016 at 16:23, Igor Sosa Mayor 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. From davama at gmail.com Wed Mar 2 16:21:07 2016 From: davama at gmail.com (Dave Macias) Date: Wed, 2 Mar 2016 11:21:07 -0500 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: <20160302150514.GE31564@gnion.bou.cloudwatt.net> Message-ID: 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 wrote: > On Wed, Mar 2, 2016 at 10:05 AM, Jean-Philippe Braun > 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 >> 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 at gmail.com > ballbery at sinenomine.net > unix, openafs, kerberos, infrastructure, xmonad > http://sinenomine.net > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tuncer.ayaz at gmail.com Wed Mar 2 16:42:41 2016 From: tuncer.ayaz at gmail.com (Tuncer Ayaz) Date: Wed, 2 Mar 2016 17:42:41 +0100 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: <20160302150514.GE31564@gnion.bou.cloudwatt.net> Message-ID: On 2 March 2016 at 17:21, Dave Macias 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. From bogdan.sinitsyn at gmail.com Wed Mar 2 17:55:04 2016 From: bogdan.sinitsyn at gmail.com (Bogdan Sinitsyn) Date: Wed, 02 Mar 2016 20:55:04 +0300 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: Message-ID: <16193554.GufQfXKyd3@navi> 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 From tuncer.ayaz at gmail.com Wed Mar 2 18:59:58 2016 From: tuncer.ayaz at gmail.com (Tuncer Ayaz) Date: Wed, 2 Mar 2016 19:59:58 +0100 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: <16193554.GufQfXKyd3@navi> References: <16193554.GufQfXKyd3@navi> Message-ID: On 2 March 2016 at 18:55, Bogdan Sinitsyn 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. From tuncer.ayaz at gmail.com Wed Mar 2 19:06:46 2016 From: tuncer.ayaz at gmail.com (Tuncer Ayaz) Date: Wed, 2 Mar 2016 20:06:46 +0100 Subject: [xmonad] Code Freeze for v0.12 and Time to Test! In-Reply-To: References: <87eges6dnq.fsf@pmade.com> <87oadt3tit.fsf@pmade.com> Message-ID: Adapted to dock changes by adding docksEventHook as suggested by Bogdan. Here's v3 with more fixes and better wording: xmonad and xmonad-contrib have evolved a lot over the years, and therefore it's a good idea to showcase a modern xmonad.hs. The config below will give you a good starter xmonad setup with minor customizations. These are: (1) Ask for confirmation before exiting (2) Replace default launcher binding with built-in shellPrompt, which is friendlier to use and does not require dmenu. Arguably, these customizations should be the default, but as it requires xmonad-contrib, we can not really make it the default. Things you might want to configure next: * customize looks * control volume and display back-light * customize layouts * customize mouse behavior * add more prompts (ssh, man, password, etc.) * whatever you can imagine and/or need Save this as ~/.xmonad/xmonad.hs: import System.Exit import XMonad import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks import XMonad.Hooks.ManageHelpers import XMonad.Layout.Fullscreen import XMonad.Layout.LayoutHints import XMonad.Layout.NoBorders import XMonad.Prompt import XMonad.Prompt.ConfirmPrompt import XMonad.Prompt.Shell import XMonad.Util.EZConfig import XMonad.Util.Run(hPutStrLn, spawnPipe) main = do xmproc <- spawnPipe "xmobar ~/.xmonad/xmobarrc" xmonad $ defaultConfig { terminal = "xterm" , manageHook = myManageHook <+> fullscreenManageHook <+> manageDocks <+> manageHook defaultConfig , layoutHook = fullscreenFloat $ fullscreenFocus $ layoutHints $ smartBorders $ avoidStruts $ layoutHook defaultConfig , handleEventHook = fullscreenEventHook <+> docksEventHook , logHook = dynamicLogWithPP $ xmobarPP { ppOutput = hPutStrLn xmproc } } `additionalKeysP` [ -- Ask for confirmation before exiting by replacing the default -- binding with a custom one. ("M-S-q", confirmPrompt myXPConfig "exit" $ io exitSuccess) -- Replace M-p launcher binding with built-in shellPrompt, which -- is friendlier and does not require dmenu. , ("M-p", shellPrompt myXPConfig) ] `additionalKeys` [ ((mod4Mask, xK_q), spawn "xmonad --recompile && xmonad --restart") ] -- see http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Prompt.html#t:XPConfig myXPConfig = defaultXPConfig { position = Top , promptBorderWidth = 0 , defaultText = "" , alwaysHighlight = True , font = "9x15" } -- see http://xmonad.org/xmonad-docs/xmonad/XMonad-ManageHook.html myManageHook = composeAll [ className =? "Pidgin" --> doFloat , className =? "XCalc" --> doFloat , className =? "mpv" --> doFloat ] -------------- next part -------------- A non-text attachment was scrubbed... Name: sample-xmonad.hs Type: application/octet-stream Size: 2100 bytes Desc: not available URL: From davama at gmail.com Wed Mar 2 19:38:34 2016 From: davama at gmail.com (Dave Macias) Date: Wed, 2 Mar 2016 14:38:34 -0500 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: <16193554.GufQfXKyd3@navi> References: <16193554.GufQfXKyd3@navi> Message-ID: 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 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan.sinitsyn at gmail.com Wed Mar 2 19:48:34 2016 From: bogdan.sinitsyn at gmail.com (Bogdan Sinitsyn) Date: Wed, 02 Mar 2016 22:48:34 +0300 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: <16193554.GufQfXKyd3@navi> Message-ID: <1953109.07M1mxiiJD@navi> 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 From davama at gmail.com Thu Mar 3 13:36:10 2016 From: davama at gmail.com (Dave Macias) Date: Thu, 3 Mar 2016 08:36:10 -0500 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: <1953109.07M1mxiiJD@navi> References: <16193554.GufQfXKyd3@navi> <1953109.07M1mxiiJD@navi> Message-ID: 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 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan.sinitsyn at gmail.com Thu Mar 3 13:58:11 2016 From: bogdan.sinitsyn at gmail.com (Bogdan Sinitsyn) Date: Thu, 03 Mar 2016 16:58:11 +0300 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: <1953109.07M1mxiiJD@navi> Message-ID: <91068661.MkK6yCIQI8@navi> 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 > > 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 From davama at gmail.com Thu Mar 3 14:29:38 2016 From: davama at gmail.com (Dave Macias) Date: Thu, 3 Mar 2016 09:29:38 -0500 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: <91068661.MkK6yCIQI8@navi> References: <1953109.07M1mxiiJD@navi> <91068661.MkK6yCIQI8@navi> Message-ID: 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 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan.sinitsyn at gmail.com Fri Mar 4 11:08:41 2016 From: bogdan.sinitsyn at gmail.com (Bogdan Sinitsyn) Date: Fri, 04 Mar 2016 14:08:41 +0300 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: <91068661.MkK6yCIQI8@navi> Message-ID: <2271583.97O6Fy16Zc@navi> 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 > > 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 at 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 From davama at gmail.com Fri Mar 4 14:32:46 2016 From: davama at gmail.com (Dave Macias) Date: Fri, 4 Mar 2016 09:32:46 -0500 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: <2271583.97O6Fy16Zc@navi> References: <91068661.MkK6yCIQI8@navi> <2271583.97O6Fy16Zc@navi> Message-ID: 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 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 at 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From allbery.b at gmail.com Fri Mar 4 14:34:12 2016 From: allbery.b at gmail.com (Brandon Allbery) Date: Fri, 4 Mar 2016 09:34:12 -0500 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: <91068661.MkK6yCIQI8@navi> <2271583.97O6Fy16Zc@navi> Message-ID: On Fri, Mar 4, 2016 at 9:32 AM, Dave Macias 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 at gmail.com ballbery at sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan.sinitsyn at gmail.com Fri Mar 4 16:59:21 2016 From: bogdan.sinitsyn at gmail.com (Bogdan Sinitsyn) Date: Fri, 04 Mar 2016 19:59:21 +0300 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: <2271583.97O6Fy16Zc@navi> Message-ID: <1642863.iluO6IcIHS@navi> 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 > > 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 at 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 at 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 From davama at gmail.com Sat Mar 5 19:23:42 2016 From: davama at gmail.com (Dave Macias) Date: Sat, 5 Mar 2016 14:23:42 -0500 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: <1642863.iluO6IcIHS@navi> References: <2271583.97O6Fy16Zc@navi> <1642863.iluO6IcIHS@navi> Message-ID: <8CF9211C-3D5A-4342-A60A-8AED9314B42D@gmail.com> 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 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 >> >> 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 at 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 at 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 From jason at schulz.name Sun Mar 6 01:12:26 2016 From: jason at schulz.name (Jason Schulz) Date: Sat, 5 Mar 2016 17:12:26 -0800 Subject: [xmonad] Default Floating Window Criteria (rdesktop) Message-ID: <20160306011226.GB3051@gmail.com> I'm trying to figure out why XMonad isn't tiling rdesktop by default (and hopefully change it). Whenever I launch rdesktop, the window gets floated. I'm using the default manageHook which, looking at the source, looks like it should only float two programs by default (MPlayer, and mplayer2). The command I'm using to launch rdesktop is 'rdesktop -K -a 32 -x lan -g 1920x1080 $host$'. My xmonad.hs is posted on github if anyone wants to look at it (https://github.com/uxcn/dot-files/blob/master/.xmonad/xmonad.hs). I'm currently using version 0.12. Any help is much appreciated. Thanks in advance. -Jason From allbery.b at gmail.com Sun Mar 6 01:26:10 2016 From: allbery.b at gmail.com (Brandon Allbery) Date: Sat, 5 Mar 2016 20:26:10 -0500 Subject: [xmonad] Default Floating Window Criteria (rdesktop) In-Reply-To: <20160306011226.GB3051@gmail.com> References: <20160306011226.GB3051@gmail.com> Message-ID: On Sat, Mar 5, 2016 at 8:12 PM, Jason Schulz wrote: > I'm trying to figure out why XMonad isn't tiling rdesktop by default (and > hopefully change it). Whenever I launch rdesktop, the window gets > floated. I'm > There is also a built-in criterion: if a window declares its default size, minimum size, and maximum size the same (see WM_NORMAL_HINTS in xprop) then xmonad floats it because it cannot satisfy a fixed window size with a tile whose size depends on the tiling algorithm as modified by tabs, struts, etc. You should be able to override this in the manageHook. If rdesktop is applying the -geometry option to all three of those sizes then rdesktop would need to be modified to do something more sensible (but note that it may be doing that to work around other window managers' behavior!). -- brandon s allbery kf8nh sine nomine associates allbery.b at gmail.com ballbery at sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason at schulz.name Sun Mar 6 21:05:24 2016 From: jason at schulz.name (Jason Schulz) Date: Sun, 6 Mar 2016 13:05:24 -0800 Subject: [xmonad] Default Floating Window Criteria (rdesktop) In-Reply-To: References: <20160306011226.GB3051@gmail.com> Message-ID: <20160306210524.GA3003@gmail.com> > There is also a built-in criterion: if a window declares its default size, > minimum size, and maximum size the same (see WM_NORMAL_HINTS in xprop) then > xmonad floats it because it cannot satisfy a fixed window size with a tile > whose size depends on the tiling algorithm as modified by tabs, struts, > etc. Thanks Brandon. I thought that might be what's happening. I checked with xprop and rdesktop does set WM_NORMAL_HINTS. Is there a simple way to sink a window through manageHook? XMonad.ManageHook has a doFloat, but no corresponding doSink. -Jason From allbery.b at gmail.com Sun Mar 6 21:08:13 2016 From: allbery.b at gmail.com (Brandon Allbery) Date: Sun, 6 Mar 2016 16:08:13 -0500 Subject: [xmonad] Default Floating Window Criteria (rdesktop) In-Reply-To: <20160306210524.GA3003@gmail.com> References: <20160306011226.GB3051@gmail.com> <20160306210524.GA3003@gmail.com> Message-ID: On Sun, Mar 6, 2016 at 4:05 PM, Jason Schulz wrote: > Is there a simple way to sink a window through manageHook? > XMonad.ManageHook > has a doFloat, but no corresponding doSink. > import qualified XMonad.StackSet as W then in the manageHook you can use doF W.sink (Things like doFloat are just convenience wrappers for this mechanism; doFloat is doF W.float.) -- brandon s allbery kf8nh sine nomine associates allbery.b at gmail.com ballbery at sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason at schulz.name Sun Mar 6 22:52:04 2016 From: jason at schulz.name (Jason Schulz) Date: Sun, 6 Mar 2016 14:52:04 -0800 Subject: [xmonad] Default Floating Window Criteria (rdesktop) In-Reply-To: References: <20160306011226.GB3051@gmail.com> <20160306210524.GA3003@gmail.com> Message-ID: <20160306225204.GB3003@gmail.com> Thanks again. For posterity, here's what I added to my config. doSink :: ManageHook doSink = ask >>= doF . sink -Jason From davama at gmail.com Wed Mar 9 13:30:51 2016 From: davama at gmail.com (Dave Macias) Date: Wed, 9 Mar 2016 08:30:51 -0500 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: <8CF9211C-3D5A-4342-A60A-8AED9314B42D@gmail.com> References: <2271583.97O6Fy16Zc@navi> <1642863.iluO6IcIHS@navi> <8CF9211C-3D5A-4342-A60A-8AED9314B42D@gmail.com> Message-ID: 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/da796fef72bd382bdea3b9f117ecb42728cf4052/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 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 > 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 at 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 at 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan.sinitsyn at gmail.com Wed Mar 9 13:43:07 2016 From: bogdan.sinitsyn at gmail.com (Bogdan Sinitsyn) Date: Wed, 09 Mar 2016 16:43:07 +0300 Subject: [xmonad] Can avoidStruts stop working? In-Reply-To: References: <8CF9211C-3D5A-4342-A60A-8AED9314B42D@gmail.com> Message-ID: <9786053.DlZHl6fEud@navi> 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 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 > > > > 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 at 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 at 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 at 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 From asjo at koldfront.dk Thu Mar 10 17:36:07 2016 From: asjo at koldfront.dk (Adam =?utf-8?Q?Sj=C3=B8gren?=) Date: Thu, 10 Mar 2016 18:36:07 +0100 Subject: [xmonad] kill -STOP/-CONT hack Message-ID: <87io0udym0.fsf@tullinup.koldfront.dk> Hi, Has anyone implemented this kill -STOP/-CONT hack: ? https://blog.mister-muffin.de/2014/11/07/automatically-suspending-cpu-hungry-applications/ in XMonad? Best regards, Adam -- "Time is getting short; every midnight I feel 48 Adam Sj?gren hours older. And twice as useless." asjo at koldfront.dk From allbery.b at gmail.com Thu Mar 10 17:39:01 2016 From: allbery.b at gmail.com (Brandon Allbery) Date: Thu, 10 Mar 2016 12:39:01 -0500 Subject: [xmonad] kill -STOP/-CONT hack In-Reply-To: <87io0udym0.fsf@tullinup.koldfront.dk> References: <87io0udym0.fsf@tullinup.koldfront.dk> Message-ID: On Thu, Mar 10, 2016 at 12:36 PM, Adam Sj?gren wrote: > Has anyone implemented this kill -STOP/-CONT hack: > > ? > https://blog.mister-muffin.de/2014/11/07/automatically-suspending-cpu-hungry-applications/ > > in XMonad? > http://hackage.haskell.org/package/xmonad-contrib-0.12/docs/XMonad-Layout-Stoppable.html -- brandon s allbery kf8nh sine nomine associates allbery.b at gmail.com ballbery at sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From asjo at koldfront.dk Thu Mar 10 18:07:02 2016 From: asjo at koldfront.dk (Adam =?utf-8?Q?Sj=C3=B8gren?=) Date: Thu, 10 Mar 2016 19:07:02 +0100 Subject: [xmonad] kill -STOP/-CONT hack References: <87io0udym0.fsf@tullinup.koldfront.dk> Message-ID: <87egbidx6h.fsf@tullinup.koldfront.dk> Brandon writes: > On Thu, Mar 10, 2016 at 12:36 PM, Adam Sj?gren wrote: >> Has anyone implemented this kill -STOP/-CONT hack: > http://hackage.haskell.org/package/xmonad-contrib-0.12/docs/XMonad-Layout-Stoppable.html Cool! Now I just need to figure out how to only apply it to certain programs. Best regards, Adam -- "You've got to be excited about what you are doing." Adam Sj?gren asjo at koldfront.dk From vrs+xmonad at synkretie.net Tue Mar 15 18:53:51 2016 From: vrs+xmonad at synkretie.net (vrs) Date: Tue, 15 Mar 2016 19:53:51 +0100 Subject: [xmonad] kill -STOP/-CONT hack In-Reply-To: References: <87io0udym0.fsf@tullinup.koldfront.dk> Message-ID: <145806803176.27800.8133774582875646474@synkretie.net> Quoting Brandon Allbery (2016-03-10 18:39:01) > http://hackage.haskell.org/package/xmonad-contrib-0.12/docs/XMonad-Layout-Stoppable.html FWIW, I have considered using this but eventually just wrote a script that makes for less surprising behavior: https://gist.github.com/anonymous/a89fbe442b71cbda2b40 It should be easy enough to translate it into bassh (the only zsh-specific syntax in there is in line 44). Dependencies are pgrep, xprop and xclip. Usage: bind to a key and use to stop the process that spawned a window (hopefully anyway: not all applications play well when it comes to _NET_WM_PID). It's a bit rough around the edges but works for me (firejail broke something about it though that I still need to fix). -vrs From jschoett at gmail.com Mon Mar 28 15:13:41 2016 From: jschoett at gmail.com (=?UTF-8?Q?Jakob_Sch=c3=b6ttl?=) Date: Mon, 28 Mar 2016 17:13:41 +0200 Subject: [xmonad] Make floating window stick to screen Message-ID: <56F94A25.2060606@gmail.com> Hello, I would like to have a floating window that keep staying on a certain xinerama screen rather than a certain workspace. Is it possible to implement this? Can I create a key binding to toggle 'stick to screen'. In case I have to create my own event hook impl, how can I react on workspace switching? And how can xmonad 'remember' the sticky window(s)? Thank you! Regards, Jakob -- Jakob Sch?ttl E-Mail: jschoett at gmail.com PGP-Key: 0x25055C7F From allbery.b at gmail.com Mon Mar 28 16:42:50 2016 From: allbery.b at gmail.com (Brandon Allbery) Date: Mon, 28 Mar 2016 12:42:50 -0400 Subject: [xmonad] Make floating window stick to screen In-Reply-To: <56F94A25.2060606@gmail.com> References: <56F94A25.2060606@gmail.com> Message-ID: On Mon, Mar 28, 2016 at 11:13 AM, Jakob Sch?ttl wrote: > I would like to have a floating window that keep staying on a certain > xinerama screen rather than a certain workspace. XMonad.Actions.CopyWindow.copyToAll Technically this puts it on all workspaces and therefore "all" screens. In practice X11 only allows the window to be in one place at a time, so whatever screen it's on when you copyToAll it is where it will stay. -- brandon s allbery kf8nh sine nomine associates allbery.b at gmail.com ballbery at sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net -------------- next part -------------- An HTML attachment was scrubbed... URL: