Logs on 2021-01-10 (freenode/#xmonad)
| 00:09:13 | × | rudentoxic quits (~rudentoxi@74.119.146.182) (Ping timeout: 264 seconds) |
| 00:10:47 | → | rudentoxic joins (~rudentoxi@107-214-50-180.lightspeed.bcvloh.sbcglobal.net) |
| 00:19:54 | × | gazler quits (~gazler@2001:8b0:b165:a8d2::2) (Read error: Connection reset by peer) |
| 00:19:59 | → | gazler_ joins (~gazler@195.107.2.81.in-addr.arpa) |
| 00:21:01 | × | notis quits (~notis@45.134.22.54) (Ping timeout: 246 seconds) |
| 00:23:28 | × | rudentoxic quits (~rudentoxi@107-214-50-180.lightspeed.bcvloh.sbcglobal.net) (Ping timeout: 246 seconds) |
| 00:23:43 | → | rudentoxic joins (~rudentoxi@107.152.100.20) |
| 00:59:44 | × | s00pcan quits (~chris@075-133-056-178.res.spectrum.com) (Remote host closed the connection) |
| 01:27:18 | × | kelnoky quits (~shao@ip1f1222c4.dynamic.kabel-deutschland.de) (Ping timeout: 256 seconds) |
| 02:24:45 | × | al3x27 quits (~plovs@85.254.75.142) (Ping timeout: 240 seconds) |
| 02:30:03 | RawphullCawpter | is now known as AHemlocksLie |
| 02:46:08 | × | aldum quits (~vishera@aldum.pw) (Ping timeout: 256 seconds) |
| 02:46:14 | × | ericsagn1 quits (~ericsagne@2405:6580:0:5100:e13a:446f:fd91:b45c) (Ping timeout: 264 seconds) |
| 02:49:06 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:3c13:dd0e:758f:287c) |
| 02:51:03 | × | thunderrd quits (~thunderrd@183.182.115.7) (Remote host closed the connection) |
| 02:56:59 | → | aldum joins (~vishera@aldum.pw) |
| 02:58:14 | → | thunderrd joins (~thunderrd@183.182.115.7) |
| 03:24:46 | × | aldum quits (~vishera@aldum.pw) (Ping timeout: 246 seconds) |
| 03:40:35 | → | aldum joins (~vishera@aldum.pw) |
| 03:41:50 | × | incertia_ quits (~incertia@d4-50-26-103.nap.wideopenwest.com) (Ping timeout: 256 seconds) |
| 03:46:01 | → | incertia joins (~incertia@d4-50-26-103.nap.wideopenwest.com) |
| 03:48:13 | × | theDon quits (~td@94.134.91.100) (Ping timeout: 246 seconds) |
| 03:50:19 | → | theDon joins (~td@94.134.91.57) |
| 03:56:08 | × | SpiderPi1 quits (~matt@047-132-233-190.res.spectrum.com) (Remote host closed the connection) |
| 04:00:01 | × | haasn quits (~nand@mpv/developer/haasn) (Quit: ZNC 1.7.5+deb4 - https://znc.in) |
| 04:01:18 | → | haasn joins (~nand@mpv/developer/haasn) |
| 04:08:00 | → | SpiderPig joins (~matt@047-132-233-190.res.spectrum.com) |
| 04:20:25 | × | aldum quits (~vishera@aldum.pw) (Ping timeout: 246 seconds) |
| 04:20:39 | → | aldum joins (~vishera@aldum.pw) |
| 04:59:45 | → | ADG1089__ joins (~aditya@122.163.165.143) |
| 05:36:43 | × | ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection) |
| 06:37:51 | → | palo1 joins (~weechat@c-base/crew/palo) |
| 06:41:19 | × | palo quits (~weechat@c-base/crew/palo) (Ping timeout: 256 seconds) |
| 06:41:19 | palo1 | is now known as palo |
| 07:07:41 | × | jchia__1 quits (~jchia@58.32.36.39) (Remote host closed the connection) |
| 07:08:49 | × | growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in) |
| 07:36:43 | × | hexo quits (~hexo@gateway/tor-sasl/hexo) (Ping timeout: 240 seconds) |
| 07:49:29 | → | elGamal joins (~elg@198.8.85.134) |
| 07:55:46 | → | ADG1089__ joins (~aditya@122.163.165.143) |
| 08:01:57 | → | hexo joins (~hexo@gateway/tor-sasl/hexo) |
| 08:37:17 | → | notis joins (~notis@45.134.22.54) |
| 09:31:06 | → | al3x27 joins (~plovs@85.254.75.142) |
| 09:35:02 | → | berberman_ joins (~berberman@unaffiliated/berberman) |
| 09:36:02 | × | berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 264 seconds) |
| 09:49:18 | × | notis quits (~notis@45.134.22.54) (Quit: WeeChat 3.0) |
| 09:52:10 | → | kelnoky joins (~shao@ip1f1222c4.dynamic.kabel-deutschland.de) |
| 09:53:29 | → | notis joins (~notis@45.134.22.65) |
| 09:59:42 | → | seschwar joins (~seschwar@unaffiliated/seschwar) |
| 10:20:19 | → | everythingTaken joins (~everythin@gateway/tor-sasl/everythingtaken) |
| 10:35:34 | → | hacxman joins (~hexo@gateway/tor-sasl/hexo) |
| 10:35:43 | × | hexo quits (~hexo@gateway/tor-sasl/hexo) (Ping timeout: 240 seconds) |
| 10:35:49 | hacxman | is now known as hexo |
| 10:57:44 | × | ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection) |
| 11:06:23 | × | everythingTaken quits (~everythin@gateway/tor-sasl/everythingtaken) (Ping timeout: 240 seconds) |
| 11:10:19 | → | everythingTaken joins (~everythin@gateway/tor-sasl/everythingtaken) |
| 11:57:02 | × | notis quits (~notis@45.134.22.65) (Read error: Connection reset by peer) |
| 11:59:17 | → | notis joins (~notis@45.134.22.65) |
| 12:08:53 | → | mc47 joins (~yecinem@141.84.69.87) |
| 12:10:06 | → | avaq joins (~avaq@unaffiliated/avaq) |
| 12:14:51 | <avaq> | Hi folks! I'm trying to figure out a way to define an XMobar Pretty Printer (https://is.gd/YRsP23) "extra" that would carry the basename of the command running in a certain window. My goal is to prepend it to the title in my xmobar, for example: "firefox | DuckDuckGo -- Mozilla Firefox". I can't find a way to obtain the command name though. I looked at XMonad.Util.Loggers and XMonad.Util.WindowProperties. |
| 12:15:20 | <avaq> | * a certain window -> the active window |
| 12:17:12 | <avaq> | I don't really know where to look, as I'm not hugely familiar with the XMonad ecosystem. If someone could point me to a function that returns information about the command running in/under a window, I think I can cobble together the rest. :) |
| 12:18:45 | <mc47> | avaq I think you could only the properties of the window |
| 12:20:32 | <mc47> | that is things you could grab with `xprop`, but I might be wrong |
| 12:27:54 | → | dario1 joins (~dario@5.77.88.217) |
| 12:27:54 | dario1 | is now known as dariof4 |
| 12:33:42 | → | ADG1089__ joins (~aditya@122.163.165.143) |
| 13:01:07 | × | avaq quits (~avaq@unaffiliated/avaq) (Remote host closed the connection) |
| 13:27:44 | <vrs> | window properties are unreliable, the client program can set most of them to whatever |
| 13:28:28 | <vrs> | there's _NET_WM_PID but even if the program is honest, that doesn't help you if it runs in a process id namespace (via firejail or so) |
| 13:29:24 | <vrs> | there are some things you can do by hooking up gdb to the x server, but at that point you're deep in dark magic territory |
| 13:38:18 | <Solid> | *not to mention what happens when you spawn a program via a shell and don't use exec :> |
| 13:49:30 | × | berberman_ quits (~berberman@unaffiliated/berberman) (Quit: ZNC 1.7.5 - https://znc.in) |
| 13:49:55 | → | berberman joins (~berberman@unaffiliated/berberman) |
| 13:54:02 | × | mc47 quits (~yecinem@141.84.69.87) (Quit: Leaving) |
| 13:54:21 | → | mc47 joins (~yecinem@141.84.69.87) |
| 13:57:16 | <mc47> | Solid hahaha |
| 14:09:42 | × | mc47 quits (~yecinem@141.84.69.87) (Ping timeout: 256 seconds) |
| 14:35:47 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:3c13:dd0e:758f:287c) (Ping timeout: 260 seconds) |
| 14:47:42 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:32fa:5861:e6a3:7ef9) |
| 14:48:40 | → | mc47 joins (~yecinem@141.84.69.87) |
| 14:51:22 | × | schweby quits (~quassel@lxqflm.schwe.by) (Quit: Das ist möglich, also tun wir es. Später.) |
| 14:52:40 | → | geekosaur joins (ae68c070@cpe-174-104-192-112.neo.res.rr.com) |
| 14:55:02 | × | mc47 quits (~yecinem@141.84.69.87) (Ping timeout: 256 seconds) |
| 15:05:34 | → | mc47 joins (~yecinem@141.84.69.87) |
| 15:08:30 | × | geekosaur quits (ae68c070@cpe-174-104-192-112.neo.res.rr.com) (*.net *.split) |
| 15:09:02 | × | Chobbes quits (~Chobbes@unaffiliated/chobbes) (Ping timeout: 264 seconds) |
| 15:14:58 | → | Chobbes joins (~Chobbes@pool-98-115-239-235.phlapa.fios.verizon.net) |
| 15:27:29 | <ADG1089__> | is there an event hook for change in number of screens? |
| 15:27:51 | <ADG1089__> | (xinerma ones) |
| 15:29:24 | <mc47> | There is something like that in XMonad.Hooks.DynamicBars |
| 15:32:20 | <ADG1089__> | the cleanup hook is only called when xmonad is restart or i manually turn off a monitor from xrandr |
| 15:32:39 | <ADG1089__> | i wanted a hook so that i can call xrandr when i connected a monitor to set a layout and restart xmonad and xmobars |
| 15:37:12 | × | everythingTaken quits (~everythin@gateway/tor-sasl/everythingtaken) (Quit: everythingTaken) |
| 15:37:35 | <Liskni_si> | hmm, that sounds like something I might want to take from my xmonad.hs and contribute to xmonad-contrib |
| 15:38:19 | <Liskni_si> | (an eventhook that clears duplicate randr events from the queue and invokes a recreen plus a specified hook) |
| 15:39:07 | <ADG1089__> | found it : autorandr |
| 15:39:13 | <ADG1089__> | it's in udev hook |
| 15:39:20 | <ADG1089__> | so de/wm agnostic |
| 15:39:37 | <Liskni_si> | oh, that kind of thing |
| 15:39:53 | <ADG1089__> | there's also mons in AUR |
| 15:40:00 | <ADG1089__> | for windows like 2 monitor setup |
| 15:40:04 | <Liskni_si> | that actually triggers on randr events (connect/disconnect) not xinerama |
| 15:40:05 | <ADG1089__> | this arch wiki is so great |
| 15:44:56 | → | geekosaur joins (ae68c070@cpe-174-104-192-112.neo.res.rr.com) |
| 15:47:07 | × | mc47 quits (~yecinem@141.84.69.87) (Remote host closed the connection) |
| 15:48:11 | × | ADG1089__ quits (~aditya@122.163.165.143) (Quit: Konversation terminated!) |
| 15:52:06 | → | ADG1089__ joins (~aditya@122.163.165.143) |
| 16:52:22 | × | hexo quits (~hexo@gateway/tor-sasl/hexo) (Read error: Connection reset by peer) |
| 17:20:10 | → | hexo joins (~hexo@gateway/tor-sasl/hexo) |
| 17:46:59 | coldpress_ | is now known as coldpress |
| 18:12:03 | → | albel727 joins (~albel727@unaffiliated/albel727) |
| 18:36:56 | × | rabliatu quits (~quassel@170.130.7.211) (Quit: 1) |
| 19:03:23 | → | berberman_ joins (~berberman@unaffiliated/berberman) |
| 19:04:40 | × | berberman_ quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded) |
| 19:04:43 | × | berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 260 seconds) |
| 19:05:06 | → | berberman joins (~berberman@unaffiliated/berberman) |
| 19:13:09 | <Solid> | https://github.com/xmonad/xmonad/pull/261 |
| 19:13:28 | <Solid> | ...we should probably revert this |
| 19:19:56 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Quit: leaving) |
| 19:20:16 | <Liskni_si> | oh fuck |
| 19:20:27 | <Liskni_si> | we should probably fork xmonad :-) |
| 19:21:05 | <Solid> | :D |
| 19:21:49 | <Liskni_si> | (I'm guessing that if I push an actual revert, things are going to get ugly) |
| 19:26:40 | <Solid> | I would imagine yeah :/ |
| 19:28:22 | → | brttmsn joins (~brtt@2600:8804:8689:3f00::2395) |
| 19:29:57 | <Solid> | this may be something that another senior member (geekosaur or byorgey come to mind) could do |
| 19:30:40 | <brttmsn> | Does Xmonad have an extension for its own run launcher? |
| 19:32:55 | <Solid> | there is XMonad.Prompt.Shell |
| 19:36:03 | → | xaltsc joins (~xaltsc@unaffiliated/xaltsc) |
| 19:38:59 | <Hash> | Thank you guys. |
| 19:39:42 | <Hash> | It means a lot to me that you guys shared my in grief. |
| 19:41:47 | × | brttmsn quits (~brtt@2600:8804:8689:3f00::2395) (Quit: WeeChat 3.0) |
| 19:42:26 | × | notis quits (~notis@45.134.22.65) (Quit: WeeChat 3.0) |
| 19:43:24 | → | notis joins (~notis@45.134.22.54) |
| 19:49:00 | → | brttmsn joins (~brtt@2600:8804:8689:3f00::2395) |
| 19:50:19 | <brttmsn> | okay i imported the XMonad.Prompt.Shell lib to my config and added the keybinding it suggested on the webpage and changed the letter to r bc i have x binded to something else but when i push it nothing happens |
| 20:01:11 | <Solid> | does `xmonad --recompile' return any errors? |
| 20:01:27 | <Solid> | If no then check if you have the relevant fonts installed (or change the default font to one that you have) |
| 20:07:19 | <brttmsn> | no it doesnt return any errors or anything and i have all the fonts installed for my xmonad |
| 20:09:29 | → | schweby joins (~quassel@lxqflm.schwe.by) |
| 20:09:46 | <Solid> | are you sure? the default bitmap font that the prompt uses is apparently not installed with X11 on all distros anymore |
| 20:20:46 | × | brttmsn quits (~brtt@2600:8804:8689:3f00::2395) (Quit: WeeChat 3.0) |
| 20:31:18 | → | growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net) |
| 20:33:34 | × | notis quits (~notis@45.134.22.54) (Read error: Connection reset by peer) |
| 20:36:47 | → | notis joins (~notis@185.51.134.230) |
| 20:40:24 | → | mc47 joins (~yecinem@89.246.239.190) |
| 20:45:31 | × | davemq quits (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) (Quit: ZNC 1.8.2 - https://znc.in) |
| 20:47:01 | → | davemq joins (~davemq@2600:1700:b1c0:2580:cff1:7c10:c5a4:57e0) |
| 20:48:47 | × | davemq quits (~davemq@2600:1700:b1c0:2580:cff1:7c10:c5a4:57e0) (Client Quit) |
| 20:50:50 | → | davemq joins (~davemq@2600:1700:b1c0:2580::4d8) |
| 20:51:29 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 21:09:39 | → | rabliatu joins (~quassel@23.231.26.99) |
| 21:16:22 | × | geekosaur quits (ae68c070@cpe-174-104-192-112.neo.res.rr.com) (Quit: Connection closed) |
| 21:30:31 | × | ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection) |
| 21:34:52 | × | dariof4 quits (~dario@5.77.88.217) (Quit: WeeChat 3.0) |
| 22:28:48 | × | xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Quit: WeeChat 3.0) |
| 22:30:13 | × | rudentoxic quits (~rudentoxi@107.152.100.20) (Ping timeout: 264 seconds) |
| 22:31:57 | → | rudentoxic joins (~rudentoxi@107-214-50-180.lightspeed.bcvloh.sbcglobal.net) |
| 22:32:45 | → | toniz4 joins (~toniz4@unaffiliated/toniz4) |
| 22:37:32 | <toniz4> | Hello, how can i make clickable workspaces in the xmobar? the examples that i found was outdated |
| 23:03:33 | × | mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection) |
| 23:06:04 | → | jamik joins (~james@d75-159-1-216.abhsia.telus.net) |
| 23:13:16 | <jamik> | Hey guys, I can't start xmobar due to a SocketError (see here: https://dpaste.com/GSBVUSTZ2). As the output says, I don't have a `/run/user/1000/bus` directory but I'm not sure what that means. |
| 23:14:54 | <Liskni_si> | toniz4: https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Util/ClickableWorkspaces.hs |
| 23:15:12 | <jamik> | I do have a `/run/user/1000/dbus-1` directory, not sure if that is supposed to be the same. |
| 23:16:12 | <Liskni_si> | jamik: xmobar doesn't connect to dbug by default |
| 23:16:20 | <Liskni_si> | did you enable any monitor that does? |
| 23:17:09 | <jamik> | Apologies in advance for lack of knowedge in this area - what's a monitor in this case? |
| 23:17:27 | <jamik> | I didn't enable anything so I suppose not |
| 23:20:44 | <Liskni_si> | oh, it seems it does connect to dbus when compiled with dbus support |
| 23:20:54 | <jamik> | Yea I have compiled it with dbus support |
| 23:21:32 | <Liskni_si> | do you have a session dbus? (ps axf | grep 'dbus.*session') |
| 23:22:10 | <jamik> | Yeah that command shows me a session is running |
| 23:22:43 | <Liskni_si> | weird |
| 23:22:56 | <Liskni_si> | does echo $DBUS_SESSION_BUS_ADDRESS say unix:path=/run/user/1000/bus ? |
| 23:23:07 | <jamik> | I'm on gentoo so this USE flag info might be relevant to you if you also use it: https://dpaste.com/3LE89J9CL |
| 23:23:37 | × | notis quits (~notis@185.51.134.230) (Ping timeout: 264 seconds) |
| 23:24:17 | <jamik> | Ah, that might be the problem, $DBUS_SESSION_BUS_ADDRESS is not set in my environment |
| 23:25:14 | <jamik> | So should I set it too /run/user/1000/dbus-1 seeing as I don't have /run/user/1000/bus? |
| 23:25:19 | → | notis joins (~notis@45.134.22.65) |
| 23:25:28 | <Liskni_si> | I don't think it's as simple as that |
| 23:26:25 | <Liskni_si> | /run/user/1000/dbus-1 is a directory (at least here), whereas /run/user/1000/bus is a unix socket |
| 23:26:42 | <jamik> | I see |
| 23:26:53 | <Liskni_si> | we need to figure out where, if at all, is your session dbus listening |
| 23:27:04 | <Liskni_si> | and why $DBUS_SESSION_BUS_ADDRESS is not being set in your env |
| 23:27:11 | <jamik> | Okay let me see if I can find it |
| 23:27:25 | <Liskni_si> | lsof -p on the dbus-daemon pid might help |
| 23:27:57 | <jamik> | Okay, I'll run that |
| 23:29:37 | <jamik> | I have 3 dbus-daemon processes running according to pgrep |
| 23:31:20 | <jamik> | Here's the output of lsof -p on all of them: https://dpaste.com/BCZLVMLFD |
| 23:32:15 | <Liskni_si> | oh |
| 23:32:32 | <Liskni_si> | I wonder if any other apps are able to communicate with the bus? |
| 23:33:46 | <jamik> | I am a bit hand-wavy on dbus' responsibilities but I'm using things like pulseaudio and picom with dbus support and they seem to work |
| 23:39:15 | × | seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq) |
| 23:42:49 | × | andytoshi quits (~apoelstra@unaffiliated/andytoshi) (Ping timeout: 264 seconds) |
| 23:43:39 | → | andytoshi joins (~apoelstra@66.183.0.205) |
| 23:43:39 | × | andytoshi quits (~apoelstra@66.183.0.205) (Changing host) |
| 23:43:39 | → | andytoshi joins (~apoelstra@unaffiliated/andytoshi) |
| 23:46:41 | <Liskni_si> | interesting |
| 23:46:49 | <Liskni_si> | I have no idea why that works |
| 23:47:51 | <Liskni_si> | I'm fairly sure that having DBUS_SESSION_BUS_ADDRESS set correctly (to /tmp/dbus-something) will solve your issue, so that's what you should look into |
| 23:48:46 | <Liskni_si> | and if you're really sure that other apps are able to connect to the session bus correct but xmobar is not, then you might want to file a bug against https://github.com/rblaze/haskell-dbus/ |
| 23:50:04 | × | notis quits (~notis@45.134.22.65) (Read error: Connection reset by peer) |
| 23:50:51 | <jamik> | Liskni_si: Thanks for the help, at least I have some direction now. I'm uncertain whether my other apps are actually using the dbus functionality that I've compiled in but they work fine in all my usage so I won't file a bug unless I know that for sure |
| 23:51:31 | × | kelnoky quits (~shao@ip1f1222c4.dynamic.kabel-deutschland.de) (Ping timeout: 246 seconds) |
| 23:55:57 | <Liskni_si> | well I haven't seen a system without systemd and session dbus for years, so I have no idea where to look further |
| 23:56:34 | <jamik> | Yeah I'm using elogind with openrc so I can see how it might be weird to troubleshoot |
All times are in UTC on 2021-01-10.