2021/05/01

2021-05-01 00:12:52 +0200wonko7(~wonko7@62.115.229.50) (Ping timeout: 240 seconds)
2021-05-01 01:18:18 +0200ADG1089(~aditya@223.226.237.158)
2021-05-01 01:18:51 +0200materiyolo(~materiyol@112.204.174.249)
2021-05-01 01:31:28 +0200notis(~notis@2a02:2149:8a44:5700:3fe0:286c:a70f:ba77) (Ping timeout: 276 seconds)
2021-05-01 01:45:06 +0200drl(~l@2600:1700:8360:3870:58d5:2157:5a1a:a89)
2021-05-01 01:58:02 +0200seschwar(~seschwar@unaffiliated/seschwar) (Quit: :wq)
2021-05-01 02:06:46 +0200materiyolo(~materiyol@112.204.174.249) (Ping timeout: 240 seconds)
2021-05-01 02:07:59 +0200ADG1089(~aditya@223.226.237.158) (Remote host closed the connection)
2021-05-01 03:06:14 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
2021-05-01 03:06:58 +0200drl(~l@2600:1700:8360:3870:58d5:2157:5a1a:a89) (Quit: Leaving)
2021-05-01 03:10:32 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-05-01 03:16:04 +0200davve_(davve@bsd.douchedata.com)
2021-05-01 03:19:43 +0200geekosaur(930099da@rrcs-147-0-153-218.central.biz.rr.com) (Ping timeout: 240 seconds)
2021-05-01 03:21:37 +0200drl(~l@2600:1700:8360:3870:58d5:2157:5a1a:a89)
2021-05-01 03:50:44 +0200ADG1089(~aditya@223.226.237.158)
2021-05-01 04:05:51 +0200kajzer(~kajzer@unaffiliated/kajzer) (Quit: WeeChat 3.1)
2021-05-01 04:11:10 +0200ADG1089(~aditya@223.226.237.158) (Quit: Konversation terminated!)
2021-05-01 04:23:00 +0200ADG1089(~aditya@223.226.237.158)
2021-05-01 04:28:12 +0200theDon(~td@muedsl-82-207-238-113.citykom.de) (Ping timeout: 240 seconds)
2021-05-01 04:28:36 +0200ADG1089(~aditya@223.226.237.158) (Remote host closed the connection)
2021-05-01 04:30:22 +0200theDon(~td@muedsl-82-207-238-128.citykom.de)
2021-05-01 04:45:08 +0200eyenx(~eyenxeyen@unaffiliated/eye/x-1653358) (Quit: Bridge terminating on SIGTERM)
2021-05-01 04:45:26 +0200eyenx(~eyenxeyen@unaffiliated/eye/x-1653358)
2021-05-01 05:08:06 +0200oogeek(~szz_@84.17.34.133)
2021-05-01 05:14:18 +0200ajc(~ajc@c-98-246-92-128.hsd1.wa.comcast.net)
2021-05-01 05:15:32 +0200ajc(~ajc@c-98-246-92-128.hsd1.wa.comcast.net) ()
2021-05-01 05:32:58 +0200drl(~l@2600:1700:8360:3870:58d5:2157:5a1a:a89) (Quit: Leaving)
2021-05-01 05:43:08 +0200oogeek(~szz_@84.17.34.133) (Ping timeout: 246 seconds)
2021-05-01 05:44:58 +0200oogeek(~szz_@45.135.186.59)
2021-05-01 05:47:39 +0200dsal(sid13060@gateway/web/irccloud.com/x-rekuaujdfzsbqruq) (Ping timeout: 246 seconds)
2021-05-01 05:48:00 +0200drl(~l@2600:1700:8360:3870:58d5:2157:5a1a:a89)
2021-05-01 05:49:11 +0200dsal(sid13060@gateway/web/irccloud.com/x-rbhhbvpkgeegolrt)
2021-05-01 06:30:20 +0200materiyolo(~materiyol@112.204.174.249)
2021-05-01 06:55:02 +0200oogeek(~szz_@45.135.186.59) (Quit: Lost terminal)
2021-05-01 07:06:55 +0200piele_(~piele@tbonesteak.creativeserver.net)
2021-05-01 07:13:10 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (*.net *.split)
2021-05-01 07:13:13 +0200tv(~tv@unaffiliated/tv) (*.net *.split)
2021-05-01 07:13:15 +0200piele(~piele@tbonesteak.creativeserver.net) (*.net *.split)
2021-05-01 07:13:15 +0200thaumavorio(~thaumavor@thaumavor.io) (*.net *.split)
2021-05-01 07:13:17 +0200rafadc(~rafadc@213.37.16.152.dyn.user.ono.com) (*.net *.split)
2021-05-01 07:13:18 +0200yosafbridge(~yosafbrid@static.38.6.217.95.clients.your-server.de) (*.net *.split)
2021-05-01 07:13:18 +0200lambdabot(~lambdabot@haskell/bot/lambdabot) (*.net *.split)
2021-05-01 07:13:19 +0200jato(~jato@68.183.0.207) (*.net *.split)
2021-05-01 07:13:19 +0200terrorjack(~terrorjac@ec2-54-95-39-30.ap-northeast-1.compute.amazonaws.com) (*.net *.split)
2021-05-01 07:13:20 +0200vrs(~vrs@unaffiliated/vrs) (*.net *.split)
2021-05-01 07:13:20 +0200buffet(~buffet@buffet.sh) (*.net *.split)
2021-05-01 07:13:21 +0200pharaun(~pharaun@static.88-198-62-245.clients.your-server.de) (*.net *.split)
2021-05-01 07:23:58 +0200lambdabot(~lambdabot@silicon.int-e.eu)
2021-05-01 07:23:58 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-05-01 07:23:58 +0200tv(~tv@unaffiliated/tv)
2021-05-01 07:23:58 +0200thaumavorio(~thaumavor@thaumavor.io)
2021-05-01 07:23:58 +0200rafadc(~rafadc@213.37.16.152.dyn.user.ono.com)
2021-05-01 07:23:58 +0200yosafbridge(~yosafbrid@static.38.6.217.95.clients.your-server.de)
2021-05-01 07:23:58 +0200jato(~jato@68.183.0.207)
2021-05-01 07:23:58 +0200terrorjack(~terrorjac@ec2-54-95-39-30.ap-northeast-1.compute.amazonaws.com)
2021-05-01 07:23:58 +0200vrs(~vrs@unaffiliated/vrs)
2021-05-01 07:23:58 +0200buffet(~buffet@buffet.sh)
2021-05-01 07:23:58 +0200pharaun(~pharaun@static.88-198-62-245.clients.your-server.de)
2021-05-01 07:33:47 +0200mohab(~mohab@156.223.200.10)
2021-05-01 08:34:52 +0200growpotkin(~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in)
2021-05-01 08:37:30 +0200sdx23(~sdx23@unaffiliated/sdx23)
2021-05-01 09:06:08 +0200notis(~notis@185.51.134.222)
2021-05-01 09:16:13 +0200carloratm(carloratm@tilde.club) ()
2021-05-01 09:32:01 +0200mohab(~mohab@156.223.200.10) (Quit: Quit)
2021-05-01 09:36:56 +0200notis(~notis@185.51.134.222) (Ping timeout: 260 seconds)
2021-05-01 09:38:25 +0200notis(~notis@185.51.134.222)
2021-05-01 09:39:56 +0200mohab(~mohab@156.223.200.10)
2021-05-01 09:41:48 +0200wonko7(~wonko7@62.115.229.50)
2021-05-01 09:42:24 +0200mohab(~mohab@156.223.200.10) (Quit: Quit)
2021-05-01 09:44:28 +0200mohab(~mohab@156.223.200.10)
2021-05-01 09:48:52 +0200mohab(~mohab@156.223.200.10) (Ping timeout: 252 seconds)
2021-05-01 09:53:26 +0200notis(~notis@185.51.134.222) (Ping timeout: 240 seconds)
2021-05-01 09:55:42 +0200notis(~notis@85.203.44.182)
2021-05-01 10:06:23 +0200mohab(~mohab@156.223.200.10)
2021-05-01 10:31:21 +0200heatwave(~heatwave@66.115.157.135)
2021-05-01 10:44:51 +0200mohab[m](mohabpriva@gateway/shell/matrix.org/x-dysqdisrnonhzntc) ("User left")
2021-05-01 10:46:08 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net)
2021-05-01 10:46:26 +0200 <charpointer> any ideas why my xmonad doesnt recognize any keybinds?
2021-05-01 10:46:38 +0200 <charpointer> it compiles fine, and all but no keys are recognized
2021-05-01 10:48:45 +0200 <Solid> what do you mean exactly? Is your keyboard effectively dead (e.g. you can't even switch to a TTY with C-M-Fn)? Do xmonad's bindings not come through?
2021-05-01 10:52:04 +0200 <charpointer> none of them come through
2021-05-01 10:52:09 +0200 <charpointer> i cant spawn any of my binds
2021-05-01 10:52:11 +0200 <charpointer> Solid
2021-05-01 10:52:26 +0200 <charpointer> i can switch TTY and it works fine in there
2021-05-01 10:52:30 +0200 <charpointer> but xmonad finds nothing
2021-05-01 10:52:51 +0200 <charpointer> im pretty new to haskell, but my xmonad config compiles and typechecks so i assume its correct
2021-05-01 10:53:02 +0200 <charpointer> i can upload it to github and send the link if its helpful?
2021-05-01 10:53:19 +0200 <Solid> sure
2021-05-01 10:53:22 +0200 <Solid> @where paste
2021-05-01 10:53:22 +0200 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2021-05-01 10:53:25 +0200 <Solid> is probably faster
2021-05-01 10:53:31 +0200 <charpointer> sure
2021-05-01 10:53:32 +0200 <charpointer> ill do that
2021-05-01 10:53:33 +0200 <charpointer> one sec
2021-05-01 10:55:28 +0200 <charpointer> https://paste.tomsmeding.com/ju7j5NNu
2021-05-01 10:56:28 +0200 <charpointer> im having to use .xmonad/build since im on arch and it refused to build otherwise
2021-05-01 11:00:58 +0200 <Solid> so when you press M-Ret nothing happens?
2021-05-01 11:01:15 +0200 <charpointer> if i press any key, nothing happens
2021-05-01 11:01:20 +0200 <Solid> (I'm assuming you have xfce4-terminal installed)
2021-05-01 11:01:23 +0200 <charpointer> yeah
2021-05-01 11:01:26 +0200 <charpointer> i do
2021-05-01 11:01:34 +0200 <charpointer> i can send the contents of .xmonad/build
2021-05-01 11:01:36 +0200 <charpointer> if thats helpful
2021-05-01 11:01:54 +0200 <Solid> if it compiles fine then that shouldn't contain anything useful
2021-05-01 11:02:07 +0200 <Solid> perhaps check your .xsession-errors (names may vary)
2021-05-01 11:02:17 +0200 <charpointer> where do i find this
2021-05-01 11:02:21 +0200 <charpointer> also im using lightdm
2021-05-01 11:02:24 +0200 <Solid> ~/.xsession-errors
2021-05-01 11:02:47 +0200 <charpointer> nothing in it for xmonad
2021-05-01 11:03:45 +0200 <charpointer> https://paste.tomsmeding.com/yjbXu2Uf
2021-05-01 11:03:52 +0200 <charpointer> heres my xmonad/build file
2021-05-01 11:06:17 +0200 <Solid> ah I see
2021-05-01 11:07:13 +0200 <Solid> if you have a build file then xmonad expects that you build an `xmonad-ARCH` file
2021-05-01 11:07:48 +0200 <Solid> *and move it to the given path
2021-05-01 11:08:51 +0200 <charpointer> how do i do that?
2021-05-01 11:10:34 +0200 <Solid> you can probably give cabal some flags to decide where the executable should live (I've never really used cabal without stack, so I can't say for sure)
2021-05-01 11:10:51 +0200 <charpointer> where should it live?
2021-05-01 11:11:13 +0200 <Solid> the build script is invoked on M-q, so "$1" :)
2021-05-01 11:11:31 +0200 <Solid> there's a provisional installation guide with stack here: https://github.com/slotThe/xmonad/blob/new-tutorial/INSTALL.md
2021-05-01 11:11:46 +0200 <Solid> It's part of the new tutorial ( https://github.com/slotThe/xmonad/blob/new-tutorial/tutorial.md ) that I usually shill at this point
2021-05-01 11:12:52 +0200 <charpointer> ill check this out
2021-05-01 11:14:08 +0200 <Solid> there is also a cabal build script available in the xmonad-testing repo ( https://github.com/xmonad/xmonad-testing/blob/master/build-scripts/build-with-cabal.sh ) but it's a bit involved
2021-05-01 11:14:34 +0200 <Solid> so I would recommend the easier way of installing with stack and just invoking stack ghc like it is done in INSTALL.md
2021-05-01 11:15:05 +0200kajzer(~kajzer@unaffiliated/kajzer)
2021-05-01 11:24:13 +0200 <charpointer> Solid, this doesnt work
2021-05-01 11:24:17 +0200 <charpointer> `/home/char/dev/xmonad-config/xmonad/: getDirectoryContents:openDirStream: does not exist (No such file or directory)`
2021-05-01 11:24:24 +0200 <charpointer> i added packages: xmonad to stack.yaml
2021-05-01 11:24:26 +0200 <charpointer> and i get this
2021-05-01 11:25:23 +0200 <charpointer> oh theyre cloning the things
2021-05-01 11:26:59 +0200 <charpointer> it finally builds
2021-05-01 11:30:48 +0200codedmart(codedmart@2600:3c01::f03c:92ff:fefe:8511) (*.net *.split)
2021-05-01 11:32:31 +0200 <charpointer> Solid, im using stack how would i get it to build to a specific folder
2021-05-01 11:37:06 +0200codedmart(codedmart@2600:3c01::f03c:92ff:fefe:8511)
2021-05-01 11:44:01 +0200codedmart(codedmart@2600:3c01::f03c:92ff:fefe:8511) (Max SendQ exceeded)
2021-05-01 11:44:39 +0200codedmart(~codedmart@li335-49.members.linode.com)
2021-05-01 11:55:46 +0200oogeek(~szz_@138.199.23.129)
2021-05-01 11:59:26 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net) (Remote host closed the connection)
2021-05-01 12:00:59 +0200ADG1089(~aditya@223.226.237.158)
2021-05-01 12:09:38 +0200always_blue(~always_bl@93-45-57-220.ip101.fastwebnet.it)
2021-05-01 12:19:33 +0200 <heatwave> Hello guys! I did a system reinstall today and added xmonad with xmobar, using the same config files I was using till yesterday. However xmobar wouldnt compile anymore and i'm not sure why. Was anything changed in a newer release?
2021-05-01 12:20:16 +0200 <oogeek> heatwave: Please post the error message if there is any
2021-05-01 12:20:36 +0200 <oogeek> Also do you compile it with cabal or stack?
2021-05-01 12:20:50 +0200 <heatwave> xmobar: /home/{user}/.xmonad/.xmobarrc: hGetContents: invalid argument (invalid byte sequence)
2021-05-01 12:21:02 +0200 <oogeek> Check your locale
2021-05-01 12:21:08 +0200 <heatwave> doesnt give me any line numbers or anything
2021-05-01 12:21:29 +0200 <heatwave> Hmmm. I did set it up manually this time.
2021-05-01 12:22:17 +0200 <oogeek> Very likely it has a locale issue. The locale should be en_US.UTF-8 for it to work, I guess.
2021-05-01 12:22:22 +0200 <heatwave> would it be something with the date command?
2021-05-01 12:22:34 +0200 <oogeek> You can try running LANG=en_US.UTF-8 xmobar ~/.config/yourconfig
2021-05-01 12:22:43 +0200 <heatwave> oh yes, that's what I specifically set it to system wise.
2021-05-01 12:23:35 +0200 <heatwave> oogeek: wow, that does work! I'm so sure I set the locale right, but let me confirm :)
2021-05-01 12:24:26 +0200 <oogeek> :) I have this issue simply because I have 0400 permission on my locale.conf, I changed it to 0644 and it looks good.
2021-05-01 12:25:00 +0200 <heatwave> I was wondering how you instantly knew! Thanks a ton
2021-05-01 12:26:06 +0200 <oogeek> heatwave: Painful experience from the past to dig it up. Sigh. I was too strict on file permissions to discover this.
2021-05-01 12:28:38 +0200heatwave_(~heatwave@107.181.166.208)
2021-05-01 12:31:12 +0200heatwave(~heatwave@66.115.157.135) (Ping timeout: 240 seconds)
2021-05-01 12:32:03 +0200 <heatwave_> oogeek: is there any security related issue with giving 0400 for locale.conf?
2021-05-01 12:35:01 +0200 <oogeek> No. Usually a lof of linux distro will set the value of umask to be 022, which means when you create a new file, the permission will be 0644 or something. However, I set it to 077, so that the file would have 0400.
2021-05-01 12:36:34 +0200 <oogeek> Take locale.conf for example. Normal users will also read the file to make sure the locale is the same with the system. However, if they don't have permission to do so, like in 0400, then the locale for users will be default to "C". Thus getting the xmobar error, casue "C" knows nothing about UTF-8
2021-05-01 12:40:12 +0200heatwave_(~heatwave@107.181.166.208) (Ping timeout: 265 seconds)
2021-05-01 12:40:20 +0200heatwave1(~heatwave@198.8.81.86)
2021-05-01 12:42:53 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net)
2021-05-01 12:43:14 +0200heatwave1(~heatwave@198.8.81.86) (Client Quit)
2021-05-01 12:43:25 +0200 <charpointer> so xmonad works, is it possible to make workspaces 1, 2, 3, 4 on my first monitor, and 5,6,7,8 on my second monitor?
2021-05-01 12:43:43 +0200 <charpointer> currently each monitor has its own set of workspaces but id like it to be more like how i3 worked if thats possible
2021-05-01 12:44:02 +0200 <oogeek> charpointer: go and take a look at XMonad.Layout.IndependentScreens
2021-05-01 12:44:27 +0200 <oogeek> Maybe that is what you want
2021-05-01 12:44:33 +0200 <charpointer> oogeek, im looking at it buts its kinda confusing
2021-05-01 12:44:36 +0200 <charpointer> how would i say have
2021-05-01 12:44:41 +0200 <charpointer> ws 1-4 on my first monitor
2021-05-01 12:44:48 +0200 <charpointer> and ws 5-8 on my second
2021-05-01 12:44:51 +0200 <charpointer> thats what i want
2021-05-01 12:45:30 +0200 <charpointer> i want the workspaces shared between monitors, like in i3
2021-05-01 12:45:40 +0200 <charpointer> not each monitor having its own workspaces
2021-05-01 12:45:52 +0200ADG1089(~aditya@223.226.237.158) (Remote host closed the connection)
2021-05-01 12:46:02 +0200 <Solid> but the workspaces _are_ shared between monitors by default
2021-05-01 12:46:09 +0200 <charpointer> are they?
2021-05-01 12:46:10 +0200 <Solid> I'm not sure what you're asking (I don't know what i3 does)
2021-05-01 12:46:15 +0200 <charpointer> well if so then how can i change the order
2021-05-01 12:46:16 +0200 <oogeek> Got it. Then it is quite easy. You just need to filter then out.
2021-05-01 12:46:17 +0200 <charpointer> of which is shared
2021-05-01 12:46:30 +0200 <charpointer> oogeek, great so how would i do that?
2021-05-01 12:48:58 +0200 <oogeek> Use two xmobar configs. You can try to add a function to the PP config. One that takes the first four workspaces, the other take the rest.
2021-05-01 12:49:08 +0200 <charpointer> i dont have xmobar setup yet
2021-05-01 12:49:17 +0200 <charpointer> xmonad is jsut mapping my workspaces wrong
2021-05-01 12:49:24 +0200 <charpointer> i want ws 1-4 on my first monitor
2021-05-01 12:49:31 +0200 <charpointer> and ws 5-8 on my second one
2021-05-01 12:49:39 +0200 <charpointer> can i like? force it to use a specific monitor like i did w/ i3?
2021-05-01 12:51:03 +0200 <oogeek> So you use any bars?
2021-05-01 12:51:07 +0200 <charpointer> not atm
2021-05-01 12:51:19 +0200 <charpointer> i literally just got it working like 1 hr ago
2021-05-01 12:51:28 +0200 <charpointer> and now im finding out the workspaces are mapped to the wrong screens
2021-05-01 12:52:13 +0200 <charpointer> i can post my xmonad file
2021-05-01 12:52:15 +0200 <charpointer> if u want
2021-05-01 12:52:21 +0200 <Solid> the workspaces are not mapped to any screens
2021-05-01 12:52:31 +0200 <charpointer> well how do i map them then
2021-05-01 12:52:37 +0200 <charpointer> so ws 1-4 is on my first monitor
2021-05-01 12:52:42 +0200 <charpointer> and ws 5-8 is on my second one
2021-05-01 12:53:23 +0200 <Solid> so what happens if you're on monitor 1 and switch to ws 5? is it a no-op? do you switch to monitor 2 automatically?
2021-05-01 12:53:36 +0200 <charpointer> lemme try
2021-05-01 12:53:45 +0200 <Solid> I mean what do you _want_ to happen
2021-05-01 12:53:51 +0200 <charpointer> ohh
2021-05-01 12:53:58 +0200 <charpointer> i want it to switch to monitor 2
2021-05-01 12:54:07 +0200 <charpointer> and ws 5 will be the first workspace on that monitor
2021-05-01 12:54:50 +0200 <Solid> that should be possible to hack together with X.L.IndependentScreens but I don't think it's necessarily built in (could be wrong, I've never used the module)
2021-05-01 12:55:02 +0200 <charpointer> idk how to use IndependentScreens
2021-05-01 12:55:08 +0200 <charpointer> could u help me hack this together?
2021-05-01 12:55:24 +0200 <oogeek> Then maybe you really need IndependentScreens. I use it, I mean, you can have "0_1" ... "0_4" "1_5".."1_8"
2021-05-01 12:55:33 +0200 <charpointer> i read the wiki and its confused me
2021-05-01 12:55:43 +0200 <charpointer> it doesnt mention how to have individual ws
2021-05-01 12:56:32 +0200 <oogeek> charpointer: The 'withScreen' in my PR is not merged. So I think you need a custom IndependentScreens.hs.
2021-05-01 12:57:03 +0200 <charpointer> wdym?
2021-05-01 12:57:20 +0200 <oogeek> I have a Pull Request on IndependentScreens, haha.
2021-05-01 12:57:26 +0200 <Solid> I don't think you need anything that custom
2021-05-01 12:57:44 +0200 <charpointer> im new to haskell & xmonad
2021-05-01 12:57:44 +0200 <oogeek> But I don't have much time to work on it now. Tons of final exams. Sad
2021-05-01 12:57:50 +0200 <charpointer> why is this so hard to get working?
2021-05-01 12:57:59 +0200 <Solid> you just need your keybindings to switch to screen 2 when pressing M-{5-8} and then switch the ws
2021-05-01 12:58:07 +0200 <charpointer> yeah
2021-05-01 12:58:10 +0200 <charpointer> but idk how to do that
2021-05-01 12:58:13 +0200 <charpointer> Solid
2021-05-01 12:58:51 +0200 <Solid> sorry, I'm not saying you personally should do it, just how I imagine it working
2021-05-01 12:58:58 +0200 <charpointer> ah
2021-05-01 12:59:03 +0200 <charpointer> could u help me w/ doing this then?
2021-05-01 13:00:08 +0200 <Solid> mh, this probably works without IndependentScreens... I'll give it a shot
2021-05-01 13:00:28 +0200 <charpointer> thanks, let me know if u get it working
2021-05-01 13:09:18 +0200cfricke(~cfricke@unaffiliated/cfricke)
2021-05-01 13:24:20 +0200heatwave(~heatwave@192.145.118.195)
2021-05-01 13:24:28 +0200always_blue(~always_bl@93-45-57-220.ip101.fastwebnet.it) (Ping timeout: 252 seconds)
2021-05-01 13:30:38 +0200heatwave_(~heatwave@ip-66-115-176-177.creativelink.net)
2021-05-01 13:33:50 +0200heatwave(~heatwave@192.145.118.195) (Ping timeout: 268 seconds)
2021-05-01 13:37:43 +0200seschwar(~seschwar@unaffiliated/seschwar)
2021-05-01 13:40:00 +0200heatwave(~heatwave@192.145.118.178)
2021-05-01 13:40:35 +0200heatwave(~heatwave@192.145.118.178) (Client Quit)
2021-05-01 13:43:06 +0200heatwave_(~heatwave@ip-66-115-176-177.creativelink.net) (Ping timeout: 260 seconds)
2021-05-01 13:44:03 +0200 <charpointer> Solid, any idea how to do this?
2021-05-01 13:46:14 +0200geekosaur(930099da@rrcs-147-0-153-218.central.biz.rr.com)
2021-05-01 13:54:35 +0200 <oogeek> charpointer: I have a easy solution
2021-05-01 13:54:39 +0200 <charpointer> hm?
2021-05-01 13:54:47 +0200 <charpointer> oogeek, whats the solution
2021-05-01 13:54:48 +0200always_blue(~always_bl@93-45-57-220.ip101.fastwebnet.it)
2021-05-01 13:54:50 +0200heatwave(~heatwave@66.115.157.147)
2021-05-01 13:55:25 +0200 <oogeek> Like this ("M-.", nextScreen *> withNthWorkspace W.view 4)
2021-05-01 13:55:53 +0200 <oogeek> In such a way, when you use nextscreen, it will also focus the 5th workspace, that is, workspace 5.
2021-05-01 13:56:23 +0200always_blue(~always_bl@93-45-57-220.ip101.fastwebnet.it) ()
2021-05-01 13:56:24 +0200 <charpointer> can i not just bind m+1-4 to monitor one, and m+5-8 to monitor two?
2021-05-01 13:57:00 +0200 <oogeek> What do you mean by "not just"?
2021-05-01 13:57:11 +0200 <charpointer> i only want workspaces 1-4 for monitor 1
2021-05-01 13:57:16 +0200 <charpointer> and workspaces 5-8 for monitor 2
2021-05-01 13:57:25 +0200 <charpointer> and when i press mod+[1-4] it should switch to that workspace
2021-05-01 13:57:28 +0200 <geekosaur> you cannot "just do" that
2021-05-01 13:57:30 +0200 <charpointer> and same for mod+[5-8]
2021-05-01 13:57:35 +0200 <charpointer> why not?
2021-05-01 13:57:46 +0200 <geekosaur> because that is not how xmonad works
2021-05-01 13:57:46 +0200 <charpointer> i managed to do that in i3 and bspwm
2021-05-01 13:58:08 +0200 <charpointer> hmm
2021-05-01 13:58:11 +0200 <charpointer> how does it work then?
2021-05-01 14:01:11 +0200heatwave_(~heatwave@192.145.118.176)
2021-05-01 14:02:46 +0200 <oogeek> charpointer: First, implementation of workspaces in xmonad is a bit different than that in i3 or bspwm. Also, there is no notion of monitor for workspaces. Actually, workspaces are over all monitors. The thing you can do is to control them so that a bunch of them display on monitor 1. The other on monitor 2. In your case, you don't even use a bar. That makes it easier.
2021-05-01 14:02:46 +0200heatwave_(~heatwave@192.145.118.176) (Client Quit)
2021-05-01 14:03:02 +0200 <oogeek> Also, you can change what I proposed with your own keybind.
2021-05-01 14:03:04 +0200 <charpointer> ill install a bar after i get the basic setup
2021-05-01 14:03:15 +0200 <charpointer> ah i see
2021-05-01 14:03:22 +0200 <charpointer> sorry im new to this
2021-05-01 14:03:27 +0200 <oogeek> You can change "M-." to "M-5" if you wish
2021-05-01 14:04:20 +0200 <charpointer> nextScreen is not in scope oogeek
2021-05-01 14:04:39 +0200heatwave(~heatwave@66.115.157.147) (Ping timeout: 268 seconds)
2021-05-01 14:04:57 +0200 <oogeek> It is from a module, you should goole something like "xmonad module name" and find it yourself.
2021-05-01 14:05:02 +0200 <oogeek> google*
2021-05-01 14:05:28 +0200 <charpointer> i googled and i couldnt find it
2021-05-01 14:06:12 +0200 <Solid> charpointer: sorry, I got distracted by something else
2021-05-01 14:06:26 +0200 <Solid> http://ix.io/3lum this should work (I've not tested it)
2021-05-01 14:06:52 +0200 <Solid> but really I would encourage you to (try to) get used to the default xmonad behaviour first
2021-05-01 14:06:57 +0200 <charpointer> ok
2021-05-01 14:07:02 +0200 <charpointer> how can i import nextScreen?
2021-05-01 14:07:09 +0200 <charpointer> it says its not found and i cant find any results on google
2021-05-01 14:07:17 +0200 <charpointer> Variable not in scope: nextScreen :: ((KeyMask, KeySym), X ())typecheck(-Wdeferred-out-of-scope-variables)
2021-05-01 14:07:18 +0200 <charpointer> i get this
2021-05-01 14:08:45 +0200 <charpointer> nvm i foudn it
2021-05-01 14:08:51 +0200 <charpointer> it was Xmonad.Actions.CycleWS
2021-05-01 14:08:57 +0200 <charpointer> im gonna reload and see if it works
2021-05-01 14:09:23 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net) (Remote host closed the connection)
2021-05-01 14:09:34 +0200 <Solid> it won't
2021-05-01 14:09:40 +0200 <Solid> because it'll cycle every time
2021-05-01 14:09:47 +0200 <Solid> oh they left already
2021-05-01 14:10:35 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net)
2021-05-01 14:11:21 +0200 <charpointer> Solid, so i have this and i can switch screens but when i try and switch workspace 1 and 2 it just ends up moving windows between monitors in a way that makes no sense
2021-05-01 14:11:25 +0200 <charpointer> is there any way of fixing this?
2021-05-01 14:11:58 +0200 <Solid> charpointer: I was not the one to tell you to use nextScreen, so no
2021-05-01 14:12:19 +0200 <charpointer> can i post my config
2021-05-01 14:12:21 +0200 <Solid> have you looked at what I posted earlier?
2021-05-01 14:12:26 +0200 <charpointer> because this is confusing
2021-05-01 14:13:08 +0200 <charpointer> when i switch betwee nworkspaces its just random as to which will appear on which monitor
2021-05-01 14:13:12 +0200 <charpointer> and it doesnt work at all
2021-05-01 14:13:18 +0200 <charpointer> its literally unusable like this
2021-05-01 14:13:51 +0200 <charpointer> https://pastebin.com/Lwc6KaGQ
2021-05-01 14:13:54 +0200 <charpointer> heres my config
2021-05-01 14:14:20 +0200 <oogeek> Solid: The suggestion I gave to charpointer is just similar to your suggestion. I think. You mention about first switch to screen 2 and then focus the relavant ws.
2021-05-01 14:14:33 +0200 <charpointer> can you guys look at my config
2021-05-01 14:14:48 +0200 <Solid> oogeek: your solution switches the screen every time, which is not what we want
2021-05-01 14:15:08 +0200 <charpointer> this is literally unusable
2021-05-01 14:15:20 +0200 <charpointer> and confuses the hell out of me when it switches randomly
2021-05-01 14:15:28 +0200 <charpointer> i just want it to be consistent
2021-05-01 14:15:30 +0200 <charpointer> either
2021-05-01 14:15:34 +0200 <Solid> it doesn't switch randomly
2021-05-01 14:15:39 +0200 <charpointer> YES it does
2021-05-01 14:15:43 +0200 <charpointer> or it makes no sense
2021-05-01 14:15:45 +0200 <Solid> sigh
2021-05-01 14:15:47 +0200 <oogeek> But then there need to be a function to detect the screenId, oh
2021-05-01 14:15:48 +0200 <oogeek> sigh
2021-05-01 14:15:53 +0200 <charpointer> i want either
2021-05-01 14:16:03 +0200 <Solid> oogeek: yes, like the one I posted earlier ;)
2021-05-01 14:16:05 +0200 <charpointer> A) 1-4 is on monitor 1, 5-8 on monitor 2 or
2021-05-01 14:16:15 +0200 <charpointer> B) independent workspaces for each monitor
2021-05-01 14:16:28 +0200 <charpointer> im fine w/ either but this is confusing
2021-05-01 14:16:31 +0200 <charpointer> rn
2021-05-01 14:17:11 +0200 <charpointer> if A is not possible, is B possible?
2021-05-01 14:17:34 +0200 <oogeek> charpointer: seriously, if you want to use a bar later, you may consider IndependentScreens. I thought you want to only display four workspaces on monitor 1. Filter the workspaces out is another way. Both A and B need some more code to do it.
2021-05-01 14:17:36 +0200 <Solid> sorry I'm not goint to waste any more of my time if I literally posted a solution and got ignored repeatedly when I told you to try it
2021-05-01 14:17:53 +0200 <charpointer> oogeek, how do i do independent screens then?
2021-05-01 14:18:38 +0200 <charpointer> since i want to use a bar either polybar or xmobar later on
2021-05-01 14:19:47 +0200mc47(~yecinem@89.246.239.190)
2021-05-01 14:20:10 +0200 <mc47> Is anyone here using dynamicSBs and could comment on this https://github.com/xmonad/xmonad-contrib/pull/463#issuecomment-830623727 ?
2021-05-01 14:20:26 +0200 <mc47> I've been scratching my head a lot to try and figure out what's the problem
2021-05-01 14:21:50 +0200 <oogeek> mc47: Although I don't use it, I am willing to test it out.
2021-05-01 14:24:53 +0200 <mc47[m]> I mean it would be cool to get more feedback on it
2021-05-01 14:25:10 +0200 <mc47[m]> I gotta rebase it though, gimme a few minutes
2021-05-01 14:26:58 +0200 <mc47[m]> That module enables bad posture in my case... I find myself unplugging the external monitor and laying on the bed with the laptop a lot with it, since I don't need to restart xmobar or anything, and things just work beautifully
2021-05-01 14:27:27 +0200 <mc47[m]> Except for when they don't and I need a M-q, but it's really rare
2021-05-01 14:28:38 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net) (Remote host closed the connection)
2021-05-01 14:29:09 +0200kelnoky(~shao@ip1f128ba7.dynamic.kabel-deutschland.de)
2021-05-01 14:29:28 +0200 <Solid> mh I've not felt the need for a bar on my second monitor yet
2021-05-01 14:29:35 +0200 <Solid> but maybe I'll set something up
2021-05-01 14:29:42 +0200 <Solid> getting this merged would be cool
2021-05-01 14:30:20 +0200 <mc47> my bar on the second montior is pretty small, and it helps overall with keeping track of things
2021-05-01 14:30:25 +0200 <mc47> I'll spam some screenshots
2021-05-01 14:30:36 +0200 <Solid> :D
2021-05-01 14:30:58 +0200 <Solid> btw, have you looked at https://github.com/xmonad/xmonad/pull/278/commits/7d43128753f3a9a8128346034997e4c0b456058d at all? I'd like to start squashing all the commits for the tutorial soon-ish
2021-05-01 14:31:20 +0200 <oogeek> Also, I think after May 16, I will have plenty of time to test new things out. Don't hesitate to ask me for some testing. :)
2021-05-01 14:32:02 +0200 <mc47> I skimmed it, I'll look thoroughly at it today
2021-05-01 14:32:50 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net)
2021-05-01 14:32:51 +0200 <mc47[m]> it looks like this when it's active but nothing on it (the star signals whether it's active)
2021-05-01 14:32:55 +0200mc47[m]uploaded an image: (574KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/lpcVwqEOdbaqcBPkaGlEqfpJ/image.png >
2021-05-01 14:33:22 +0200 <mc47[m]> And here, it has a window open, but it's not active
2021-05-01 14:33:25 +0200mc47[m]uploaded an image: (108KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/qeMCkGXMZXWjRWFGefZYtvaJ/image.png >
2021-05-01 14:34:09 +0200 <charpointer> how do i implement the IndependentScreens
2021-05-01 14:34:48 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net) (Remote host closed the connection)
2021-05-01 14:35:34 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net)
2021-05-01 14:40:48 +0200 <charpointer> oogeek, this looks like what i want but its very confusing and the example doesnt work
2021-05-01 14:40:58 +0200 <charpointer> or im not sure how to get it working rather
2021-05-01 14:44:29 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net) (Remote host closed the connection)
2021-05-01 14:46:55 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net)
2021-05-01 14:47:02 +0200 <charpointer> so i managed to setup it up yay
2021-05-01 14:47:17 +0200 <charpointer> IndependentScreens is perfect
2021-05-01 14:51:40 +0200 <oogeek> :)
2021-05-01 14:52:34 +0200 <charpointer> im using the Tall template, is there a way to resize specific windows in the split?
2021-05-01 14:52:48 +0200 <charpointer> like i can do mod + alt + arrows to resize the split
2021-05-01 14:52:52 +0200 <charpointer> is that possible?
2021-05-01 14:53:00 +0200 <charpointer> or are they static only
2021-05-01 14:53:22 +0200 <mc47> you'd want to look at X.L.ResizableTile
2021-05-01 14:54:14 +0200 <charpointer> ah ok
2021-05-01 14:56:46 +0200 <oogeek> mc47: Do you have any suggestions to this: https://github.com/xmonad/xmonad-contrib/issues/504 :)
2021-05-01 14:58:07 +0200 <mc47> Not really, at least not as a first glance
2021-05-01 14:58:42 +0200 <mc47> I'll try to get to it, but I'm a bit swamped at the moment... it's been a crazy, crazy couple of weeks
2021-05-01 15:00:07 +0200 <Solid> no pressure, take your time
2021-05-01 15:00:16 +0200 <oogeek> I really hope that more people would read the tutorial thoroughly after it comes out.
2021-05-01 15:00:31 +0200 <oogeek> So that many small problems can be solved immediately.
2021-05-01 15:02:08 +0200 <geekosaur> <cynic> people read tutorials? in particular, thoroughly? </cynic>
2021-05-01 15:02:14 +0200 <mc47> many people don't read
2021-05-01 15:02:26 +0200 <mc47> most of them, actually
2021-05-01 15:02:47 +0200 <mc47> but it gives RTFM rights, and that's awesome :D
2021-05-01 15:03:00 +0200 <oogeek> I learned to write haskell through a serious of erros in my code :) Still improving. And I find it more useful to just read the source code. Personally. :)
2021-05-01 15:03:07 +0200 <oogeek> errors*
2021-05-01 15:03:42 +0200 <oogeek> Well I do ready Arch Wiki thoroughly, haha.
2021-05-01 15:03:53 +0200 <mc47> yeah reading code definitely helps
2021-05-01 15:04:12 +0200 <oogeek> BTW I use Arch/ I use Arch BTW
2021-05-01 15:04:26 +0200 <mc47> and if you're learning haskell, I can't recommend hlint enough
2021-05-01 15:04:30 +0200 <Solid> I reckon people would read the tutorial if we aggressively told them to RTFM
2021-05-01 15:04:38 +0200 <Solid> but I don't think we'd want to be that abrasive
2021-05-01 15:05:54 +0200 <Liskni_si> mc47: "failed to create OS thread: Resource temporarily unavailable" looks like a GHC issue to me
2021-05-01 15:06:31 +0200 <Liskni_si> mc47: or even some system limits like the kernel applying some antiforkbomb protection or some magic like that
2021-05-01 15:07:12 +0200 <Liskni_si> mc47: I haven't managed to migrate to your DynamicBars yet, but I've been launching xmobar dynamically on rescreen for years and never saw anything like this
2021-05-01 15:08:12 +0200 <mc47> huh, maybe because of the threaded runtime or something like that?
2021-05-01 15:08:23 +0200 <oogeek> mc47: A very personal question: why do you still use a 4.x kernel with Manjaro. Sorry if this question is too personal.
2021-05-01 15:08:32 +0200 <Liskni_si> mc47: I do have the threaded runtime as well
2021-05-01 15:08:46 +0200 <oogeek> I mean if the case is exactly as Liskni_si said, maybe it is the cause?
2021-05-01 15:08:48 +0200 <Liskni_si> probably not for all those years though
2021-05-01 15:08:57 +0200 <mc47> Liskni_si these are the flags I'm setting "-threaded -rtsopts -with-rtsopts=-N -Wall"
2021-05-01 15:09:11 +0200 <Liskni_si> I don't have the -N thing
2021-05-01 15:09:18 +0200 <mc47> oogeek, phew, idk really, I just forget to update my kernel
2021-05-01 15:09:24 +0200 <geekosaur> then you're running with 1 OS thread
2021-05-01 15:09:58 +0200 <charpointer> how do i start xmobar from inside xmonad?
2021-05-01 15:10:05 +0200 <charpointer> i have my xmobarrc file
2021-05-01 15:10:34 +0200 <Liskni_si> geekosaur: yeah I probably do
2021-05-01 15:10:49 +0200 <oogeek> charpointer: Pretty easy, you define and call it within the "main" function. You can find lots of examples online. Also in the tutorial.
2021-05-01 15:10:56 +0200 <Liskni_si> I only use the threaded runtime to be able to use async to kill all xmobars in parallel
2021-05-01 15:10:58 +0200 <charpointer> could u link me to one? oogeek
2021-05-01 15:11:12 +0200 <oogeek> Let me find the link to the new tutorial, haha.
2021-05-01 15:11:13 +0200 <Liskni_si> (more like "concurrently" than in parallel)
2021-05-01 15:11:43 +0200 <charpointer> thank
2021-05-01 15:12:42 +0200 <oogeek> charpointer: please read it thoroughly: https://github.com/xmonad/xmonad/blob/ffab9f63890ed57a57d6185c1280a2271d21f348/tutorial.md
2021-05-01 15:12:49 +0200 <oogeek> It is really a nice tutorial.
2021-05-01 15:12:53 +0200 <Liskni_si> so apparently I've had -threaded since 2012
2021-05-01 15:12:55 +0200 <charpointer> oki
2021-05-01 15:21:54 +0200 <mc47> Liskni_si apparently it is due to " -rtsopts -with-rtsopts=-N"
2021-05-01 15:22:00 +0200 <mc47> I found this issue https://github.com/haskell/unix/issues/62
2021-05-01 15:22:46 +0200 <geekosaur> yes, don't forkProcess with threads
2021-05-01 15:23:01 +0200 <geekosaur> it'll break and there is no fix (you can't do this reliably even in C)
2021-05-01 15:23:26 +0200 <mc47> TIL (again) that I shouldn't slap flags willy-nilly without knowing what they do
2021-05-01 15:23:38 +0200 <mc47> alrighty then, thanks!
2021-05-01 15:23:39 +0200 <Solid> not using that will apparently also stop breaking the prompt
2021-05-01 15:23:43 +0200 <Solid> so win-win :>
2021-05-01 15:23:46 +0200 <mc47> that too
2021-05-01 15:25:38 +0200 <oogeek> mc47: So is the xmobar issued you mentioned caused by this?
2021-05-01 15:25:40 +0200 <geekosaur> I think what's happening is it hits the -N limit in the child because it doesn't know all the child threads vanished on fork()
2021-05-01 15:26:11 +0200 <geekosaur> so it's not actually the OS returning EAGAIN but the RTS's own limiting
2021-05-01 15:26:45 +0200 <geekosaur> (the broken part being that one can't know what resources those other threads had e.g. locked, to unlock them in the child)
2021-05-01 15:26:55 +0200 <Liskni_si> uh, is there some other mechanism to fork+exec that works with -N or does GHC really not support launching processes with -N?
2021-05-01 15:27:23 +0200 <geekosaur> Unix doesn't support it. Read what I just wrote
2021-05-01 15:28:21 +0200 <geekosaur> when you fork(), all threads go away. but whatever they had locked or etc. is still locked, and you can't know what was locked to unlock it.
2021-05-01 15:28:44 +0200 <Liskni_si> geekosaur: yeah but none of that is really an issue if you're going to exec immediately
2021-05-01 15:28:51 +0200 <geekosaur> if you exec() immediately this usually isn't a problem, unless the exec fails and then you hit one of the locks trying to tell the user
2021-05-01 15:29:12 +0200 <Liskni_si> you aren't supposed to tell the user in the child process anyway
2021-05-01 15:29:22 +0200 <Liskni_si> you either exec or _exit
2021-05-01 15:31:09 +0200 <geekosaur> but then you can't reliably tell the user why, only the child has that information
2021-05-01 15:33:12 +0200 <geekosaur> you can't use the exit code to pass it up unless (a) errnos are guaranteed < 128 (b) you somehow keep track of time or etc. so you know the difference between "child exited on failed exec" vs. "child exited after exec"
2021-05-01 15:33:32 +0200 <geekosaur> this stuff is hairy :(
2021-05-01 15:33:45 +0200 <mc47> geekosaur do you have a good resource to read about these things? it seems really complicated, and really interesting
2021-05-01 15:33:57 +0200 <geekosaur> @where apue
2021-05-01 15:33:58 +0200 <lambdabot> I know nothing about apue.
2021-05-01 15:34:01 +0200 <geekosaur> bah
2021-05-01 15:34:24 +0200 <Liskni_si> seems like System.Process deals with it by having the fork in C
2021-05-01 15:34:34 +0200 <mc47> geekosaur got it! Thanks
2021-05-01 15:34:43 +0200 <geekosaur> https://www.amazon.com/Advanced-Programming-UNIX-Environment-3rd/dp/0321637739
2021-05-01 15:35:24 +0200 <Liskni_si> mc47: I learned most of what I know from man and the texinfo shipped with glibc
2021-05-01 15:35:55 +0200 <Liskni_si> (and years of trial and error :-/)
2021-05-01 15:37:13 +0200 <mc47> it does seem like something that requires a lot of trial and error :)
2021-05-01 15:37:21 +0200 <Liskni_si> mc47: anyway, why did you use -with-rtsopts=-N then?
2021-05-01 15:37:36 +0200 <mc47> umm, I don't remember
2021-05-01 15:37:57 +0200 <geekosaur> I wouldn;t recommend multiple threads with X11 anyway, it doesn't handle threads well. which may be why the Submaps issue
2021-05-01 15:38:16 +0200kelnoky(~shao@ip1f128ba7.dynamic.kabel-deutschland.de) (Quit: WeeChat 3.1)
2021-05-01 15:38:31 +0200 <mc47> well, it probably went something like this "I know close to nothing about cabal -> Oh cool, this is a template -> oh cool, xmonad works now, let's move on"
2021-05-01 15:38:52 +0200 <mc47> geekosaur the submaps issue is solved after removing the flags
2021-05-01 15:38:59 +0200 <geekosaur> yes
2021-05-01 15:39:11 +0200 <oogeek> mc47: So you can close that issue
2021-05-01 15:40:14 +0200 <oogeek> About submaps, iirc
2021-05-01 15:40:37 +0200 <geekosaur> at minimum you'd want to document it
2021-05-01 15:40:47 +0200 <mc47> oogeek I'll leave it open for now, if anyone wants to dig around and understand what's happening, and maybe as a reference
2021-05-01 15:40:51 +0200 <Liskni_si> geekosaur: is that really an issue though? would Haskell's type system even let you run X code in another thread?
2021-05-01 15:41:08 +0200 <Liskni_si> I mean, obviously it would if you really tried
2021-05-01 15:41:15 +0200 <Liskni_si> but it won't happen by accident
2021-05-01 15:41:29 +0200 <Liskni_si> you can't fork and then still have the X monad
2021-05-01 15:41:31 +0200 <geekosaur> also we want to see if -threaded with -N 1 is safe (although Liskni_si seems to have that config?) because the threaded runtime is more reliable
2021-05-01 15:42:30 +0200 <Liskni_si> (also worth mentioning that xmobar actually uses threads and X11, but it means Xlib needs to be told very early to be thread-aware and use locks everywhere, and it possibly adds overhead)
2021-05-01 15:42:31 +0200 <geekosaur> you could get the Display out of it first, though
2021-05-01 15:42:51 +0200 <geekosaur> and in fact copy the X monad, you'd just be working with your own private copy of it afterward
2021-05-01 15:42:55 +0200 <Liskni_si> yeah if you grab the Display, fork and then issue X11 calls in IO, then you're fucked, yeah
2021-05-01 15:43:56 +0200 <geekosaur> the interesting part is I didn't think Submaps even used threads, so it shouldn't care
2021-05-01 15:46:24 +0200 <Liskni_si> mc47: if you can reliably (or even in 1 out of 5 tried) reproduce the "failed to create OS thread: Resource temporarily unavailable" issue, it might be worth trying to reproduce it under strace -f, and check if it's really EAGAIN from the clone syscall or something
2021-05-01 15:46:37 +0200 <Liskni_si> that might help move https://github.com/haskell/unix/issues/62 forward ;-)
2021-05-01 15:47:21 +0200 <mc47> sure, how would I do it under strace though?
2021-05-01 15:48:00 +0200 <Liskni_si> you'd bind restarting xmobars to a key so that you don't have to restart xmonad again and again
2021-05-01 15:48:14 +0200 <Liskni_si> and then you'd strace -f -p <xmonad pid> -o /tmp/trace1
2021-05-01 15:48:27 +0200 <Liskni_si> and then you'd hit the keybinding again and again
2021-05-01 15:48:39 +0200 <Liskni_si> perhaps restarting the strace every time it doesn't fail to avoid all the noise
2021-05-01 15:49:55 +0200 <mc47> alright, I'll hopefuly get to it soon-ish
2021-05-01 15:50:21 +0200 <charpointer> where is withEasySB from?
2021-05-01 15:50:27 +0200 <charpointer> oogeek
2021-05-01 15:50:52 +0200 <Liskni_si> mc47: yeah no pressure, just thought it'd be nice as you seem to be one of a few who have a reproducer :-)
2021-05-01 15:51:42 +0200 <mc47> charpointer you'd need the git version for that. I believe there are a lot of comments that tell you what to do if you're not on it
2021-05-01 15:51:48 +0200 <oogeek> charpointer: it comes from XMonad.Hooks.StatusBar from the git version of xmonad-contrib
2021-05-01 15:51:50 +0200 <mc47> Liskni_si yeah definitely!
2021-05-01 15:52:18 +0200 <charpointer> ok, well where do i import this from then
2021-05-01 15:52:19 +0200 <charpointer> statusBar
2021-05-01 15:54:13 +0200 <oogeek> Liskni_si: I am also curious to know how to only restart xmobar. Can you provide any hints? Sorry that I am a bit dumb.
2021-05-01 15:56:37 +0200 <mc47> oogeek just call the function that restarts them, which isn't exported ATM, but that's fine
2021-05-01 15:57:19 +0200 <oogeek> mc47: You mean the function from X.H.StatusBar?
2021-05-01 15:57:26 +0200 <mc47> yeah
2021-05-01 15:57:48 +0200 <oogeek> Thanks, let me read the source code again.
2021-05-01 15:58:22 +0200 <mc47> it's updateSBs is what you want to look at
2021-05-01 15:58:55 +0200 <mc47> s/it's/
2021-05-01 15:59:50 +0200 <mc47> that and killAllStatusBars
2021-05-01 16:02:53 +0200 <oogeek> Thanks a lot.
2021-05-01 16:03:16 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net) (Remote host closed the connection)
2021-05-01 16:13:46 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net)
2021-05-01 16:14:01 +0200 <charpointer> ok, so ive setup xmobar and everything works apart from the workspaces which keep saying Updating..
2021-05-01 16:14:09 +0200 <charpointer> any ideas what i did wrong?
2021-05-01 16:14:11 +0200 <charpointer> oogeek
2021-05-01 16:14:43 +0200 <oogeek> Please post your config: xmonad.hs and xmobarrc
2021-05-01 16:14:50 +0200 <charpointer> where to?
2021-05-01 16:14:58 +0200 <oogeek> pastebin or something else
2021-05-01 16:15:02 +0200 <charpointer> ok
2021-05-01 16:16:01 +0200 <charpointer> xmonad hs - https://pastebin.com/D2FyyhLZ
2021-05-01 16:17:11 +0200 <charpointer> https://pastebin.com/11V3BYFW
2021-05-01 16:17:13 +0200 <charpointer> xmobar rc
2021-05-01 16:18:33 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net) (Remote host closed the connection)
2021-05-01 16:19:51 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net)
2021-05-01 16:20:05 +0200 <oogeek> charpointer I find the issue. Wait a few sec, let me paste something.
2021-05-01 16:20:10 +0200 <charpointer> okay
2021-05-01 16:20:35 +0200 <oogeek> Actually I just finished a Pull Request on multiple monitor example with statusbar, haha
2021-05-01 16:21:02 +0200 <charpointer> the bar doesnt need to be on both monitors
2021-05-01 16:21:10 +0200 <charpointer> in fact i prefer it not to be
2021-05-01 16:21:17 +0200 <charpointer> but idk why my thing says updating constantly
2021-05-01 16:22:00 +0200 <oogeek> charpointer: First make it clear, how many bars do you want?
2021-05-01 16:22:05 +0200 <charpointer> 1
2021-05-01 16:22:26 +0200 <oogeek> Ok, I will give an example that is easy to expand to 2,... in the future.
2021-05-01 16:22:33 +0200 <charpointer> ok
2021-05-01 16:27:09 +0200 <oogeek> charpointer: https://fars.ee/IXnK
2021-05-01 16:27:48 +0200 <charpointer> oogeek, i dont have the git version
2021-05-01 16:27:54 +0200 <charpointer> so no emwhFullscreen or withSB
2021-05-01 16:28:09 +0200 <charpointer> nice
2021-05-01 16:28:14 +0200 <charpointer> wait wrong window
2021-05-01 16:28:16 +0200 <charpointer> ignore that
2021-05-01 16:29:08 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net) (Remote host closed the connection)
2021-05-01 16:30:16 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net)
2021-05-01 16:30:29 +0200 <charpointer> ok so xmonad broke and pretty much crashed and idk why
2021-05-01 16:30:31 +0200 <charpointer> whatever
2021-05-01 16:30:32 +0200 <charpointer> anyway
2021-05-01 16:30:40 +0200 <charpointer> oogeek, i dont have the git version
2021-05-01 16:30:43 +0200 <charpointer> how do i get it?
2021-05-01 16:31:59 +0200 <charpointer> i only have the version from stack
2021-05-01 16:32:00 +0200 <charpointer> i think
2021-05-01 16:32:41 +0200notis(~notis@85.203.44.182) (Ping timeout: 240 seconds)
2021-05-01 16:35:05 +0200notis(~notis@185.51.134.222)
2021-05-01 16:36:30 +0200 <oogeek> charpointer: What distro do you use? Also this might be useful: https://brianbuccola.com/how-to-install-xmonad-and-xmobar-via-stack/ . And if you read this guide, please skip the first 3 steps!!!
2021-05-01 16:40:08 +0200 <charpointer> arch
2021-05-01 16:41:10 +0200 <charpointer> oogeek, wait do i need xmonad from the arch packages as well as it cloned?
2021-05-01 16:41:12 +0200 <charpointer> im so confused
2021-05-01 16:41:28 +0200 <oogeek> charpointer: Then here are my suggestions: Step 1: Install stack-static from AUR. Step 2: follow the guide
2021-05-01 16:41:50 +0200 <oogeek> charpointer: you don't need xmonad, xmobar, or xmonad-contrib from arch packages.
2021-05-01 16:42:01 +0200 <oogeek> I just don't use any of them.
2021-05-01 16:42:05 +0200 <charpointer> ok so i can remove it
2021-05-01 16:42:21 +0200 <charpointer> ill log into i3 since removing xmonad inside xmonad is .. weird
2021-05-01 16:42:26 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net) (Remote host closed the connection)
2021-05-01 16:43:01 +0200 <Solid> I've just squashed down the tutorial (no conflicts!), getting ready to merge if people are happy
2021-05-01 16:43:01 +0200charpointer(~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net)
2021-05-01 16:43:26 +0200 <Solid> I've left the NOTEs and TODOs in the source file for now, with the hope that we'll remember removing them with the release :)
2021-05-01 16:44:10 +0200 <charpointer> oogeek, i installed stack thru the wget before
2021-05-01 16:44:12 +0200 <charpointer> how do i remove it
2021-05-01 16:44:32 +0200sagax(~sagax_nb@213.138.71.146)
2021-05-01 16:49:19 +0200 <oogeek> charpointer: Sorry but I have no idea about it. Maybe you can review the install script that you use and remove the files?
2021-05-01 17:06:07 +0200mniip(mniip@freenode/staff/mniip) (Ping timeout: 630 seconds)
2021-05-01 17:06:23 +0200oogeek(~szz_@138.199.23.129) (Quit: leaving)
2021-05-01 17:52:44 +0200growpotkin(~growpotki@130-45-30-154.dyn.grandenetworks.net)
2021-05-01 17:56:19 +0200ADG1089(~aditya@223.226.237.158)
2021-05-01 17:56:34 +0200mc47(~yecinem@89.246.239.190) (Quit: Leaving)
2021-05-01 17:59:39 +0200ADG1089(~aditya@223.226.237.158) (Client Quit)
2021-05-01 18:13:37 +0200ADG1089(~aditya@223.226.237.158)
2021-05-01 18:32:02 +0200ADG1089(~aditya@223.226.237.158) (Quit: Konversation terminated!)
2021-05-01 18:45:26 +0200stefur(~stefur@h-240-34.A328.priv.bahnhof.se)
2021-05-01 19:06:02 +0200stefur(~stefur@h-240-34.A328.priv.bahnhof.se) (Ping timeout: 246 seconds)
2021-05-01 19:23:33 +0200materiyolo(~materiyol@112.204.174.249) (Read error: Connection reset by peer)
2021-05-01 19:31:25 +0200hugo2(~hugo@cpc75392-sotn16-2-0-cust240.15-1.cable.virginm.net)
2021-05-01 19:37:06 +0200notis(~notis@185.51.134.222) (Ping timeout: 240 seconds)
2021-05-01 19:39:16 +0200geekosaur(930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed)
2021-05-01 19:39:39 +0200geekosaur(930099da@rrcs-147-0-153-218.central.biz.rr.com)
2021-05-01 19:49:54 +0200hugo2(~hugo@cpc75392-sotn16-2-0-cust240.15-1.cable.virginm.net) (Quit: WeeChat 2.3)
2021-05-01 19:58:49 +0200mohab(~mohab@156.223.200.10) (Ping timeout: 252 seconds)
2021-05-01 20:00:27 +0200hugo2(~hugo@cpc75392-sotn16-2-0-cust240.15-1.cable.virginm.net)
2021-05-01 20:01:31 +0200hugo2(~hugo@cpc75392-sotn16-2-0-cust240.15-1.cable.virginm.net) (Client Quit)
2021-05-01 20:02:42 +0200mohab(~mohab@156.223.200.10)
2021-05-01 20:23:59 +0200cfricke(~cfricke@unaffiliated/cfricke) (Ping timeout: 260 seconds)
2021-05-01 20:43:45 +0200cynapse(~chris@d24-141-165-72.home.cgocable.net)
2021-05-01 21:00:58 +0200mohab(~mohab@156.223.200.10) (Ping timeout: 252 seconds)
2021-05-01 21:01:56 +0200mohab(~mohab@156.223.200.10)
2021-05-01 21:40:33 +0200stefur(~stefur@h-240-34.A328.priv.bahnhof.se)
2021-05-01 21:54:46 +0200growpotk-(~growpotki@130-45-30-154.dyn.grandenetworks.net)
2021-05-01 22:10:02 +0200drl(~l@2600:1700:8360:3870:58d5:2157:5a1a:a89) (Quit: Leaving)
2021-05-01 22:44:19 +0200p_l(p_l@gateway/web/irccloud.com/x-hnkuytvllzgyxeik) (Ping timeout: 250 seconds)
2021-05-01 22:45:03 +0200p_l(p_l@gateway/web/irccloud.com/x-tfluxgvgpkthpjvl)
2021-05-01 22:45:49 +0200rizary(sid220347@gateway/web/irccloud.com/x-fdmmbtrvbseviuro) (Ping timeout: 245 seconds)
2021-05-01 22:47:14 +0200rizary(sid220347@gateway/web/irccloud.com/x-zohgjjsthivlaoum)
2021-05-01 22:49:32 +0200growpotk-(~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 240 seconds)
2021-05-01 22:49:39 +0200lally(sid388228@gateway/web/irccloud.com/x-mustwksujnqlrayq) (Ping timeout: 246 seconds)
2021-05-01 22:50:03 +0200dsal(sid13060@gateway/web/irccloud.com/x-rbhhbvpkgeegolrt) (Ping timeout: 260 seconds)
2021-05-01 22:50:03 +0200edmundnoble(sid229620@gateway/web/irccloud.com/x-emmrpthgulpebvrs) (Ping timeout: 260 seconds)
2021-05-01 22:50:14 +0200rizary(sid220347@gateway/web/irccloud.com/x-zohgjjsthivlaoum) (Max SendQ exceeded)
2021-05-01 22:50:55 +0200rizary(sid220347@gateway/web/irccloud.com/x-revgodckvfrudozr)
2021-05-01 22:51:14 +0200feepo(sid28508@gateway/web/irccloud.com/x-scbvwvhfmythcfru) (Ping timeout: 245 seconds)
2021-05-01 22:51:28 +0200lally(sid388228@gateway/web/irccloud.com/x-epmeawsrwfhvjugi)
2021-05-01 22:51:49 +0200edmundnoble(sid229620@gateway/web/irccloud.com/x-qbknwyguzexjcemb)
2021-05-01 22:54:21 +0200rizary(sid220347@gateway/web/irccloud.com/x-revgodckvfrudozr) (Max SendQ exceeded)
2021-05-01 22:54:28 +0200feepo(sid28508@gateway/web/irccloud.com/x-wwogwwfwpqlxwlgl)
2021-05-01 22:55:26 +0200dsal(sid13060@gateway/web/irccloud.com/x-zounpjlomilsmhqz)
2021-05-01 22:55:58 +0200rizary(sid220347@gateway/web/irccloud.com/x-uzljfsveodeuccfd)
2021-05-01 23:22:48 +0200 <davve_> whatever WM I try I always end up coming back to xmonad for the best defaults and best experinece (other than configuring it which is hell for me, even as a developer by trade :) )
2021-05-01 23:22:57 +0200 <davve_> really need to learn haskell
2021-05-01 23:31:40 +0200stefur(~stefur@h-240-34.A328.priv.bahnhof.se) (Ping timeout: 252 seconds)
2021-05-01 23:33:29 +0200amiri(~amiri@cpe-76-91-154-9.socal.res.rr.com) (Read error: Connection reset by peer)
2021-05-01 23:34:46 +0200wonko7(~wonko7@62.115.229.50) (Ping timeout: 240 seconds)
2021-05-01 23:36:46 +0200notis(~notis@185.51.134.222)
2021-05-01 23:41:28 +0200growpotk-(~growpotki@130-45-30-154.dyn.grandenetworks.net)
2021-05-01 23:51:42 +0200wht(~meep@havoc.proulx.com)