Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→ 184,953 events total
2023-03-31 10:29:12 <Ou42> I've never gorked DPI other than "dots per inch" ... so, basically, a 1080p HDTV has a DPI of 40 ( learned that tonight -- there are calculators online! but got the measuring tape and it was pretty close! ), but, it's 10 feet away ...
2023-03-31 10:29:41 <Ou42> so say i hold out the measuring tape and measure the percieved length of my tv?
2023-03-31 10:29:57 <Ou42> I haven't done this, but I figure it's as if it's a hidpi monitor.
2023-03-31 10:31:05 <Ou42> anyway, moving on. still can't figure out how to get xmobar on 2 screens, but found a setting... broadest(sp?)
2023-03-31 10:31:37 <geekosaur> you have to run a separate xmobar for each screen, each with an option telling it which screen to run on (-x 0, -x 1, etc.)
2023-03-31 10:31:53 <Ou42> so it's on the tv's screen and the page I found that pointed me to the fg/bg colors also mentioned font sizes, but very confusing, but linked to their source and that made sense!
2023-03-31 10:32:07 <geekosaur> it's not one of the desktop environment panels that can instantiate for multiple screens or in multiple locations
2023-03-31 10:32:29 <Ou42> I tried the -x 0 and -x 1 but it seriously broke things so I reverted.
2023-03-31 10:32:51 <geekosaur> "broke things"?
2023-03-31 10:33:03 <Ou42> instructions online usually predate the ewmh(sp?) change, which I think borks everything
2023-03-31 10:34:06 <Ou42> I'm an idiot and should have taken a picture of it. in my tabbed layout it opened xmobar as 3 tabs
2023-03-31 10:34:46 <Ou42> but then another tweak just didn't show anything. hotkeys didn't work. apps didn't show. not even term
2023-03-31 10:34:52 <geekosaur> that sounds like either you don't have ManageDocks set up right or it's not setting struts any more
2023-03-31 10:34:57 <Ou42> lots of artifcacting on the bottom 1/3rd
2023-03-31 10:35:50 <Ou42> back to the idiot part, I was using "apt show" to check what ver installed apps were. Well, "show" doesn't prove they are in fact installed.
2023-03-31 10:38:11 <Ou42> spent a whle getting xmessage to use a bigger font, but did this in cinnamon, switched to xmonad and it didn't use the scaled font! what gives?
2023-03-31 10:38:27 <Ou42> IOW, your script replacing xmessage is probably the way I should go.
2023-03-31 10:39:19 <Ou42> to add insult to injury, if I run the same test, calling, `xmessage "hello, world" &`it works w/ the scaled font!
2023-03-31 10:40:48 <Ou42> there's more but mem is fading. I got trayer to show, found a thread from 2015? that said it might be due to the "virtual desktop" and the "top" of one monitor being "above the other"
2023-03-31 10:41:00 <Ou42> not sure about that, but moved trayer to the bottom and it showed
2023-03-31 10:43:13 <Ou42> <https://askubuntu.com/questions/10005/getting-trayer-to-work-with-dual-screen-setup>
2023-03-31 10:43:23 <geekosaur> most desktop environments store things like that in their own private areas (somewhere in dconf, usually) so it's not surprising that a change made in cinnamon doesn't affect other environments
2023-03-31 10:43:48 <Ou42> the xmessage font size thing?
2023-03-31 10:43:51 <geekosaur> also (old) trayer doesn't support multiscreen, you need at least trayer-srg
2023-03-31 10:43:54 <geekosaur> yes
2023-03-31 10:44:58 <Ou42> trayer-srg gotcha. the other "tut" suggested stalonetray, but I fgure stick w/ the xmonad.org tut, unless you suggest otherwise
2023-03-31 10:45:22 <geekosaur> actually it looks like debian-based distros have trayer as trayer-srg
2023-03-31 10:45:46 <geekosaur> (see `apt show trayer`, note the homepage)
2023-03-31 10:46:09 <Ou42> one sec
2023-03-31 10:46:35 <Ou42> I really don't grok the workspace switching yet. sometimes it works and other times it flips to the other screen
2023-03-31 10:47:24 <geekosaur> yes, if the workspace you select is on the other screen then by default it swaps what workspace is on what screen so the primary monitor is always focused
2023-03-31 10:48:01 <Ou42> I grok your words, but need time to let it sink in
2023-03-31 10:48:12 <Ou42> xmobar says [1] (2) 3
2023-03-31 10:48:20 <Ou42> sometimes the [ ] and ( ) swap
2023-03-31 10:48:21 <geekosaur> https://wiki.haskell.org/Xmonad/Frequently_asked_questions#Replacing_greedyView_with_view
2023-03-31 10:48:35 <Ou42> Homepage: https://github.com/sargon/trayer-srg
2023-03-31 10:49:29 <geekosaur> right, this can be confusing because debian-derived systems call it trayer but it's actually trayer-srg
2023-03-31 10:49:46 <geekosaur> which has somewhat different options
2023-03-31 10:50:09 <Ou42> back to xmessage... the way I set it was in .Xresources. I spawnOnce that file. I don't reference anything when calling xmessage from the terminal and it picks up my font setting. I could change .Xresources and then M-q and see if it changes in M-S-fwd-slash
2023-03-31 10:50:29 <geekosaur> anyway you want to look at that "replacing…" link if you want workspaces to work properly
2023-03-31 10:51:07 <geekosaur> you can't spawnOnce that file directly, you spawnOnce `xrdb -merge ~/.Xresources`
2023-03-31 10:51:19 <Ou42> that's what I have.
2023-03-31 10:51:21 <geekosaur> although if you're on a debian it should be done for you automatically
2023-03-31 10:51:39 <Ou42> actually, hold on, I might ave a "&" at the end
2023-03-31 10:51:48 <geekosaur> ("cinnamon" makes me think you're on mint, which is derived from ubuntu, which is derived from debian testing)
2023-03-31 10:52:38 <Ou42> yes
2023-03-31 10:53:36 <Ou42> the .Xresources fg/bg fix worked, but the font change only works when calling xmessage directly.... does xmoand call xmessage by an alias?
2023-03-31 10:54:33 <Ou42> xmobar lists it as "xmessage"
2023-03-31 10:55:02 <geekosaur> no, it calls it directly. it may pass a font though
2023-03-31 10:55:47 <Ou42> OK, then I will wind down with this... in the tut, I'm lost why the change from the first iteration of xmobar integration ...
2023-03-31 10:55:54 <geekosaur> https://github.com/xmonad/xmonad/blob/master/src/XMonad/Core.hs#L463 we indeed set the font
2023-03-31 10:56:55 <Ou42> that was gonna be my other Q, but forgot... I know of hoogle and was able to find some info, but how do you find the source so fast?
2023-03-31 10:57:07 <Ou42> tips tricks appreciated
2023-03-31 10:58:06 <geekosaur> I've been working with xmonad for 15+ years and know the source pretty well 🙂 no helpful tricks in there though
2023-03-31 10:59:24 <Ou42> I think I'm up to 15 hours
2023-03-31 10:59:28 <Ou42> that's a stretch
2023-03-31 10:59:57 <Ou42> I learned (|||) is Arrow fan-in
2023-03-31 11:00:08 <Ou42> I feel like a kid here
2023-03-31 11:00:14 <Ou42> you guys got some serious candy
2023-03-31 11:00:40 <Ou42> if I can just get FF to stop flipping to the other screen...
2023-03-31 11:01:59 <geekosaur> our ||| is not the Arrow one
2023-03-31 11:02:05 <Ou42> OK, reading the workspaces wrong
2023-03-31 11:02:10 <geekosaur> it's a smart list separator that remembers its state
2023-03-31 11:02:28 <Ou42> aww c'mon! I thought I was making progress w/ the learning. :face-palm:
2023-03-31 11:02:36 <geekosaur> as for flipping screens you probably want to look at that link I sent earlier
2023-03-31 11:02:48 <geekosaur> https://wiki.haskell.org/Xmonad/Frequently_asked_questions#Replacing_greedyView_with_view
2023-03-31 11:02:49 <Ou42> working on it
2023-03-31 11:02:51 <Ou42> thanks
2023-03-31 11:03:27 <Ou42> I'm just not adept enough yet. best to use tabbed layout and the mouse for this back and forth
2023-03-31 11:03:36 <geekosaur> https://github.com/xmonad/xmonad/blob/master/src/XMonad/Layout.hs#L176-L182 re (|||)
2023-03-31 11:04:17 <Ou42> are you going directly to the source page? and/or is there a way to get to that link from say, hoogle?
2023-03-31 11:04:25 <Ou42> "view source"?
2023-03-31 11:04:38 <geekosaur> yes
2023-03-31 11:04:42 <Ou42> oh oh oh and the log for this channel... is it searchable?
2023-03-31 11:05:02 <geekosaur> but I'm going directly, as a developer I have the github sources open at all times
2023-03-31 11:05:12 <geekosaur> we have a log but search functionality is disabled 😞
2023-03-31 11:05:28 <Ou42> even via duckduckgo? or archive?
2023-03-31 11:05:41 <geekosaur> I think tomsmeding didn't want to have to set up full text indexing
2023-03-31 11:05:56 <geekosaur> not sure if that's enabled
2023-03-31 11:06:19 <Ou42> no worries.
2023-03-31 11:06:52 <Solid> for reference: https://ircbrowse.tomsmeding.com/browse/lcxmonad
2023-03-31 11:07:04 <Ou42> morning solid!
2023-03-31 11:07:21 <Ou42> you guys really should move to PST, then we can all be up at 4AM
2023-03-31 11:07:42 <Solid> waking up at 4am would really be something
2023-03-31 11:07:46 <geekosaur> I just tried a site: search and it seems not, at least for lcxmonad (I did get one hit for lchaskell)
2023-03-31 11:07:47 <Solid> but I think I'll pass :)
2023-03-31 11:08:01 <geekosaur> I woke at 4am, yet again 😞
2023-03-31 11:08:08 <geekosaur> gonna need a nap today I think
2023-03-31 11:09:57 <Ou42> same.
2023-03-31 11:10:33 <Ou42> FYI, Solid isn't making a Billion$ on a bet I could annoy you. Your paticence is legendary.
2023-03-31 11:11:15 <Ou42> ugh, full disclaimer, I've never been here before whenever that was... time blurs when one doesn't sleep
2023-03-31 11:11:30 <Ou42> OK, here's my noob Q
2023-03-31 11:11:36 <Ou42> from the xmonad.org tut:
2023-03-31 11:11:40 <Ou42> "Changing What XMonad Sends to Xmobar"
2023-03-31 11:12:00 <Ou42> I know this is boneheaded, but what is Xmonad sending to Xmobar?!
2023-03-31 11:12:14 <Ou42> and why do [I] have to change the way they initially set it up?
2023-03-31 11:12:36 <Ou42> <https://xmonad.org/TUTORIAL.html>
2023-03-31 11:12:39 <geekosaur> that string you were talking about earlier, showing the active workspaces and window titles, etc
2023-03-31 11:13:02 <geekosaur> and you can change it to customize how it appears, add/remove information, etc.
2023-03-31 11:13:10 <Ou42> right, bt it's working and I didn't AFAICR yet continue w/ the tut.

All times are in UTC.