Home liberachat/#xmonad: Logs Calendar

Logs on 2022-08-02 (liberachat/#xmonad)

01:42:19 × catman quits (~catman@user/catman) (Quit: WeeChat 3.6)
01:45:25 catman joins (~catman@user/catman)
02:03:22 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 245 seconds)
02:23:30 banc joins (banc@gateway/vpn/airvpn/banc)
02:32:38 × gdd1 quits (~gdd@2001:470:1f13:187:de72:d5cb:b676:c00) (Ping timeout: 240 seconds)
02:34:43 gdd1 joins (~gdd@129.199.146.230)
02:41:17 × td_ quits (~td@muedsl-82-207-238-015.citykom.de) (Ping timeout: 245 seconds)
02:43:03 td_ joins (~td@muedsl-82-207-238-045.citykom.de)
02:44:54 × catman quits (~catman@user/catman) (Quit: WeeChat 3.6)
02:49:37 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
03:54:47 sogens joins (~sogens@gateway/vpn/pia/sogens)
04:21:09 × sogens quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.5)
04:25:28 catman joins (~catman@user/catman)
04:39:40 Guest3 joins (~textual@2607:fb91:bd98:639c:7416:8bbe:b217:f425)
04:43:11 × Guest3 quits (~textual@2607:fb91:bd98:639c:7416:8bbe:b217:f425) (Client Quit)
05:37:19 × catman quits (~catman@user/catman) (Ping timeout: 268 seconds)
05:39:19 catman joins (~catman@user/catman)
06:08:09 <xmonadtrack> xmonad Tomasz Hołubowicz {Tony Zorman} * v0.17.0-68-g117583e: flake.nix: Fix build (10 days ago, 2 files, 8+ 8-) https://github.com/xmonad/xmonad/commit/117583e4730a
06:08:09 <xmonadtrack> xmonad Tony Zorman {GitHub} * v0.17.0-69-g23f36d7: Merge pull request #409 from alternateved/fix-nix-build (5 minutes ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad/commit/23f36d7e230a
06:49:19 × ml| quits (~ml|@user/ml/x-5298235) (Ping timeout: 268 seconds)
07:03:23 ml| joins (~ml|@user/ml/x-5298235)
07:14:57 jchia[m] joins (~jchiamatr@2001:470:69fc:105::c50b)
07:51:52 benin0 joins (~benin@183.82.30.242)
07:59:08 sogens joins (~sogens@gateway/vpn/pia/sogens)
08:06:46 × sogens quits (~sogens@gateway/vpn/pia/sogens) (Remote host closed the connection)
08:38:00 diep joins (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
08:50:32 × diep quits (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c) (Remote host closed the connection)
09:00:18 × nullfedora[m] quits (~nullfedor@2001:470:69fc:105::2:3d17) (Quit: You have been kicked for being idle)
09:00:25 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
09:10:51 × kaizoku quits (~kaizoku@user/kaizoku) (Quit: leaving)
09:22:41 sogens joins (~sogens@gateway/vpn/pia/sogens)
09:24:23 <xmonadtrack> xmonad Tony Zorman * v0.17.0-67-gbf6e66b: X.Operations: Export setNumlockMask, grabKeys (4 weeks ago, 3 files, 44+ 31-) https://github.com/xmonad/xmonad/commit/bf6e66b100fa
09:24:23 <xmonadtrack> xmonad Tony Zorman {GitHub} * v0.17.0-71-g28afc9b: Merge pull request #405 from slotThe/modal-util-to-core (3 minutes ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad/commit/28afc9bdc610
09:24:23 <xmonadtrack> xmonad-contrib Tony Zorman * v0.17.0-212-g0934fe5c: X.U.Grab: Hide mkGrabs from XMonad (2 hours ago, 2 files, 3+ 3-) https://github.com/xmonad/xmonad-contrib/commit/0934fe5cd758
09:24:36 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
09:41:08 × sogens quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.5)
12:22:35 Guest3 joins (~textual@2607:fb91:bd0f:f08f:a832:3a1d:5b25:bf78)
12:29:12 sogens joins (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au)
12:37:07 × Guest3 quits (~textual@2607:fb91:bd0f:f08f:a832:3a1d:5b25:bf78) (Quit: Textual IRC Client: www.textualapp.com)
12:38:43 Guest3 joins (~textual@2607:fb91:bd0f:f08f:a832:3a1d:5b25:bf78)
12:43:06 × sogens quits (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au) (Read error: Connection reset by peer)
12:44:18 sogens joins (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au)
12:44:46 × Guest3 quits (~textual@2607:fb91:bd0f:f08f:a832:3a1d:5b25:bf78) (Quit: Textual IRC Client: www.textualapp.com)
13:32:59 steve_ joins (~steve@ool-182c2b80.dyn.optonline.net)
13:47:39 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
14:46:46 × sogens quits (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au) (Ping timeout: 268 seconds)
14:48:53 sogens joins (~sogens@gateway/vpn/pia/sogens)
14:54:20 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Quit: Leaving)
14:54:35 × xmonadtrack quits (~xmonadtra@xmonad/geekosaur) (Remote host closed the connection)
15:00:45 geekosaur joins (~geekosaur@xmonad/geekosaur)
15:03:23 xmonadtrack joins (~xmonadtra@069-135-003-034.biz.spectrum.com)
15:03:24 × xmonadtrack quits (~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host)
15:03:24 xmonadtrack joins (~xmonadtra@xmonad/geekosaur)
15:50:34 × benin0 quits (~benin@183.82.30.242) (Quit: The Lounge - https://thelounge.chat)
16:32:12 coco joins (~coco@212-51-146-199.fiber7.init7.net)
17:05:31 <liskin> probably won't surprise anyone but Amethyst, the "xmonad" for macos, handles tiling way worse than xmonad itself :-D
17:06:08 × td_ quits (~td@muedsl-82-207-238-045.citykom.de) (Ping timeout: 268 seconds)
17:06:23 <geekosaur> iirc macos makes tiling painfully difficult to achieve
17:27:21 qbt joins (~e@user/edun)
17:40:27 × qbt quits (~e@user/edun) (Quit: leaving)
17:40:42 qbt joins (~e@user/edun)
17:41:41 × qbt quits (~e@user/edun) (Client Quit)
17:41:56 qbt joins (~e@user/edun)
17:46:49 <liskin> Oh crap, I meant floating
17:46:53 <liskin> Tiling works
17:47:03 <liskin> But floating isn't even a layer
17:47:27 <liskin> It's just unmanaged windows that may get focused if you are really really lucky
17:52:36 <geekosaur> wow, someone who handles floats worse than we do 🙂
18:03:37 × qbt quits (~e@user/edun) (Quit: leaving)
18:07:28 × sogens quits (~sogens@gateway/vpn/pia/sogens) (Remote host closed the connection)
18:07:33 <Solid> that reminds me to actually work on the floating window decorations at some point...
18:08:19 <Solid> But working on something that I actively will go out of my way to _not_ use isn't very encouraging :] Maybe I'll feel better once I finally put in that ZuriHac expense
18:33:46 <liskin> geekosaur: yeah, it almost seems like it has no control over the stacking order
18:33:59 <liskin> or maybe it's just an oversight, I don't know
18:34:13 <liskin> it's only absolutely horrendous if one enables focus follows mouse
18:34:50 <geekosaur> I'd be afraid to ask how stacking order works on os x
18:35:06 <geekosaur> the things X11 has to do to achieve it are bad enough
18:35:52 <geekosaur> and in particular if you run an X11 window manager instead of host-managed windows, the resulting Z order is essentially random
18:45:39 <geekosaur> mhh, still have windows switching desktops at random times, whether I switch by keyboard or mouse click
19:19:27 × coco quits (~coco@212-51-146-199.fiber7.init7.net) (Quit: WeeChat 3.5)
19:29:07 coco joins (~coco@212-51-146-199.fiber7.init7.net)
19:50:30 × jludwig quits (~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in)
19:51:29 jludwig joins (~justin@li657-110.members.linode.com)
20:03:11 mvk joins (~mvk@2607:fea8:5ce3:8500::d5f2)
20:05:46 × jludwig quits (~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in)
20:23:24 × coco quits (~coco@212-51-146-199.fiber7.init7.net) (Quit: WeeChat 3.5)
20:23:55 <geekosaur> cute. someone tried to spam us from matrix but got klined
20:24:05 <geekosaur> the matrix side came through
20:24:42 jludwig joins (~justin@li657-110.members.linode.com)
20:30:50 × jludwig quits (~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in)
20:31:54 jludwig joins (~justin@li657-110.members.linode.com)
20:57:23 diep joins (~diep@2a01:cb11:2d7:4a00:10e8:63cb:8114:10e0)
21:01:54 td_ joins (~td@muedsl-82-207-238-045.citykom.de)
21:01:59 <diep> Hi. Im trying to add clickablePP to xmobar without success, my current config is `withSB (statusBarProp "xmobar" (pure bar))`. I tried to replace `pure` with `clickablePP` but after a successful compilation, xmobar show an error in place of workspaces "could not parse string"
21:09:41 <diep> ok I found out, missed to use UnsafeXMonadLog in xmobar config instead of XMonadLog
21:09:53 <diep> it works great now!
21:17:08 T_X_ joins (~T_X@diktynna.open-mesh.org)
21:17:43 hypercat joins (~hypercat@87-92-158-33.rev.dnainternet.fi)
21:20:35 × hypercat quits (~hypercat@87-92-158-33.rev.dnainternet.fi) (Client Quit)
21:20:54 <T_X_> hi, I'm a bit confused why "screenWorkspace" does not quite work as I'd expect it to. I'm trying it like this: https://paste.linuxlounge.net/XM
21:20:58 T_X_ is now known as T_X
21:21:28 <T_X> if the second screen exists then this runs just fine and I get the message
21:22:08 <T_X> but if either the second screen is not enabled via xmodmap or if both screen 0 and 1 share the same space then I don't get that message
21:22:46 <T_X> and my ~/.xsession-errors seems to output: /bin/sh: 1: Syntax error: end of file unexpected
21:25:58 <geekosaur> you need to quote the string you want to have it display, since it's fed to the shell. "<unknown>" looks like redirection from the file "unknown" to… and it hits end of string and errors out on the unfinished redirection
21:27:38 <geekosaur> spawn ("xmessage 'Running escCMD, scrws: " ++ scr2str ++ "'")
21:27:52 <geekosaur> or use safeSpawn
21:31:49 × dexter1 quits (dexter@2a01:7e00::f03c:91ff:fe86:59ec) (Ping timeout: 244 seconds)
21:35:40 <T_X> geekosaur: aaaaah! you're absolutely right, the quoting was missing... don't know how I could overlook that, haha
21:39:07 <T_X> I'm still a bit confused why "screenWorkspace 1" is Nothing if the two screens overlap, are mirored. I'm trying xrandr as follows: https://paste.linuxlounge.net/T4
21:39:34 <geekosaur> because mirrored screens are removed by xmonad (see getCleanedScreenInfo)
21:39:46 <T_X> and also in arandr there are two screens, eDP-1 and HDMI-1, which overlap 100%
21:39:51 <geekosaur> they're kind of useless from the standpoint of clients
21:40:39 <geekosaur> the X server will display the same thing on both screens, clients can't tell the difference between displays, so there's no point in keeping both
21:41:04 <geekosaur> you in particular can't display something different on the mirrored display
21:41:15 <geekosaur> the only way to do so is to unmirror them
21:43:49 <geekosaur> xmonad keeps the screen information so it knows where it can display different workspaces. if a display is mirrored, it can't display a different workspace there so xmonad removes it from the display list
21:44:17 <T_X> ah, okay. why I'm looking into this is because I'm trying to find a workaround for this issue I'm having: https://github.com/xmonad/xmonad/issues/412
21:44:35 × diep quits (~diep@2a01:cb11:2d7:4a00:10e8:63cb:8114:10e0) (Remote host closed the connection)
21:45:04 <geekosaur> did you try a compositor, as I suggested?
21:45:17 <T_X> so what I want to achieve is: create this virtual screen (nothing is connected to HDMI-1 at the moment, so (ab)use it). and then always display the same workspace on this virtual screen
21:45:36 <geekosaur> or adding "bs" to the X server arguments but that probably requires looking up some config file that will lvary per system
21:46:23 <T_X> and then the idea was to hook into when I'd change the viewed workspace. and then switching back and forth between mirrored and not-mirrored screens with xrandr...
21:46:41 <geekosaur> by "the same", you mean the same workspace as displayed on the actual screen, or do you mean display a fixed workspace there?
21:47:31 <T_X> geekosaur: didn't try the two compositors you suggested yet. but I checked the "bs" and it seemed enabled already:
21:47:39 <T_X> grep "Backing store" /var/log/Xorg.0.log -> [ 29.917] (==) modeset(0): Backing store enabled
21:47:56 <geekosaur> (you would want them unmirrored and use something like DynamicWorkspaceGroups
21:47:58 <geekosaur> )
21:48:01 <geekosaur> \interesting
21:48:27 <geekosaur> some clients do still detect unmapped state with backing store, sadly; compositing hides it
21:48:34 <geekosaur> so it may matter
21:50:03 <geekosaur> I also wonder if a virtual screen would work correctly or just deliver a bunch of NoExpose events
21:50:26 <geekosaur> which would prevent the client (vlc or whatever) from rendering
21:51:45 <T_X> geekosaur: with "the same" I mean always displaying a workspace of a particular workspaceId there. so the virtual monitor already works fine as a workaround, windows on there are working for the OBS Xcomposite screen capture. even though it's not seen on any physical screen. but it's a bit confusing/annoying when I want to switch back and forth between workspaces
21:52:51 <geekosaur> hm. if that works then I'd expect the compositor method to work as well, since it essentially does the same thing without the fiddling
21:53:14 <T_X> so when switching between workspaces on my physical laptop screen I found the swapping of workspaces between two screens a bit confusing
21:53:40 <geekosaur> and you'd be amazed how many programs don't get tested without a compositor running because Gnome and KDE both have built-in compositors
21:54:48 <geekosaur> (and Cinnamon and whatever Ubuntu is pushing these days, etc.)
21:54:56 <T_X> ideally the final behaviour I'd have would be that I could press a shortcut to toggle a specific workspace to go "On Air"
21:55:40 <T_X> and what I'm trying now is if I can mimic this behaviour in the backend somehow by hacking with xrandr and in the xmonad config file :D
21:56:08 <geekosaur> that's going to be fairly painful
21:58:20 <geekosaur> you probably want to break the rules a bit and, if the workspace you want is not visible on screen 0, forcibly put it in the visible slot
21:58:40 <T_X> yes, seems like :D. so I was thinking to check in the xmonad.hs which workspace is connected to the physical screen and which workspace to the virtual one. and check and intercept if on my physical screen I'm hitting the command to switch to the workspace which the virtual one is currently already on
21:59:22 <T_X> and if that's the case, run xrandr to turn it mirrored after switching
22:02:15 <geekosaur> te problem is, if you switch it it'll also put some other workspace on the visible one
22:02:34 <geekosaur> you can;t have a workspace in both places (this is enforced by the X server)
22:04:26 <geekosaur> well, the server doesn't know workspaces as such, and you could in fact abuse things such that a workspace would be in both places. and the X server would then randomly pick one to actually display, per window so some windows would end up offscreen even if you mirrored it
22:05:31 <geekosaur> so this is much trickier than you think, and triggering after the workspace switch is too late because unless you manually hack the windowset xmonad will pick some other workspace to display on the internal screen and then mirroring will get you that on the external
22:08:31 × shinjipf quits (~shinjipf@2a02:c207:2082:6685::1) (Quit: Ping timeout (120 seconds))
22:08:52 shinjipf joins (~shinjipf@2a02:c207:2082:6685::1)
22:11:02 <geekosaur> hm, and if you hack the windowset you'll have to unhack it afterward or xmonad will become very confused about a duplicated workspace in the StackSet
22:38:46 dexter1 joins (~dexter@li655-253.members.linode.com)
22:45:13 sogens joins (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au)
23:03:02 × sogens quits (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au) (Ping timeout: 268 seconds)
23:22:56 thyriaen joins (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6)
23:23:34 <thyriaen> howdy friends. I would like to have a xmonad layout where i have 2 windows side by side which are both tabbed - does that exist ?
23:25:15 <geekosaur> is that not simply Tabbed? or do you mean two different window stacks each with its own Tabbed layout?
23:26:11 <thyriaen> Yea i mean two window stacks each with own tabbed layout
23:26:27 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-Combo.html
23:26:38 <thyriaen> simpletabbed makes 1 big window with tabs
23:26:42 <geekosaur> it's even the example layout they show
23:27:13 <thyriaen> thanks
23:27:52 <geekosaur> use it with WindowNavigation as they suggest to move windows between panes
23:31:24 <thyriaen> what is this defaultTConf in their exmaple ?
23:33:24 <geekosaur> hm, that's out of date. it's a tab configuration; you should use `def` instead of `defaultTConf`
23:33:33 <thyriaen> ok
23:35:15 <thyriaen> i get TwoPane not in scope
23:35:53 <geekosaur> import XMonad.Layout.TwoPane
23:35:56 <thyriaen> ya
23:35:59 <thyriaen> fixed it that way
23:36:02 <geekosaur> and import XMonad.Layout.Tabbed for that
23:36:40 <geekosaur> you may want to look at the sample `myTabConfig` in X.L.Tabbed for alternatives to `def` (the former `defaultTConf`)
23:37:21 <thyriaen> what is this shrinkText i see
23:38:07 <geekosaur> a tabbed option, it lets you optionally specify how to shrink window titles to fit into tabs
23:38:23 <geekosaur> see the documentation for X.L.Decoration, on which Tabbed is based
23:39:28 <geekosaur> most of the time you want the default (shrinkText) rather than customizing it, but the option is there
23:41:11 <thyriaen> how would i modify those to get my gaps with spacingRaw False (Border 4 4 4 4) True (Border 4 4 4 4) True ?
23:41:16 <xmonadtrack> xmonad-contrib Brandon S Allbery KF8NH {GitHub} * v0.17.0-213-g6b4675e3: fix some deprecated and removed `defaultTConf`s (4 minutes ago, 1 file, 1+ 1-) https://github.com/xmonad/xmonad-contrib/commit/6b4675e3fa85
23:41:19 <geekosaur> (also I just pushed a fix for defaultTConf; we'red still running into little documentation issues involving deprecated and removed names)
23:41:28 <geekosaur> heh, right, bot
23:41:55 <geekosaur> where do you want the gaps to show?
23:42:10 <thyriaen> all around and between the two panes
23:43:06 <geekosaur> then you probably want that outside the combineTwo
23:43:33 <geekosaur> if you put it inside then you would have a double gap between the panes
23:43:49 <thyriaen> if i put that infront and connect them with $ it throwns me an error
23:44:16 <thyriaen> couldn't match expected typue combinetwo
23:44:38 <geekosaur> @where paste
23:44:38 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
23:46:36 <thyriaen> https://paste.tomsmeding.com/FzJE9wm8
23:46:58 <thyriaen> i would also like to know what - when i have an error - it shows it to me twice in two windows :p
23:48:23 × thyriaen quits (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6) (Quit: Leaving)
23:48:47 thyriaen joins (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6)
23:48:52 <thyriaen> i am back
23:50:30 <geekosaur> if you're using `xmonad --recompile` it will do that, once to the terminal and a second time in an xmessage
23:51:04 <geekosaur> it's somewhat annoying but `xmonad --recompile` can't tell it's already displayed the error
23:51:28 <geekosaur> or that it hasn't already displayed it, if you mod-q
23:51:42 <geekosaur> can you also paste the full error message?
23:51:49 <thyriaen> sure
23:53:12 <thyriaen> actually
23:53:22 <thyriaen> that window is quite strange that pops up
23:53:27 <thyriaen> i don't know how to copy form that
23:53:33 <thyriaen> is there a logfile created from there ?
23:53:41 <geekosaur> xmonad.errors
23:54:22 <thyriaen> https://paste.tomsmeding.com/RKeC7o5v
23:54:29 <geekosaur> but you should be able to just swipe across the text in the xmessage window and it'll be selected
23:55:04 <geekosaur> oh, right. you need to use parentheses, $ is eating too much
23:55:31 <thyriaen> well we don't want $ to get overweight
23:55:34 <geekosaur> it's not magic and doesn't realize you intend it to only apply to gaps, not to everything before it
23:56:29 <geekosaur> (it's very low precedence, so tends to apply itself to everything both before and after it)
23:56:55 <geekosaur> gaps (combineTwo (TwoPane 0.03 0.5) (tabbedBottom shrinkText def) (tabbedBottom shrinkText def))
23:56:56 <geekosaur> or
23:57:01 <geekosaur> (gaps $ combineTwo (TwoPane 0.03 0.5) (tabbedBottom shrinkText def) (tabbedBottom shrinkText def))
23:57:15 <thyriaen> okay i fixed it
23:57:34 <thyriaen> the tabs are slightly larger than the windows
23:57:37 <thyriaen> because of the gaps
23:58:06 <thyriaen> and how do i use that window navigation the site reccomended ?
23:59:31 <geekosaur> https://paste.tomsmeding.com/DXElS4qU
23:59:47 <geekosaur> make sure to import XMonad.Layout.WindowNavigation

All times are in UTC on 2022-08-02.