Home liberachat/#xmonad: Logs Calendar

Logs on 2021-07-24 (liberachat/#xmonad)

00:30:27 cjb joins (~cjb@user/cjb)
00:51:02 <geekosaur> if you're still around, you might want to study zippers a bit before tackling StackSet.hs
01:04:30 <geekosaur> hm. would someone with real hardware like to try to diagnose Platon Pronko's issue on the mailing list? I couldn't reproduce it locally but I can barely start Unity Editor on this laptop
01:28:17 × kr1x quits (kriket@gateway/vpn/protonvpn/kr1x) (Remote host closed the connection)
02:03:02 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 245 seconds)
02:07:36 × td_ quits (~td@muedsl-82-207-238-071.citykom.de) (Ping timeout: 252 seconds)
02:09:36 td_ joins (~td@muedsl-82-207-238-101.citykom.de)
02:22:25 banc joins (banc@gateway/vpn/airvpn/banc)
02:45:47 × eyenx quits (~eyenx@eyenx.ch) (Remote host closed the connection)
02:46:36 eyenx joins (~eyenx@eyenx.ch)
02:51:14 TejasAgarwal joins (~tejasagar@103.94.113.146)
02:52:35 × TejasAgarwal quits (~tejasagar@103.94.113.146) (Client Quit)
02:52:54 TejasAgarwal joins (~tejasagar@103.94.113.146)
03:41:27 jmes joins (~james@d75-155-42-59.abhsia.telus.net)
03:45:42 <jmes> Any idea how to write a function to shift the visible workspaces so that when I press a hotkey it pushes each visible workspace down one and the last wraps to the first?
04:02:37 × Natch quits (~natch@c-e070e255.014-297-73746f25.bbcust.telenor.se) (Ping timeout: 245 seconds)
04:55:59 × cjb quits (~cjb@user/cjb) (Quit: rcirc on GNU Emacs 28.0.50)
05:12:11 cjb joins (~cjb@user/cjb)
05:21:27 × TejasAgarwal quits (~tejasagar@103.94.113.146) (Quit: Ping timeout (120 seconds))
05:23:55 TejasAgarwal joins (~tejasagar@103.94.113.146)
05:55:21 × TejasAgarwal quits (~tejasagar@103.94.113.146) (Quit: The Lounge - https://thelounge.chat)
07:29:14 × cjb quits (~cjb@user/cjb) (Quit: rcirc on GNU Emacs 28.0.50)
08:17:48 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
08:17:48 allbery_b joins (~geekosaur@xmonad/geekosaur)
08:17:51 allbery_b is now known as geekosaur
08:29:19 seschwar joins (~seschwar@user/seschwar)
09:06:53 mc47 joins (~mc47@xmonad/TheMC47)
09:09:56 <mc47> @tell jmes you might want to look at XMonad.Actions.CycleWS, I think it could do what you intend to do
09:09:57 <lambdabot> Consider it noted.
09:23:39 <jmes> mc47: ah thanks, swap{Next,Previous}Screen works for the 2 monitor case. Since I only use 2 I won't bother with making it work for N monitors.
09:25:27 <jmes> s/Previous/Prev/
09:51:30 <mc47> I read what you wrote again, and I'm not sure what you want
09:51:46 <mc47> do you want to shift all the windows you have to the next workspace?
10:17:17 × berberman_ quits (~berberman@user/berberman) (Ping timeout: 255 seconds)
10:17:45 berberman joins (~berberman@user/berberman)
10:20:30 × terrorjack quits (~terrorjac@ec2-54-95-39-30.ap-northeast-1.compute.amazonaws.com) (Remote host closed the connection)
10:22:32 Natch joins (~natch@c-e070e255.014-297-73746f25.bbcust.telenor.se)
10:22:39 terrorjack joins (~terrorjac@ec2-54-95-39-30.ap-northeast-1.compute.amazonaws.com)
11:29:58 × Natch quits (~natch@c-e070e255.014-297-73746f25.bbcust.telenor.se) (Ping timeout: 268 seconds)
11:30:02 × jmes quits (~james@d75-155-42-59.abhsia.telus.net) (Remote host closed the connection)
11:32:29 Natch joins (~natch@c-e070e255.014-297-73746f25.bbcust.telenor.se)
12:25:44 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
12:25:45 allbery_b joins (~geekosaur@xmonad/geekosaur)
12:25:48 allbery_b is now known as geekosaur
12:53:26 × benin03693 quits (~benin@183.82.205.33) (Quit: Ping timeout (120 seconds))
12:53:44 benin03693 joins (~benin@183.82.205.33)
15:06:03 tremon joins (~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl)
15:35:36 Zevv joins (~Zevvvvv@not.connected.by.freedominter.net)
15:36:31 <Zevv> Hi folks. I'm considering from moving to one screen after having two for a long time, but I'd really miss the desktop switching on to monitors. Is there a way to mimic the behavior of two monitors when having only one?
15:36:45 <Zevv> So have it split and be able to pull up desktops on both halves?
15:38:13 <geekosaur> XMonad.Layout.LayoutScreens?
15:40:49 <Zevv> is there something this stuff can not do
15:40:51 <Zevv> thanks geekosaur
15:42:53 <geekosaur> one thing that can't do is relay it to clients, which may still open across both "screens" although xmonad will as usual try to tile them appropriately
15:43:06 <geekosaur> this is most noticeable with floating windows
15:43:47 <Zevv> well, that sounds very usable; I'll give this a spin on one of my screens before going on a shopping spree, but sounds like what I need
15:43:51 <Zevv> cool
15:44:22 <geekosaur> there are tricks you can play with xrandr if this isn't good enough
15:46:27 <Zevv> but on xrandr it'll still be one logical screen I guess?
15:47:06 <geekosaur> no, because of the ugly hack by which we get multiple screens in the first place
15:47:34 <geekosaur> basuically you can carve up the root eindow any way you want with xrandr and it will accept it
15:47:49 <Zevv> sweet. I didn't know that
15:48:40 <geekosaur> (at least until the next time you plug in or unplug a monitor, at which point it goes back to what the monitors report)
15:50:09 <Zevv> fair enough
16:13:54 <liskin> Zevv: there's also https://chipsenkbeil.com/notes/linux-virtual-monitors-with-xrandr/, which basically turns one large screen into two at the xserver/xrandr/xinerama level so most (all?) apps should work just as well as with two actual monitors
16:15:10 <liskin> I actually wanted to deprecate X.L.LayoutScreens in favor of this one, but I think there were still other valid uses of X.L.LayoutScreens, but I can't remember now what those were
16:40:40 <Zevv> oh nice thanks
17:38:15 × ^[ quits (~user@user//x-8473491) (Quit: ^[)
17:49:24 × benin03693 quits (~benin@183.82.205.33) (Ping timeout: 265 seconds)
18:04:05 <liskin> Solid: I'm working on the recompilation/installation stuff and I noticed xinitrc/xsession on Debian doesn't source .profile so xmonad isn't in $PATH; where do you set yours? in xinitrc?
18:04:41 <liskin> (I downloaded a bunch of minimal .qcow2 images so I can test the procedure from minimal assumptions)
18:09:11 <geekosaur> that's odd because I thought ubuntu inherited that behavior from debian
18:10:21 <liskin> it's entirely possible I'm doing something wrong
18:10:30 <liskin> maybe a different desktop manager would source it
18:10:48 <liskin> obviously when logging into the text console and then doing startx it works
18:12:40 Zevv parts (~Zevvvvv@not.connected.by.freedominter.net) (thanks again ppl)
18:20:09 ^[ joins (~user@user//x-8473491)
18:26:00 <liskin> oh, sddm's Xsession seems to source profile
18:26:15 <liskin> but it needs a .desktop :-/
18:27:29 <geekosaur> that would explain it, lightdm probably does the same
18:27:44 <liskin> lightdm was the one that didn't
18:28:23 <geekosaur> hm
18:58:26 <Solid> liskin: I just have `exec "$XMONAD_CONFIG_DIR"/xmonad-x86_64-linux` in my xinitrc
20:12:59 <liskin> Solid: oh, okay
20:15:59 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
20:17:24 geekosaur joins (~geekosaur@xmonad/geekosaur)
20:20:13 <geekosaur> welp, turns out my start-xmonad wrapper sources my .profile so I may be wrong about anything else doing so
20:20:26 <geekosaur> I hadn't looked at it in years
20:20:57 <geekosaur> also I need to upload my current config at some point
20:22:19 <liskin> well, we probably don't need to worry about this too much
20:22:33 <liskin> people don't usually get stuck on this one
20:23:31 <liskin> it's just that my method of verifying/improving INSTALL.md happens to be very detailed :-)
22:03:50 <liskin> and on Fedora, /etc/X11/xinit/xinitrc-common sources .profile
22:04:27 <liskin> it's crazy how this whole xinitrc thing differs from distro to distro
22:14:04 × ano quits (~weechat@user/ano) (Quit: ano)
22:27:55 tremon parts (~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) (channel hopping)
22:38:45 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)
23:25:27 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
23:26:47 geekosaur joins (~geekosaur@xmonad/geekosaur)
23:35:45 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)

All times are in UTC on 2021-07-24.