2022/03/11

2022-03-11 00:25:24 +0100zawaken(~zawaken@user/zawaken)
2022-03-11 00:51:33 +0100seschwar(~seschwar@user/seschwar) (Quit: :wq)
2022-03-11 01:03:09 +0100bfrk(~Thunderbi@i59F7ABAD.versanet.de) (Ping timeout: 252 seconds)
2022-03-11 01:05:07 +0100bfrk(~Thunderbi@2001:9e8:356:fe00:1928:a910:1b2f:d635)
2022-03-11 01:24:23 +0100_bfrk(~Thunderbi@2001:9e8:36d:4f00:9fd8:b7b4:631b:9e64)
2022-03-11 01:26:00 +0100bfrk(~Thunderbi@2001:9e8:356:fe00:1928:a910:1b2f:d635) (Ping timeout: 250 seconds)
2022-03-11 01:26:00 +0100_bfrkbfrk
2022-03-11 01:46:48 +0100bla(~bla@79.191.74.122.ipv4.supernova.orange.pl) (Remote host closed the connection)
2022-03-11 02:26:53 +0100bfrk(~Thunderbi@2001:9e8:36d:4f00:9fd8:b7b4:631b:9e64) (Ping timeout: 256 seconds)
2022-03-11 02:37:00 +0100defjam(~eb0t@90.210.89.170) (Ping timeout: 240 seconds)
2022-03-11 02:39:04 +0100defjam(~eb0t@90.203.123.221)
2022-03-11 02:43:01 +0100benin(~benin@183.82.26.94)
2022-03-11 03:18:17 +0100mvk(~mvk@2607:fea8:5cc3:7e00::45ee) (Ping timeout: 240 seconds)
2022-03-11 03:32:51 +0100nomadxxxx3(~lanomadx@208.91.64.217) (Ping timeout: 256 seconds)
2022-03-11 03:34:45 +0100nomadxx3(~lanomadx@69.167.38.254)
2022-03-11 03:55:50 +0100ectospasm(~ectospasm@user/ectospasm)
2022-03-11 04:03:57 +0100banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds)
2022-03-11 04:09:48 +0100td_(~td@94.134.91.38) (Ping timeout: 240 seconds)
2022-03-11 04:11:48 +0100td_(~td@94.134.91.18)
2022-03-11 04:29:19 +0100banc(banc@gateway/vpn/airvpn/banc)
2022-03-11 04:30:24 +0100zawaken(~zawaken@user/zawaken) (Ping timeout: 256 seconds)
2022-03-11 04:31:29 +0100zawaken(~zawaken@user/zawaken)
2022-03-11 04:55:31 +0100incertia(~incertia@207.98.163.88) (Ping timeout: 272 seconds)
2022-03-11 05:00:03 +0100haasn(~nand@haasn.dev) (Quit: ZNC 1.7.5+deb4 - https://znc.in)
2022-03-11 05:01:25 +0100haasn(~nand@haasn.dev)
2022-03-11 05:03:25 +0100incertia(~incertia@207.98.163.88)
2022-03-11 05:48:36 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds)
2022-03-11 08:12:42 +0100incertia(~incertia@207.98.163.88) (Ping timeout: 252 seconds)
2022-03-11 08:13:01 +0100incertia(~incertia@207.98.163.88)
2022-03-11 08:13:33 +0100bfrk(~Thunderbi@2001:9e8:36d:4f00:9fd8:b7b4:631b:9e64)
2022-03-11 08:14:44 +0100dschrempf(~dominik@2a02:8389:100:e100:d670:f073:3fe1:a27e)
2022-03-11 08:35:38 +0100twiclo1(~twiclo@vpn.utahbroadband.com) (Quit: WeeChat 3.4)
2022-03-11 08:39:24 +0100Guest17(~Guest17@185.183.97.187)
2022-03-11 08:41:24 +0100 <Guest17> hey Solid you online? wanted to ask something about mapping workspace keys to "asdf" letters using EZConfig, I have something like ("M-a", addName "workspace 1" $ (windows $ W.view "1"))
2022-03-11 08:54:59 +0100dschrempf(~dominik@2a02:8389:100:e100:d670:f073:3fe1:a27e) (Quit: WeeChat 3.3)
2022-03-11 08:55:23 +0100dschrempf(~dominik@2a02:8389:100:e100:d670:f073:3fe1:a27e)
2022-03-11 08:55:59 +0100 <ArshiaAghaei[m]> https://xmonad.org/TUTORIAL.html
2022-03-11 08:56:09 +0100 <ArshiaAghaei[m]> This looks very different to the xmonad.hs templates
2022-03-11 08:56:18 +0100 <ArshiaAghaei[m]> Which one is more up to date
2022-03-11 09:07:49 +0100 <Solid> ArshiaAghaei[m]: the tutorial is more up-to-date; you shouldn't really use the wiki anymore (and especially not the template!)
2022-03-11 09:07:58 +0100 <Solid> Guest17: ask away :)
2022-03-11 09:08:09 +0100 <ArshiaAghaei[m]> Solid: Thanks!
2022-03-11 09:11:56 +0100 <Guest17> Solid hi wanted to ask something about mapping workspace keys to "asdf" letters using EZConfig, I have something like ("M-a", addName "workspace 1" $ (windows $ W.view "1"))
2022-03-11 09:12:12 +0100 <Guest17> doesn't work though
2022-03-11 09:18:52 +0100 <Solid> what exactly does not work?
2022-03-11 09:20:32 +0100dschrempf(~dominik@2a02:8389:100:e100:d670:f073:3fe1:a27e) (Ping timeout: 240 seconds)
2022-03-11 09:21:44 +0100dschrempf(~dominik@2a02:8389:100:e100:1099:d420:1032:362c)
2022-03-11 09:31:07 +0100 <Guest17> pressing Mod-a doesn't switch to that workspace, does nothing.
2022-03-11 09:39:01 +0100 <Solid> Guest17: have you restarted xmonad? is your first workspace actually called "1"?
2022-03-11 09:41:14 +0100dschrempf(~dominik@2a02:8389:100:e100:1099:d420:1032:362c) (Ping timeout: 252 seconds)
2022-03-11 09:50:15 +0100mc47(~mc47@xmonad/TheMC47)
2022-03-11 09:51:35 +0100 <lyiriyah[m]> <Guest17> "Solid hi wanted to ask something..." <- How are your workspaces defined?
2022-03-11 10:00:06 +0100unrooted(~unrooted@2001:470:69fc:105::a4a) (Quit: You have been kicked for being idle)
2022-03-11 10:00:17 +0100liskin[m](~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
2022-03-11 10:05:41 +0100 <Guest17> Solid lyiriyah[m] oh, I though I was referring to workspace index instead of name, smh, thanks guys!
2022-03-11 10:05:56 +0100liskin[m](~liskinmat@2001:470:69fc:105::768)
2022-03-11 10:07:07 +0100 <Guest17> ok now it works!
2022-03-11 10:08:29 +0100 <Solid> the workspace index _is_ the name of the workspace ;)
2022-03-11 10:08:50 +0100 <Guest17> thanks :)
2022-03-11 10:16:06 +0100 <Guest17> Solid what would be an elegant way to achieve something like DWM tags, currently I am using bringWindow functionality of XMonad when I need something by main window, I hate switching back and forth between workspaces, rather stay in one workspace and bring/send windows. Is there a way to send back the window I brought using bringWindow or I am
2022-03-11 10:16:07 +0100 <Guest17> thinking maybe CopyWindow function with prompt to select the window I want to bring and just delete it afterwards so it stays in it's original workspace?
2022-03-11 10:23:44 +0100 <Solid> that could work yeah
2022-03-11 10:23:59 +0100 <Solid> could probably reuse the prompt in X.P.Window for that and just switch out what to do after a match has been found
2022-03-11 10:25:19 +0100 <Guest17> thanks will take a look
2022-03-11 10:25:28 +0100 <Guest17> (y)
2022-03-11 10:31:01 +0100Guest17(~Guest17@185.183.97.187) (Quit: Client closed)
2022-03-11 10:31:35 +0100jeeeun(~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2022-03-11 10:32:10 +0100jeeeun(~jeeeun@78.40.148.178)
2022-03-11 11:39:07 +0100dschrempf(~dominik@2a02:8389:100:e100:bd3d:cf84:df7c:e927)
2022-03-11 12:24:52 +0100dschrempf(~dominik@2a02:8389:100:e100:bd3d:cf84:df7c:e927) (Ping timeout: 268 seconds)
2022-03-11 13:38:14 +0100 <geekosaur> there is https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Actions-WindowBringer.html
2022-03-11 13:38:38 +0100 <geekosaur> oh, I see you found that
2022-03-11 14:48:20 +0100 <ArshiaAghaei[m]> How do I change the terminal shortcut to "M-Return"
2022-03-11 14:48:57 +0100 <ArshiaAghaei[m]> I can't seem to find the functions list
2022-03-11 14:49:10 +0100 <ArshiaAghaei[m]> also wanna change the default terminal
2022-03-11 14:49:28 +0100 <geekosaur> the default terminal is an entry in the config record
2022-03-11 14:49:32 +0100 <Solid> ArshiaAghaei[m]: it's in the EZConfig documentation: https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-EZConfig.html#v:mkKeymap
2022-03-11 14:49:41 +0100 <Solid> tl;dr: "<Return>"
2022-03-11 14:50:41 +0100 <ArshiaAghaei[m]> How do I find mappings?
2022-03-11 14:50:47 +0100 <ArshiaAghaei[m]> Default ones
2022-03-11 14:50:57 +0100 <ArshiaAghaei[m]> Also change the default terminal to my own
2022-03-11 14:51:27 +0100 <geekosaur> https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs#L186-L239 this is the list of default bindings (using old style, not additionalKeysP)
2022-03-11 14:51:30 +0100 <Solid> You can press M-? to get an xmessage of the default bindings
2022-03-11 14:51:41 +0100 <geekosaur> terminal is just an entry in the record
2022-03-11 14:51:46 +0100 <ArshiaAghaei[m]> Solid: TY was looking for that
2022-03-11 14:52:00 +0100 <geekosaur> main =xmonad def { terminal= "alacritty", … }
2022-03-11 14:52:24 +0100 <ArshiaAghaei[m]> Alright ty
2022-03-11 14:57:45 +0100 <ArshiaAghaei[m]> windows W.swapMaster works as the new keybinding method call?
2022-03-11 15:06:15 +0100 <geekosaur> that's the original one for mod-enter. the one you want is https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs#L187
2022-03-11 15:06:28 +0100 <geekosaur> you may want to move swapMaster somewhere else
2022-03-11 15:06:45 +0100 <geekosaur> (although tbh I've never used that binding except during testing)
2022-03-11 15:09:02 +0100 <geekosaur> if you're wondering, terminal is a configuration option because various contribs also use it
2022-03-11 15:09:16 +0100 <geekosaur> there's a spawnInTerminal somewhere, for example
2022-03-11 15:10:08 +0100 <ArshiaAghaei[m]> geekosaur: Yeah but does that remove that specific binding?
2022-03-11 15:10:19 +0100 <geekosaur> overrides it, yes
2022-03-11 15:10:27 +0100 <geekosaur> you're replacing bindings
2022-03-11 15:10:29 +0100 <ArshiaAghaei[m]> Alright good then
2022-03-11 15:10:35 +0100 <ArshiaAghaei[m]> ty
2022-03-11 15:12:27 +0100 <ArshiaAghaei[m]> XMonad just doesn't run now
2022-03-11 15:12:33 +0100 <ArshiaAghaei[m]> Lemme show the xmonad.hs
2022-03-11 15:13:00 +0100 <geekosaur> you might also run xmonad --recompile in a terminal and pastebin the output
2022-03-11 15:13:11 +0100 <geekosaur> @where paste
2022-03-11 15:13:11 +0100 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2022-03-11 15:14:30 +0100ArshiaAghaei[m]sent a hs code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/17a14a79ff9dfc1dae5a2515d3c258a71552…
2022-03-11 15:14:54 +0100 <ArshiaAghaei[m]> I did copy paste what was on that website
2022-03-11 15:15:31 +0100 <lyiriyah[m]> Can you paste your xmonad.hs https://paste.tomsmeding.com
2022-03-11 15:15:53 +0100 <geekosaur> (1) it was conf, not c (2) and right, that won't work with additionalKeysP because it isn't passed the configuration.
2022-03-11 15:15:54 +0100 <lyiriyah[m]> * your xmonad.hs here: https://paste.tomsmeding.com
2022-03-11 15:17:05 +0100 <ArshiaAghaei[m]> https://paste.tomsmeding.com/SdPqrjOC
2022-03-11 15:17:27 +0100 <geekosaur> you may be better off just listing youtr terminal there rather than trying to retrieve it fromthe config; otherwise you need to refactor so your config record is a binding you can refer to
2022-03-11 15:21:23 +0100 <ArshiaAghaei[m]> <geekosaur> "(1) it was conf, not c (2) and..." <- How do I fix that?
2022-03-11 15:21:43 +0100dschrempf(~dominik@2a02:8389:100:e100:b354:d491:299f:8d)
2022-03-11 15:22:52 +0100 <geekosaur> what I just said, just put your terminal there: `spawn "alacritty"` or whatever instead of `spawn $ terminal conf`
2022-03-11 15:23:08 +0100 <ArshiaAghaei[m]> oh I gotcha
2022-03-11 15:23:51 +0100 <Solid> `spawn $ terminal myConfig` should probably work (but for kind of evil reasons)
2022-03-11 15:24:48 +0100 <ArshiaAghaei[m]> Seems to have compiled
2022-03-11 15:24:48 +0100 <ArshiaAghaei[m]> ty
2022-03-11 15:25:48 +0100 <ArshiaAghaei[m]> It just crashes again
2022-03-11 15:26:06 +0100 <ArshiaAghaei[m]> [arshia@arshia-pc ~]$ xmonad --recompile
2022-03-11 15:26:06 +0100 <ArshiaAghaei[m]> XMonad will use stack ghc --stack-yaml "/home/arshia/.config/xmonad/stack.yaml" to recompile.
2022-03-11 15:26:06 +0100 <ArshiaAghaei[m]> XMonad recompiling (forced).
2022-03-11 15:26:06 +0100 <ArshiaAghaei[m]> XMonad recompilation process exited with success!
2022-03-11 15:26:14 +0100 <ArshiaAghaei[m]> Even tho this is the result
2022-03-11 15:26:36 +0100 <lyiriyah[m]> That is just for compiling the config, not starting it.
2022-03-11 15:26:48 +0100 <lyiriyah[m]> Just start xmonad as normal
2022-03-11 15:27:12 +0100 <ArshiaAghaei[m]> [arshia@arshia-pc ~]$ xmonad... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/85948aff4fe059372fa11ecc45b19a33f1b7…)
2022-03-11 15:27:28 +0100 <lyiriyah[m]> ...
2022-03-11 15:27:35 +0100 <lyiriyah[m]> Are you in a TTY?
2022-03-11 15:27:44 +0100 <ArshiaAghaei[m]> What is a TTY?
2022-03-11 15:27:45 +0100 <Solid> just press M-q :)
2022-03-11 15:27:58 +0100 <ArshiaAghaei[m]> I'm on XFCE
2022-03-11 15:28:03 +0100 <ArshiaAghaei[m]> I edited the file from there
2022-03-11 15:28:14 +0100 <geekosaur> tty is short for terminal
2022-03-11 15:28:27 +0100 <ArshiaAghaei[m]> Then tried to load xmonad from lightdm
2022-03-11 15:28:30 +0100 <geekosaur> you can'trun xmonbad from a terminal; it needs to be started by the X session
2022-03-11 15:28:48 +0100 <lyiriyah[m]> ^
2022-03-11 15:29:05 +0100 <ArshiaAghaei[m]> I compiled xmonad from source
2022-03-11 15:29:14 +0100 <ArshiaAghaei[m]> Then added /applications/xmonad.desktop
2022-03-11 15:29:24 +0100 <ArshiaAghaei[m]> And /xsession/xminad.desktop
2022-03-11 15:29:29 +0100 <geekosaur> right, that tells an X session how to run xmonad
2022-03-11 15:30:04 +0100 <ArshiaAghaei[m]> s/xminad/xmonad/
2022-03-11 15:30:06 +0100 <lyiriyah[m]> ArshiaAghaei[m]: LightDM reads from /usr/share/xsessions, not /usr/share/xsession
2022-03-11 15:30:14 +0100 <ArshiaAghaei[m]> lyiriyah[m]: oop
2022-03-11 15:30:22 +0100 <geekosaur> if you run xmonad from a terminal, either you get an error from openDisplay because no X server is running, or you get that "attempt to access resource denied" because a window manager is already running
2022-03-11 15:30:32 +0100 <geekosaur> you can use `xmonad --restart` or just press mod-q
2022-03-11 15:30:36 +0100 <ArshiaAghaei[m]> [arshia@arshia-pc ~]$ ls /usr/share/xsessions/
2022-03-11 15:30:36 +0100 <ArshiaAghaei[m]> xfce.desktop xmonad.desktop
2022-03-11 15:30:53 +0100 <ArshiaAghaei[m]> geekosaur: I'm using XFCE atm
2022-03-11 15:31:11 +0100 <ArshiaAghaei[m]> Mod-q won't work on XFCE
2022-03-11 15:31:12 +0100 <geekosaur> also some display managers need to be restarted beforethey'llsee new sessions
2022-03-11 15:31:29 +0100 <geekosaur> right, that won't restart you into xmonad anyway if you're in xfce
2022-03-11 15:31:46 +0100 <ArshiaAghaei[m]> I logged out
2022-03-11 15:31:48 +0100 <geekosaur> nor will the other one. you would have to log out and select the xmonad session
2022-03-11 15:31:53 +0100 <ArshiaAghaei[m]> Chose xmonad
2022-03-11 15:31:56 +0100 <ArshiaAghaei[m]> And it crashes
2022-03-11 15:32:09 +0100 <geekosaur> unless you can configure xfce to transfer you over, but iirc it doesn't support thsat
2022-03-11 15:32:13 +0100 <ArshiaAghaei[m]> geekosaur: I have already done it
2022-03-11 15:32:21 +0100 <geekosaur> crashes how?
2022-03-11 15:32:43 +0100 <ArshiaAghaei[m]> InspIIRC deameon failed to laod
2022-03-11 15:32:47 +0100 <ArshiaAghaei[m]> And then back to lightdm
2022-03-11 15:33:03 +0100 <geekosaur> and what's in the xmonad.desktop file? it doesn't support various shell-based shortcuts like ~
2022-03-11 15:33:27 +0100 <ArshiaAghaei[m]> [arshia@arshia-pc xsessions]$ cat xmonad.desktop... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/338e5c7aaafd6ef62594cf0030aa87559eff…)
2022-03-11 15:34:00 +0100 <lyiriyah[m]> Try changing the Exec= line to read /home/arshia/.local/bin/xmonad
2022-03-11 15:34:01 +0100 <ArshiaAghaei[m]> [arshia@arshia-pc applications]$ cat xmonad.desktop... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/22bde826fdc9eb436a258f8f08e9b5aaa6e1…)
2022-03-11 15:34:09 +0100 <geekosaur> ok, so where is xmonad installed? that will only look for /bin/xmonad and /usr/bin/xmonad
2022-03-11 15:34:32 +0100 <ArshiaAghaei[m]> [arshia@arshia-pc ~]$ which xmonad
2022-03-11 15:34:32 +0100 <ArshiaAghaei[m]> /home/arshia/.local/bin/xmonad
2022-03-11 15:34:36 +0100 <ArshiaAghaei[m]> I suppose that's why
2022-03-11 15:34:41 +0100 <geekosaur> right, so you must specify that path
2022-03-11 15:34:58 +0100 <ArshiaAghaei[m]> So exec=pathtothat
2022-03-11 15:35:12 +0100dschrempf(~dominik@2a02:8389:100:e100:b354:d491:299f:8d) (Quit: WeeChat 3.3)
2022-03-11 15:35:12 +0100 <lyiriyah[m]> Yes
2022-03-11 15:35:25 +0100 <geekosaur> when it's strarting your session it has not read any of your shellconfiguration etc., it expects the session to do that
2022-03-11 15:35:58 +0100bfrk(~Thunderbi@2001:9e8:36d:4f00:9fd8:b7b4:631b:9e64) (Ping timeout: 260 seconds)
2022-03-11 15:39:48 +0100 <ArshiaAghaei[m]> Well I finally managed to load it
2022-03-11 15:43:49 +0100 <ArshiaAghaei[m]> But the default keys are not loading apparently
2022-03-11 15:44:07 +0100 <ArshiaAghaei[m]> lemme check the imports on xmonad.hs
2022-03-11 15:44:40 +0100 <geekosaur> default keys don't come from imports, they come from `def` and it would have failed to compile if that was missing
2022-03-11 15:45:17 +0100 <geekosaur> what key are you trying to use?
2022-03-11 15:51:29 +0100 <ArshiaAghaei[m]> M-p was not working for some reason
2022-03-11 15:51:34 +0100 <ArshiaAghaei[m]> Had to add it myself
2022-03-11 15:51:36 +0100 <ArshiaAghaei[m]> for dmeny
2022-03-11 15:51:40 +0100 <ArshiaAghaei[m]> * for dmenu
2022-03-11 15:51:59 +0100 <ArshiaAghaei[m]> Also my master width and color doesn't chage
2022-03-11 15:52:04 +0100 <ArshiaAghaei[m]> focusedBorderColor = "#94e7e7"
2022-03-11 15:52:04 +0100 <ArshiaAghaei[m]> , borderWidth = 3
2022-03-11 15:52:13 +0100 <ArshiaAghaei[m]> in myConfig I added these
2022-03-11 15:56:54 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-03-11 15:57:48 +0100 <ArshiaAghaei[m]> M-Q does not return error
2022-03-11 16:08:25 +0100 <geekosaur> can you pastebin your current xmonad.hs ?
2022-03-11 16:35:02 +0100bfrk(~Thunderbi@i59F7ABAD.versanet.de)
2022-03-11 16:37:52 +0100seschwar(~seschwar@user/seschwar)
2022-03-11 16:58:39 +0100bfrk(~Thunderbi@i59F7ABAD.versanet.de) (Ping timeout: 256 seconds)
2022-03-11 17:00:09 +0100liskin[m](~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
2022-03-11 17:40:38 +0100twiclo(~twiclo@204.14.20.66.static.utbb.net)
2022-03-11 17:48:08 +0100 <liskin> Solid, mc47, geekosaur: I played with the new github projects a bit today: https://github.com/orgs/xmonad/projects/4
2022-03-11 17:48:20 +0100liskin[m](~liskinmat@2001:470:69fc:105::768)
2022-03-11 17:48:42 +0100 <liskin> feature-wise, it's really crap as it's missing a few features that the old projects had, but it looks nice
2022-03-11 17:49:09 +0100 <mc47> it does look nice, except for the labels tabs. that's ugly
2022-03-11 17:49:30 +0100 <liskin> milestone-grouping in the roadmap table and the ability to have multiple boards under one project is good
2022-03-11 17:49:47 +0100 <mc47> Agreed
2022-03-11 17:50:21 +0100 <liskin> mc47: I thought that perhaps if we reduced the number of labels we have and just had a few labels that actually provide some useful value, then it might not be too bad
2022-03-11 17:50:21 +0100 <mc47> (btw, I read the emails, I'll probably write my thoughts in the weekend, since I need to apply for some internships)
2022-03-11 17:50:38 +0100 <mc47> I think the UI could be better
2022-03-11 17:50:47 +0100 <liskin> hm, not sure what you mean then
2022-03-11 17:51:29 +0100 <mc47> I can't see all labels without resizing the column :D and yes, the labels have a low information density, but not sure how we can improve that
2022-03-11 17:52:20 +0100 <liskin> I'd start by deleting all labels and then add labels when we actually (think we) need them :-)
2022-03-11 18:04:32 +0100bfrk(~Thunderbi@2001:9e8:36d:4f00:9fd8:b7b4:631b:9e64)
2022-03-11 18:07:59 +0100 <ArshiaAghaei[m]> <geekosaur> "can you pastebin your current..." <- Sure
2022-03-11 18:10:34 +0100 <ArshiaAghaei[m]> https://pastebin.com/c22cubF8
2022-03-11 18:11:31 +0100 <ArshiaAghaei[m]> <Print> doesn't work either
2022-03-11 18:11:47 +0100 <ArshiaAghaei[m]> Neither does M-n or M-N or M-T or M-t even
2022-03-11 18:12:56 +0100 <geekosaur> M-N and M-T won'twork because you don't have an unshifted key bound to the uppercase letters
2022-03-11 18:13:09 +0100 <geekosaur> if you want them shifted you have to say something like M-S-t
2022-03-11 18:13:35 +0100 <geekosaur> xmonad works with keys at a very low level (actually it does keycodes rather than key symbols)
2022-03-11 18:16:57 +0100 <ArshiaAghaei[m]> geekosaur: What about M-n and M-t
2022-03-11 18:17:01 +0100 <ArshiaAghaei[m]> They don't work either
2022-03-11 18:17:13 +0100 <ArshiaAghaei[m]> Or <Print>
2022-03-11 18:17:23 +0100 <ArshiaAghaei[m]> Being the print screen
2022-03-11 18:19:48 +0100 <geekosaur> the default bindings for M-n and M-t won't do anything normally. (M-n should really never do anything; arguably if you encounter a time when you need it, it's a bug.)
2022-03-11 18:20:08 +0100 <geekosaur> M-t tiles a floating window, so if you aren't focused on a floating window, it's a no-op
2022-03-11 18:21:55 +0100 <geekosaur> the <Print> binding probably needs unGrab, like the scrot binding
2022-03-11 18:22:34 +0100bfrk(~Thunderbi@2001:9e8:36d:4f00:9fd8:b7b4:631b:9e64) (Ping timeout: 260 seconds)
2022-03-11 18:30:16 +0100 <ArshiaAghaei[m]> And M-M
2022-03-11 18:30:17 +0100 <ArshiaAghaei[m]> <geekosaur> "the default bindings for M-n and..." <- M-v is occupied to?
2022-03-11 18:30:18 +0100 <ArshiaAghaei[m]> * And M-m
2022-03-11 18:31:27 +0100 <geekosaur> no binding for M-v. M-m focuses the master window
2022-03-11 18:31:33 +0100 <ArshiaAghaei[m]> I'm looking for keybindings for neovim and thunar
2022-03-11 18:31:58 +0100 <geekosaur> you can use the ones you had, you just have to specify them differently.
2022-03-11 18:32:16 +0100 <geekosaur> M-S-n and M-S-t instead of M-N and M-T
2022-03-11 18:32:18 +0100 <ArshiaAghaei[m]> How do I specify them differently?
2022-03-11 18:32:25 +0100 <ArshiaAghaei[m]> Oh OK
2022-03-11 18:34:41 +0100 <ArshiaAghaei[m]> , ("M-S-n", spawn "nvim")
2022-03-11 18:34:41 +0100 <ArshiaAghaei[m]> , ("M-S-t", spawn "thunar")
2022-03-11 18:34:43 +0100 <ArshiaAghaei[m]> Still the same
2022-03-11 18:35:13 +0100 <ArshiaAghaei[m]> [ ("<Print>", unGrab *> spawn "xfce4-screenshooter")
2022-03-11 18:35:27 +0100 <ArshiaAghaei[m]> * ```hs
2022-03-11 18:35:27 +0100 <ArshiaAghaei[m]> [ ("<Print>", unGrab *> spawn "xfce4-screenshooter")
2022-03-11 18:35:27 +0100 <ArshiaAghaei[m]> ```
2022-03-11 18:35:33 +0100 <ArshiaAghaei[m]> It won't work too
2022-03-11 18:36:20 +0100Viejito(~Viejito@pool-108-46-30-53.nycmny.fios.verizon.net)
2022-03-11 18:36:53 +0100 <geekosaur> did you restart with mod-q ?
2022-03-11 18:37:04 +0100 <ArshiaAghaei[m]> Yeah
2022-03-11 18:37:22 +0100 <ArshiaAghaei[m]> Doesn't work
2022-03-11 18:40:22 +0100 <geekosaur> wonder if it works standalone like that
2022-03-11 18:41:32 +0100 <geekosaur> mm, on my system it wants the panel too
2022-03-11 18:42:12 +0100 <Viejito> Is it possible to conditionally pass through a key press?
2022-03-11 18:44:04 +0100 <geekosaur> not really
2022-03-11 18:44:32 +0100 <geekosaur> you can conditionally "fake" a keypress to try to pass it on, but many programs ignore synthetic events
2022-03-11 18:44:41 +0100 <Viejito> right, I was thinking that
2022-03-11 18:45:11 +0100 <Viejito> There is XMonad.Util.Paste.send_key but that sends a synthetic event
2022-03-11 18:46:12 +0100 <Viejito> I guess I'll try it, it might work.
2022-03-11 18:46:44 +0100 <geekosaur> you have to use the XTest extension to send a realone. it's disabled in the server by default for security reasons
2022-03-11 18:51:21 +0100 <Viejito> I want to use the same key to open a terminal and do something slightly smarter if I'm in emacs. But I think I can just invoke emacsclient from xmonad
2022-03-11 18:52:21 +0100Articus(~Articus@207.248.198.65)
2022-03-11 18:52:43 +0100 <geekosaur> xdotool manpage has a discussion of the issues with sending keypresses
2022-03-11 18:53:20 +0100 <Viejito> btw doing that requires to know on which server I'm running emacs. I see there is XMonad.Util.WindowProperties but it only allows matching of properties, it doesn't provide a way to read them
2022-03-11 18:55:57 +0100 <geekosaur> https://hackage.haskell.org/package/xmonad-0.17.0/docs/XMonad-ManageHook.html#v:getStringProperty
2022-03-11 18:56:14 +0100 <Viejito> right, I just found it.
2022-03-11 18:56:16 +0100 <Viejito> thanks
2022-03-11 18:57:18 +0100 <geekosaur> ArshiaAghaei[m], not sure what's going on there but I just tested binding <Print> to spawn xfce4-screenshooter and it worked (with the unGrab)
2022-03-11 18:57:26 +0100 <ArshiaAghaei[m]> Aight so virt manager wants a polkit
2022-03-11 18:57:39 +0100 <ArshiaAghaei[m]> And Idk how to set it on xmonad
2022-03-11 19:01:52 +0100Articus(~Articus@207.248.198.65) (Quit: Client closed)
2022-03-11 19:05:36 +0100 <ArshiaAghaei[m]> <geekosaur> "Arshia Aghaei, not sure what's..." <- Can I see your xmonad.hs? Maybe you're starting soemthing that I'm not
2022-03-11 19:10:31 +0100 <geekosaur> I'm starting a lot of things you aren't; I use cxmonad as window manager for MATE
2022-03-11 19:11:38 +0100 <ArshiaAghaei[m]> fair enough
2022-03-11 19:11:40 +0100 <geekosaur> you may need to use xmonad as xfce4's window manager for the right services to be started. https://wiki.haskell.org/Xmonad/Using_xmonad_in_XFCE (which may be out of date)
2022-03-11 19:12:25 +0100 <ArshiaAghaei[m]> I'll take a look but I hope I won't need to tbh
2022-03-11 19:12:32 +0100 <ArshiaAghaei[m]> I'd rather use xmonad sperately from xfce
2022-03-11 19:13:28 +0100Articus(~Articus@207.248.198.65)
2022-03-11 19:15:33 +0100 <ArshiaAghaei[m]> https://github.com/Axarva/dotfiles-2.0
2022-03-11 19:15:41 +0100 <ArshiaAghaei[m]> Is this a good place?
2022-03-11 19:18:20 +0100 <geekosaur> \I have no clue :)
2022-03-11 19:18:20 +0100 <geekosaur> you can search for `xmonad.hs` on github and probably find a few dozen, including mine (but as I said, I run under MATE)
2022-03-11 19:18:20 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-03-11 19:20:10 +0100geekosaur(~geekosaur@xmonad/geekosaur)
2022-03-11 19:39:02 +0100 <ArshiaAghaei[m]> <geekosaur> "you can search for `xmonad.hs..." <- A lot of them use the old format tho
2022-03-11 19:39:05 +0100 <ArshiaAghaei[m]> That's the thing
2022-03-11 19:47:57 +0100Viejito(~Viejito@pool-108-46-30-53.nycmny.fios.verizon.net) (Quit: Client closed)
2022-03-11 19:48:08 +0100 <Articus> Hi, I installed XMonad through stack, after that I can't receive error messages in xmessage. I tried sending a message myself in xmessage and it shows nothing. I tried uninstalling XMonad by deleting the binary and two folders in ~/.stack. I suppose those folders where xmonad and xmonad-contrib because those are the only things I installed with
2022-03-11 19:48:08 +0100 <Articus> stack, xmessage continues behaving the same way
2022-03-11 19:48:34 +0100 <Articus> Hi geekosaur :)
2022-03-11 19:49:21 +0100 <geekosaur> removing stuff under ~/.stack is a good way to break stack
2022-03-11 19:49:33 +0100Viejito(~Viejito@pool-108-46-30-53.nycmny.fios.verizon.net)
2022-03-11 19:49:38 +0100 <Articus> Could use some help to be able to print messages again in xmessage
2022-03-11 19:49:47 +0100 <Articus> ooops
2022-03-11 19:50:00 +0100 <geekosaur> if xmessage isn't displaying anything it may mean you're missing some bitmapped fonts
2022-03-11 19:50:19 +0100 <geekosaur> what distro?
2022-03-11 19:50:24 +0100 <Articus> Manjaro
2022-03-11 19:51:02 +0100Viejito(~Viejito@pool-108-46-30-53.nycmny.fios.verizon.net) (Client Quit)
2022-03-11 19:52:49 +0100 <Articus> I had issues in xmessage in Manjaro at first, it was showing other language letters and I added Xmessage*font: -*-*-*-*-*-*-*-*-*-*-*-*-*-* to .xinitrc, it worked. But now it stopped showing messages
2022-03-11 20:00:00 +0100 <geekosaur> blah. not finding what they call the stock X11 fonts package
2022-03-11 20:00:53 +0100 <geekosaur> if you don't mind perl, my wrapper that runs zenity might be of interest: https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmessage
2022-03-11 20:03:25 +0100 <Articus> your xmonad.hs calls your xmessage?
2022-03-11 20:03:30 +0100 <geekosaur> that XLFD spec is problematic btw; on most systems I've tried it on, it gets me a CJK font
2022-03-11 20:04:47 +0100 <Articus> I belive I'll reinstall Manjaro, but I would like to take a peek at your config after that
2022-03-11 20:05:07 +0100 <geekosaur> https://github.com/geekosaur/xmonad.hs/tree/skkukuk
2022-03-11 20:08:48 +0100 <Articus> On manjaro by default xmessage send letters in a different alphabet, I remember once I installed a font package from the AUR and it got fixed, but I dond't remember or saved which package was, I found that XFLD on reddit from someone having the same issue. Works on this distro
2022-03-11 20:08:53 +0100 <ArshiaAghaei[m]> geekosaur, any clue how to set up a polkit for virt-manager?
2022-03-11 20:08:56 +0100 <ArshiaAghaei[m]> Using xmonad
2022-03-11 20:09:09 +0100 <geekosaur> none, sorry
2022-03-11 20:09:57 +0100 <ArshiaAghaei[m]> geekosaur Also, I had to re-login
2022-03-11 20:10:03 +0100 <ArshiaAghaei[m]> Now the keys work
2022-03-11 20:10:08 +0100 <ArshiaAghaei[m]> for some reason
2022-03-11 20:10:32 +0100 <geekosaur> possibly pkexec will help you
2022-03-11 20:10:37 +0100theproffesor(~theproffe@2601:282:847f:8010::7f59) (Ping timeout: 240 seconds)
2022-03-11 20:11:03 +0100theproffesor(~theproffe@c-24-9-30-127.hsd1.co.comcast.net)
2022-03-11 20:11:09 +0100 <geekosaur> but that just invokes policykit's authenticator around a program, and assumes polkit knows how to authenticate virt-manager
2022-03-11 20:11:44 +0100 <geekosaur> and probably requires dbus to be running
2022-03-11 20:12:51 +0100 <geekosaur> which means you end up changing that exec= line we discussed earlier to something like: dbus-launch /home/arshia/.local/bin/xmonad
2022-03-11 20:13:01 +0100 <geekosaur> and logging out and back in
2022-03-11 20:13:52 +0100Articus(~Articus@207.248.198.65) (Quit: Client closed)
2022-03-11 20:59:08 +0100 <ArshiaAghaei[m]> I just did sudo virt-manager
2022-03-11 20:59:11 +0100 <ArshiaAghaei[m]> And it worked
2022-03-11 21:00:17 +0100 <geekosaur> setting up dbus and using pkexec is probably better than running random stuff as root
2022-03-11 21:03:29 +0100 <ArshiaAghaei[m]> geekosaur: virt-manager isn't random tho
2022-03-11 21:03:31 +0100 <ArshiaAghaei[m]> It's an app
2022-03-11 21:03:39 +0100 <MrElendig> you can also use a user qemu session instead of the system one for most use cases
2022-03-11 21:03:42 +0100 <ArshiaAghaei[m]> vm manager
2022-03-11 21:04:09 +0100 <MrElendig> slightly more inconvenient if you use bridge networking, but only slightly
2022-03-11 21:05:05 +0100 <geekosaur> I know what virt-manager is. I still prefer restricting elevated permissions to when they're really needed, and polkit has better granularity than sudo in that regard
2022-03-11 21:06:03 +0100 <geekosaur> (ex-sysadmin; I'm paranoid about root perms in particular)
2022-03-11 21:09:53 +0100twiclo(~twiclo@204.14.20.66.static.utbb.net) (Read error: Connection reset by peer)
2022-03-11 21:17:07 +0100bfrk(~Thunderbi@i59F7ABAD.versanet.de)
2022-03-11 21:39:07 +0100benin(~benin@183.82.26.94) (Quit: The Lounge - https://thelounge.chat)
2022-03-11 21:45:04 +0100 <liskin> With a working polkit, there's no need to pkexec vítr-manager. The polkit agent will ask for password when connecting to the system qemu session.
2022-03-11 21:45:39 +0100 <liskin> And then, the user session works brilliantly, too, once networking is taken care of.
2022-03-11 21:46:29 +0100 <liskin> I think all I needed to do was to run the gnome polkit agent in the background. Obviously dbus and stuff is taken care of by the distro
2022-03-11 21:53:29 +0100 <ArshiaAghaei[m]> yeah I have to exec the polkit manually
2022-03-11 21:53:42 +0100 <ArshiaAghaei[m]> How do I manage brightness?
2022-03-11 21:53:55 +0100 <ArshiaAghaei[m]> M-right and left arrow won't work
2022-03-11 21:56:14 +0100 <geekosaur> https://hackage.haskell.org/package/xmonad-extras-0.17.0/docs/XMonad-Util-Brightness.html
2022-03-11 22:05:30 +0100 <ArshiaAghaei[m]> I can't seem to find the special character for function key
2022-03-11 22:06:40 +0100 <liskin> On some laptops those keys emit acpi events rather than keycodes
2022-03-11 22:07:12 +0100 <ArshiaAghaei[m]> Older or newer ones?
2022-03-11 22:07:59 +0100 <liskin> Older ones handled it in firmware
2022-03-11 22:08:12 +0100 <liskin> Newer ones either emit keys or events
2022-03-11 22:08:34 +0100 <liskin> My 5 yo thinkpad emits acpi events
2022-03-11 22:23:13 +0100ArshiaAghaei[m]sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/1859a46e4948b4315ea117bdb25575a5bf07…
2022-03-11 22:23:15 +0100 <ArshiaAghaei[m]> bruh
2022-03-11 22:23:31 +0100 <ArshiaAghaei[m]> This is EXACT same property in the guide
2022-03-11 22:23:39 +0100 <ArshiaAghaei[m]> And it was said to be used like that
2022-03-11 22:24:16 +0100 <geekosaur> which guide?
2022-03-11 22:25:00 +0100 <ArshiaAghaei[m]> https://wiki.archlinux.org/title/Libinput
2022-03-11 22:26:04 +0100 <geekosaur> fwiw on my thinkpad Fn-Home and Fn-End emit ACPI events and appear to be handled in ACPI firmware (but may be handled by acpid)
2022-03-11 22:29:28 +0100 <geekosaur> you probably need to make sure the property actually has that number; in my experience it varies per device
2022-03-11 22:31:48 +0100 <geekosaur> the Click Method Enabled is prop 340 on my machine, not 303
2022-03-11 22:32:19 +0100 <geekosaur> xprop --list-props $device # whatever $device is
2022-03-11 22:32:28 +0100 <ArshiaAghaei[m]> I did check
2022-03-11 22:36:58 +0100ArshiaAghaei[m]sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/9f4536f3313f9373e220e23233c627e3aa18…
2022-03-11 22:45:02 +0100 <ArshiaAghaei[m]> 358 should probably be 1, 1 geekosaur
2022-03-11 22:45:51 +0100 <geekosaur> no, I'm talking the prop number, not the setting
2022-03-11 22:46:21 +0100 <ArshiaAghaei[m]> isn't 358 the prop number?
2022-03-11 22:47:35 +0100 <geekosaur> oh, I misunderstood what you were saying
2022-03-11 22:47:50 +0100 <geekosaur> on my machine the prop number is 340 and its value is 1, 1
2022-03-11 22:47:57 +0100 <geekosaur> https://paste.tomsmeding.com/iXkrQN0n
2022-03-11 22:48:51 +0100bfrk(~Thunderbi@i59F7ABAD.versanet.de) (Ping timeout: 252 seconds)
2022-03-11 22:54:06 +0100 <liskin> geekosaur: which thinkpad do you have?
2022-03-11 22:54:39 +0100 <liskin> Although fn-home probably means it's T420 or earlier
2022-03-11 22:54:50 +0100 <liskin> (or T25, but I'd remember that)
2022-03-11 22:58:33 +0100 <geekosaur> X220
2022-03-11 23:02:30 +0100 <ArshiaAghaei[m]> <geekosaur> "on my machine the prop number is..." <- I tried 1, 1 as value
2022-03-11 23:02:32 +0100 <ArshiaAghaei[m]> same error
2022-03-11 23:02:58 +0100 <geekosaur> I think in the example they showed you enter it without the comma?
2022-03-11 23:03:10 +0100 <ArshiaAghaei[m]> Yeah
2022-03-11 23:03:13 +0100 <ArshiaAghaei[m]> I did that initially
2022-03-11 23:08:27 +0100 <geekosaur> mmm, actually I'm getting the same error. but it reports the bad value… and it's the option, not its value
2022-03-11 23:12:58 +0100 <ArshiaAghaei[m]> I tried 348
2022-03-11 23:13:03 +0100 <ArshiaAghaei[m]> Seems to work
2022-03-11 23:13:13 +0100 <geekosaur> but if I change the option name/value it correctly reportsit as invalid
2022-03-11 23:13:18 +0100 <geekosaur> so I have no idea
2022-03-11 23:13:46 +0100 <geekosaur> and reports BadMatch if I only provide 1 value instead of 2
2022-03-11 23:21:38 +0100twiclo(~twiclo@vpn.utahbroadband.com)
2022-03-11 23:25:54 +0100xacktm(xacktm@user/xacktm) (Ping timeout: 260 seconds)
2022-03-11 23:31:16 +0100jeeeun9(~jeeeun@78.40.148.178)
2022-03-11 23:32:37 +0100zawaken-(~zawaken@user/zawaken)
2022-03-11 23:32:51 +0100habib(~habib@217.146.83.233)
2022-03-11 23:34:38 +0100habibalaminium
2022-03-11 23:34:55 +0100alaminiumhabibalamin
2022-03-11 23:35:16 +0100habibalaminalaminium
2022-03-11 23:35:59 +0100alaminiumhabibalamin
2022-03-11 23:36:40 +0100habibalaminalaminium
2022-03-11 23:38:10 +0100incertia_(~incertia@207.98.163.88)
2022-03-11 23:39:34 +0100 <ArshiaAghaei[m]> <geekosaur> "https://hackage.haskell.org/..." <- How do I increase/decrease brightness by 10
2022-03-11 23:39:36 +0100habib(~textual@217.146.83.233)
2022-03-11 23:39:44 +0100theproffesor(~theproffe@c-24-9-30-127.hsd1.co.comcast.net) (*.net *.split)
2022-03-11 23:39:44 +0100jeeeun(~jeeeun@78.40.148.178) (*.net *.split)
2022-03-11 23:39:44 +0100incertia(~incertia@207.98.163.88) (*.net *.split)
2022-03-11 23:39:44 +0100haasn(~nand@haasn.dev) (*.net *.split)
2022-03-11 23:39:44 +0100zawaken(~zawaken@user/zawaken) (*.net *.split)
2022-03-11 23:39:44 +0100banc(banc@gateway/vpn/airvpn/banc) (*.net *.split)
2022-03-11 23:39:44 +0100nomadxx3(~lanomadx@69.167.38.254) (*.net *.split)
2022-03-11 23:39:45 +0100ml|(~ml|@user/ml/x-5298235) (*.net *.split)
2022-03-11 23:39:46 +0100jeeeun9jeeeun
2022-03-11 23:39:48 +0100incertia_incertia
2022-03-11 23:40:12 +0100 <ArshiaAghaei[m]> increase :: X ()
2022-03-11 23:40:12 +0100 <ArshiaAghaei[m]> this does by a 100
2022-03-11 23:41:43 +0100alaminium(~habib@217.146.83.233) ()
2022-03-11 23:44:01 +0100 <ArshiaAghaei[m]> https://lambdablob.com/posts/xmonad-screen-brightness-control-lux/
2022-03-11 23:44:03 +0100 <ArshiaAghaei[m]> I found this
2022-03-11 23:44:10 +0100 <ArshiaAghaei[m]> But it uses old keymaps
2022-03-11 23:45:28 +0100theproffesor(~theproffe@c-24-9-30-127.hsd1.co.comcast.net)
2022-03-11 23:45:28 +0100haasn(~nand@haasn.dev)
2022-03-11 23:45:28 +0100banc(banc@gateway/vpn/airvpn/banc)
2022-03-11 23:45:28 +0100nomadxx3(~lanomadx@69.167.38.254)
2022-03-11 23:45:28 +0100ml|(~ml|@user/ml/x-5298235)
2022-03-11 23:45:39 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2022-03-11 23:45:39 +0100allbery_b(~geekosaur@xmonad/geekosaur)
2022-03-11 23:45:43 +0100allbery_bgeekosaur
2022-03-11 23:45:47 +0100 <geekosaur> so define your own function that has +10 instead of +100
2022-03-11 23:46:19 +0100 <geekosaur> likewise for decrease but watch out for the syntactic oddity of negative literals
2022-03-11 23:48:01 +0100 <geekosaur> also if you look just below the one using the old keys in that lux page, you'll find one for additionalKeysP
2022-03-11 23:54:27 +0100 <ArshiaAghaei[m]> OK I noticed something
2022-03-11 23:54:35 +0100 <ArshiaAghaei[m]> M-Q does not work
2022-03-11 23:54:53 +0100 <ArshiaAghaei[m]> It does not recompiile and restart xmonad
2022-03-11 23:55:06 +0100 <ArshiaAghaei[m]> cause xmonad --recompile gave errors
2022-03-11 23:55:09 +0100 <ArshiaAghaei[m]> M-Q did not
2022-03-11 23:55:39 +0100xacktm(xacktm@user/xacktm)
2022-03-11 23:58:10 +0100twiclo(~twiclo@vpn.utahbroadband.com) (Quit: WeeChat 3.4)