Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 537 538 539 540 541 542 543 544 545 546 547 .. 1848
184,792 events total
2022-03-11 18:49:33 Viejito joins (~Viejito@pool-108-46-30-53.nycmny.fios.verizon.net)
2022-03-11 18:49:38 <Articus> Could use some help to be able to print messages again in xmessage
2022-03-11 18:49:47 <Articus> ooops
2022-03-11 18:50:00 <geekosaur> if xmessage isn't displaying anything it may mean you're missing some bitmapped fonts
2022-03-11 18:50:19 <geekosaur> what distro?
2022-03-11 18:50:24 <Articus> Manjaro
2022-03-11 18:51:02 × Viejito quits (~Viejito@pool-108-46-30-53.nycmny.fios.verizon.net) (Client Quit)
2022-03-11 18:52:49 <Articus> I had issues in xmessage in Manjaro at first, it was showing other language letters and I added Xmessage*font: -*-*-*-*-*-*-*-*-*-*-*-*-*-* to .xinitrc, it worked. But now it stopped showing messages
2022-03-11 19:00:00 <geekosaur> blah. not finding what they call the stock X11 fonts package
2022-03-11 19:00:53 <geekosaur> if you don't mind perl, my wrapper that runs zenity might be of interest: https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmessage
2022-03-11 19:03:25 <Articus> your xmonad.hs calls your xmessage?
2022-03-11 19:03:30 <geekosaur> that XLFD spec is problematic btw; on most systems I've tried it on, it gets me a CJK font
2022-03-11 19:04:47 <Articus> I belive I'll reinstall Manjaro, but I would like to take a peek at your config after that
2022-03-11 19:05:07 <geekosaur> https://github.com/geekosaur/xmonad.hs/tree/skkukuk
2022-03-11 19:08:48 <Articus> On manjaro by default xmessage send letters in a different alphabet, I remember once I installed a font package from the AUR and it got fixed, but I dond't remember or saved which package was, I found that XFLD on reddit from someone having the same issue. Works on this distro
2022-03-11 19:08:53 <ArshiaAghaei[m]> geekosaur, any clue how to set up a polkit for virt-manager?
2022-03-11 19:08:56 <ArshiaAghaei[m]> Using xmonad
2022-03-11 19:09:09 <geekosaur> none, sorry
2022-03-11 19:09:57 <ArshiaAghaei[m]> geekosaur Also, I had to re-login
2022-03-11 19:10:03 <ArshiaAghaei[m]> Now the keys work
2022-03-11 19:10:08 <ArshiaAghaei[m]> for some reason
2022-03-11 19:10:32 <geekosaur> possibly pkexec will help you
2022-03-11 19:10:37 × theproffesor quits (~theproffe@2601:282:847f:8010::7f59) (Ping timeout: 240 seconds)
2022-03-11 19:11:03 theproffesor joins (~theproffe@c-24-9-30-127.hsd1.co.comcast.net)
2022-03-11 19:11:09 <geekosaur> but that just invokes policykit's authenticator around a program, and assumes polkit knows how to authenticate virt-manager
2022-03-11 19:11:44 <geekosaur> and probably requires dbus to be running
2022-03-11 19:12:51 <geekosaur> which means you end up changing that exec= line we discussed earlier to something like: dbus-launch /home/arshia/.local/bin/xmonad
2022-03-11 19:13:01 <geekosaur> and logging out and back in
2022-03-11 19:13:52 × Articus quits (~Articus@207.248.198.65) (Quit: Client closed)
2022-03-11 19:59:08 <ArshiaAghaei[m]> I just did sudo virt-manager
2022-03-11 19:59:11 <ArshiaAghaei[m]> And it worked
2022-03-11 20:00:17 <geekosaur> setting up dbus and using pkexec is probably better than running random stuff as root
2022-03-11 20:03:29 <ArshiaAghaei[m]> geekosaur: virt-manager isn't random tho
2022-03-11 20:03:31 <ArshiaAghaei[m]> It's an app
2022-03-11 20:03:39 <MrElendig> you can also use a user qemu session instead of the system one for most use cases
2022-03-11 20:03:42 <ArshiaAghaei[m]> vm manager
2022-03-11 20:04:09 <MrElendig> slightly more inconvenient if you use bridge networking, but only slightly
2022-03-11 20:05:05 <geekosaur> I know what virt-manager is. I still prefer restricting elevated permissions to when they're really needed, and polkit has better granularity than sudo in that regard
2022-03-11 20:06:03 <geekosaur> (ex-sysadmin; I'm paranoid about root perms in particular)
2022-03-11 20:09:53 × twiclo quits (~twiclo@204.14.20.66.static.utbb.net) (Read error: Connection reset by peer)
2022-03-11 20:17:07 bfrk joins (~Thunderbi@i59F7ABAD.versanet.de)
2022-03-11 20:39:07 × benin quits (~benin@183.82.26.94) (Quit: The Lounge - https://thelounge.chat)
2022-03-11 20:45:04 <liskin> With a working polkit, there's no need to pkexec vítr-manager. The polkit agent will ask for password when connecting to the system qemu session.
2022-03-11 20:45:39 <liskin> And then, the user session works brilliantly, too, once networking is taken care of.
2022-03-11 20:46:29 <liskin> I think all I needed to do was to run the gnome polkit agent in the background. Obviously dbus and stuff is taken care of by the distro
2022-03-11 20:53:29 <ArshiaAghaei[m]> yeah I have to exec the polkit manually
2022-03-11 20:53:42 <ArshiaAghaei[m]> How do I manage brightness?
2022-03-11 20:53:55 <ArshiaAghaei[m]> M-right and left arrow won't work
2022-03-11 20:56:14 <geekosaur> https://hackage.haskell.org/package/xmonad-extras-0.17.0/docs/XMonad-Util-Brightness.html
2022-03-11 21:05:30 <ArshiaAghaei[m]> I can't seem to find the special character for function key
2022-03-11 21:06:40 <liskin> On some laptops those keys emit acpi events rather than keycodes
2022-03-11 21:07:12 <ArshiaAghaei[m]> Older or newer ones?
2022-03-11 21:07:59 <liskin> Older ones handled it in firmware
2022-03-11 21:08:12 <liskin> Newer ones either emit keys or events
2022-03-11 21:08:34 <liskin> My 5 yo thinkpad emits acpi events
2022-03-11 21:23:13 ArshiaAghaei[m] sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/1859a46e4948b4315ea117bdb25575a5bf072271
2022-03-11 21:23:15 <ArshiaAghaei[m]> bruh
2022-03-11 21:23:31 <ArshiaAghaei[m]> This is EXACT same property in the guide
2022-03-11 21:23:39 <ArshiaAghaei[m]> And it was said to be used like that
2022-03-11 21:24:16 <geekosaur> which guide?
2022-03-11 21:25:00 <ArshiaAghaei[m]> https://wiki.archlinux.org/title/Libinput
2022-03-11 21:26:04 <geekosaur> fwiw on my thinkpad Fn-Home and Fn-End emit ACPI events and appear to be handled in ACPI firmware (but may be handled by acpid)
2022-03-11 21:29:28 <geekosaur> you probably need to make sure the property actually has that number; in my experience it varies per device
2022-03-11 21:31:48 <geekosaur> the Click Method Enabled is prop 340 on my machine, not 303
2022-03-11 21:32:19 <geekosaur> xprop --list-props $device # whatever $device is
2022-03-11 21:32:28 <ArshiaAghaei[m]> I did check
2022-03-11 21:36:58 ArshiaAghaei[m] sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/9f4536f3313f9373e220e23233c627e3aa18b397
2022-03-11 21:45:02 <ArshiaAghaei[m]> 358 should probably be 1, 1 geekosaur
2022-03-11 21:45:51 <geekosaur> no, I'm talking the prop number, not the setting
2022-03-11 21:46:21 <ArshiaAghaei[m]> isn't 358 the prop number?
2022-03-11 21:47:35 <geekosaur> oh, I misunderstood what you were saying
2022-03-11 21:47:50 <geekosaur> on my machine the prop number is 340 and its value is 1, 1
2022-03-11 21:47:57 <geekosaur> https://paste.tomsmeding.com/iXkrQN0n
2022-03-11 21:48:51 × bfrk quits (~Thunderbi@i59F7ABAD.versanet.de) (Ping timeout: 252 seconds)
2022-03-11 21:54:06 <liskin> geekosaur: which thinkpad do you have?
2022-03-11 21:54:39 <liskin> Although fn-home probably means it's T420 or earlier
2022-03-11 21:54:50 <liskin> (or T25, but I'd remember that)
2022-03-11 21:58:33 <geekosaur> X220
2022-03-11 22:02:30 <ArshiaAghaei[m]> <geekosaur> "on my machine the prop number is..." <- I tried 1, 1 as value
2022-03-11 22:02:32 <ArshiaAghaei[m]> same error
2022-03-11 22:02:58 <geekosaur> I think in the example they showed you enter it without the comma?
2022-03-11 22:03:10 <ArshiaAghaei[m]> Yeah
2022-03-11 22:03:13 <ArshiaAghaei[m]> I did that initially
2022-03-11 22:08:27 <geekosaur> mmm, actually I'm getting the same error. but it reports the bad value… and it's the option, not its value
2022-03-11 22:12:58 <ArshiaAghaei[m]> I tried 348
2022-03-11 22:13:03 <ArshiaAghaei[m]> Seems to work
2022-03-11 22:13:13 <geekosaur> but if I change the option name/value it correctly reportsit as invalid
2022-03-11 22:13:18 <geekosaur> so I have no idea
2022-03-11 22:13:46 <geekosaur> and reports BadMatch if I only provide 1 value instead of 2
2022-03-11 22:21:38 twiclo joins (~twiclo@vpn.utahbroadband.com)
2022-03-11 22:25:54 × xacktm quits (xacktm@user/xacktm) (Ping timeout: 260 seconds)
2022-03-11 22:31:16 jeeeun9 joins (~jeeeun@78.40.148.178)
2022-03-11 22:32:37 zawaken- joins (~zawaken@user/zawaken)
2022-03-11 22:32:51 habib joins (~habib@217.146.83.233)
2022-03-11 22:34:38 habib is now known as alaminium
2022-03-11 22:34:55 alaminium is now known as habibalamin
2022-03-11 22:35:16 habibalamin is now known as alaminium
2022-03-11 22:35:59 alaminium is now known as habibalamin
2022-03-11 22:36:40 habibalamin is now known as alaminium
2022-03-11 22:38:10 incertia_ joins (~incertia@207.98.163.88)

All times are in UTC.