Logs: liberachat/#xmonad
| 2022-02-03 12:04:17 | → | redsith joins (~redsith@45.81.189.55) |
| 2022-02-03 12:05:11 | × | redsith quits (~redsith@45.81.189.55) (Remote host closed the connection) |
| 2022-02-03 12:05:57 | → | redsith joins (~user@45.81.189.55) |
| 2022-02-03 12:06:29 | <narendranath344[> | Ok and thanks |
| 2022-02-03 12:06:34 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3) |
| 2022-02-03 12:09:39 | <vrs> | Benzi-Junior: I'm gonna hazard a guess and say that one way launches a login shell, the other not, and you've something heavy in your .profile |
| 2022-02-03 12:10:10 | <vrs> | (or equivalent - files differ but most shells distinguish between login shell and regular shell, even if they look the same) |
| 2022-02-03 12:11:17 | <vrs> | eg having bash-completion loaded can make a significant difference, though generally not minutes |
| 2022-02-03 12:12:44 | <liskin> | with a slow .profile I'd expect the terminal window to appear immediately, but then take a long time for the prompt to appear |
| 2022-02-03 12:13:27 | <Benzi-Junior> | vrs, but why would it change ?, I mean I haven't been changing my .profile |
| 2022-02-03 12:13:47 | <vrs> | did you upgrade packages recently? or install something like oh-my-zsh? |
| 2022-02-03 12:14:34 | <vrs> | but yeah this is only one avenue, the other is something broke in your terminal emulator |
| 2022-02-03 12:15:27 | <Benzi-Junior> | I installed viking, which I would be shocked to find affects this at all |
| 2022-02-03 12:15:29 | <Benzi-Junior> | hmmm |
| 2022-02-03 12:15:32 | <Benzi-Junior> | although.. |
| 2022-02-03 12:16:50 | <Benzi-Junior> | that appears to be the problem |
| 2022-02-03 12:17:03 | <Benzi-Junior> | I guess it's some lib that got installed as a dependency |
| 2022-02-03 12:17:38 | <Benzi-Junior> | thanks a ton I would never in a milion years have figured that out |
| 2022-02-03 12:18:12 | <vrs> | now I'm curious what the exact interaction is though |
| 2022-02-03 12:19:10 | <Benzi-Junior> | likewise |
| 2022-02-03 12:20:17 | <vrs> | with timeouts in the minutes, I'll often suspect network timeouts |
| 2022-02-03 12:21:10 | <vrs> | something like, package dep installs some systemd service which wants to resolve something via ipv6, which is broken so it timeouts, which blocks terminal starting because the terminal detected the service and thought "oh cool I'm gonna activate my optional module that uses it" |
| 2022-02-03 12:28:07 | <Benzi-Junior> | http://ix.io/3Owp that's the list of dependencies that got installed with viking |
| 2022-02-03 12:29:55 | <Benzi-Junior> | I've confirmed it's not viking itself so the culprit is somewhere in that list |
| 2022-02-03 12:30:21 | <Benzi-Junior> | removing them fixes it |
| 2022-02-03 12:30:44 | → | dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net) |
| 2022-02-03 12:34:41 | <vrs> | ah on debian specifically, the following often prevent nasty surprises: |
| 2022-02-03 12:34:45 | <vrs> | APT::Install-Recommends "0"; |
| 2022-02-03 12:34:47 | <vrs> | APT::Install-Suggests "0"; |
| 2022-02-03 12:35:04 | <vrs> | (somewhere in apt.conf / apt.conf.d) |
| 2022-02-03 12:42:00 | <Benzi-Junior> | wait, ae you telling me apt installs "suggested reccomentations" by default ? |
| 2022-02-03 12:47:38 | <vrs> | recommends was the default I think, suggested no |
| 2022-02-03 12:47:47 | <vrs> | but it's been a while since I checked |
| 2022-02-03 13:17:40 | <geekosaur> | liskin, 9.0.2 is fine |
| 2022-02-03 13:20:42 | → | iMaaNor joins (uid534642@id-534642.tinside.irccloud.com) |
| 2022-02-03 13:39:03 | ← | redsith parts (~user@45.81.189.55) (ERC 5.4.1 (IRC client for GNU Emacs 27.2)) |
| 2022-02-03 13:40:38 | × | dirtcastle quits (~dirtcastl@103.43.203.227) (Read error: Connection reset by peer) |
| 2022-02-03 13:40:53 | → | dirtcastle joins (~dirtcastl@103.43.203.226) |
| 2022-02-03 13:42:05 | → | redsith joins (~redsith@45.81.189.55) |
| 2022-02-03 13:50:57 | × | redsith quits (~redsith@45.81.189.55) (Remote host closed the connection) |
| 2022-02-03 14:06:21 | → | cfricke joins (~cfricke@user/cfricke) |
| 2022-02-03 14:08:08 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3) |
| 2022-02-03 14:11:49 | × | thunderrd quits (~thunderrd@183.182.111.73) (Remote host closed the connection) |
| 2022-02-03 14:12:59 | → | dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net) |
| 2022-02-03 14:40:47 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3) |
| 2022-02-03 14:42:01 | <narendranath344[> | https://termbin.com/3bza |
| 2022-02-03 14:42:30 | <narendranath344[> | what is wrong in this file, I followed the tutorial guide on xmonad.org |
| 2022-02-03 14:42:38 | <narendranath344[> | but xmonad ---recompile is giving me errors |
| 2022-02-03 14:43:41 | <geekosaur> | it's helpful to include the errors |
| 2022-02-03 14:44:11 | <geekosaur> | but I've already spotted one incorrect indentation (which in that particular case probably doesn't throw an error) |
| 2022-02-03 14:45:59 | narendranath344[ | uploaded an image: (81KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/FWnYXnEmVWxJPhIzoEVfPpiy/2022-02-03_20-15.png > |
| 2022-02-03 14:47:23 | <Solid> | narendranath344[: add {-# LANGUAGE FlexibleContexts #-} to the top of the file |
| 2022-02-03 14:47:24 | <geekosaur> | you're not using xmobarProp anywhere so the compiler can't determine its type |
| 2022-02-03 14:47:39 | <Solid> | or actually use it yes |
| 2022-02-03 14:48:02 | <geekosaur> | you in fact duplicate what it does on line 12 |
| 2022-02-03 14:48:15 | <Solid> | mh actually it probably still wouldn't like this |
| 2022-02-03 14:48:23 | <Solid> | because Window is not a type variable and that doesn't change |
| 2022-02-03 14:48:34 | <geekosaur> | you also use defToggleStrutsKey and then define right afterward your own unused toggleStrutsKey function |
| 2022-02-03 14:48:58 | <geekosaur> | it doesn't care unless it's inferring that type, which it won't if that is removed |
| 2022-02-03 14:49:12 | <geekosaur> | otherwise every config would require FlexibleInstances |
| 2022-02-03 14:49:22 | <geekosaur> | er, FlexibleContexts |
| 2022-02-03 14:49:52 | <Solid> | I meant if they leave it as a top-level definition |
| 2022-02-03 14:50:19 | <narendranath344[> | > you also use defToggleStrutsKey and then define right afterward your own unused toggleStrutsKey function |
| 2022-02-03 14:50:19 | <narendranath344[> | well I follwed xmonad.org/TUTORIAL.html , maybe I not follwing it correctly |
| 2022-02-03 14:50:20 | <lambdabot> | <hint>:1:37: error: parse error on input ‘then’ |
| 2022-02-03 14:50:48 | <geekosaur> | it looks to me like you started to follow it and then jumbled in a few snippets you got from somewhere else |
| 2022-02-03 14:54:27 | <narendranath344[> | > narendranath344: add {-# LANGUAGE FlexibleContexts #-} to the top of the file |
| 2022-02-03 14:54:27 | <narendranath344[> | thanks, this worked |
| 2022-02-03 14:54:29 | <lambdabot> | <hint>:1:67: error: parse error on input ‘of’ |
| 2022-02-03 14:54:38 | <narendranath344[> | btw what it does exactly? |
| 2022-02-03 14:55:57 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 2022-02-03 14:57:04 | → | seschwar joins (~seschwar@user/seschwar) |
| 2022-02-03 14:59:06 | <Solid> | class constraints in Haskell-by-the-report have to be really simple; basically just the class plus some type variables |
| 2022-02-03 14:59:27 | <Solid> | but the constraint for the layout in this case is `Window`, which is a concrete type and not a variable |
| 2022-02-03 14:59:46 | <Solid> | FlexibleContexts simply lifts this restriction |
| 2022-02-03 15:00:10 | → | noex joins (~null@user/noex) |
| 2022-02-03 15:08:29 | → | thunderrd joins (~thunderrd@183.182.111.73) |
| 2022-02-03 15:14:08 | × | thunderrd quits (~thunderrd@183.182.111.73) (Remote host closed the connection) |
| 2022-02-03 15:18:57 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 256 seconds) |
| 2022-02-03 15:30:16 | × | iMaaNor quits (uid534642@id-534642.tinside.irccloud.com) (Quit: Connection closed for inactivity) |
| 2022-02-03 15:48:07 | → | thunderrd joins (~thunderrd@183.182.111.73) |
| 2022-02-03 16:06:15 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-02-03 16:07:25 | <narendranath344[> | So I fixed the error, but I cannot use mod+q default binding because of the error message that xmonad is not in $PATH |
| 2022-02-03 16:08:38 | <narendranath344[> | but .loca/bin is in my $PATH and this is where xmonad binary was placed after building xmonad with stack |
| 2022-02-03 16:09:11 | <geekosaur> | xmonad gets a PATH that doesn't come from your startup files |
| 2022-02-03 16:09:41 | <geekosaur> | usually what it gets from the login manager is /usr/bin:/bin |
| 2022-02-03 16:11:44 | <narendranath344[> | ok so how should I fix this? |
| 2022-02-03 16:13:01 | <narendranath344[> | geekosaur: also I don't use a login manager, I use xinitrc file |
| 2022-02-03 16:13:20 | <geekosaur> | then set your path there |
| 2022-02-03 16:14:59 | <narendranath344[> | geekosaur: how am I supposed to do that, I set my path in .zshrc |
| 2022-02-03 16:16:42 | <geekosaur> | your .xinitrc is probably run by /bin/sh instead of zsh, so it won't touch .zshrc |
| 2022-02-03 16:17:20 | <geekosaur> | you may be able to add a line at the very top of the file "#! /bin/zsh" (substitute path to zsh if necessary) |
| 2022-02-03 16:19:21 | <narendranath344[> | btw do u guys also face this error? |
| 2022-02-03 16:31:32 | <geekosaur> | which error? the PATH one? I already mentioned how I deal with it (https://github.com/geekosaur/xmonad.hs/blob/skkukuk/start-xmonad if you care) |
| 2022-02-03 16:33:57 | × | twiclo1 quits (~twiclo@204.14.20.66.static.utbb.net) (Read error: Connection reset by peer) |
| 2022-02-03 16:39:17 | → | twiclo1 joins (~twiclo@mail.twil.cx) |
| 2022-02-03 17:01:08 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 2022-02-03 17:15:19 | <Benzi-Junior> | vrs, the offending package was xdg-desktop-portal |
| 2022-02-03 17:15:43 | → | noex joins (~null@user/noex) |
| 2022-02-03 17:16:14 | <Benzi-Junior> | ran into the same issue with another package, cross referenced their dependencies and just had to check half a dozen packages |
All times are in UTC.