Home liberachat/#xmonad: Logs Calendar

Logs on 2022-05-24 (liberachat/#xmonad)

00:14:35 × werneta quits (~werneta@137.78.30.207) (Ping timeout: 255 seconds)
00:21:30 FernandoSchuindt joins (~fschuindt@2001:470:69fc:105::2:17cd)
00:24:11 <FernandoSchuindt> Hi there, folks. My first 24h with xmonad here, I should confess I thought it was going to be harder, but might be too soon to speak. Just a newbie question here, I'm calling some Bash scripts by adding them to the /usr/bin/ and calling them using spawn on the xmonad.hs. But I think it would be better to have those files into ~/.xmonad/shell_scripts/. I tried adding that directory to the PATH, but xmonad fails to find them. Any tips
00:24:11 <FernandoSchuindt> here?
00:25:03 <geekosaur> typically X11 startup doesn't read your dotfiles, so xmonad won't know your $PATH, only terminals will
00:25:09 <geekosaur> (unless you use startx)
00:26:24 <geekosaur> I use a wrapper script to start xmonad with the right PATH and other settings, since my xmonad is started by mate-session. others set it in .xsession, which is the more common way to start xmonad
00:26:53 <geekosaur> `source ~/.profile` or `source ~/.bash_profile` as appropriate
00:30:51 <[Leary]> FernandoSchuindt: If they're not intimately tied to xmonad but are shell scripts you might want to run in an interactive shell, I would put them in ~/.local/bin instead. If they *are* only used from xmonad, why pollute $PATH with them? Just run them with their full path.
00:33:06 <geekosaur> there's also https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Hooks-Script.html
00:33:35 <geekosaur> although imo that's awfully silly when you could just spawn it
00:37:13 <FernandoSchuindt> thank you geekosaur and [Leary]
00:37:13 <FernandoSchuindt> I think I'm going to use ~/.local/bin, it's working great and it's within home anyway. thank you!
01:00:18 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
01:04:55 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
02:04:30 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds)
02:23:21 banc joins (banc@gateway/vpn/airvpn/banc)
02:35:47 × mc47[m] quits (~mc47matri@2001:470:69fc:105::733) (Ping timeout: 240 seconds)
02:35:47 × RudraveerMandal[ quits (~magphimat@2001:470:69fc:105::2:eb9) (Ping timeout: 240 seconds)
02:36:07 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Ping timeout: 240 seconds)
02:36:07 × AntonioRomano[m] quits (~cidramatr@2001:470:69fc:105::2:7b0) (Ping timeout: 240 seconds)
02:39:51 × steve quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 276 seconds)
02:49:45 RudraveerMandal[ joins (~magphimat@2001:470:69fc:105::2:eb9)
02:50:55 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
02:51:10 mc47[m] joins (~mc47matri@2001:470:69fc:105::733)
02:51:18 AntonioRomano[m] joins (~cidramatr@2001:470:69fc:105::2:7b0)
04:32:53 × mvk quits (~mvk@2607:fea8:5ce3:8500::ba9a) (Ping timeout: 255 seconds)
04:53:55 spaceseller joins (~spacesell@31.147.205.13)
04:57:57 <spaceseller> xmobar shows keyboard layout and it is 'ch' until I open some window. What 'ch' means?
04:58:49 <spaceseller> I only have 'us' and' 'hr' keyboard
05:17:00 × spaceseller quits (~spacesell@31.147.205.13) (Remote host closed the connection)
05:17:24 spaceseller joins (~spacesell@31.147.205.13)
05:26:31 <jao> usually, ch means switzerland
05:41:19 × spaceseller quits (~spacesell@31.147.205.13) (Remote host closed the connection)
05:44:27 spaceseller joins (~spacesell@31.147.205.13)
05:45:29 <spaceseller> what is the best practice to know how many windows are opened on all workspace?
05:46:57 <spaceseller> do you look through all workspace before shutting down or you have some indicator in xmobar?
05:47:47 Solid only shows the workspaces in xmobar that have windows on them
05:48:43 <Solid> (also workspaces are topic based so it's easy to guess which windows there are when e.g. IRC is still shown)
05:49:23 <spaceseller> thnx Solid, I will added it to the xmobar
05:50:06 <spaceseller> it shows workspace icons?
05:51:59 <Solid> I mean that xmobar only displays the names of the workspaces with windows on them
05:52:38 <Solid> for example, while I have ~30 workpsaces, only 5 of them are shown in xmobar right now because the rest is empty
06:00:58 <spaceseller> I understand, I'm looking for a code right now?
06:01:06 <spaceseller> I understand, I'm looking for a code right now.
06:02:19 <spaceseller> the simplest one
06:06:04 <Solid> AFAIK this is the default behaviour
06:06:19 <Solid> you just don't want to override ppHiddenNoWindows
06:10:36 × srk quits (~sorki@user/srk) (Ping timeout: 244 seconds)
06:12:21 srk joins (~sorki@user/srk)
06:13:17 <spaceseller> didn't get it. As I read, ppHiddenNoWindows is in xmonad.hs
06:15:42 <spaceseller> I suppose that I need change .xmobarrc code as well
06:18:30 <Solid> I meant that you need to _remove_ ppHiddenNoWindows from your config
06:18:37 <Solid> its default value is to suppress these workspaces
06:18:40 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 246 seconds)
06:22:48 × spaceseller quits (~spacesell@31.147.205.13) (Ping timeout: 276 seconds)
06:39:48 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
06:56:23 spaceseller joins (~spacesell@31.147.205.13)
06:56:38 × spaceseller quits (~spacesell@31.147.205.13) (Remote host closed the connection)
07:05:29 Ether17 joins (~Ether17@103.217.111.249)
07:07:39 <Ether17> so i was able to read the docs and update To XMonad.Hooks.StatusBar. And i have like 3 PP once of which is long; https://github.com/Ahanaf-Ether/xmonad/blob/stable/xmonad.hs i cant add clickablePP.
07:07:57 <Ether17> once: one*
07:09:44 <Ether17> Line: 288
07:09:47 × Ether17 quits (~Ether17@103.217.111.249) (Client Quit)
07:20:45 cfricke joins (~cfricke@user/cfricke)
07:52:09 chomwitt joins (~chomwitt@2a02:587:dc1e:cc00:f079:d366:2a9:ed7f)
08:13:34 <AntonioRomano[m]> Is there a way to set a manual tiling mode in xmonad?
08:17:36 <fizzie> Depending on exactly what you mean by "manual tiling mode", https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-BinarySpacePartition.html may qualify as that. Or at least I've heard the bspwm style called "manual".
08:22:06 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 258 seconds)
08:24:49 <AntonioRomano[m]> Yes I'm talking about something like bspwm. I love the way it works. Thank you!
08:50:29 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
09:05:49 spaceseller joins (~spacesell@31.147.205.13)
09:37:09 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
09:43:42 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
09:56:42 <RudraveerMandal[> How do I allow xmonad passthrough mode
09:57:10 <RudraveerMandal[> To run waydroid I am using sway on another TTY
09:57:49 <RudraveerMandal[> bc I cant use it as a window on xmonad
09:57:55 <RudraveerMandal[> none of the shortcuts work
10:22:13 × spaceseller quits (~spacesell@31.147.205.13) (Quit: Leaving)
11:55:17 srk- joins (~sorki@user/srk)
11:56:23 srk| joins (~sorki@user/srk)
11:57:56 × srk quits (~sorki@user/srk) (Ping timeout: 255 seconds)
11:59:31 srk| is now known as srk
11:59:34 × srk- quits (~sorki@user/srk) (Ping timeout: 246 seconds)
12:29:03 benin2 joins (~benin@2401:4900:2323:425e:4253:4476:82af:eac4)
12:31:35 × benin quits (~benin@183.82.30.29) (Ping timeout: 260 seconds)
12:31:36 benin2 is now known as benin
13:00:42 benin9 joins (~benin@183.82.178.251)
13:02:44 × benin quits (~benin@2401:4900:2323:425e:4253:4476:82af:eac4) (Ping timeout: 255 seconds)
13:02:44 benin9 is now known as benin
13:10:34 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.5)
13:31:10 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Quit: Leaving)
13:33:25 geekosaur joins (~geekosaur@xmonad/geekosaur)
13:47:29 <Drishal[m]> <geekosaur> "Drishal, if you can't know the..." <- or else just toggle layout is the last resort then ig
13:49:24 <Drishal[m]> btw I am having some really weird issues with xmoand
13:49:24 <Drishal[m]> for eg if I were to copy files in say, nemo/thunar/any other minimal file manager it just completely freezes after a few seconds till the copying is complete in xmonad
13:49:24 <Drishal[m]> wherease if I were to do the same thing in dwm it works absolutely fine
13:49:24 <Drishal[m]> does not make a difference with using xf86-video-amdgpu or modesetting 👀
13:53:42 <geekosaur> I've never heard that (or seen it, although I don't use a minimal file manager)
13:55:02 <geekosaur> *heard of
13:57:29 mc47 joins (~mc47@xmonad/TheMC47)
13:58:13 <Drishal[m]> hmm this happens to me always, both on nixos and also arch
13:58:21 <Drishal[m]> geekosaur: which file manager do you use?
13:58:36 <geekosaur> caja, mate's filemanager
13:59:01 <Drishal[m]> ah I need to try caja instead 🤔
13:59:10 <geekosaur> you're not by any chance copying to an external usb2 drive or something?
13:59:24 <Drishal[m]> have you tried thunar or nemo on xmonad?
13:59:29 <geekosaur> (that in my experience hogs all cpu on linux and pretty much nothing works)
13:59:56 <geekosaur> I can't really see xmonad being involved because xmonad isn't involved with window updates, only with window placement policy
14:00:06 <geekosaur> once a window has been placed xmonad is no longer involved
14:01:14 <geekosaur> I haven't, no
14:02:03 <geekosaur> not sure caja will run well outside of mate=session; these desktop environments are pretty exclusive, and it's rare to be even able to run xmonad as the window manager (see also gnome)
14:03:45 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
14:43:38 spaceseller joins (~spacesell@31.147.205.13)
14:45:03 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
14:46:41 <spaceseller> I try to get StatusBar which is in the latest, 0.17 version. So I installed on my Arch from arch repository. Now I cant't enter, it backed me up without error
14:46:58 <spaceseller> 0.16 works fine
14:47:33 <geekosaur> arch does that. log in from a shell and run xmonad --recompile
14:47:34 <spaceseller> except I didn't have workspace indicator
14:47:49 <spaceseller> aaaa, great
14:48:37 <geekosaur> and next time obey the warnings in https://wiki.archlinux.org/title/xmonad (first note with a purple background)
14:49:16 <spaceseller> I will, thnx
14:49:32 <geekosaur> or use ghcup to install ghc and install xmonad from git, to avoid arch's weird and buggy haskell packaging
14:50:32 <spaceseller> ok
14:52:56 × spaceseller quits (~spacesell@31.147.205.13) (Remote host closed the connection)
14:59:41 spaceseller joins (~spacesell@31.147.205.13)
15:09:56 mvk joins (~mvk@2607:fea8:5ce3:8500::ba9a)
15:11:10 × spaceseller quits (~spacesell@31.147.205.13) (Quit: Leaving)
15:31:54 spaceseller joins (~spacesell@31.147.205.13)
15:33:12 <spaceseller> Deafult .hs file from configuration tutorial gives me error when I recompile
15:33:40 <spaceseller> Variable not in scope magenta
15:33:46 <spaceseller> and other colors
15:35:47 <geekosaur> did you include the where clause, and is it properly indented?
15:36:25 <geekosaur> there are two blank lines within it, they do not end the where clause
15:36:57 <spaceseller> I'm looking
15:38:23 <geekosaur> maybe just pastebin your config
15:38:26 <geekosaur> @where paste
15:38:26 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
15:40:48 <spaceseller> found it
15:41:10 <spaceseller> vim added comments
15:41:30 × spaceseller quits (~spacesell@31.147.205.13) (Quit: Leaving)
15:58:59 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
16:00:26 × butterfly[m] quits (~butterfly@2001:470:69fc:105::1:70db) (Quit: You have been kicked for being idle)
16:09:53 <Solid> Drishal[m]: I tried thunar just now and it works completely fine
16:10:02 <Solid> so does my usual file manager (dired)
16:37:01 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 256 seconds)
16:51:29 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
16:52:04 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
16:59:20 × benin quits (~benin@183.82.178.251) (Ping timeout: 260 seconds)
17:03:43 benin joins (~benin@183.82.204.153)
18:15:40 steve joins (~steve@ool-182c2b80.dyn.optonline.net)
18:58:52 × joshproehl quits (~quassel@user/joshproehl) (Quit: Disappearing act!)
18:59:07 joshproehl joins (~quassel@user/joshproehl)
19:02:56 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
19:57:36 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
19:57:54 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit)
20:53:32 stackdroid18 joins (14094@user/stackdroid)
22:16:52 × benin quits (~benin@183.82.204.153) (Quit: The Lounge - https://thelounge.chat)
22:25:26 × chomwitt quits (~chomwitt@2a02:587:dc1e:cc00:f079:d366:2a9:ed7f) (Ping timeout: 258 seconds)
22:41:26 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 255 seconds)
22:46:59 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)

All times are in UTC on 2022-05-24.