Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 21 22 23 24 25 26 27 28 29 30 31 .. 1842
184,156 events total
2021-05-31 23:47:08 <jaunedir> Hello there, i'm trying to add the volume function keys to my xmonad config file, but I cannot find the keycode for the Function 'Fn' key
2021-05-31 23:48:37 <geekosaur> it doesn't have opne, and is generally handled by the machine BIOS
2021-05-31 23:50:10 <geekosaur> generally the Fn+key shows up as a base keysym to X11 (that is, no modifiers)
2021-05-31 23:52:09 <geekosaur> and some Fn+key sequences are handled completely by the BIOS and don't show up to X11 at all, if they're passed through in any fashion it's as ACPI events (e.g. suspend key)
2021-05-31 23:52:34 <geekosaur> use xev to see what's going on when you press it
2021-05-31 23:52:35 <jaunedir> :geekosaur oh, thanks. so is there a way to tell this to xmonad?
2021-05-31 23:52:52 <geekosaur> what exactly are you trying to do?
2021-05-31 23:54:33 <jaunedir> I'm trying to map Fn + F2 to lower volume and Fn + F3 to increase it. Right now increasing and lowering it without the Function modifier works
2021-05-31 23:55:40 <geekosaur> so use xev to find out the keysyms sent by Fn+F2 and Fn+F3, and bind those keysyms in xmonad. if xev only reports keycodes, you'd have to use Xkb or xmodmap to bind keysyms to those keys
2021-05-31 23:56:06 <jaunedir> when I press Fn using `xev` I get a keycode 151, when pressing it with Fn + F2 it returns a keycode 122
2021-05-31 23:57:20 <geekosaur> 151 seems odd, I et XF86WakeUp as the keysym. (you bind keysyms in xmonad, not keycodes)
2021-05-31 23:57:57 <liskin> XF86WakeUp is the Fn key
2021-05-31 23:58:25 <liskin> it seems weird, but that's it actually is on a ThinkPad: it's the only key on the keyboard that wakes the laptop up from sleep
2021-05-31 23:58:37 <liskin> *that's what …
2021-05-31 23:58:37 <geekosaur> 122 is XF86AudioLowerVolume and should be bindable as such, althoguh they look like xK_XF86... in Haskell
2021-05-31 23:58:45 <jaunedir> my keysysm when pressing Fn + F2 and Fn + F3 are `0x10008ff11` and `0x10008ff11`, respectively
2021-05-31 23:59:30 <geekosaur> same keysym for both?
2021-05-31 23:59:44 <geekosaur> liskin, not on my X220 fwiw
2021-05-31 23:59:51 <jaunedir> sorry,
2021-06-01 00:00:11 <jaunedir> i meant `0x10008ff11` and `0x10008ff13`
2021-06-01 00:00:49 <jaunedir> concidentally, i algo get the XF86WakeUp, I'm using a Thinkpad too
2021-06-01 00:01:56 <jaunedir> :geekosaur I will try adding the xK_XF86...
2021-06-01 00:02:33 <geekosaur> I don't see either of those keysyms in the X11 include files, unfortunately, so you may have to rebind them. alternately just use those numbers directly
2021-06-01 00:03:24 <jaunedir> F, how do I add the keysym directly into the haskell config?
2021-06-01 00:05:38 <geekosaur> hm, if you're using additionalKeysP you probably can't and have to rebind the keys to something you can
2021-06-01 00:06:00 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
2021-06-01 00:06:06 <jaunedir> ```xK_XF86AudioRaiseVolume``` and ```xK_XF86AudioLowerVolume``` gives me an error. ```Variable not in scope: ... :: KeySym```
2021-06-01 00:06:32 <jaunedir> :geekosaur what are additionalKeysP ?
2021-06-01 00:06:34 <geekosaur> yes, there's an additional import you need for those
2021-06-01 00:06:47 <geekosaur> don't worry about it
2021-06-01 00:06:56 <jaunedir> oh, which is the name of the lib?
2021-06-01 00:06:56 × tremon quits (~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
2021-06-01 00:07:01 <geekosaur> it's an alternative way to bind keys
2021-06-01 00:08:17 <geekosaur> I'm sorry, I gave you the wrong names, turns out they're xF86XK_AudioLowerVolume etc.
2021-06-01 00:08:35 <jaunedir> oh, no problem
2021-06-01 00:08:35 <geekosaur> and they're in Graphics.X11.ExtraTypes.XF86
2021-06-01 00:10:23 <jaunedir> hmmm... I'm getting an error importing that library
2021-06-01 00:10:48 <jaunedir> oh, I wrote it wrong. never mind
2021-06-01 00:12:22 <jaunedir> wow, it works great now! Thanks (wo)man !
2021-06-01 00:12:32 <liskin> geekosaur: that's the last series with the proper 7-row keyboard, possibly they mapped the wakeup key after that
2021-06-01 00:13:07 <liskin> the T25 does map Fn to wakeup, but that doesn't mean anything :-)
2021-06-01 00:14:47 × jaunedir quits (~jaunedir@2806:104e:13:7bdb:dfa:a974:fff9:6ea6) (Quit: Client closed)
2021-06-01 00:17:37 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-06-01 01:03:33 × wenzel quits (~wenzel@user/wenzel) (Read error: Connection reset by peer)
2021-06-01 01:03:57 wenzel joins (~wenzel@user/wenzel)
2021-06-01 01:15:36 × hexo quits (~hexo@2a02-ab04-2843-9500-a8a2-cddc-7632-85af.dynamic.v6.chello.sk) (Ping timeout: 268 seconds)
2021-06-01 01:45:23 × geekosaur quits (~geekosaur@069-135-003-034.biz.spectrum.com) (Ping timeout: 265 seconds)
2021-06-01 02:21:46 × themainman quits (~themainma@user/themainman) (Quit: WeeChat 3.1)
2021-06-01 02:31:29 × td_ quits (~td@muedsl-82-207-238-238.citykom.de) (Ping timeout: 264 seconds)
2021-06-01 02:33:18 td_ joins (~td@94.134.91.112)
2021-06-01 03:27:14 berberman_ joins (~berberman@user/berberman)
2021-06-01 03:27:41 × berberman quits (~berberman@user/berberman) (Ping timeout: 252 seconds)
2021-06-01 03:28:33 jg joins (~jrgiacone@47.149.222.98)
2021-06-01 03:37:49 × jg quits (~jrgiacone@47.149.222.98) (Quit: Lost terminal)
2021-06-01 03:38:10 jg joins (~jrgiacone@47.149.222.98)
2021-06-01 04:35:22 wonko joins (~wjc@62.115.229.50)
2021-06-01 04:43:35 × milosz_ quits (~milosz@user/milosz) (Read error: Connection reset by peer)
2021-06-01 04:43:54 milosz_ joins (~milosz@user/milosz)
2021-06-01 04:56:35 × jg quits (~jrgiacone@47.149.222.98) (Ping timeout: 244 seconds)
2021-06-01 06:24:10 <Solid> that's the last series with the proper 7-row keyboard >> the x230 (and T430 I believe) can actually have the nice keyboards hacked into them
2021-06-01 06:24:26 <Solid> only requires very slight modification to both
2021-06-01 06:24:38 <Solid> s/ion/ions/
2021-06-01 06:51:27 mc47 joins (~yecinem@89.246.239.190)
2021-06-01 07:17:56 <mc47> liskin thanks for noticing the problem with the pipes
2021-06-01 07:18:10 <mc47> I played with it yesterday, and it flat out didn't work
2021-06-01 07:18:18 <mc47> was an easy fix though
2021-06-01 07:18:53 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 264 seconds)
2021-06-01 07:32:45 <Solid> oh nice the x11 release is coming closer
2021-06-01 07:38:17 <liskin> it was almost done yesterday but then I realized hackage won't generate the docs so I need to deal with generating and uploading that as well
2021-06-01 07:38:40 <liskin> I'm going to do this once I get my morning coffee
2021-06-01 07:39:04 <liskin> and then we'll have one-click releases for all three packages \o/
2021-06-01 07:40:37 <Solid> nice!
2021-06-01 07:40:53 <mc47> awesome! thanks a lot liskin
2021-06-01 07:41:42 <Solid> I wonder how we'll manage with the release announcement
2021-06-01 07:41:47 <Solid> even just the breaking changes are quite long
2021-06-01 07:43:06 <liskin> the nice way to do that would be to have an announcement that select a couple high-impact changes and showcases them with screenshots/videos and then just a link to the long details
2021-06-01 07:43:23 <liskin> we don't want to spend a month writing that though :-)
2021-06-01 07:43:39 <Solid> :D
2021-06-01 07:44:52 <Solid> we probably need a few lines on migration for some of the breaking changes at least
2021-06-01 08:04:12 <liskin> might just link to the breaking changes of the long CHANGES.md
2021-06-01 09:27:20 Nahra joins (~user@static.161.95.99.88.clients.your-server.de)
2021-06-01 09:32:40 qbt joins (~edun@user/edun)
2021-06-01 09:37:04 themainman joins (~themainma@user/themainman)
2021-06-01 09:40:57 × mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection)
2021-06-01 10:06:55 bghimis joins (~bghimis@80.96.21.160)
2021-06-01 10:14:39 <liskin> oh for fucks sake, it seems Hackage loses the uploaded docs when publishing a candidate package :-/
2021-06-01 10:17:17 × Nahra quits (~user@static.161.95.99.88.clients.your-server.de) (Remote host closed the connection)
2021-06-01 10:18:04 Nahra joins (~user@static.161.95.99.88.clients.your-server.de)
2021-06-01 10:54:03 <liskin> that's a bit silly as that means the docs need to be uploaded manually later, or I can switch the workflow to publish the package directly, but I'd rather not do that, it's good to be able to check for mistakes before publishing
2021-06-01 10:58:59 × mc47[m] quits (~mc47matri@2001:470:69fc:105::733) (Ping timeout: 268 seconds)
2021-06-01 10:59:15 mc47[m] joins (~mc47matri@2001:470:69fc:105::733)
2021-06-01 11:02:42 × psibi quits (~psibimatr@2001:470:69fc:105::8ab) (Ping timeout: 268 seconds)
2021-06-01 11:03:42 psibi joins (~psibimatr@2001:470:69fc:105::8ab)
2021-06-01 11:34:26 × slep quits (~slep@cpc150002-brnt4-2-0-cust437.4-2.cable.virginm.net) (Ping timeout: 252 seconds)
2021-06-01 11:36:41 slep joins (~slep@cpc150002-brnt4-2-0-cust437.4-2.cable.virginm.net)
2021-06-01 11:39:04 <Solid> :/
2021-06-01 11:46:31 mc47 joins (~yecinem@89.246.239.190)
2021-06-01 11:47:07 <mc47> liskin isn't it possible to have that stage of the pipeline manually triggered?
2021-06-01 11:47:54 <liskin> mc47: it is, yeah
2021-06-01 11:48:55 <mc47> so you could switch to the workflow that publishes the package directly, but make the publishing stage manual
←Prev  Next→
Page 1 .. 21 22 23 24 25 26 27 28 29 30 31 .. 1842

All times are in UTC.