Logs: liberachat/#xmonad
| 2021-05-27 21:28:50 | × | jg quits (~jg@12.218.15.210) (Client Quit) |
| 2021-05-27 22:10:04 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2021-05-27 22:27:47 | × | geekosaur quits (~geekosaur@069-135-003-034.biz.spectrum.com) (Remote host closed the connection) |
| 2021-05-27 22:29:42 | → | geekosaur joins (~geekosaur@069-135-003-034.biz.spectrum.com) |
| 2021-05-27 22:57:37 | → | allbery_b joins (~geekosaur@069-135-003-034.biz.spectrum.com) |
| 2021-05-27 23:00:47 | × | geekosaur quits (~geekosaur@069-135-003-034.biz.spectrum.com) (Ping timeout: 252 seconds) |
| 2021-05-27 23:12:16 | allbery_b | is now known as geekosaur |
| 2021-05-27 23:42:01 | × | tremon_ quits (~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 2021-05-28 00:07:55 | × | sszark quits (~sszark@h-85-24-213-180.A392.priv.bahnhof.se) (Ping timeout: 252 seconds) |
| 2021-05-28 00:32:49 | → | jg joins (~jg@47.149.222.98) |
| 2021-05-28 00:42:55 | <jg> | Hi everyone, I am going honesty mad, I am running a barebones install of arch on virtualbox, I used static-stack from the aur to compile everyting which includes: xmonad, xmobar, and xmonad-contrib, I added all flags to xmobar except for alsa. I am currently getting the error .xmobarrc: hGetContents: invalid argument (invalid byte sequence) when |
| 2021-05-28 00:42:55 | <jg> | trying to launch xmobar. When I remove the degrees symbol the xmobar launches and compiles just fine. Running 'file .xmobarrc' confirms it is a UTF-8 file. and when I run localectl list-locales it returns en_US.UTF-8. How can I work around and get the degree's symbol to compile? |
| 2021-05-28 00:45:46 | <geekosaur> | you might make sure the locale xmonad and xmobar run from is the same as the one in the terminal; most distributions that aren't Debian-based separate them. does xmobar run correctly from a terminal? |
| 2021-05-28 00:46:48 | <jg> | @ge |
| 2021-05-28 00:46:48 | <lambdabot> | Maybe you meant: get-shapr get-topic wn v rc pl let id ghc do bf @ ? . |
| 2021-05-28 00:46:59 | <jg> | geekosaur this is when trying to run from terminal directly |
| 2021-05-28 00:47:29 | <jg> | I havent tried to run from xmonad yet |
| 2021-05-28 00:48:48 | → | allbery_b joins (~geekosaur@069-135-003-034.biz.spectrum.com) |
| 2021-05-28 00:51:10 | × | geekosaur quits (~geekosaur@069-135-003-034.biz.spectrum.com) (Ping timeout: 264 seconds) |
| 2021-05-28 00:51:29 | allbery_b | is now known as geekosaur |
| 2021-05-28 00:53:05 | <geekosaur> | hm. I suggest posting this on xmobar's issue tracker (https://github.com/jaor/xmobar/issues) since nobody here has been able to help |
| 2021-05-28 00:53:44 | <jg> | alright I will thanks |
| 2021-05-28 00:53:53 | <geekosaur> | possibly there is a bug, although utf8 support is supposed to be in xmobar at least with a flag but that doesn't control the .xmobarrc |
| 2021-05-28 00:54:14 | <geekosaur> | also sorry my network chose that time to drop |
| 2021-05-28 00:54:47 | <jg> | it is no worries! I just feel like it is probably something so small since no one else has had the issue lol |
| 2021-05-28 01:06:11 | <jg> | I submitted something geekosaur thank you, I hope I put enough info but I can always add more if needed |
| 2021-05-28 01:14:18 | <burp> | and this time without the degree symbol it works? |
| 2021-05-28 01:23:25 | <jg> | yes sir burp |
| 2021-05-28 01:23:56 | × | themainman quits (~themainma@user/themainman) (Quit: WeeChat 3.1) |
| 2021-05-28 01:26:46 | <burp> | well then |
| 2021-05-28 01:27:52 | <jg> | i tried jaor's suggestion of doing \x0b, however it shows a box so im not sure lol the font is installed |
| 2021-05-28 01:38:59 | × | geekosaur quits (~geekosaur@069-135-003-034.biz.spectrum.com) (Quit: Leaving) |
| 2021-05-28 01:40:09 | <burp> | try \x2103 |
| 2021-05-28 01:40:17 | → | leeb joins (~leeb@2001:268:c04f:ba65:425b:d8ff:fe03:4cd) |
| 2021-05-28 01:41:06 | <jg> | \xb0 works per jaor, i wonder why the normal doesnt work |
| 2021-05-28 01:42:30 | <jg> | burp, that also works and includes the C, what font is that part of? |
| 2021-05-28 01:42:41 | <burp> | the font you choose |
| 2021-05-28 01:42:48 | <burp> | it's just another unicode symbol |
| 2021-05-28 01:42:55 | <burp> | just looked it up on wikipedia https://en.wikipedia.org/wiki/Degree_symbol |
| 2021-05-28 01:43:03 | <burp> | see the right side: U+2103 |
| 2021-05-28 01:43:19 | <burp> | and above that U+B0 |
| 2021-05-28 01:43:30 | <burp> | which is your \xb0 |
| 2021-05-28 01:44:21 | <jg> | well its a great work around :) lmao I feel stupid af |
| 2021-05-28 01:45:15 | <burp> | ☺ |
| 2021-05-28 01:46:57 | <jg> | hmm well maybe I will swap over my main machine to stack and get off of arches repos... |
| 2021-05-28 01:51:56 | × | jg quits (~jg@47.149.222.98) (Quit: Client closed) |
| 2021-05-28 01:54:39 | → | jg joins (~jg@47.149.222.98) |
| 2021-05-28 01:54:53 | <jg> | omg the fullscreen handling on this version is so much better than my toggle work around on .15 |
| 2021-05-28 01:55:19 | <jg> | now to make the workspace clickable lol |
| 2021-05-28 02:34:29 | → | benin7 joins (~benin@183.82.177.19) |
| 2021-05-28 02:34:48 | × | benin quits (~benin@183.82.176.197) (Ping timeout: 265 seconds) |
| 2021-05-28 02:34:48 | benin7 | is now known as benin |
| 2021-05-28 02:35:17 | × | td_ quits (~td@94.134.91.249) (Ping timeout: 252 seconds) |
| 2021-05-28 02:37:11 | → | td_ joins (~td@muedsl-82-207-238-082.citykom.de) |
| 2021-05-28 02:45:09 | → | berberman joins (~berberman@user/berberman) |
| 2021-05-28 02:46:30 | × | berberman_ quits (~berberman@user/berberman) (Ping timeout: 264 seconds) |
| 2021-05-28 04:08:20 | <jg> | quick question when using the StatusBar Hook for anyone that better understand this than me, I have mine set up like the tutorial shown, to use 'withEasySB (statusBarProp "xmobar" (pure myXmobarPP)) defToggleStrutsKey' which works great until I recompile/restart xmonad. After restarting xmonad, the xmobar is stuck on the screen and does not allow |
| 2021-05-28 04:08:20 | <jg> | for the toggling of struts. If I open a new program or window however, it goes back to behaving and toggling struts. I am not sure if this is on my end or maybe a bug somewhere |
| 2021-05-28 04:13:00 | → | qbt joins (~edun@user/edun) |
| 2021-05-28 04:36:31 | → | incertia joins (~incertia@d4-50-26-103.nap.wideopenwest.com) |
| 2021-05-28 04:44:47 | <xacktm> | jg, you've used teh `docks` wrapper to apply dock bar support? previous method of modifying just one hook is insufficient since a few years ago; `docks` does more than one |
| 2021-05-28 04:44:59 | <xacktm> | does more than one hook* |
| 2021-05-28 04:46:51 | <jg> | I'll upload a paste bin, im not 100 % sure |
| 2021-05-28 04:49:52 | <jg> | https://pastebin.com/3ax6cECV |
| 2021-05-28 04:50:26 | <jg> | xacktm this is how I am currently doing it, I've just pieced this together sadly as I am learning |
| 2021-05-28 04:52:19 | <xacktm> | cargo culting woo! That's how I did it back in the day too :p |
| 2021-05-28 04:53:10 | <xacktm> | and yeah I don't see the docks function in there, here's the page, docs should be good but lmk if you get stuck: https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Hooks-ManageDocks.html |
| 2021-05-28 04:53:46 | <jg> | I'll give it a go thank you, Yea I am tinkering with the new .16 and .17 lol |
| 2021-05-28 04:54:19 | <jg> | the new statusBar has some cool stuff in it |
| 2021-05-28 05:04:41 | <jg> | xacktm I'm having no luck lol |
| 2021-05-28 05:04:54 | <xacktm> | new paste? |
| 2021-05-28 05:06:43 | <jg> | https://pastebin.com/eKenqVmd I appreciate the help by the way xacktm |
| 2021-05-28 05:06:56 | <jg> | wait |
| 2021-05-28 05:06:59 | <jg> | wrong paste bin |
| 2021-05-28 05:08:37 | <xacktm> | ok lol, was gonna say.. |
| 2021-05-28 05:08:42 | <jg> | xacktm - here is my changes https://pastebin.com/ZSz1YhiP |
| 2021-05-28 05:09:05 | <jg> | the status bar has the toggle struts to mod b in the git xmonad-contribs |
| 2021-05-28 05:11:05 | <jg> | it does not compile if i add docks def to my main below ewmh |
| 2021-05-28 05:12:45 | <xacktm> | ah, well you've already used `def` in myXMobarPP; as long as you apply it somwhere in that . function chain |
| 2021-05-28 05:13:02 | <xacktm> | try right below ewmh, ". docks" |
| 2021-05-28 05:13:24 | <xacktm> | which should insert docks in the composition chain after the xmobar config |
| 2021-05-28 05:13:59 | <xacktm> | :t (.) |
| 2021-05-28 05:14:00 | <lambdabot> | (b -> c) -> (a -> b) -> a -> c |
| 2021-05-28 05:14:10 | <xacktm> | :t ($) |
| 2021-05-28 05:14:11 | <lambdabot> | (a -> b) -> a -> b |
| 2021-05-28 05:14:39 | <jg> | xacktm with it above xmobar chain it still doesnt behave after the recompile until I open and close a terminal |
| 2021-05-28 05:14:40 | <xacktm> | I still don't have a good intuition of (.) and sometimes just convert them to function application $ |
| 2021-05-28 05:14:55 | <jg> | I can try changing them all to $ |
| 2021-05-28 05:15:09 | <xacktm> | shouldn't matter, it compiles though? |
| 2021-05-28 05:15:24 | <jg> | yea it compiles the bar just doesnt want to get off the screen lmao |
| 2021-05-28 05:15:56 | <jg> | its bizzare that opening a terminal causes it to then allow for toggling of struts |
| 2021-05-28 05:17:56 | <xacktm> | weird, not to sound cliche` but have you tried a complete X restart? |
| 2021-05-28 05:18:43 | <jg> | yes haha, restart was the first thing I tried |
| 2021-05-28 05:18:54 | <jg> | I just did it again to check my sanity lol |
| 2021-05-28 05:19:06 | <jg> | if you run the config does it work or cause those same issues? |
| 2021-05-28 05:20:21 | <xacktm> | it would be good for someone to reproduce but I've got my windows tied up atm :S |
| 2021-05-28 05:20:33 | <xacktm> | and I'm on 0.15 still |
| 2021-05-28 05:21:04 | <jg> | damn yea my main rig is on .15, im messing with this in a vm |
| 2021-05-28 05:22:31 | <xacktm> | oh, check the docks, the layout needs the avoidStruts modifier |
| 2021-05-28 05:22:39 | <xacktm> | check the docs* |
All times are in UTC.