Logs: liberachat/#xmonad
| 2021-12-28 03:02:37 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds) |
| 2021-12-28 03:07:07 | × | steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 268 seconds) |
| 2021-12-28 03:22:47 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2021-12-28 03:52:35 | × | terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat) |
| 2021-12-28 03:55:02 | → | terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1) |
| 2021-12-28 03:57:21 | × | td_ quits (~td@muedsl-82-207-238-094.citykom.de) (Ping timeout: 256 seconds) |
| 2021-12-28 03:59:08 | → | td_ joins (~td@muedsl-82-207-238-177.citykom.de) |
| 2021-12-28 05:02:06 | × | rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Remote host closed the connection) |
| 2021-12-28 05:06:22 | → | rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) |
| 2021-12-28 05:22:37 | × | rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds) |
| 2021-12-28 06:04:02 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::917a) |
| 2021-12-28 06:28:01 | × | x88x88x quits (~x88x88x@2001:19f0:5:39a8:5400:3ff:feb6:73cb) (Remote host closed the connection) |
| 2021-12-28 06:28:50 | → | x88x88x joins (~x88x88x@2001:19f0:5:39a8:5400:3ff:feb6:73cb) |
| 2021-12-28 07:09:43 | × | dirtcastle quits (~dirtcastl@103.43.203.229) (Remote host closed the connection) |
| 2021-12-28 08:50:58 | → | edun joins (~e@user/edun) |
| 2021-12-28 09:16:58 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Read error: Connection reset by peer) |
| 2021-12-28 09:17:41 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-12-28 09:19:37 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::917a) (Ping timeout: 240 seconds) |
| 2021-12-28 10:09:47 | → | dirtcastle joins (~dirtcastl@103.43.203.229) |
| 2021-12-28 14:26:56 | → | aplainze1akind joins (~johndoe@captainludd.powered.by.lunarbnc.net) |
| 2021-12-28 14:27:03 | × | aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Read error: Connection reset by peer) |
| 2021-12-28 14:35:40 | → | ebray187 joins (~ebray187@2800:150:129:17c4:224:1dff:fed5:599e) |
| 2021-12-28 15:50:57 | × | dirtcastle quits (~dirtcastl@103.43.203.229) (Ping timeout: 240 seconds) |
| 2021-12-28 16:21:49 | → | dirtcastle joins (~dirtcastl@103.43.203.229) |
| 2021-12-28 16:29:41 | <dirtcastle> | can u help me find the bug in my code. New to xmonad & Haskell. Can't find answers in Google/reddit https://dpaste.org/RNbS# |
| 2021-12-28 16:30:32 | <dirtcastle> | Full config : https://dpaste.org/JYJ7 |
| 2021-12-28 16:30:36 | <geekosaur> | what were you expecting, and what happens instead? |
| 2021-12-28 16:31:12 | <geekosaur> | also, were you trying to use this with spawnOnce or similar? |
| 2021-12-28 16:31:49 | <dirtcastle> | I expected dorectfloat. Trying to use doShift along with it |
| 2021-12-28 16:32:05 | <dirtcastle> | geekosaur: yes |
| 2021-12-28 16:32:32 | <dirtcastle> | Oh. Should I make a new hook. ? |
| 2021-12-28 16:33:35 | <dirtcastle> | Also I don't think the syntax is crct. Can't figure out by myself with docs,google and reddit |
| 2021-12-28 16:33:37 | <geekosaur> | no. manageSpawn is a predefined function that recognizes when a managed window appears in the manageHook and applies the spawnOn or etc. manager to it |
| 2021-12-28 16:34:36 | <geekosaur> | yes, the syntax is wrong. but the thought process seems to be wrong as well. I think you intended to use spawnAndDo, and you'd just use the predefined manageSpawn in the manageHook |
| 2021-12-28 16:37:21 | <geekosaur> | spawnAndDo (doRectFloat W.RationalRect 0.25 0.25 0.5 0.5 <+> doShift 1) "emacs" |
| 2021-12-28 16:39:00 | <dirtcastle> | Oh. I didn't think of using spawnAndDo. The doc said this " managespawn: provides a managhook to react on process spawned with spawnOn, spawnhere. So I thought I can configure in managespawn and it would be sufficient. |
| 2021-12-28 16:40:02 | <geekosaur> | no, manageSpawn is self-contained |
| 2021-12-28 16:40:29 | <geekosaur> | it gets its instructions as to what to do from the spawn function you use (spawnOn, spawnHere, spawnAndDo, etc.) |
| 2021-12-28 16:41:29 | <geekosaur> | it also knows how to verify that the window that it applies to is the one you actually spawned, instead of some other window that happens to have the same className or etc, |
| 2021-12-28 16:43:59 | <dirtcastle> | Ohh that's neat. |
| 2021-12-28 16:44:14 | <dirtcastle> | I added spawnAndDo to startuphook |
| 2021-12-28 16:54:54 | <geekosaur> | what you were doing originally (with the syntax error corrected) would be what you do if you wanted it to apply to all emacs windows (well, fixing the className error also), whereas spawnAndDo will apply it specifically to that spawned window |
| 2021-12-28 16:56:42 | <geekosaur> | your syntax and other issues were: the `&` (I'm not sure where you got that from, doRectFloat takes an ordinary argument. oh, hm, I screwed up above, left off parentheses, as did you) and by convention a className starts with an uppercase letter and emacs obeys that convention so it would never have matched |
| 2021-12-28 16:56:54 | <geekosaur> | spawnAndDo (doRectFloat (W.RationalRect 0.25 0.25 0.5 0.5) <+> doShift 1) "emacs" |
| 2021-12-28 16:57:06 | <geekosaur> | sorry for that |
| 2021-12-28 16:59:33 | <dirtcastle> | I assumed since I wrote it inside managespawn it will only affect windows spawmed using spawnOn. My bad |
| 2021-12-28 17:00:11 | → | gdd joins (~gdd@129.199.146.230) |
| 2021-12-28 17:00:41 | <geekosaur> | no, as you wrote it manageSpawwn was just an ordinary list that wouldn't be distinguished from any other |
| 2021-12-28 17:03:09 | <dirtcastle> | Ohhhh. It just adds to the total list of instructions in myManageHooks. |
| 2021-12-28 17:12:01 | <geekosaur> | right |
| 2021-12-28 17:27:37 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 2021-12-28 17:27:37 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 2021-12-28 17:27:40 | allbery_b | is now known as geekosaur |
| 2021-12-28 17:41:32 | × | gdd quits (~gdd@129.199.146.230) (Ping timeout: 240 seconds) |
| 2021-12-28 17:44:59 | <dirtcastle> | No instance for (Num WorkspaceId) arising from the literal '1' |
| 2021-12-28 17:44:59 | <dirtcastle> | In the first argument of 'doShift', Namely '1' |
| 2021-12-28 17:44:59 | <dirtcastle> | In the second argument of 'spawnAndDo' , namely |
| 2021-12-28 17:44:59 | <dirtcastle> | '(doRectFloat (W.RationalRect 0.25 0.25 0.5 0.5) <+> doShift 1) "Emacs" |
| 2021-12-28 17:45:26 | <dirtcastle> | This is the error I got |
| 2021-12-28 17:46:03 | <dirtcastle> | Tried with emacs and Emacs |
| 2021-12-28 17:46:10 | <geekosaur> | oh, I missed the quotes |
| 2021-12-28 17:46:17 | <geekosaur> | spawnAndDo (doRectFloat (W.RationalRect 0.25 0.25 0.5 0.5) <+> doShift "1") "emacs" |
| 2021-12-28 17:46:24 | <geekosaur> | WorkspaceId is String |
| 2021-12-28 17:46:44 | <geekosaur> | what I get for doing stuff before my first coffee :/ |
| 2021-12-28 17:50:23 | <dirtcastle> | Thank you so much for your time. I was able to implement all the features I wanted with xmonad. |
| 2021-12-28 18:15:22 | × | dirtcastle quits (~dirtcastl@103.43.203.229) (Read error: Connection reset by peer) |
| 2021-12-28 18:21:48 | → | dirtcastle joins (~dirtcastl@103.43.203.225) |
| 2021-12-28 18:37:18 | × | dirtcastle quits (~dirtcastl@103.43.203.225) (Ping timeout: 260 seconds) |
| 2021-12-28 19:48:51 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2021-12-28 19:50:37 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-12-28 19:53:51 | → | steve__ joins (~steve@ool-182c2b80.dyn.optonline.net) |
| 2021-12-28 20:31:14 | → | electr0n joins (~electr0n@about/security/founder/electr0n) |
| 2021-12-28 20:45:13 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::917a) |
| 2021-12-28 20:54:53 | × | ebray187 quits (~ebray187@2800:150:129:17c4:224:1dff:fed5:599e) (Quit: Konversation terminated!) |
| 2021-12-28 21:52:17 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::917a) (Ping timeout: 240 seconds) |
| 2021-12-28 22:17:49 | × | edun quits (~e@user/edun) (Ping timeout: 268 seconds) |
| 2021-12-28 23:52:08 | → | altker128 joins (~vr@192-063-181-006.res.spectrum.com) |
| 2021-12-28 23:52:15 | <altker128> | Hey guys |
| 2021-12-28 23:52:27 | <geekosaur> | hi |
| 2021-12-28 23:57:42 | <altker128> | I'm curious if anyone is using xmonad with something like MATE or potentially KDE . I'm thinking about xmonad because if I understand, it supports different workspaces per monitor |
| 2021-12-28 23:58:22 | <altker128> | I'm fine with the way MATE handles notifications, device insertion and the icons on the desktop but if I understood correctly, some of that wouldn't work if one used a different window manager ? |
| 2021-12-28 23:58:29 | <altker128> | i.e. icons on the desktop? |
| 2021-12-28 23:58:56 | <geekosaur> | I use it with MATE https://github.com/geekosaur/xmonad.hs/tree/skkukuk |
| 2021-12-28 23:59:26 | <geekosaur> | the desktop icons and device insertion etc. are handled by the file manager (caja), not the window manager (marco) which is replaced by xmonad |
| 2021-12-29 00:00:07 | <altker128> | geekosaur: I read in an older thread caja must be stopped and interfers with xmonad -- is this still true? |
| 2021-12-29 00:00:27 | <geekosaur> | notification daemon works fine too, with some odd peculiarities because each screen shows a different workspace so they jump around a bit depending on the focused screen |
| 2021-12-29 00:00:36 | <geekosaur> | I've never seen a problem with it |
| 2021-12-29 00:01:11 | <altker128> | geekosaur: Thanks for sharing your github link -- are you using that in conjunction with a recentish version of MATE? Which distro do you use, if you don't mind me asking? |
| 2021-12-29 00:01:29 | <altker128> | Last question, if caja is still in the picture, can you get different wallpapers per virtual desktop / workspace ? |
| 2021-12-29 00:01:57 | <geekosaur> | I'm on ubuntu 20.04 currently. used to be on Mint until the latest version's installer kept crashing on me while I was trying to set up this laptop |
| 2021-12-29 00:03:20 | <geekosaur> | you can't, caja backgrounds aren't quite smart enough to deal with separate workspaces per monitor |
| 2021-12-29 00:03:42 | <geekosaur> | so it only supports setting one background which displays on all screens |
| 2021-12-29 00:03:46 | <altker128> | sigh :( |
| 2021-12-29 00:04:36 | <altker128> | If I understood correctly, Caja basically treats a dual-monitor desktop as one big giant one, so I know you could combine two wallpapers so you get different ones per monitor |
| 2021-12-29 00:04:51 | <altker128> | Is it possible to script caja to change the wallpaper on a virtual desktop swap? |
| 2021-12-29 00:05:15 | <geekosaur> | I don't know |
| 2021-12-29 00:05:37 | <altker128> | overall, what's your experience been like with xmonand + MATE ? |
| 2021-12-29 00:09:01 | <geekosaur> | it works fairly well, aside from the little dconf dance needed to make it use xmonad instead of marco and needing to unbind mod4 from the menu applet to use it in xmonad |
| 2021-12-29 00:09:14 | <geekosaur> | (see https://wiki.haskell.org/Xmonad/Using_xmonad_in_MATE for both of those) |
| 2021-12-29 00:09:19 | <altker128> | Do you get the MATE global menu, etc? |
All times are in UTC.