Logs: liberachat/#xmonad
| 2021-12-11 19:11:26 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::9788) |
| 2021-12-11 19:12:06 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::9788) (Client Quit) |
| 2021-12-11 19:12:32 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::9788) |
| 2021-12-11 19:14:11 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::9788) (Client Quit) |
| 2021-12-11 19:14:34 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::9788) |
| 2021-12-11 19:43:51 | × | catman quits (~catman@user/catman) (Ping timeout: 268 seconds) |
| 2021-12-11 19:55:34 | → | catman joins (~catman@user/catman) |
| 2021-12-11 20:05:50 | → | Guest81 joins (~Guest81@2a01cb0589202e00edc070a9acc1d4bb.ipv6.abo.wanadoo.fr) |
| 2021-12-11 20:49:42 | × | curiousgay quits (~curiousga@77-120-141-90.kha.volia.net) (Quit: Leaving) |
| 2021-12-11 21:01:38 | → | curiousgay joins (~curiousga@77-120-141-90.kha.volia.net) |
| 2021-12-11 22:48:26 | → | themc47 joins (~mc47@xmonad/TheMC47) |
| 2021-12-11 22:48:54 | × | mc47 quits (~mc47@xmonad/TheMC47) (Ping timeout: 260 seconds) |
| 2021-12-11 22:49:42 | <aplainzetakind> | geekosaur: So I did this https://dpaste.com//68P3DQECT to hopefully end up with two screens but this doesn't do anything either. |
| 2021-12-11 22:51:35 | <geekosaur> | why am I not surprised it's intel driver? (probably because mine has bugs too) |
| 2021-12-11 22:53:41 | × | themc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2021-12-11 22:54:12 | <aplainzetakind> | Maybe I should just put nouveau there? |
| 2021-12-11 22:54:39 | <geekosaur> | you could try it. nouveau has its own share of bugs but messing up multiscreen isn't generally one of them |
| 2021-12-11 22:55:49 | <geekosaur> | (I can't hotplug monitors on any of my Intel-based systems, everything gets severely messed up to the point that I can't even run something like arandr to fix it, and xrandr only if I get really lucky with where a terminal ends up) |
| 2021-12-11 22:56:26 | <aplainzetakind> | Hmm I think my nouveau may be altogether borked. |
| 2021-12-11 22:57:14 | <aplainzetakind> | http://dpaste.com//8YZJS6Z59 This is grepping dmesg for nouveau |
| 2021-12-11 22:59:20 | → | twiclo joins (~twiclo@166.70.36.40) |
| 2021-12-11 22:59:58 | × | twiclo quits (~twiclo@166.70.36.40) (Client Quit) |
| 2021-12-11 23:00:15 | <geekosaur> | is that broken, or firmware not installed? kernel level -2 often means "no such file or directory" and "unavailable" reported later supports that |
| 2021-12-11 23:00:32 | <geekosaur> | so you may just be missing a package |
| 2021-12-11 23:02:14 | <aplainzetakind> | Probably. |
| 2021-12-11 23:08:32 | <geekosaur> | doing some googling, -2 is indeed no such file or directory. apparently this may not be a problem though |
| 2021-12-11 23:09:53 | <geekosaur> | the real wquestion is whether the X server sees the card and can initialize it |
| 2021-12-11 23:10:16 | <geekosaur> | in which case you may need an xorg.conf that specifies nouveau instead of intel |
| 2021-12-11 23:12:37 | <geekosaur> | https://bbs.archlinux.org/viewtopic.php?id=191566 might be helpful |
| 2021-12-11 23:14:12 | × | Guest81 quits (~Guest81@2a01cb0589202e00edc070a9acc1d4bb.ipv6.abo.wanadoo.fr) (Quit: Client closed) |
| 2021-12-11 23:17:10 | → | twiclo joins (~twiclo@166.70.36.40) |
| 2021-12-11 23:17:59 | <twiclo> | I have a few spawnOns in my startup hook that need to wait on a spawnOnce to finish before they fire off. I found spawnPipe which might work for this but I'm not exactly sure how to add it to my config |
| 2021-12-11 23:18:14 | <twiclo> | p.twil.cx/xib |
| 2021-12-11 23:18:19 | <twiclo> | The startup hook |
| 2021-12-11 23:22:08 | <geekosaur> | spawnPipe won't work for that. https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-Run.html#v:runProcessWithInputAndWait might |
| 2021-12-11 23:22:52 | <geekosaur> | (if it doesn't actually need input, specify the empty string) |
| 2021-12-11 23:27:51 | <geekosaur> | you also want to replace the spawnOnce with XMonad.Util.SessionStart |
| 2021-12-11 23:28:10 | <geekosaur> | which is much the same thing but more general, so you can use it with runProcessWithInputAndWait |
| 2021-12-11 23:32:19 | <twiclo> | So replace both the spawnonces> |
| 2021-12-11 23:32:21 | <twiclo> | *? |
| 2021-12-11 23:35:16 | <geekosaur> | no, just the one you need to wait for (presumably the "feh") |
| 2021-12-11 23:40:38 | <twiclo> | https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-Util-SessionStart.html |
| 2021-12-11 23:40:40 | <twiclo> | Is this it? |
| 2021-12-11 23:41:25 | <twiclo> | There's no just "sessionStart" function |
| 2021-12-11 23:47:13 | <geekosaur> | it's called "doOnce" |
| 2021-12-11 23:48:35 | <geekosaur> | https://paste.tomsmeding.com/evvkR7S0 is an example of mine |
| 2021-12-11 23:48:58 | <geekosaur> | the key parts are the "doOnce" and the "setSessionStarted" at the end of the block |
| 2021-12-11 23:52:06 | <twiclo> | So I can put all of it in one doOnce block? And they all run synchronously after that? What does setting setSessionStarted do? |
| 2021-12-11 23:54:57 | <geekosaur> | you could replace all the spawnOnce's with ordinary spawns (or spawnOns or whatever) in the doOnce block |
| 2021-12-11 23:55:31 | <geekosaur> | setSessionStarted just tells xmonad not to run the doOnce block again on mod-q. I don't recall why it's not just built into doOnce |
| 2021-12-11 23:55:47 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2021-12-11 23:56:26 | <twiclo> | On mod-q? You have mod-q set to start the session? |
| 2021-12-11 23:56:39 | <geekosaur> | mm, documentation doesn't say. seems to me it ought to be added automatically instead of requiring manual addition, but there it is |
| 2021-12-11 23:57:30 | <geekosaur> | no, the whole point of spawnOnce is that the startupHook also runs when you restart xmonad, usually because of a configuration change; the default behavior of mod-q is to recompile your config and restart with the new one |
| 2021-12-11 23:58:02 | <geekosaur> | if you don't want everything to restart after a configuration change you use either doOnce or spawnOnce |
| 2021-12-11 23:58:24 | <twiclo> | Gotcha. Okay let me try putting this all together |
| 2021-12-12 00:00:05 | × | twiclo quits (~twiclo@166.70.36.40) (Quit: WeeChat 3.2) |
| 2021-12-12 00:00:51 | → | twiclo joins (~twiclo@166.70.36.40) |
| 2021-12-12 00:01:10 | <twiclo> | Well it compiled but feh still isn't completing in time |
| 2021-12-12 00:01:12 | <twiclo> | Should I try one of these delays you have? |
| 2021-12-12 00:03:00 | <geekosaur> | no, those just keep my little laptop from falling over when chrome starts at the same time as everything else :) |
| 2021-12-12 00:05:52 | <twiclo> | So what can I do? |
| 2021-12-12 00:05:54 | <twiclo> | My problem is that feh isn't finishing before urxvt starts and I don't get the fake transparency |
| 2021-12-12 00:06:13 | <twiclo> | p.twil.cx/bud |
| 2021-12-12 00:11:46 | <geekosaur> | right, the point here is to run feh first, wait for it to finish ("runProcessWithInputAndWait"), then whne it's done run the other things |
| 2021-12-12 00:12:13 | <geekosaur> | hm, actually I think you need another optionb to feh for that to work right |
| 2021-12-12 00:12:28 | <geekosaur> | need it to put itself into the bckground *after* it has set a background |
| 2021-12-12 00:17:32 | <geekosaur> | well. |
| 2021-12-12 00:18:07 | <geekosaur> | looks like feh has no mode to put itself into the background after loading an image, so this won't work. you will in fact have to use one of the timers in my startupHook to fake it |
| 2021-12-12 00:18:37 | <geekosaur> | feh does not simply run and exit, it keeps running to cycle backgrounds |
| 2021-12-12 00:22:45 | <geekosaur> | which means if you wait for it to exit, you'll never get a desktop |
| 2021-12-12 00:38:28 | <twiclo> | Sorry, got distracted |
| 2021-12-12 00:40:08 | <twiclo> | Feh doesn't continually run. It is once and done |
| 2021-12-12 00:40:51 | <geekosaur> | I guess that depends on how you run it. see for example its slideshow mode |
| 2021-12-12 00:40:59 | <geekosaur> | that one keeps running |
| 2021-12-12 01:07:58 | × | steve_ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 260 seconds) |
| 2021-12-12 01:42:23 | × | ectospasm quits (~ectospasm@user/ectospasm) (Quit: WeeChat 3.3) |
| 2021-12-12 01:46:31 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.4-rc1) |
| 2021-12-12 01:47:30 | → | catman joins (~catman@user/catman) |
| 2021-12-12 02:03:02 | × | twiclo quits (~twiclo@166.70.36.40) (Ping timeout: 260 seconds) |
| 2021-12-12 02:04:32 | × | AndrewYu quits (~andrew@user/andrewyu) (Remote host closed the connection) |
| 2021-12-12 02:22:51 | → | ectospasm joins (~ectospasm@user/ectospasm) |
| 2021-12-12 02:35:30 | × | obimod quits (~obimod@gateway/vpn/pia/obimod) (Remote host closed the connection) |
| 2021-12-12 02:35:55 | → | obimod joins (~obimod@gateway/vpn/pia/obimod) |
| 2021-12-12 02:39:38 | × | darkstarx quits (~darkstard@50.39.115.145) (Remote host closed the connection) |
| 2021-12-12 02:46:26 | × | obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 260 seconds) |
| 2021-12-12 03:04:10 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 260 seconds) |
| 2021-12-12 03:07:38 | × | curiousgay quits (~curiousga@77-120-141-90.kha.volia.net) (Remote host closed the connection) |
| 2021-12-12 03:08:40 | → | curiousgay joins (~curiousga@77-120-141-90.kha.volia.net) |
| 2021-12-12 03:16:50 | → | pzanco joins (~Android@2804:14c:3bc3:466:a4b2:cfe3:46ff:192a) |
| 2021-12-12 03:17:31 | × | pzanco quits (~Android@2804:14c:3bc3:466:a4b2:cfe3:46ff:192a) (Client Quit) |
| 2021-12-12 03:18:04 | → | darkstardevx joins (~darkstard@50.39.115.145) |
| 2021-12-12 03:19:01 | × | darkstardevx quits (~darkstard@50.39.115.145) (Remote host closed the connection) |
| 2021-12-12 03:19:26 | → | darkstardevx joins (~darkstard@50.39.115.145) |
| 2021-12-12 03:20:06 | × | darkstardevx quits (~darkstard@50.39.115.145) (Remote host closed the connection) |
| 2021-12-12 03:20:31 | → | darkstardevx joins (~darkstard@50.39.115.145) |
| 2021-12-12 03:22:41 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2021-12-12 03:24:07 | × | darkstardevx quits (~darkstard@50.39.115.145) (Read error: Connection reset by peer) |
| 2021-12-12 03:27:44 | × | td_ quits (~td@94.134.91.156) (Ping timeout: 256 seconds) |
| 2021-12-12 03:28:01 | → | darkstardevx joins (~darkstard@50.39.115.145) |
All times are in UTC.