Home freenode/#xmonad: Logs Calendar

Logs: freenode/#xmonad

←Prev  Next→
Page 1 .. 170 171 172 173 174 175 176 177 178 179 180 .. 397
39,606 events total
2021-02-16 14:15:37 <ttmx> Possibly they are not tabs, but paragraphs? I have no idea how they would get there anyway
2021-02-16 14:19:32 geekosaur joins (82650c7a@130.101.12.122)
2021-02-16 14:24:04 Liskni_si has no idea, just a suggestion how to debug it: try to run xmobar from the temrinal and give it the same output; try using something else than xmobar, perhaps just "tee" to capture what xmonad sends
2021-02-16 14:24:17 <Liskni_si> this way you'll know which side the problem is on
2021-02-16 14:25:05 <mc47> I see that you're opening one fn tag but closing 2
2021-02-16 14:25:11 <mc47> at 321
2021-02-16 14:36:14 <ttmx> That was on purpose to make it crash as I said :P
2021-02-16 14:36:20 <ttmx> mc47
2021-02-16 14:36:44 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/54636e719dc5e300dd988aefaf80bf04/image.png
2021-02-16 14:36:55 <ttmx> It seems to be interpreting the file as something other than utf8?
2021-02-16 14:37:06 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/0b79bd746b3c3397a07943004bf19a48/image.png
2021-02-16 14:37:20 <ttmx> And thinks that these are 7 characters instead of the 3 I input
2021-02-16 14:38:36 <geekosaur> check your locale, sounds like iso8859-1 or similar
2021-02-16 14:50:29 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/e67ced77265d5df653559c968327192d/image.png
2021-02-16 14:52:14 <geekosaur> locale in a shell and locale of xmonad/xmobar can be very different things
2021-02-16 14:52:26 <ttmx> Oh, I did not know. How would I check that?
2021-02-16 14:53:02 <geekosaur> de facto you already did, I think :)
2021-02-16 14:53:15 <ttmx> Wait, I did? Where?
2021-02-16 14:53:30 <ttmx> And how would I change that?
2021-02-16 14:53:38 <geekosaur> I'd drop something fetching the locale (possibly piped to zenity or xmessage) into the startupHook and mod-q
2021-02-16 14:53:54 <geekosaur> >> And thinks that these are 7 characters instead of the 3 I input
2021-02-16 14:54:00 <ttmx> Ah, right.
2021-02-16 14:54:33 <geekosaur> hm, I smell another "hack" oneliner to set the locale
2021-02-16 14:54:38 <ttmx> How do I get the current encoding?
2021-02-16 14:54:43 <geekosaur> but I'm going to have to go away shortly
2021-02-16 14:54:53 <ttmx> Why isn't EVERYTHING just utf-8 :/
2021-02-16 14:55:16 <geekosaur> locale is just printing a bunch of environment variables
2021-02-16 14:55:17 <MrElendig> windows and eastern europe are the usual reasons
2021-02-16 14:55:42 <ttmx> Pain
2021-02-16 14:55:46 <geekosaur> with some conventions of its own like quoting tells you where it thinks the envar came from
2021-02-16 14:56:08 <ttmx> But how would I print the locale of xmonad?
2021-02-16 14:56:15 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
2021-02-16 14:56:21 <ttmx> The file itself is utf-8
2021-02-16 14:57:56 <Liskni_si> xargs -0 -n1 </proc/"$(pgrep xmonad)"/environ | sort | egrep '^LANG|^LC'
2021-02-16 14:58:17 <ttmx> LANG=en_US.UTF-8 :)
2021-02-16 14:59:28 <ttmx> Its in utf-8 :)
2021-02-16 14:59:33 <ttmx> Why would it not be liking my emoji :(
2021-02-16 15:00:03 <ttmx> Riight, when I input the emoji is starts being super specific about spaces/tab usage where it wasn't before.
2021-02-16 15:00:11 <ttmx> No idea if thats a clue for anything?
2021-02-16 15:01:14 <ttmx> I've been at this for hours and hours :(
2021-02-16 15:01:36 <mc47> how are you trying to pass the emoji? I remember I needed to escape some glyphs to get my fancy workspace ids to work
2021-02-16 15:01:49 <mc47> and you *shouldn't* mix tabs and spaces, only use spaces
2021-02-16 15:01:59 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/1aaf9cc83f3611b75ad77e27a4c45129/image.png
2021-02-16 15:02:03 <ttmx> Both ways
2021-02-16 15:02:45 <ttmx> Both let me display the emoji properly, but then add a paragraph to the end :)))
2021-02-16 15:02:49 <mc47> drop the raw tag, I also had a similar problem
2021-02-16 15:03:29 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/e0d87d564f7bbeae43d03718820f5de3/image.png
2021-02-16 15:03:37 <mc47> <fn=2> \57524 \57526 </fn>
2021-02-16 15:03:39 <ttmx> This happens if I actually put the emoji into there.
2021-02-16 15:04:22 <ttmx> That gives me this issue
2021-02-16 15:04:25 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/c7396e0b697d06b158c3aa07a3fd97c4/image.png
2021-02-16 15:04:42 <ttmx> That huge space is apparently a "paragraph"
2021-02-16 15:04:49 <ttmx> If I make it crash on purpose, thats what it tells me.
2021-02-16 15:04:56 <mc47> show me the rest of the config
2021-02-16 15:05:48 <mc47> (and what font are you using for fn=2? it's giving me ideas for my config :D )
2021-02-16 15:06:09 <ttmx> https://termbin.com/vh2j
2021-02-16 15:06:10 <Liskni_si> so, um, did you try to tell if xmonad is sending what it should be sending, and whether xmobar works when given the input manually?
2021-02-16 15:06:16 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0.1)
2021-02-16 15:06:24 <ttmx> Its just a nerd font, in my case its mononoki nerd.
2021-02-16 15:06:27 <Liskni_si> or are we still just wondering in the dark, having no idea whether to look at xmonad or xmobar?
2021-02-16 15:08:01 cfricke joins (~cfricke@unaffiliated/cfricke)
2021-02-16 15:09:19 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/13ac826b75af20c64a8b8fa39afd5a59/image.png
2021-02-16 15:09:30 <ttmx> Its xmonad it seems.
2021-02-16 15:09:33 <mc47> Liskni_si, I think it's xmobar, I've had a similar problem where I wanted to wrap \xf02d in a raw tag and xmobar fails to parse it (without xmonad)
2021-02-16 15:10:49 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/1256a7da0949f69fd53a8440ddecf8f2/image.png
2021-02-16 15:10:53 <mc47> ttmx, did you try only setting ppSep, and see how that works?
2021-02-16 15:10:58 <ttmx> Even with the raw tag it works.
2021-02-16 15:11:27 <Liskni_si> mc47: that sounds like something with a very simple reproducer that can be reported as an issue and then fixed
2021-02-16 15:11:46 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/79ec5ad99f614bb555e6deacfa22a500/image.png
2021-02-16 15:11:54 <mc47> It was late at night.. and I forgot about it
2021-02-16 15:12:09 <ttmx> Still has the weird spacing even if I unset everything.
2021-02-16 15:13:28 <ttmx> (besides ppSep)
2021-02-16 15:13:45 <ttmx> It seems to be xmonad crapping its pants, and not xmobar.
2021-02-16 15:15:37 <ttmx> It seems that xmonad is not outputting stuff as I expected it to?
2021-02-16 15:16:52 <ttmx> With this
2021-02-16 15:16:58 <ttmx> , ppSep = show (xmobarColor "#242831" "" "<fn=2>\57524 \57526</fn>")
2021-02-16 15:17:21 <ttmx> It gives me this, and no weird paragraph characters
2021-02-16 15:18:31 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/7d15588171aef86455b6620b275500c0/image.png
2021-02-16 15:19:34 <ttmx> I've been at this for hours and hours, I really wanna use xmonad, but these types of random issues make it really hard idk
2021-02-16 15:20:15 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0.1)
2021-02-16 15:23:58 <Liskni_si> so, um, can you manually construct something that when fed to xmobar results in what you want?
2021-02-16 15:24:19 <Liskni_si> as in echo "…" | xmobar
2021-02-16 15:24:33 <Liskni_si> or rather { echo "…"; sleep 20; } | xmobar
2021-02-16 15:28:06 <ttmx> Here
2021-02-16 15:28:24 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/338024f1013ee1be5a64d03ab8c95672/image.png
2021-02-16 15:28:25 × idhugo quits (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net) (Ping timeout: 240 seconds)
2021-02-16 15:28:46 <ttmx> It did both semi circles with a space in the middle.
2021-02-16 15:29:04 <ttmx> Which is what I want
2021-02-16 15:30:23 <Liskni_si> well what I had in mind was a more complete example with some text as well, but yeah, this probably confirms that xmobar can read unicode correctly
2021-02-16 15:30:45 <Liskni_si> so now how about that "tee" trick to capture what xmonad sends, and then compare the two
2021-02-16 15:32:04 <ttmx> How would I use tee here?
2021-02-16 15:32:30 <Liskni_si> "tee /tmp/xmobar.log" instead of xmobar in xmonad config
2021-02-16 15:32:42 <Liskni_si> so that instead of running xmobar, it captures the output
2021-02-16 15:32:46 <ttmx> xmproc <- spawnPipe "tee xmb.txt|xmobar -x 0"
2021-02-16 15:32:56 <Liskni_si> yeah something like that
2021-02-16 15:33:17 <ttmx> This is what it sends
2021-02-16 15:33:22 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/418844d0aa20181fc5d3a4266d56c8dd/image.png
2021-02-16 15:33:30 <ttmx> Thats... not my emoji?
2021-02-16 15:33:45 <ttmx> It seems to have a fucked up locale?
2021-02-16 15:34:22 <Liskni_si> is this xmobar or a text editor?
←Prev  Next→
Page 1 .. 170 171 172 173 174 175 176 177 178 179 180 .. 397

All times are in UTC.