Logs: liberachat/#xmonad
| 2022-01-07 12:52:19 | <geekosaur> | if you got errors then it didn'[t work. but the url you gave me appears to be a blank page? |
| 2022-01-07 12:52:42 | <geekosaur> | oh, I see |
| 2022-01-07 12:53:58 | <narendranath344[> | http://ix.io/3LmG |
| 2022-01-07 12:54:00 | <geekosaur> | simply passing -fPIC here won;t automatically rebuild all those libraries with it |
| 2022-01-07 12:54:26 | <narendranath344[> | geekosaur: then? |
| 2022-01-07 12:54:32 | <geekosaur> | this sounds like a ghc autoconfiguration issue, which means stack got your OS wrong somehow |
| 2022-01-07 12:56:01 | <geekosaur> | I'm not sure how you fix this; you need to somehow tell stack to install a ghc and base libraries built with -fPIC, since it's currently using one without it |
| 2022-01-07 12:56:23 | <geekosaur> | this probably should be pursued with the stack folks |
| 2022-01-07 12:57:16 | <narendranath344[> | geekosaur: well somehow xmonad compiled and I'm inside it WTF🤯🤯🤯 |
| 2022-01-07 13:01:43 | <geekosaur> | but was that installed via stack or via a distribbution package? |
| 2022-01-07 13:02:21 | <narendranath344[> | geekosaur: xmonad and contrib package were installed with git clone |
| 2022-01-07 13:02:48 | <narendranath344[> | s/installed/clone/ |
| 2022-01-07 13:03:12 | <narendranath344[> | and then build with stack install && stack build |
| 2022-01-07 13:03:53 | <geekosaur> | sigh. I think you need someone who understands stack better than I do, then |
| 2022-01-07 13:03:58 | <narendranath344[> | s/installed/cloned/ |
| 2022-01-07 13:04:21 | <geekosaur> | unless you started out with an OS package and only cloned it later, in which case you're still running the OS package even if you removed it after |
| 2022-01-07 13:04:39 | <narendranath344[> | geekosaur: thanks for your help tho because of you I was able to compile it |
| 2022-01-07 13:05:03 | <narendranath344[> | the only thing that is bothering me are these errors |
| 2022-01-07 13:05:30 | <aplainzetakind> | I'm trying to set up xmonad on Pop OS (because I couldn't figure out my nvidia woes so I'll take a shot at something that supposedly Just Works). My xmonad is installed via ghcup/cabal. I put the absolute path to ~/.cabal/bin/xmonad in ~/.xsession as directed in the xmonad FAQ, but it seems to do nothing (no options at login). Any ideas? |
| 2022-01-07 13:07:05 | <geekosaur> | that's up to your OS and its display manager. some don't come with simple X session options |
| 2022-01-07 13:07:34 | <AIM[m]> | It uses gdm afaik |
| 2022-01-07 13:08:05 | <aplainzetakind> | AIM[m]: it does. |
| 2022-01-07 13:09:01 | <Solid> | aplainzetakind: did you create a .desktop file as instructed in INSTALL.md? |
| 2022-01-07 13:09:11 | <AIM[m]> | You'll need to look where gdm searches for it |
| 2022-01-07 13:10:49 | <aplainzetakind> | Yeah I couldn't figure out what $PATH is in effect for gdm, which is why I put the absolute path to the cabal symlink rather than just `xmonad`. |
| 2022-01-07 13:13:05 | <geekosaur> | it will be the system default, which is usually /bin:/usr/bin |
| 2022-01-07 13:13:22 | <geekosaur> | (or the reverse, but in any case no user stuff since it doesn't know what user yet) |
| 2022-01-07 13:16:30 | <aplainzetakind> | Hmm. |
| 2022-01-07 13:16:56 | <aplainzetakind> | Would symlinking to ~/.cabal/bin/xmonad from /bin work? |
| 2022-01-07 13:18:25 | <Solid> | probably |
| 2022-01-07 13:29:21 | × | edun quits (~e@user/edun) (Quit: Leaving.) |
| 2022-01-07 13:59:45 | <AIM[m]> | <mc47> "AIM, the new way is really..." <- Holy cow! It works! |
| 2022-01-07 13:59:56 | <AIM[m]> | I never thought it was that simple! |
| 2022-01-07 14:00:14 | <AIM[m]> | It's magic! |
| 2022-01-07 14:01:38 | <mc47[m]> | It's xmonad ;) |
| 2022-01-07 14:07:40 | → | smeck joins (~smeck@2a02:dc00:200:c096:73dd:bc87:32e9:8752) |
| 2022-01-07 14:08:31 | × | smeck quits (~smeck@2a02:dc00:200:c096:73dd:bc87:32e9:8752) (Client Quit) |
| 2022-01-07 14:22:09 | <narendranath344[> | I compiled xmonad and xmonad-contrib with ghc.8.10.7, if I upgrade ghc do I need to build those packages again? |
| 2022-01-07 14:23:24 | <geekosaur> | yes |
| 2022-01-07 14:23:40 | <geekosaur> | but I'm not sure upgrading is the best didea right now |
| 2022-01-07 14:24:22 | <geekosaur> | 9.0.2 seems stable so far but is mostly unsupported (we do support it but many other Haskell packages don't yet) |
| 2022-01-07 14:24:57 | <geekosaur> | 9.2.1 likewise unsupported and has several known bugs; I'd hold off until 9.2.2 sometime later this month |
| 2022-01-07 14:26:10 | <geekosaur> | if you ask a ghc manager tool like ghcup what the recommended version is it'll say 8.10.7 |
| 2022-01-07 14:27:56 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2022-01-07 14:29:37 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2022-01-07 14:55:12 | <AIM[m]> | <narendranath344[> "I compiled xmonad and xmonad-..." <- Yep! |
| 2022-01-07 15:02:33 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Quit: Leaving) |
| 2022-01-07 15:03:55 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2022-01-07 15:31:22 | → | catman_ joins (~catman@user/catman) |
| 2022-01-07 15:31:38 | × | catman quits (~catman@user/catman) (Killed (zirconium.libera.chat (Nickname regained by services))) |
| 2022-01-07 15:31:38 | catman_ | is now known as catman |
| 2022-01-07 15:45:43 | <AIM[m]> | Do we still use box tags for Xmobar in xmonad.hs? |
| 2022-01-07 15:45:56 | <AIM[m]> | Did 0.17 get it replaced with something like a function? |
| 2022-01-07 15:48:21 | <geekosaur> | what's a box tag? |
| 2022-01-07 15:57:38 | <AIM[m]> | The one with <box ....> </box> |
| 2022-01-07 15:57:46 | <AIM[m]> | s/</`</, s/>/>`/ |
| 2022-01-07 15:58:00 | <AIM[m]> | I'm guessing it's like specifying a field |
| 2022-01-07 15:58:15 | <Solid> | AIM[m]: there is xmobarBorder: https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Hooks-DynamicLog.html#v:xmobarBorder |
| 2022-01-07 15:58:38 | <AIM[m]> | That just draws the border, aye? |
| 2022-01-07 15:58:46 | <AIM[m]> | Does that fill inside? |
| 2022-01-07 15:59:33 | <AIM[m]> | Gotta try it then |
| 2022-01-07 15:59:40 | <AIM[m]> | Thanks |
| 2022-01-07 16:00:12 | <AIM[m]> | Idk if it'll like leave extra space inside or not |
| 2022-01-07 16:00:47 | <AIM[m]> | I need something like how you specify field length for printing strings |
| 2022-01-07 16:01:15 | <AIM[m]> | So that the bg color applies inside that field length area |
| 2022-01-07 16:01:29 | <geekosaur> | why not just use a thin space? |
| 2022-01-07 16:02:36 | <AIM[m]> | How to? I'm new to this |
| 2022-01-07 16:02:57 | <AIM[m]> | Thinspace add spaces around workspace number? |
| 2022-01-07 16:03:17 | <AIM[m]> | like ` 1 ` |
| 2022-01-07 16:03:29 | <AIM[m]> | I want a box like this box |
| 2022-01-07 16:05:08 | <geekosaur> | thin space is \x2009 |
| 2022-01-07 16:05:15 | <AIM[m]> | ` 1 ` ` 2 ` ` 3 ` |
| 2022-01-07 16:05:21 | <AIM[m]> | geekosaur: Ohhh |
| 2022-01-07 16:05:35 | <geekosaur> | won't show in irc, might show in matrix |
| 2022-01-07 16:05:51 | <geekosaur> | > text "\x2009\&1\x2009" |
| 2022-01-07 16:05:52 | <lambdabot> |  1  |
| 2022-01-07 16:06:11 | <geekosaur> | > text "x\x2009\&1\x2009y" |
| 2022-01-07 16:06:13 | <lambdabot> | x 1 y |
| 2022-01-07 16:06:40 | <AIM[m]> | Question: if I edit the worskpaces variable will it effect the keyboard shortcut for it? |
| 2022-01-07 16:06:58 | <AIM[m]> | Idk how the workspaces are detected |
| 2022-01-07 16:07:44 | <AIM[m]> | Does the keybindings use the workspace name? |
| 2022-01-07 16:07:53 | <geekosaur> | I think the default can't know. I generate my own bindings (for use with AdditionalKeysP) and use my workspaces variable |
| 2022-01-07 16:08:45 | <geekosaur> | https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L184-L191 |
| 2022-01-07 16:09:38 | <AIM[m]> | Ohhh |
| 2022-01-07 16:10:45 | <geekosaur> | hm, actually… |
| 2022-01-07 16:11:47 | <geekosaur> | so yes the default has access to the config and uses whatever `workspaces conf` is |
| 2022-01-07 16:12:12 | <AIM[m]> | Ohhh |
| 2022-01-07 16:12:16 | <geekosaur> | so the only reason for my override is changing greedyView to view |
| 2022-01-07 16:13:06 | <AIM[m]> | I think even if I change the name of the workspace to have spaces around them, it'll have gaps around the workspace names like coloured blocks seperated by spaces |
| 2022-01-07 16:13:43 | <geekosaur> | right, but it may be annoying if youu use XMonad.Prompt.Workspaces |
| 2022-01-07 16:14:04 | <geekosaur> | might be better to use `wrap` in the PP |
| 2022-01-07 16:14:41 | <AIM[m]> | Oh |
| 2022-01-07 16:15:02 | <AIM[m]> | I think I'll start with testing out the border one |
| 2022-01-07 16:15:33 | <AIM[m]> | If it ain't working, Imma go for the other methods |
| 2022-01-07 16:20:55 | → | rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) |
| 2022-01-07 16:38:30 | → | gonzofy joins (~gonozfy@2601:182:cc00:f0ad:4132:4c5d:27d9:f854) |
| 2022-01-07 16:41:18 | <gonzofy> | hello everyone! I'm hoping for a little help involving Xmonad, Snap, and fonts. I run Manjaro with Xmonad as my window manager. If I run the Slack (from Snap store) in Xmonad, I get a lot of boxes instead of text for fonts. If I run the same Snap in XFCE the fonts work fine. So...the fonts exist in the system, but in a way that is somehow not available to Xmonad. where is Xmonad loading fonts from, and how may it be different |
| 2022-01-07 16:41:18 | <gonzofy> | from XFCE? |
| 2022-01-07 16:41:51 | <gonzofy> | Thanks in advance for any guidance! |
| 2022-01-07 16:42:32 | <geekosaur> | xmonad does't involve itself with fonts. xfce has a settings manager that handles many things including fonts |
All times are in UTC.