Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 861 862 863 864 865 866 867 868 869 870 871 .. 1850
184,992 events total
2022-09-20 13:13:25 PeterHeijstek[m] joins (~devhashta@2001:470:69fc:105::2:85a2)
2022-09-20 13:14:14 PeterHeijstek[m] is now known as devhashtag[m]
2022-09-20 13:16:08 zim0369[m] joins (~zim0369ma@2001:470:69fc:105::2:5d43)
2022-09-20 13:17:17 <devhashtag[m]> Hello guys, I'm having a problem with XMonad that I described in this post :https://www.reddit.com/r/xmonad/comments/xj88cl/xmonad_will_not_restart_with_updated_configuration/
2022-09-20 13:17:17 <devhashtag[m]> Someone directed me to here to ask for help, if anyone would be able to take a look I would be very thankful
2022-09-20 13:29:09 <geekosaur> make sure xmonad can be found. remember that most distros do *not* pick up your PATH!
2022-09-20 13:29:32 <geekosaur> so you may have to use a full path to xmonad or otherwise arrange for PATH to be set properly before it runs
2022-09-20 13:29:58 <geekosaur> (like setting it in ~/.xsession or whatever)
2022-09-20 13:31:57 <devhashtag[m]> which xmonad returns the location of where it is installed, so I think that's not the problem
2022-09-20 13:32:06 <devhashtag[m]> ~/.local/bin
2022-09-20 13:32:14 <Lears> devhashtag[m]: I wonder why you have this binding in the first place? The default Mod+q binding already does what you want it to, and also tells you with xmessage when xmonad isn't in the PATH.
2022-09-20 13:32:17 <geekosaur> your terminal will have read your .profile or whatever
2022-09-20 13:32:29 <geekosaur> X11 startup does not
2022-09-20 13:32:41 <geekosaur> (except on Fedora/Rawhide)
2022-09-20 13:32:48 <devhashtag[m]> I haven't changed the binding, just using the default
2022-09-20 13:33:15 <geekosaur> you said you changed the binding to include a touch to make sure it was being run?
2022-09-20 13:33:24 <Lears> devhashtag[m]: If it appears in your xmonad.hs, you're overriding the default.
2022-09-20 13:33:31 <devhashtag[m]> geekosaur: The weird thing is that the configuration is loaded when I log in (so on X startup), but when I reload it live then it does nothing
2022-09-20 13:34:05 <devhashtag[m]> Lears: oh right, I was using a default config file from a wiki page. Will try to remove it and report back
2022-09-20 13:34:13 <geekosaur> right, that will happen if it's run by full pathname; it can;t find that full pathname at runtime so it relies on $PATH
2022-09-20 13:34:52 <geekosaur> I hope you don't mean the one that says at the top in multiple places DO NO USE
2022-09-20 13:34:55 <geekosaur> *NOT
2022-09-20 13:35:59 <geekosaur> it's 2022, time for that to go away and just point to the TUTORIAL already
2022-09-20 13:36:01 <devhashtag[m]> I've used the latest darcs config from this page: https://wiki.haskell.org/Xmonad/Config_archive
2022-09-20 13:38:31 <devhashtag[m]> devhashtag[m]: same behaviour when I remove the mod + q binding
2022-09-20 13:40:13 <geekosaur> oh, hm. one recently revealed issue is it assumes ghc is in /usr/bin. which it won't be with ghcup
2022-09-20 13:41:31 <Solid> devhashtag[m]: don't use the template, it's _very_ old; as geekosaur said, read the tutorial ( https://xmonad.org/TUTORIAL.html ) instead
2022-09-20 13:42:29 <geekosaur> that won';t solve the current issue though
2022-09-20 13:43:12 <geekosaur> and the mod-q keybind checks that xmonad can be found but not that ghc (or stack or cabal, etc.) can be found, which can lead to silent failures
2022-09-20 13:43:16 <geekosaur> we've seen the ghc one
2022-09-20 13:44:03 <Solid> I'm thinking telling people to symlink ~/.local/bin/xmonad to /usr/bin/xmonad might not be such a bad idea after all
2022-09-20 13:44:30 <devhashtag[m]> I've put the full path to xmonad in the mod - q binding, that seems to work
2022-09-20 13:45:41 <devhashtag[m]> as in, it reports the syntax error that I put in when I press mod-q
2022-09-20 13:45:48 <geekosaur> that can potentially still fail with restart since xmonad re-execs itself and I don't recall if it uses PATH
2022-09-20 13:46:07 <devhashtag[m]> but when the config has no error, it is still not restarting with the new config
2022-09-20 13:46:43 <geekosaur> I think it does since you can no longer dig in /proc to get the original path and the RTS has no api to get the full path for argv[0] (getProgName reports the basename only)
2022-09-20 13:47:15 <geekosaur> so you need to figure out how to set PATH properly
2022-09-20 13:49:10 <geekosaur> I use a wrapper script for xmonad, since I start it from MATE's session manager
2022-09-20 13:50:33 <devhashtag[m]> Okay, will try that
2022-09-20 13:51:02 <devhashtag[m]> I'm also having another issue, idk if its related. When I login xmobar is not started and the background is sometimes not set (using feh for that)
2022-09-20 13:51:20 <devhashtag[m]> Do you think that could be related?
2022-09-20 13:51:39 <geekosaur> depends on whether they're in PATH or not, so it could be
2022-09-20 13:51:57 <geekosaur> but feh usually comes from the distro so I'd expect it to be found
2022-09-20 13:52:41 <devhashtag[m]> In zsh I can run them without altering PATH
2022-09-20 13:52:58 <devhashtag[m]> anyway, thank you so much for helping
2022-09-20 13:53:10 <devhashtag[m]> I will try to setup a wrapper script and see if that helps
2022-09-20 13:53:46 <geekosaur> right, but (again) terminals read your shell files so PATH will be set correctly. X11 startup doesn't
2022-09-20 13:54:37 <geekosaur> (except on fedora where it's done by the systemd user session)
2022-09-20 13:55:24 <devhashtag[m]> Yeah I've checked my shell files, the only thing that is added to PATH is ~/.local/bin. But PATH might be appended to under the hood somehwere, I don't know
2022-09-20 13:58:55 <geekosaur> /etc/profile.d, /etc/environment
2022-09-20 14:24:37 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-09-20 14:27:19 × darkstardevx quits (~darkstard@50.53.212.60) (Ping timeout: 250 seconds)
2022-09-20 14:31:23 × sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6)
2022-09-20 14:41:38 sogens joins (sogens@gateway/vpn/protonvpn/sogens)
2022-09-20 16:00:19 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
2022-09-20 16:09:45 thyriaen joins (~thyriaen@remweb.moerwald.at)
2022-09-20 16:09:47 × thyriaen quits (~thyriaen@remweb.moerwald.at) (Remote host closed the connection)
2022-09-20 16:30:24 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 264 seconds)
2022-09-20 16:56:13 × thunderrd quits (~thunderrd@183.182.111.127) (Remote host closed the connection)
2022-09-20 17:15:03 <QNX> I'm thinking telling people to symlink ~/.local/bin/xmonad to /usr/bin/xmonad might not be such a bad idea after all
2022-09-20 17:15:17 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
2022-09-20 17:15:23 <QNX> Solid: maybe just add ~/.local/bin/ to $PATH instead?
2022-09-20 17:16:26 <Solid> QNX: the issue is that a lot of users change path in .profile or similar and then use a display manager that doesn't necessarily read .profile
2022-09-20 17:16:27 <QNX> export PATH=$PATH:~/.local/bin:
2022-09-20 17:16:32 <QNX> I see.
2022-09-20 17:17:21 <geekosaur> basically only fedora reads .profile while setting up an X session
2022-09-20 17:17:28 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.6)
2022-09-20 17:17:55 <QNX> I have never used .profile, but .bashrc export command
2022-09-20 17:18:15 <geekosaur> .bashrc is only read by interactive shells
2022-09-20 17:18:17 <Solid> display managers also don't really read your bashrc
2022-09-20 17:18:17 <QNX> But yeah, that maybe more complex than just ln -s something somewhere
2022-09-20 17:18:22 <geekosaur> so also not by X setup
2022-09-20 17:18:27 <QNX> Interesting.
2022-09-20 17:18:46 <geekosaur> if you're going to abuse a shell startup file, it'd be .bash_aliases
2022-09-20 17:18:58 <geekosaur> which doesn't help zsh or fish users, etc.
2022-09-20 17:19:06 <QNX> Right.
2022-09-20 17:19:13 <QNX> World of Xorg is complicated
2022-09-20 17:25:17 <Solid> gets substantially simpler if one just uses startx :)
2022-09-20 18:14:32 × xmonadtrack quits (~xmonadtra@xmonad/geekosaur) (Remote host closed the connection)
2022-09-20 18:18:01 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Quit: Leaving)
2022-09-20 18:23:15 geekosaur joins (~geekosaur@xmonad/geekosaur)
2022-09-20 18:28:56 xmonadtrack joins (~xmonadtra@069-135-003-034.biz.spectrum.com)
2022-09-20 18:28:56 × xmonadtrack quits (~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host)
2022-09-20 18:28:56 xmonadtrack joins (~xmonadtra@xmonad/geekosaur)
2022-09-20 18:30:00 ft joins (~ft@p3e9bc57b.dip0.t-ipconnect.de)
2022-09-20 19:20:22 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-09-20 21:10:36 × chomwitt quits (~chomwitt@2a02:587:dc14:f500:5c04:415c:c3c4:ee7c) (Ping timeout: 264 seconds)
2022-09-20 23:48:15 mvk joins (~mvk@2607:fea8:5ce3:8500::c9e3)
2022-09-21 01:12:36 × sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6)
2022-09-21 01:14:44 sogens joins (sogens@gateway/vpn/protonvpn/sogens)
2022-09-21 02:03:43 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 252 seconds)
2022-09-21 02:23:31 × td_ quits (~td@muedsl-82-207-238-164.citykom.de) (Ping timeout: 252 seconds)
2022-09-21 02:23:38 banc joins (banc@gateway/vpn/airvpn/banc)
2022-09-21 02:25:28 td_ joins (~td@94.134.91.227)
2022-09-21 02:45:20 noex joins (~null@user/noex)
2022-09-21 04:32:12 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 264 seconds)
2022-09-21 04:50:31 sagax joins (~sagax_nb@user/sagax)
2022-09-21 07:16:18 × mvk quits (~mvk@2607:fea8:5ce3:8500::c9e3) (Ping timeout: 244 seconds)
2022-09-21 07:17:00 mvk joins (~mvk@2607:fea8:5ce3:8500::c9e3)
2022-09-21 07:36:46 × mvk quits (~mvk@2607:fea8:5ce3:8500::c9e3) (Ping timeout: 260 seconds)

All times are in UTC.