Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→ 184,312 events total
2025-01-23 15:00:48 × RMSBach quits (~guygastin@137.184.131.156) (*.net *.split)
2025-01-23 15:05:45 kaskal joins (~kaskal@84-115-237-124.cable.dynamic.surfer.at)
2025-01-23 15:05:45 srk joins (~sorki@user/srk)
2025-01-23 15:05:45 jzargo joins (~jzargo@user/jzargo)
2025-01-23 15:05:45 Leary joins (~Leary@user/Leary/x-0910699)
2025-01-23 15:05:45 RMSBach joins (~guygastin@137.184.131.156)
2025-01-23 15:14:14 ft joins (~ft@p3e9bcab6.dip0.t-ipconnect.de)
2025-01-23 15:16:01 × ft quits (~ft@p3e9bcab6.dip0.t-ipconnect.de) (Client Quit)
2025-01-23 15:18:00 ft joins (~ft@p3e9bcab6.dip0.t-ipconnect.de)
2025-01-23 16:06:32 Digitteknohippie is now known as Digit
2025-01-23 16:30:13 × m5zs7k quits (aquares@web10.mydevil.net) (Ping timeout: 248 seconds)
2025-01-23 16:33:02 m5zs7k joins (aquares@web10.mydevil.net)
2025-01-23 16:34:46 Guest12 joins (~Guest12@2a02:2f0f:6109:3500:6bf:1bff:fec0:9354)
2025-01-23 16:44:48 <Guest12> Hello! I have a problem with xmonad. I am reusing my config when using one screen or multiple screens. When multiple screens are connected, I can swap to workspaces (on different screens) with M-w (to the left) and M-e (to the right). When using only one screen i would still want to be able to do this (like if I'm on workspace 0_2 and I press M-e i
2025-01-23 16:44:49 <Guest12> would like to "swap" to screen 1, workspace 1_1 (basically extending my 9 workspaces). My code currently works using greedyView (I can swap to workspace 1_1), but that does not change the screen, it only swaps to that workspace... The screen is still 0, so M-5 would send me to 0_5 instead of 1_5. Is there a way to *switch* completely to screen 1
2025-01-23 16:44:49 <Guest12> with empty workspaces (not hacking my M-1, M-2, M-X etc keybinds that are doing: "windows $ onCurrentScreen W.view (workspaces' conf !! X)" Code: https://pastebin.com/LFaRxQ0A
2025-01-23 16:47:37 <Guest12> I think what I'm asking is if there is a way to simulate multiple (virtual) screens on a single physical screen.
2025-01-23 17:00:40 <geekosaur> I think there's something you can do with xrandr to make it tell xmonad there are two screens; that's about the only way I can think of. But I think you'll have to talk to liskin if he's around; I don't seem to do well with xrandr for some reason
2025-01-23 17:01:11 <geekosaur> hm, no, that wouldn't work either, it would switch to the "other screen" but the viewport would still be on the real screen
2025-01-23 17:01:12 <fizzie> Just going by "way to simulate multiple (virtual) screens on a single physical screen" rather than the rest, there's also XMonad.Layout.LayoutScreens.
2025-01-23 17:01:30 <geekosaur> I don't think there's a good way to do what you want, or switch to using XMonad.Actions.Plane
2025-01-23 17:01:37 <geekosaur> only in the single screen case
2025-01-23 17:01:57 <geekosaur> but I think trying to pull that off would be difficult
2025-01-23 17:02:22 <fizzie> https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Layout-LayoutScreens.html -- should allow you to have XMonad treat a single physical screen as multiple screens that would be treated the same way as if they were real ones.
2025-01-23 17:02:26 <geekosaur> LayoutScreens splits the physical screen as xmonad sees it, that's not what is wanted here. Also other programs don't know about it so you get weird behavior
2025-01-23 17:03:10 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Ping timeout: 244 seconds)
2025-01-23 17:04:49 × mc47 quits (~yecinem@p200300ee0f038dc39287614d4759a7ca.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
2025-01-23 17:04:52 <fizzie> I guess you didn't want to split the one remaining monitor but have it present one or the other, right.
2025-01-23 17:06:59 <fizzie> Here's one real kludgy way I can think of that might be *possible* (but not a good idea): when there's just one connected monitor, use XRandR to configure a desktop that's twice the size of the monitor, with panning, and then use LayoutScreens to have XMonad split it into two logical screens; then make the M-w/M-e keybindings affect the panning rather than anything XMonad is doing.
2025-01-23 17:07:39 <fizzie> Well, the panning *and* the XMonad focus.
2025-01-23 17:07:40 <Guest12> Yes, it's like i want to make screen 0 black, and start up screen 1, I dont want to split my current screen. I looked into xrandr yesterday, and it said I should do a dummy screen and switch to it but I couldn't get it to work (also it had like 1280x1020 resolution)
2025-01-23 17:08:07 <geekosaur> you should be able to specify a resolution with --mode
2025-01-23 17:08:16 <fizzie> (Making mouse motion make sense left as an exercise to the reader for this double-wide-with-panning scheme.)
2025-01-23 17:08:21 <Guest12> I was thinking about the panning thing, but i still got xmobar displayed, so i think it will just get stretched
2025-01-23 17:08:55 <Guest12> maybe using both panning and layoutscreens would work
2025-01-23 17:09:08 <geekosaur> xmobar won't know about layoutScreens
2025-01-23 17:09:15 <fizzie> As geekosaur said, other programs not understanding that it's supposed to behave as two separate monitors would probably be an issue.
2025-01-23 17:09:27 <Guest12> the resolution was the problem because the xorg dummy was for servers where they dont need full hd ;(
2025-01-23 17:10:46 <fizzie> I feel like even if you managed to make a "non-visible" monitor with XRandR with the right resolution, that still wouldn't easily let you swap which workspaces you're seeing on the real one.
2025-01-23 17:12:01 <fizzie> Also you'd maybe lose your mouse cursor into the non-visible monitor all the time. ;)
2025-01-23 17:12:24 <geekosaur> that would have a propensity for moving you to the other monitor while leaving the viewport on the real one
2025-01-23 17:13:32 <Guest12> Also would starting another xmonad instance on a different tty help? I think the downside is that I would lose the ability to comunicate between workspaces on different ttys
2025-01-23 17:15:18 <Guest12> "(Making mouse motion make sense left as an exercise to the reader for this double-wide-with-panning scheme.)" this was actually what i wanted to achieve, to use a mouse gesture to switch from screen 0 to screen 1 to get more real estate ;)
2025-01-23 17:15:24 <geekosaur> hm. no, and I don't think (a) you could make zaphod mode work here (b) xmonad core would need patching to support it (it always uses X11 Screen 0)
2025-01-23 17:16:09 <fizzie> Is stopping using IndependentScreens-style workspaces and just using one combined set that can be shown on any screen an option? That plays well with a changing number of monitors (it just affects how many you can have visible at once).
2025-01-23 17:17:16 <geekosaur> that's more or less X.A.Plane, which I mentioned earlier
2025-01-23 17:18:37 <geekosaur> the problem there is a second screen will show another workspace from the current plane and can't be made to show something from a different plane
2025-01-23 17:19:39 <geekosaur> and you can't convert planes to IndependentScreens-style workspaces or vice versa, so switching from single to multiple monitor mode would require logging out of the session (not just restarting xmonad, that would preserve workspace marshaling)
2025-01-23 17:20:42 <geekosaur> I think it would be possible to modify IndependentScreens to do this, but it would make an already complicated module even more complicated and failure-prone
2025-01-23 17:21:04 <geekosaur> (tbh I'm amazed IndependentScreens works as well as it does)
2025-01-23 17:28:47 <Guest12> I see, thanks guys for the info! I could actually hack into how M-1 M-2 keybindings work and like when "switching" (actually swapping) to different screens, I could use some kind of state to remember the current workspace on each virtual screen (like a list [0_3, 1_2, 2_2, 3_4] and if i'm on 0_6 and i go right I get on 1_2 and the list would become
2025-01-23 17:28:47 <Guest12> [*0_6*, 1_2, 2_2, 3_4]) but I think this will make the config very complicated to understand later...
2025-01-23 17:31:23 <Guest12> I was hoping there was a way to interact directly with the place where xmonad stores the current screen number, and just say now it's this (because it's easy to compute it from workspace name 0_2 => screen 0 so i need to switch to screen 1) but it seems its harder to do it :)
2025-01-23 17:35:08 <geekosaur> it's relatively easy to do that. the first problem is convincing xmonad it has more than one screen when it doesn't (IndependentScreens does this, but not the way you want), the second is needing to edit the StackSet to switch your fake "screens", the third is convincing e.g. "refresh" not to try to display both screens when they're not actually separate
2025-01-23 17:36:40 <geekosaur> also other things which assume that, since xmonad "has two screens available", they're both visible
2025-01-23 18:58:57 × Guest12 quits (~Guest12@2a02:2f0f:6109:3500:6bf:1bff:fec0:9354) (Quit: Client closed)
2025-01-23 19:20:23 L29Ah joins (~L29Ah@wikipedia/L29Ah)
2025-01-23 22:46:16 × tv quits (~tv@user/tv) (Read error: Connection reset by peer)
2025-01-23 23:08:20 × catman quits (~catman@user/catman) (Quit: WeeChat 4.5.1)
2025-01-23 23:13:55 catman joins (~catman@user/catman)
2025-01-23 23:21:06 × Miroboru quits (~myrvoll@178-164-114.82.3p.ntebredband.no) (Ping timeout: 276 seconds)
2025-01-23 23:22:26 Miroboru joins (~myrvoll@178-164-114.82.3p.ntebredband.no)
2025-01-24 01:00:48 beastwic1 joins (~brian@pool-74-102-103-193.nwrknj.fios.verizon.net)
2025-01-24 01:00:49 dweller joins (~dweller@178.62.146.60)
2025-01-24 01:04:28 × beastwick quits (~brian@user/beastwick) (Remote host closed the connection)
2025-01-24 01:04:28 × avalan quits (~dweller@178.62.146.60) (Remote host closed the connection)
2025-01-24 01:41:19 × haskellbridge quits (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection)
2025-01-24 01:42:11 haskellbridge joins (~hackager@syn-024-093-192-219.res.spectrum.com)
2025-01-24 02:13:14 × dweller quits (~dweller@178.62.146.60) (Ping timeout: 252 seconds)
2025-01-24 02:13:29 dweller joins (~dweller@178.62.146.60)
2025-01-24 02:55:14 × ft quits (~ft@p3e9bcab6.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
2025-01-24 02:57:06 ft joins (~ft@p508db1ba.dip0.t-ipconnect.de)
2025-01-24 06:22:23 × ft quits (~ft@p508db1ba.dip0.t-ipconnect.de) (Quit: leaving)
2025-01-24 07:56:43 mc47 joins (~yecinem@p200300ee0f038d616a75ecb5ce80e61a.dip0.t-ipconnect.de)
2025-01-24 08:00:05 × catman quits (~catman@user/catman) (Ping timeout: 252 seconds)
2025-01-24 08:05:13 catman joins (~catman@user/catman)
2025-01-24 09:11:36 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
2025-01-24 09:16:03 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 265 seconds)
2025-01-24 09:35:30 tv joins (~tv@user/tv)
2025-01-24 10:15:46 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
2025-01-24 11:34:14 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Remote host closed the connection)
2025-01-24 12:03:55 ft joins (~ft@p508db1ba.dip0.t-ipconnect.de)
2025-01-24 12:21:12 × mc47 quits (~yecinem@p200300ee0f038d616a75ecb5ce80e61a.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
2025-01-24 13:13:15 × rieper quits (~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933) (Quit: No Ping reply in 180 seconds.)
2025-01-24 13:14:26 rieper joins (~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933)
2025-01-24 13:34:19 mc47 joins (~yecinem@host-212-114-138-22.customer.m-online.net)
2025-01-24 13:36:17 × redgloboli quits (~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
2025-01-24 14:59:35 b34n5_ joins (326c9865e2@irc.cheogram.com)
2025-01-24 15:41:44 × mc47 quits (~yecinem@host-212-114-138-22.customer.m-online.net) (Ping timeout: 252 seconds)
2025-01-24 15:47:42 mc47 joins (~yecinem@host-212-114-138-22.customer.m-online.net)
2025-01-24 17:09:12 Guest76 joins (~Guest76@208.108.184.253)
2025-01-24 17:10:49 × Guest76 quits (~Guest76@208.108.184.253) (Client Quit)
2025-01-24 17:11:38 × mc47 quits (~yecinem@host-212-114-138-22.customer.m-online.net) (Ping timeout: 265 seconds)
2025-01-25 01:01:48 × b34n5_ quits (326c9865e2@irc.cheogram.com) (Remote host closed the connection)
2025-01-25 02:04:42 × ft quits (~ft@p508db1ba.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
2025-01-25 02:06:21 ft joins (~ft@p3e9bcfa2.dip0.t-ipconnect.de)
2025-01-25 02:51:42 todi joins (~todi@p57803331.dip0.t-ipconnect.de)
2025-01-25 03:42:00 × terrorjack45 quits (~terrorjac@2a01:4f8:c17:a66e::) (Quit: The Lounge - https://thelounge.chat)
2025-01-25 03:44:57 terrorjack45 joins (~terrorjac@2a01:4f8:c17:a66e::)
2025-01-25 05:21:53 samhh_ is now known as samhh

All times are in UTC.