Logs: freenode/#xmonad
| 2021-01-10 19:20:16 | <Liskni_si> | oh fuck |
| 2021-01-10 19:20:27 | <Liskni_si> | we should probably fork xmonad :-) |
| 2021-01-10 19:21:05 | <Solid> | :D |
| 2021-01-10 19:21:49 | <Liskni_si> | (I'm guessing that if I push an actual revert, things are going to get ugly) |
| 2021-01-10 19:26:40 | <Solid> | I would imagine yeah :/ |
| 2021-01-10 19:28:22 | → | brttmsn joins (~brtt@2600:8804:8689:3f00::2395) |
| 2021-01-10 19:29:57 | <Solid> | this may be something that another senior member (geekosaur or byorgey come to mind) could do |
| 2021-01-10 19:30:40 | <brttmsn> | Does Xmonad have an extension for its own run launcher? |
| 2021-01-10 19:32:55 | <Solid> | there is XMonad.Prompt.Shell |
| 2021-01-10 19:36:03 | → | xaltsc joins (~xaltsc@unaffiliated/xaltsc) |
| 2021-01-10 19:38:59 | <Hash> | Thank you guys. |
| 2021-01-10 19:39:42 | <Hash> | It means a lot to me that you guys shared my in grief. |
| 2021-01-10 19:41:47 | × | brttmsn quits (~brtt@2600:8804:8689:3f00::2395) (Quit: WeeChat 3.0) |
| 2021-01-10 19:42:26 | × | notis quits (~notis@45.134.22.65) (Quit: WeeChat 3.0) |
| 2021-01-10 19:43:24 | → | notis joins (~notis@45.134.22.54) |
| 2021-01-10 19:49:00 | → | brttmsn joins (~brtt@2600:8804:8689:3f00::2395) |
| 2021-01-10 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 |
| 2021-01-10 20:01:11 | <Solid> | does `xmonad --recompile' return any errors? |
| 2021-01-10 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) |
| 2021-01-10 20:07:19 | <brttmsn> | no it doesnt return any errors or anything and i have all the fonts installed for my xmonad |
| 2021-01-10 20:09:29 | → | schweby joins (~quassel@lxqflm.schwe.by) |
| 2021-01-10 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 |
| 2021-01-10 20:20:46 | × | brttmsn quits (~brtt@2600:8804:8689:3f00::2395) (Quit: WeeChat 3.0) |
| 2021-01-10 20:31:18 | → | growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net) |
| 2021-01-10 20:33:34 | × | notis quits (~notis@45.134.22.54) (Read error: Connection reset by peer) |
| 2021-01-10 20:36:47 | → | notis joins (~notis@185.51.134.230) |
| 2021-01-10 20:40:24 | → | mc47 joins (~yecinem@89.246.239.190) |
| 2021-01-10 20:45:31 | × | davemq quits (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-01-10 20:47:01 | → | davemq joins (~davemq@2600:1700:b1c0:2580:cff1:7c10:c5a4:57e0) |
| 2021-01-10 20:48:47 | × | davemq quits (~davemq@2600:1700:b1c0:2580:cff1:7c10:c5a4:57e0) (Client Quit) |
| 2021-01-10 20:50:50 | → | davemq joins (~davemq@2600:1700:b1c0:2580::4d8) |
| 2021-01-10 20:51:29 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 2021-01-10 21:09:39 | → | rabliatu joins (~quassel@23.231.26.99) |
| 2021-01-10 21:16:22 | × | geekosaur quits (ae68c070@cpe-174-104-192-112.neo.res.rr.com) (Quit: Connection closed) |
| 2021-01-10 21:30:31 | × | ADG1089__ quits (~aditya@122.163.165.143) (Remote host closed the connection) |
| 2021-01-10 21:34:52 | × | dariof4 quits (~dario@5.77.88.217) (Quit: WeeChat 3.0) |
| 2021-01-10 22:28:48 | × | xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Quit: WeeChat 3.0) |
| 2021-01-10 22:30:13 | × | rudentoxic quits (~rudentoxi@107.152.100.20) (Ping timeout: 264 seconds) |
| 2021-01-10 22:31:57 | → | rudentoxic joins (~rudentoxi@107-214-50-180.lightspeed.bcvloh.sbcglobal.net) |
| 2021-01-10 22:32:45 | → | toniz4 joins (~toniz4@unaffiliated/toniz4) |
| 2021-01-10 22:37:32 | <toniz4> | Hello, how can i make clickable workspaces in the xmobar? the examples that i found was outdated |
| 2021-01-10 23:03:33 | × | mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection) |
| 2021-01-10 23:06:04 | → | jamik joins (~james@d75-159-1-216.abhsia.telus.net) |
| 2021-01-10 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. |
| 2021-01-10 23:14:54 | <Liskni_si> | toniz4: https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Util/ClickableWorkspaces.hs |
| 2021-01-10 23:15:12 | <jamik> | I do have a `/run/user/1000/dbus-1` directory, not sure if that is supposed to be the same. |
| 2021-01-10 23:16:12 | <Liskni_si> | jamik: xmobar doesn't connect to dbug by default |
| 2021-01-10 23:16:20 | <Liskni_si> | did you enable any monitor that does? |
| 2021-01-10 23:17:09 | <jamik> | Apologies in advance for lack of knowedge in this area - what's a monitor in this case? |
| 2021-01-10 23:17:27 | <jamik> | I didn't enable anything so I suppose not |
| 2021-01-10 23:20:44 | <Liskni_si> | oh, it seems it does connect to dbus when compiled with dbus support |
| 2021-01-10 23:20:54 | <jamik> | Yea I have compiled it with dbus support |
| 2021-01-10 23:21:32 | <Liskni_si> | do you have a session dbus? (ps axf | grep 'dbus.*session') |
| 2021-01-10 23:22:10 | <jamik> | Yeah that command shows me a session is running |
| 2021-01-10 23:22:43 | <Liskni_si> | weird |
| 2021-01-10 23:22:56 | <Liskni_si> | does echo $DBUS_SESSION_BUS_ADDRESS say unix:path=/run/user/1000/bus ? |
| 2021-01-10 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 |
| 2021-01-10 23:23:37 | × | notis quits (~notis@185.51.134.230) (Ping timeout: 264 seconds) |
| 2021-01-10 23:24:17 | <jamik> | Ah, that might be the problem, $DBUS_SESSION_BUS_ADDRESS is not set in my environment |
| 2021-01-10 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? |
| 2021-01-10 23:25:19 | → | notis joins (~notis@45.134.22.65) |
| 2021-01-10 23:25:28 | <Liskni_si> | I don't think it's as simple as that |
| 2021-01-10 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 |
| 2021-01-10 23:26:42 | <jamik> | I see |
| 2021-01-10 23:26:53 | <Liskni_si> | we need to figure out where, if at all, is your session dbus listening |
| 2021-01-10 23:27:04 | <Liskni_si> | and why $DBUS_SESSION_BUS_ADDRESS is not being set in your env |
| 2021-01-10 23:27:11 | <jamik> | Okay let me see if I can find it |
| 2021-01-10 23:27:25 | <Liskni_si> | lsof -p on the dbus-daemon pid might help |
| 2021-01-10 23:27:57 | <jamik> | Okay, I'll run that |
| 2021-01-10 23:29:37 | <jamik> | I have 3 dbus-daemon processes running according to pgrep |
| 2021-01-10 23:31:20 | <jamik> | Here's the output of lsof -p on all of them: https://dpaste.com/BCZLVMLFD |
| 2021-01-10 23:32:15 | <Liskni_si> | oh |
| 2021-01-10 23:32:32 | <Liskni_si> | I wonder if any other apps are able to communicate with the bus? |
| 2021-01-10 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 |
| 2021-01-10 23:39:15 | × | seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq) |
| 2021-01-10 23:42:49 | × | andytoshi quits (~apoelstra@unaffiliated/andytoshi) (Ping timeout: 264 seconds) |
| 2021-01-10 23:43:39 | → | andytoshi joins (~apoelstra@66.183.0.205) |
| 2021-01-10 23:43:39 | × | andytoshi quits (~apoelstra@66.183.0.205) (Changing host) |
| 2021-01-10 23:43:39 | → | andytoshi joins (~apoelstra@unaffiliated/andytoshi) |
| 2021-01-10 23:46:41 | <Liskni_si> | interesting |
| 2021-01-10 23:46:49 | <Liskni_si> | I have no idea why that works |
| 2021-01-10 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 |
| 2021-01-10 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/ |
| 2021-01-10 23:50:04 | × | notis quits (~notis@45.134.22.65) (Read error: Connection reset by peer) |
| 2021-01-10 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 |
| 2021-01-10 23:51:31 | × | kelnoky quits (~shao@ip1f1222c4.dynamic.kabel-deutschland.de) (Ping timeout: 246 seconds) |
| 2021-01-10 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 |
| 2021-01-10 23:56:34 | <jamik> | Yeah I'm using elogind with openrc so I can see how it might be weird to troubleshoot |
| 2021-01-11 00:00:48 | <toniz4> | jamik: unfortunately this module isn't available in the version in the gentoo tree, there is a way to import this module from another path? |
| 2021-01-11 00:01:25 | <toniz4> | jamik: i had this same error, executing xmonad like this solved it |
| 2021-01-11 00:01:25 | <toniz4> | exec dbus-launch --sh-syntax --exit-with-session xmonad |
| 2021-01-11 00:02:38 | <Liskni_si> | I'd be careful with that, if there already is a session dbus that other apps can use, launching another one might cause other problems |
| 2021-01-11 00:03:30 | <Liskni_si> | toniz4: you can place ClickableWorkspaces.hs in ~/.xmonad/lib, I think, or you can just copypaste the three functions into your xmonad.hs |
| 2021-01-11 00:05:07 | <toniz4> | Liskni_si: I've been using it like this for a long time, it works fine |
| 2021-01-11 00:05:51 | <jamik> | toniz4: sorry what module are you referring to? haskell-dbus? |
| 2021-01-11 00:06:20 | <jamik> | Also to be clear my issue is with xmobar, I'm actually running xmonad right now with seemingly no issues |
| 2021-01-11 00:09:03 | <toniz4> | jamik: yup, it's because you don't have DBUS_SESSION_BUS_ADDRES in your env, dbus-launch does that |
| 2021-01-11 00:11:24 | <jamik> | toniz4: Okay let me try launching it like that. Hopefully there I don't run into any potenitial issues that Liskni_si mentioned |
| 2021-01-11 00:12:53 | <Liskni_si> | you might want to look at ps axf just to be sure |
| 2021-01-11 00:13:18 | <Liskni_si> | if there are two dbus-daemons above/near your xmonad, that would mean you're doing something wrong |
All times are in UTC.