Logs: liberachat/#xmonad
| 2023-03-18 21:01:51 | × | telser quits (~quassel@user/telser) (Ping timeout: 255 seconds) |
| 2023-03-18 21:05:19 | → | telser joins (~quassel@user/telser) |
| 2023-03-18 21:10:56 | × | telser quits (~quassel@user/telser) (Ping timeout: 252 seconds) |
| 2023-03-18 21:35:10 | → | telser joins (~quassel@user/telser) |
| 2023-03-18 21:54:06 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Quit: Lost terminal) |
| 2023-03-18 21:57:29 | × | telser quits (~quassel@user/telser) (Ping timeout: 250 seconds) |
| 2023-03-18 22:06:33 | → | telser joins (~quassel@user/telser) |
| 2023-03-18 23:41:53 | → | noex joins (~null@user/noex) |
| 2023-03-18 23:41:58 | → | hightower3 joins (~hightower@166-57.dsl.iskon.hr) |
| 2023-03-18 23:44:19 | × | hightower2 quits (~hightower@141-136-194-244.dsl.iskon.hr) (Ping timeout: 246 seconds) |
| 2023-03-19 00:10:23 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 2023-03-19 00:55:09 | × | chomwitt quits (~chomwitt@ppp-94-67-217-45.home.otenet.gr) (Ping timeout: 250 seconds) |
| 2023-03-19 01:16:03 | → | Guest18 joins (~Guest18@node-1w7jr9yaj7srjfo5i42ldx870.ipv6.telus.net) |
| 2023-03-19 03:03:28 | × | banc quits (~banc@154.47.24.197) (Ping timeout: 246 seconds) |
| 2023-03-19 03:05:50 | × | kora9 quits (uid591798@user/Kora9) (Quit: Connection closed for inactivity) |
| 2023-03-19 03:17:28 | × | td_ quits (~td@i5387093F.versanet.de) (Ping timeout: 246 seconds) |
| 2023-03-19 03:19:34 | → | td_ joins (~td@i5387093A.versanet.de) |
| 2023-03-19 03:22:59 | → | banc joins (~banc@154.47.24.197) |
| 2023-03-19 03:41:59 | → | hightower4 joins (~hightower@13-222.dsl.iskon.hr) |
| 2023-03-19 03:45:16 | × | hightower3 quits (~hightower@166-57.dsl.iskon.hr) (Ping timeout: 276 seconds) |
| 2023-03-19 04:17:22 | → | catman joins (~catman@user/catman) |
| 2023-03-19 04:24:35 | × | catman quits (~catman@user/catman) (Ping timeout: 246 seconds) |
| 2023-03-19 06:28:50 | × | scardinal quits (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving) |
| 2023-03-19 06:32:27 | → | scardinal joins (~supreme@customer-212-237-101-39.ip4.gigabit.dk) |
| 2023-03-19 07:46:44 | → | dge joins (~jeromelan@221-22-190-109.dsl.ovh.fr) |
| 2023-03-19 07:53:55 | <dge> | Hi, can someone explain me or sent to me a link that show me how to test XMonad config (maybe with Xephyr or anything else) ? I would like to try XMonad and Haskell language to replace maybe my AWesome WM. I did install xmonad from his git repo and compil with a xmonad.hs config file very basic. When i start a session from SDDM, i have an "ok" button in the middle and everything seems to be like frozen (have to reboot next). So i want to test |
| 2023-03-19 07:53:55 | <dge> | it before to apply a config and be able to read some error log or something helpfull to fix my first problem. |
| 2023-03-19 07:56:47 | <dge> | (also, just tell me if you can read my message, because i testing also my irc connection) |
| 2023-03-19 08:09:19 | <[Leary]> | dge: Have you tried the default keybinds? Mod+? to show help with xmessage, Mod+Shift+Enter for an xterm, etc. |
| 2023-03-19 08:20:30 | <dge> | yes, i did try all of them. I also used the mod4 key instead of Alt key to access the default one. At run time, i tryed both Alt and mod4 ones with many combi (like terminal start, help message, and so on). No one worked, but looks like freeze at start. No error message from compil config file. |
| 2023-03-19 08:25:02 | <[Leary]> | And you're sure you have xmessage and xterm on your system? |
| 2023-03-19 08:33:11 | <dge> | i use alacritty and did config terminal to be alacritty at terminal call key binding. i don't have "xmessage" installed, and not find any in kind of ubuntu repos (pop_os the same). |
| 2023-03-19 08:33:39 | <dge> | but my question was on "how to test xmonad" (like... with Xephyr maybe) ? |
| 2023-03-19 08:33:56 | <dge> | and get error message back to be able to fix things myself maybe. |
| 2023-03-19 08:39:13 | <[Leary]> | Yes, and there are ways, but it's usually easier to test in action. It's a long time since I've used Xephyr for this and I don't recall the details. They might be in the xmonad-test repo if it still exists, but it's almost certainly out of date. In any case, it looks like x11-utils will give you xmessage, which should show you the errors. |
| 2023-03-19 08:52:14 | <dge> | "easier" ? To reboot at each freeze time and get no error message ? You are thinkingit is easier to practice tests this way ? Or is it esier for YOU only due to no help time for Xephyr ? I ay prefer to wait for someone that can help me to install and use a real test process than to reboot all the time with nothing to look at for error. |
| 2023-03-19 08:53:05 | <dge> | but, thank you for your ppurpose and your time, i do appreciate it. |
| 2023-03-19 08:54:30 | <[Leary]> | Normally you should be able to just exit to your login/display manager instead, so it shouldn't be such a hassle. |
| 2023-03-19 08:55:43 | <[Leary]> | I suspect an issue with whatever script is trying to start xmonad, but the other possibility is that your config does compile to a loop. If so, you may be able to kill it via tty. |
| 2023-03-19 08:56:14 | <[Leary]> | Though it would be best to just erase the config and try the defaults first. |
| 2023-03-19 09:00:00 | <[Leary]> | Your session logs may also have something to say, though I couldn't tell you where to look for them; it's different on every distro. |
| 2023-03-19 09:18:11 | <dge> | So, each time i will increase my config file, line by line i will reboot... that is, for you, not a hassle loosing tie instead of runing test from a xephyr session ? Ok. have a good day man, i have no time for that. |
| 2023-03-19 10:11:27 | <liskin> | dge: instead of rebooting, you should be able to use Ctrl-Alt-F1/F2/… to switch to another console and kill the nonresponsive session |
| 2023-03-19 10:11:46 | <liskin> | actually you can run multiple X sessions this way as well and switch between them |
| 2023-03-19 10:12:01 | <liskin> | it might be easier (admittedly not as convenient) than running Xephyr |
| 2023-03-19 10:12:44 | <liskin> | using Xephyr involves some xauth hassle that I don't remember (it's in bash history on my other laptop, but I won't have time to open that one until tomorrow) |
| 2023-03-19 10:14:39 | <liskin> | also, you might want to disable DontZap temporarily and use Ctrl-Alt-Backspace to kill the X: https://unix.stackexchange.com/questions/375/how-to-enable-killing-xorg-with-ctrlaltbackspace |
| 2023-03-19 10:15:14 | <liskin> | (it's a bad idea to leave that on as then pranksters can come and kill your session, but then if they have physical access you've lost anyway, so… meh) |
| 2023-03-19 10:42:06 | → | chomwitt joins (~chomwitt@2a02:587:7a12:e700:1ac0:4dff:fedb:a3f1) |
| 2023-03-19 11:59:45 | → | thunderrd joins (~thunderrd@183.182.111.130) |
| 2023-03-19 12:23:08 | <dge> | Why no tjust make it simple and use Xephyr ? Ask yourself why... |
| 2023-03-19 12:23:32 | <dge> | What is the most simple and clean ? |
| 2023-03-19 12:23:48 | <dge> | please... let's be factual. |
| 2023-03-19 12:49:40 | <geekosaur> | xephyr doesn't seem that hard for me? is this a fedora thing? or just that I use `startx -- :1` with a `.xserverrc` to launch it? |
| 2023-03-19 12:50:23 | <Solid[m]> | Yes, I just have something like |
| 2023-03-19 12:50:23 | <Solid[m]> | Xephyr -br -ac -noreset -screen 800x600 :1 & |
| 2023-03-19 12:50:23 | <Solid[m]> | DISPLAY=:1 xmonad |
| 2023-03-19 12:50:23 | <Solid[m]> | in a script |
| 2023-03-19 12:51:12 | <Solid[m]> | but dge do note that compilation errors will not trash your xmonad executable, you will still be running the old version |
| 2023-03-19 12:51:17 | <geekosaur> | but I have a full sandboxing setup so I can test user configs |
| 2023-03-19 12:51:43 | <Solid[m]> | so this kind of stuff might not be as useful as you think it will |
| 2023-03-19 12:51:50 | <geekosaur> | (that's how I debugged the join point bug and the windowNavigation thing among others) |
| 2023-03-19 14:31:24 | × | VarikValefor[m] quits (~varikvale@2001:470:69fc:105::a5d) (Ping timeout: 265 seconds) |
| 2023-03-19 14:31:53 | × | geekosaur[m] quits (~geekosaur@xmonad/geekosaur) (Ping timeout: 265 seconds) |
| 2023-03-19 14:33:04 | → | lisk1n joins (~liskin@xmonad/liskin) |
| 2023-03-19 14:34:17 | × | liskin quits (~liskin@xmonad/liskin) (Ping timeout: 265 seconds) |
| 2023-03-19 14:43:33 | → | VarikValefor[m] joins (~varikvale@2001:470:69fc:105::a5d) |
| 2023-03-19 14:48:01 | → | geekosaur[m] joins (~geekosaur@xmonad/geekosaur) |
| 2023-03-19 15:09:07 | → | qbt joins (~qbt@user/edun) |
| 2023-03-19 15:50:00 | × | chomwitt quits (~chomwitt@2a02:587:7a12:e700:1ac0:4dff:fedb:a3f1) (Ping timeout: 264 seconds) |
| 2023-03-19 16:03:06 | × | qbt quits (~qbt@user/edun) (Quit: WeeChat 3.5) |
| 2023-03-19 16:41:13 | <geekosaur> | dge, re xmessage on debian |
| 2023-03-19 16:41:16 | <geekosaur> | skkukuk «xmonad:skkukuk» ⁅xmonad-bsa⁆ Z$ dpkg -S /usr/bin/xmessage |
| 2023-03-19 16:41:16 | <geekosaur> | x11-utils: /usr/bin/xmessage |
| 2023-03-19 16:41:39 | <geekosaur> | should be able to get that from apt-cache as well |
| 2023-03-19 16:42:10 | <geekosaur> | debian/ubuntu/probably popos |
| 2023-03-19 16:50:16 | <geekosaur> | also there are certainly ways for an xmonad config to break things completely; the simplest is to set the `handleEventHook` to `return (All False)` or equivalent |
| 2023-03-19 17:32:36 | × | jabuxas quits (~jabuxas@user/jabuxas) (Ping timeout: 255 seconds) |
| 2023-03-19 17:34:20 | → | jabuxas joins (~jabuxas@user/jabuxas) |
| 2023-03-19 18:15:23 | <dge> | i was afk... Xephyr is new to me, but i was thinking (and it seems i'm wrong) that XMonad lovers used it for test XMonad config, as AwesomeWM users use awmtt, who is a kind of Xephyr helper to test rc.lua config file for Awesome). |
| 2023-03-19 18:15:55 | <dge> | I'm under Pop!_OS who is an Ubuntu-22.04 distro. |
| 2023-03-19 18:16:32 | <dge> | I was using GDM3 but just installed and use now SDDM (lighter and good enaugh to me). |
| 2023-03-19 18:16:58 | <dge> | @Solid[m], thank you, i'm going to try this. |
| 2023-03-19 18:16:59 | <lambdabot> | Unknown command, try @list |
| 2023-03-19 18:18:06 | <geekosaur> | I think xmonad users just mod-q and hope for the best 🙂 |
| 2023-03-19 18:18:27 | <geekosaur> | I mean, usually if it compiles it works |
| 2023-03-19 18:18:34 | <dge> | Solid[m], yes, thank you. Sure, i dio use ~/.cache/xmonad/xmonad-x86_64-linux compiled version |
| 2023-03-19 18:18:55 | <geekosaur> | not guaranteed but the compiler really does catch most mistakes |
| 2023-03-19 18:19:49 | <dge> | geekosaur, i was thinking the same but... i'm very newby with that and also Haskell. So... i'm trying to win a bit of time by increase my capacity of testing faster because i know i will make a lot of error but still will customize and learn from them. |
| 2023-03-19 18:20:35 | <dge> | I also failed to find any Google best Haskell lovers users practice to config and test XMonad. |
| 2023-03-19 18:22:12 | <dge> | geekosaur, about xmessage, yes, it is inside my x11-utils package. So i have it installed. |
| 2023-03-19 18:31:22 | <dge> | sandboxing setup is something that should be a very good idea. I arrived to start xmonad on Xephyr (thanks geekosaur) but yeah... no error and Awesome still get my key bindings and not Xephyr, so untestable this way ! Maybe also a VM to run can be nice... |
| 2023-03-19 19:38:46 | → | abhixec joins (~abhinav@c-67-169-139-16.hsd1.ca.comcast.net) |
| 2023-03-19 19:47:29 | <dge> | even through a VM, and following the official install method with default config, and default session, it failed with no error printed and it run the Gnome session. even from startx or from default xsession or what ever... |
| 2023-03-19 19:48:35 | <geekosaur> | if it's running the gnome session then it's not even attempting xmonad |
| 2023-03-19 19:48:49 | <geekosaur> | there's no fallback mechanism in X11 startup |
| 2023-03-19 19:58:27 | <dge> | not from startx, but from sddm |
| 2023-03-19 19:59:08 | <dge> | it looks like i missed something on xmonad.hs config file maybe |
| 2023-03-19 19:59:23 | <geekosaur> | @where paste |
| 2023-03-19 19:59:23 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
All times are in UTC.