Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 335 336 337 338 339 340 341 342 343 344 345 .. 1847
184,661 events total
2021-11-17 15:36:24 <Vermoot> I can definitely reliably reproduce it right now, if you're interested in logs
2021-11-17 15:36:52 <jakeStateless-Fa> Xorg logs may also be of help, but lets get xmonad's first
2021-11-17 15:36:59 <Vermoot> It's not a very minimal setup though (I'm using a wine-ran audio plugin through yabridge in Bitwig Studio)
2021-11-17 15:37:25 <Vermoot> So you want me to do that in the "bugged out" state, or I can get them right now?
2021-11-17 15:37:34 <geekosaur> by default there won't be good enough logs in this case, xmonad won't log anything by itself in this state. a real crash would have a useful log but this is xmonad and an app disagreeing about which window has focus
2021-11-17 15:37:53 <jakeStateless-Fa> Hmm...
2021-11-17 15:38:00 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Hooks-DebugEvents.html
2021-11-17 15:38:31 <geekosaur> that should produce some helpful logs
2021-11-17 15:38:43 <jakeStateless-Fa> Vermoot: You'd do that before the bugged out state, then when the second xorg session pops up, try and reproduce the problem.
2021-11-17 15:39:13 <jakeStateless-Fa> Then, once it's occurred for a few seconds, kill that session, through whatever means you please. Then view/share that log file in your untouched session from before.
2021-11-17 15:39:50 <Vermoot> let's try that out
2021-11-17 15:41:05 <Vermoot> hmm it doesn't do anything...
2021-11-17 15:41:10 <Vermoot> Doesn't start a session in tty2
2021-11-17 15:41:33 <Vermoot> @geekosaur I'm sorry, where should I put the `debugEventsHook` thing in my config?
2021-11-17 15:41:33 <lambdabot> Unknown command, try @list
2021-11-17 15:42:19 <geekosaur> I think to start the new session you need something like: startx /usr/bin/xmonad -- :1 &>/tmp/xmonad.log
2021-11-17 15:42:38 <geekosaur> (substitute your path to xmonad, and it must be a full path or startx will do something different)
2021-11-17 15:43:51 <geekosaur> the debugEventsHook goes in the handleEventHook
2021-11-17 15:45:43 <Vermoot> `handleEventHook = fullscreenEventHook <+> debugEventsHook` is valid right?
2021-11-17 15:45:54 <geekosaur> yes
2021-11-17 15:46:26 <Vermoot> Alright
2021-11-17 15:47:43 <geekosaur> also if you need your .xinitrc to run (to set $PATH or etc.) then you should use "startx -- :1" without the path to xmonad
2021-11-17 15:47:51 <geekosaur> (but still wit the following redirection)
2021-11-17 15:48:30 <Vermoot> Alright it's in the bugged out state in tty2
2021-11-17 15:48:38 <jakeStateless-Fa> <Vermoot> "Doesn't start a session in tty2" <- It does depend upon how you start your sessions. For me, my .xinitrc does it easily.
2021-11-17 15:48:41 <Vermoot> let me get the log and pastebin it
2021-11-17 15:49:21 <Vermoot> Oof the log is growing FAST
2021-11-17 15:49:22 <geekosaur> probably should have killed it first, the log will be growing rapidly
2021-11-17 15:49:29 <Vermoot> 8MB and counting
2021-11-17 15:49:32 <geekosaur> yep
2021-11-17 15:49:35 <Vermoot> So what do I kill, how
2021-11-17 15:49:36 <Vermoot> :D
2021-11-17 15:49:45 <geekosaur> the second xmonad
2021-11-17 15:49:49 <jakeStateless-Fa> use a system monitor of sorts, probably
2021-11-17 15:49:59 <jakeStateless-Fa> use pid to determine which one to kill
2021-11-17 15:50:12 <jakeStateless-Fa> the later PID, not the first, you know, the one you're using atm
2021-11-17 15:50:23 <Vermoot> can I see in top which one it is that I wa
2021-11-17 15:50:27 <Vermoot> want to kill?
2021-11-17 15:50:35 <jakeStateless-Fa> yes
2021-11-17 15:50:37 <Vermoot> I can't see a `tty2` or anything like that
2021-11-17 15:50:52 <geekosaur> it won't show that way, sadly
2021-11-17 15:50:53 <Vermoot> Though one of them is taking 92% CPU usage :D
2021-11-17 15:50:59 <geekosaur> that'll be the one
2021-11-17 15:51:27 <geekosaur> it's stuck looping on events, which are being logged
2021-11-17 15:52:02 <Vermoot> Yeah...182k lines in the log file :D
2021-11-17 15:52:20 <geekosaur> I should really add a combinator wrapper for that thing, both to make it easier to install and to make it triggerable on keystroke
2021-11-17 15:52:55 <Vermoot> I'll just abridge it after a couple loops I guess
2021-11-17 15:53:27 <geekosaur> \yeh, it'll be really repetitive after it gets going
2021-11-17 15:53:44 <Vermoot> Here it is: https://pastebin.com/wDuBc9QZ
2021-11-17 15:56:20 <geekosaur> mrrr. never taught it how to deal with _NET_WM_STATE :(
2021-11-17 15:57:28 <Vermoot> Well I'll be happy to repeat the process later on
2021-11-17 15:57:30 <geekosaur> so it's trying to set a new state on its window and we're not honoring it. this will be problematic especially if it's trying to set something like STATE_ABOVE that really doesn't make sense in tiling wms
2021-11-17 15:57:50 <Vermoot> Well
2021-11-17 15:57:51 <geekosaur> what version of xmonad are you currently running?
2021-11-17 15:57:56 <Vermoot> 0.17.0
2021-11-17 15:58:29 <geekosaur> sigh. was hoping it'd be one of the things we fixed in the new release :(
2021-11-17 15:58:34 <jakeStateless-Fa> geekosaur: That could be solved by floating it and sending it to the top of the stack
2021-11-17 15:58:39 <jakeStateless-Fa> optionally, of course
2021-11-17 15:58:47 <jakeStateless-Fa> because not all people will want their windows doing that.
2021-11-17 15:59:17 <jakeStateless-Fa> And, it's not persistent, but, it does something.
2021-11-17 15:59:23 <Vermoot> I don't understand everything you're saying because I'm quite a newbie to xmonad, haskell and all that, but I'll say this: as much as I love tiling WMs, music production (and Digital Audio Worskstations) is one case where tiling doesn't make sense; you constantly have popup windows with plugins, etc, so those have to be floating
2021-11-17 15:59:38 <geekosaur> I think just floating it is the best we can do. but god help us if it's requesting STATE_BELOW
2021-11-17 15:59:50 <geekosaur> since that straight up doesn't exist
2021-11-17 16:00:07 <geekosaur> suppose we could just float it anyway and hope for the best
2021-11-17 16:00:11 <Vermoot> That's not something I'd expect from a DAW
2021-11-17 16:01:07 <Vermoot> Floating it is alright, as I said I don't think anyone would want this type of window to be tiled. Of course that's only applicable to my use case, but I guess this issue would also apply to other cases where it's not the case?
2021-11-17 16:01:27 <geekosaur> hm. can you pastebin the output of xlsatoms so I can try to decode what this thing is asking for?
2021-11-17 16:01:36 <jakeStateless-Fa> geekosaur: doIgnore and doLower XD
2021-11-17 16:01:37 <Vermoot> Also: I really need to fix my bindings for floating windows; right now I can't move nor resize them :D
2021-11-17 16:01:42 <geekosaur> there is no standard mapping for these
2021-11-17 16:02:11 <Vermoot> geekosaur: I have no idea what you're asking for
2021-11-17 16:02:19 <jakeStateless-Fa> The default mappings should work, but if you're not using additionalKeysP, then those'll be overriden.
2021-11-17 16:02:34 <jakeStateless-Fa> I'll get you the relevant lines in the def conf.
2021-11-17 16:02:52 <geekosaur> xlsatoms is a shell command. hm, but you'd have to run it in the context of the second session so it's probably too late :(
2021-11-17 16:03:24 seschwar joins (~seschwar@user/seschwar)
2021-11-17 16:04:06 <jakeStateless-Fa> Vermoot: https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs#L245
2021-11-17 16:04:12 <geekosaur> the listing for your primary session won't help because atoms (the numbers being printed in brackets) are allocated dynamically
2021-11-17 16:04:30 <Vermoot> I'm not indeed, I've overwritten all bindings with the ones I use. My problem with floating windows is that I've currently bound mod+button1 to dragWindow (to use TiledWindowDragging) so there's nothing bound to move floating windows now
2021-11-17 16:05:45 <jakeStateless-Fa> You could create a function that queries if the window in question is floating, and tie that into moving it as tiled, or moving it as floating.
2021-11-17 16:05:56 <Vermoot> So now I need a way to bind mod+button1 to both actions, since they won't ever occur at the same time (one is only on tiled windows, the other only on floating windows). I'm not quite sure how to do that, although I believe someone here gave me a solution already; I just haven't taken the time to do it
2021-11-17 16:06:39 <jakeStateless-Fa> https://hoogle.haskell.org/ <- great resource, for finding individual components to use in your config
2021-11-17 16:07:30 <Vermoot> http://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd6507dc5-649d-46ec-a5ee-44b7159d553e%2F2021-11-11-120319_1342x445_scrot.png
2021-11-17 16:07:32 <jakeStateless-Fa> I'm not quite sure how to do this specific thing, but it's definitely possible.
2021-11-17 16:07:36 <Vermoot> This was it :D
2021-11-17 16:08:26 <Vermoot> Thanks for hoogle, until now I just used "Quick Jump" in the docs
2021-11-17 16:08:27 <jakeStateless-Fa> "For secure file URLs, must specify table and id." ???
2021-11-17 16:08:47 <jakeStateless-Fa> You could also get hoogle offline, which I do.
2021-11-17 16:08:57 <Vermoot> oops, broken link, sorry
2021-11-17 16:09:00 <jakeStateless-Fa> if you use nix there's an easy drop-in solution
2021-11-17 16:09:04 <Vermoot> http://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd6507dc5-649d-46ec-a5ee-44b7159d553e%2F2021-11-11-120319_1342x445_scrot.png?table=block&id=15145485-33f0-4324-97eb-4cd7e237fcfc&spaceId=0da254ce-9e27-4a84-a377-4ca729cf7342&width=2000&userId=64fd7c99-edea-4a87-be63-dc0e42562277&cache=v2
2021-11-17 16:09:19 <Vermoot> Stiiiill broken link
2021-11-17 16:09:21 <Vermoot> Damn
2021-11-17 16:09:36 <jakeStateless-Fa> User doesn't have access...
2021-11-17 16:09:43 <Vermoot> https://cdn.discordapp.com/attachments/841293487553904640/910562333007441920/https3A2F2Fs3-us-west-2.png
2021-11-17 16:10:14 <etrigan63[m]> I got `xsecurelock` to work even though it is just blanking the screen. There is a `saver_feh` module in the works which will do what I want eventually. Just have to be patient.
2021-11-17 16:11:58 <jakeStateless-Fa> Vermoot: wow, that's surprisingly clean
2021-11-17 16:12:51 <Vermoot> Yeah, I just need to take the time to unfold it and get to understand each part, then I'll add it to my config
2021-11-17 16:13:12 <Vermoot> I'm getting to a point where I can understand haskell, but just barely :D
2021-11-17 16:13:14 <geekosaur> mm, right, so this window badly wants to be floated and strongly dislikes tiling
2021-11-17 16:13:30 <Vermoot> Those lambda expressions throw me off

All times are in UTC.