Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 840 841 842 843 844 845 846 847 848 849 850 .. 1850
184,983 events total
2022-09-08 15:35:04 <liskin> if it detects xmonad it uses override-redirect windows and if not then it expects a traditional floating window manager and tries to XMoveWindow which fails in xmonad
2022-09-08 15:35:33 <liskin> (yes it does actually check for "xmonad" specifically, because there are still super-senior googlers using it)
2022-09-08 15:37:43 <geekosaur[m]> Heh
2022-09-08 15:38:03 <mesaoptimizer> wow
2022-09-08 15:43:04 <Solid> :)
2022-09-08 15:46:44 <geekosaur> guess this explains why they keep trying to hire me 🙂 unfortunately today's being a good example of why I'm off the market 😞
2022-09-08 15:50:14 <mesaoptimizer> what happened today?
2022-09-08 15:51:26 <geekosaur> I have neurological issues, they're kinda severe today
2022-09-08 15:52:07 <geekosaur> I could work through them when I was in my 30s, it doesn't work any more so neither can I reliably 😞
2022-09-08 15:56:26 <mesaoptimizer> ouch
2022-09-08 15:56:42 <mesaoptimizer> It is nice that you don't need to work full time to live then
2022-09-08 16:06:59 → Guest909 joins (~Guest90@2001:9e8:29e6:4200:8f19:2585:b1eb:d28e)
2022-09-08 16:16:34 <Guest909> hi guys, I'm new to xmonad and currently doing  the Tutorial. I stuck when I tried to integrate the xmobar. I got the error that StatusBar just exist in xmobar => 0.17.0
2022-09-08 16:16:35 <Guest909> Yes I saw  the hint in the tutorial and checked my version which I installed via package manger (Ubuntu 22). I was 0.15.0 so I removed it and installed it manually as described here: https://xmonad.org/INSTALL.html via cabal. I did the same with xmobar. My versions now:
2022-09-08 16:16:36 <Guest909> xmobar: 0.36
2022-09-08 16:16:36 <Guest909> xmonad: 0.17.1.9
2022-09-08 16:16:37 <Guest909> Can anybody help me or give me a hint what I am doing wrong?
2022-09-08 16:20:35 <geekosaur> (the next Ubuntu release should have 0.17.0 since Debian finally updated and Ubuntu draws from Debian testing)
2022-09-08 16:22:27 <geekosaur> can you pastebin your config and the full error message?
2022-09-08 16:22:30 <geekosaur> @where paste
2022-09-08 16:22:30 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2022-09-08 16:23:09 <Guest909> sure, just a moment...
2022-09-08 16:25:47 <Guest909> hm, I have this message box but it looks like a cannot copy the message from there is the error also stored to a file?
2022-09-08 16:31:10 <mesaoptimizer> Guest909: perhaps the message is stored in `~/.xmonad/xmonad.errors` (assuming that is the directory where xmonad.hs is stored)
2022-09-08 16:31:41 <Guest909> yes found it at the moment you wrote, thanks
2022-09-08 16:34:39 <Guest909> https://paste.tomsmeding.com/cwsvauq8
2022-09-08 16:35:26 × logzet quits (~quassel@2001:9e8:e503:f900:dabb:c1ff:fed3:a1b9) (Ping timeout: 260 seconds)
2022-09-08 16:35:59 <geekosaur> odd. you sure the Ubuntu package isn't still installed?
2022-09-08 16:37:20 <geekosaur> (also the import line you have commented out is slightly wrong, "PP" should be uppercase. module names are case sensitive and always start with uppercase letters to distinguish them from variable names)
2022-09-08 16:37:32 <Guest909> hm what i can say I removed via apt-get remove
2022-09-08 16:37:48 <Guest909> which xmonad gives me the path where installed it manually
2022-09-08 16:38:01 <Guest909> xmonad --version gives me 0.17.0
2022-09-08 16:39:29 <geekosaur> mm, but unless you're using startx or setting the PATH in ~/.xsession it only looks in /usr/bin
2022-09-08 16:39:39 <Guest909> ok thanks for the hint (pp)
2022-09-08 16:40:07 <geekosaur> only fedora's smart enough to incorporate the user's PATH in X11 (or Wayland) startup
2022-09-08 16:41:34 <Guest909> in ~/.xsession I just call
2022-09-08 16:41:34 <Guest909> exec xmonad
2022-09-08 16:41:35 <Guest909> expecting this is "my" Version
2022-09-08 16:42:02 <geekosaur> is there a /usr/bin/xmonad ?
2022-09-08 16:42:18 <Guest909> no
2022-09-08 16:42:33 <Guest909> but a xmobar
2022-09-08 16:43:27 <geekosaur> interesting. normally ubuntu doesn't use $PATH and tends to stick to stuff in /usr/bin
2022-09-08 16:44:09 <geekosaur> (I have to use a wrapper script since I use xmonad as MATE's window manager)
2022-09-08 16:44:41 <geekosaur> maybe they changed it in 22.04 finally
2022-09-08 16:45:39 <geekosaur> in any case it sounds like it's still finding xmonad-contrib 0.16 probably from ubuntu apt, did you also remove that?
2022-09-08 16:46:17 <Guest909> ohm no!
2022-09-08 16:47:04 <Guest909> is there a way to check the version of contrib which is used?
2022-09-08 16:47:19 <geekosaur> not easily since it's a library, not a program
2022-09-08 16:48:10 <Guest909> ok when I remove it now I would expect I have to reconfigure something, right?
2022-09-08 16:48:30 <geekosaur> hopefully not, the "reconfigure" would be recompiling your config
2022-09-08 16:48:55 <geekosaur> in particular, the xmonad executable doesn't depend on contrib, it's a library for user configs to use
2022-09-08 16:52:30 → Guest902 joins (~Guest90@146-241-159-106.dyn.eolo.it)
2022-09-08 16:53:00 <Guest909> apt wasn't able to locate xmonad-contrib so I think it was removed when I removed xmonad
2022-09-08 16:54:06 <geekosaur> mm, that would make sense. but it's still finding the older contrib library for some reason
2022-09-08 16:54:14 → Guest266 joins (~Guest266@146-241-159-106.dyn.eolo.it)
2022-09-08 16:54:45 <Guest909> package manger find xmobar could that be the reason?
2022-09-08 16:55:45 <Guest266> Hello all! I'm trying to customize xmobar, using dynamic logs, but dynamic logs itself are deprecated by status bar, and all the guides i saw are only with status bar.
2022-09-08 16:56:19 <Guest266> I'm using linux mint vanessa, and xmonad's version is still behind 0.17
2022-09-08 16:57:03 <Guest266> Xmonad's version 0.15-4build2.1
2022-09-08 16:57:47 <Guest266> Is there a ppa I can follow, or do I need help with dynamic logs?
2022-09-08 16:58:19 <Solid> Guest266: the tutorial should work for versions below 0.17.0
2022-09-08 16:58:25 × Guest902 quits (~Guest90@146-241-159-106.dyn.eolo.it) (Quit: Client closed)
2022-09-08 16:59:07 <geekosaur> I'm surprised you can only find guides using StatusBar given how long it took distros to update to 0.17.0
2022-09-08 16:59:24 <Solid> that too :)
2022-09-08 16:59:49 <Guest266> I'm having trouble in this part: main :: IO ()
2022-09-08 16:59:49 <Guest266> main = xmonad
2022-09-08 16:59:50 <Guest266>      . ewmhFullscreen
2022-09-08 16:59:50 <Guest266>      . ewmh
2022-09-08 16:59:51 <Guest266>    =<< statusBar "xmobar" def toggleStrutsKey myConfig
2022-09-08 16:59:51 <Guest266>   where
2022-09-08 16:59:52 <Guest266>     toggleStrutsKey :: XConfig Layout -> (KeyMask, KeySym)
2022-09-08 16:59:52 <Guest266>     toggleStrutsKey XConfig{ modMask = m } = (m, xK_b)
2022-09-08 17:00:00 <geekosaur> ugh. please use a pastebin
2022-09-08 17:00:03 <geekosaur> @where paste
2022-09-08 17:00:04 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2022-09-08 17:00:09 <Guest266> is it necessarily needed to add a key shortcut?
2022-09-08 17:00:45 <geekosaur> the statusBar function (which despite its name is actually the older DyanmicLog mechanism) requires one, yes
2022-09-08 17:01:01 <Guest266> So what can I do?
2022-09-08 17:01:07 <geekosaur> the newer mechanism lets you skip that part by using withSB instead of withEasySB
2022-09-08 17:01:29 <Guest266> my main:
2022-09-08 17:01:34 <Solid> Guest266: that code should run on 0.15/0.16
2022-09-08 17:01:47 <Guest266> main = do
2022-09-08 17:01:48 <Guest266>     h <- spawnPipe "xmobar -options -foo -bar"
2022-09-08 17:01:48 <Guest266>     xmonad $ docks defaults {
2022-09-08 17:01:49 <Guest266>         logHook = dynamicLogWithPP $ def { ppOutput = hPutStrLn h }
2022-09-08 17:01:49 <Guest266>     }
2022-09-08 17:02:19 <Guest266> how can I merge those two pieces? I tried every way..
2022-09-08 17:03:21 <geekosaur> Guest909, xmobar version should not affect what packages xmonad can find
2022-09-08 17:04:30 <geekosaur> Guest266 (again, please use a pastebin instead of pasting code into IRC) those are two different ways of configuring xmobar, they don't mix very well
2022-09-08 17:05:15 <geekosaur> but if you are using the second one, the only part you need from the first is the ewmh config which goes in the same place as docks
2022-09-08 17:05:25 <Solid> since you don't use ewmh, just replace your main with something like http://ix.io/49Y5
2022-09-08 17:06:12 <Guest909> if found a xmonad-contrib-0.16.conf in /var/lib/ghc/package.conf
2022-09-08 17:06:42 <Guest266> Ok, and how do I link it with myPP? should I change def with myPP?
2022-09-08 17:06:47 <Guest266> Solid
2022-09-08 17:06:54 <Solid> yes
2022-09-08 17:07:18 <Guest266> ok, thanks! I'll try
2022-09-08 17:08:38 <Guest909> and there is also a xmonad-0.15.conf
2022-09-08 17:08:51 <geekosaur> hrm, those should no longer be there
2022-09-08 17:09:06 <geekosaur> oh, debian. although it should have removed those as deps
2022-09-08 17:09:42 <geekosaur> sudo apt remove libghc-xmonad-dev libghc-xmonad-contrib-dev

All times are in UTC.