💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2019-09-25.txt captured on 2022-07-17 at 03:28:58.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

-=-=-=-=-=-=-

2019-09-25T01:17:20 #kisslinux <nestman> dylanaraps `alsa-utils`
2019-09-25T01:17:24 #kisslinux <nestman> `configure: WARNING: unrecognized options: --without-debug`
2019-09-25T02:05:00 #kisslinux <Crestwave> Does dylan check the logs from when he's offline?
2019-09-25T02:07:28 #kisslinux <nestman> i guess
2019-09-25T02:08:09 #kisslinux <nestman> he does reply to messages sent when he's offline
2019-09-25T02:12:25 #kisslinux <Crestwave> Ok. So regarding pfetch, why is INT trapped? It seems that it's so the terminal state will be reset on it, but EXIT gets triggered when that happens and trapping INT too just overrides the default handling (exiting the script), no?
2019-09-25T05:13:07 #kisslinux <dylanaraps> Crestwave: fixed
2019-09-25T05:16:19 #kisslinux <dylanaraps> nestman: fixed
2019-09-25T05:27:27 #kisslinux <dylanaraps> Crestwave: Do you know of a way to hide stdout but still allow printing to it with &>1 (or another descriptor)?
2019-09-25T05:27:57 #kisslinux <dylanaraps> This works: 'exec >/dev/null; printf test >/dev/tty' though I don't know how portable piping to '/dev/tty' is.
2019-09-25T05:41:39 #kisslinux <dylanaraps> ooo
2019-09-25T05:41:42 #kisslinux <dylanaraps> Figured it out
2019-09-25T05:56:35 #kisslinux <dylanaraps> Crestwave: You'll find this interesting https://github.com/dylanaraps/pfetch/blob/master/pfetch#L227-L235
2019-09-25T06:20:51 #kisslinux <Crestwave> Hm. Looks like it's interpreting the closing parenthesis in the case statement as a closing for the command substitution
2019-09-25T06:21:02 #kisslinux <Crestwave> /dev/tty is POSIX IIRC
2019-09-25T06:25:04 #kisslinux <Crestwave> You can use an opening parenthesis before the pattern instead but I don't know how portable that is
2019-09-25T06:25:51 #kisslinux <dylanaraps> I know backticks are portable so it's fine I guess.
2019-09-25T06:34:33 #kisslinux <Crestwave> It looks like the opening parenthesis are POSIX.
2019-09-25T06:35:13 #kisslinux <Crestwave> Yeah, they're portable, but aren't there some gotchas with it regarding backslashes? I guess it's mostly fine, though
2019-09-25T06:50:22 #kisslinux <dylanaraps> I'm happy with how this turned out: https://github.com/dylanaraps/pfetch/blob/master/pfetch#L126-L166
2019-09-25T06:51:24 #kisslinux <dylanaraps> I love how you can read the next line from inside the loop.
2019-09-25T06:51:48 #kisslinux <dylanaraps> The dynamic variable naming is great too.
2019-09-25T06:51:49 #kisslinux <Crestwave> By the way is the [ in [SUSE* intended?
2019-09-25T06:52:11 #kisslinux <dylanaraps> Good catch
2019-09-25T06:52:32 #kisslinux <dylanaraps> Fixed.
2019-09-25T06:52:49 #kisslinux <Crestwave> Thank vim's fragile syntax highlighting
2019-09-25T06:52:58 #kisslinux <Crestwave> On a less useful note, you're missing a quote at the comment on line 764 :P
2019-09-25T06:53:35 #kisslinux <Crestwave> s/764/800/ on latest master
2019-09-25T06:54:18 #kisslinux <dylanaraps> ooo
2019-09-25T06:58:56 #kisslinux <Crestwave> The macOS handling is great. How do you test it? VM? Or do you have a macbook/hackintosh?
2019-09-25T07:00:05 #kisslinux <dylanaraps> I get people to send me the full file contents or the full command output and I "fake it" and write a parser.
2019-09-25T07:00:26 #kisslinux <dylanaraps> See: https://github.com/dylanaraps/pfetch/issues/1
2019-09-25T07:02:28 #kisslinux <Crestwave> Ah. Have you seen https://github.com/foxlet/macOS-Simple-KVM?
2019-09-25T07:03:51 #kisslinux <dylanaraps> That's neat.
2019-09-25T07:04:02 #kisslinux <dylanaraps> Last time I tried it was an 11GB image and I had to patch VirtualBox.
2019-09-25T07:04:09 #kisslinux <dylanaraps> This was 3 years ago(?).
2019-09-25T07:04:24 #kisslinux <dylanaraps> No acceleration either.
2019-09-25T07:13:57 #kisslinux <dylanaraps> o/
2019-09-25T07:13:59 #kisslinux <dylanaraps> Welcome
2019-09-25T07:14:34 #kisslinux <superuserdo19> hi :)
2019-09-25T07:16:04 #kisslinux <dylanaraps> I'm happy to answer and questions you may have. :)
2019-09-25T07:18:00 #kisslinux <superuserdo19> Where do I put network interface configuration files?
2019-09-25T07:18:38 #kisslinux <dylanaraps> wpa_supplicant/dhcpcd are available in the repositories.
2019-09-25T07:18:43 #kisslinux <Crestwave> macos-simple-kvm is still pretty stuttery unless maybe you GPU passthrough and have an SSD, but it's more than fast enough for testing terminal stuff, and it's pretty easy to set up.
2019-09-25T07:18:57 #kisslinux <superuserdo19> thnx
2019-09-25T07:19:34 #kisslinux <dylanaraps> I'd need to package qemu for KISS first and it looks nightmarish. :P
2019-09-25T07:50:45 #kisslinux <dylanaraps> o/
2019-09-25T07:50:45 #kisslinux <dylanaraps> Welcome
2019-09-25T07:51:35 #kisslinux <dylanaraps> Crestwave: Dunno if you knew this but NetBSD implements a lot of Linux's /proc filesystem.
2019-09-25T07:51:37 #kisslinux <dylanaraps> https://github.com/dylanaraps/pfetch/blob/master/pfetch#L398-L414
2019-09-25T07:53:24 #kisslinux <orty> Hi, quick question: how can I install xrandr? Is it already part of some package?
2019-09-25T07:53:46 #kisslinux <dylanaraps> We haven't packaged it thus far.
2019-09-25T07:56:30 #kisslinux <dylanaraps> 2 secs
2019-09-25T07:58:10 #kisslinux <dylanaraps> orty: Pushed xrandr to the repositories.
2019-09-25T07:59:06 #kisslinux <orty> Thanks :)
2019-09-25T08:00:35 #kisslinux <orty> Btw, great distro. Working fine so far
2019-09-25T08:02:27 #kisslinux <Crestwave> dylanaraps: Cool. NetBSD is actually the only one of the big three I haven't installed yet; I should get around to it some time.
2019-09-25T08:02:30 #kisslinux <dylanaraps> Thanks :)
2019-09-25T08:03:21 #kisslinux <Crestwave> I'll try to help with the others later; I have them installed in a multiboot so I'll have to reboot to get to them.
2019-09-25T08:04:27 #kisslinux <dylanaraps> Nice, would be great.
2019-09-25T08:06:42 #kisslinux <dylanaraps> TIL about Picolibc: https://keithp.com/blog/
2019-09-25T08:06:46 #kisslinux <dylanaraps> It's a new libc for embedded.
2019-09-25T08:46:09 #kisslinux <unternet> there's also dietlibc: https://www.fefe.de/dietlibc/
2019-09-25T09:00:28 #kisslinux <dylanaraps> Neat
2019-09-25T09:00:32 #kisslinux <dylanaraps> Also UClibc.
2019-09-25T09:01:01 #kisslinux <dylanaraps> https://www.uclibc.org/
2019-09-25T09:01:12 #kisslinux <dylanaraps> Oh.
2019-09-25T09:01:20 #kisslinux <dylanaraps> Development is here now (uclibc-ng)
2019-09-25T09:01:22 #kisslinux <dylanaraps> https://uclibc-ng.org/
2019-09-25T09:27:23 #kisslinux <dylanaraps> Crestwave: There's a VT52/VT100 escape sequence for a newline and it can be embedded in strings!
2019-09-25T09:27:23 #kisslinux <dylanaraps> '^[E'
2019-09-25T09:34:42 #kisslinux <unternet> hm. compiled a new kernel, this time with vesa, doesn't boot: "invalid magic number" Oo
2019-09-25T09:34:54 #kisslinux <dylanaraps> Weird
2019-09-25T09:34:58 #kisslinux <dylanaraps> Tried googling it?
2019-09-25T09:35:19 #kisslinux <unternet> yeah but no immediate solution
2019-09-25T09:35:58 #kisslinux <unternet> should've kept the .config from the first time -.-
2019-09-25T09:37:05 #kisslinux <dylanaraps> Is your System.map file valid?
2019-09-25T09:37:26 #kisslinux <dylanaraps> Are you using an initramfs?
2019-09-25T09:37:35 #kisslinux <unternet> AH i'm not awake yet. without make install it'll likely not boot >.<
2019-09-25T10:11:54 #kisslinux <unternet> alright. X works, but openbox displays no fonts and firefox segfaults. slowly, slowly :)
2019-09-25T10:13:13 #kisslinux <dylanaraps> You probably need fonts if you don't have any yet.
2019-09-25T10:14:25 #kisslinux <unternet> that's a great quote illustrating kisslinux :)
2019-09-25T10:16:33 #kisslinux <dylanaraps> :P
2019-09-25T10:16:57 #kisslinux <dylanaraps> I just copied the fonts out of a Windows installation.
2019-09-25T10:16:59 #kisslinux <dylanaraps> Never have to worry about them again.
2019-09-25T10:17:11 #kisslinux <dylanaraps> We have unifont in community
2019-09-25T10:17:48 #kisslinux <dylanaraps> Also liberation-fonts-ttf in community.
2019-09-25T10:19:10 #kisslinux <unternet> unifont works, thanks
2019-09-25T10:28:52 #kisslinux <yamchah2> got st to show up in bspwm :D
2019-09-25T10:29:30 #kisslinux <dylanaraps> Nice
2019-09-25T10:30:04 #kisslinux <yamchah2> absolutely mad screen tear though D:
2019-09-25T10:32:02 #kisslinux <dylanaraps> Which xf86-video driver?
2019-09-25T10:33:12 #kisslinux <yamchah2> uhh is none a possible answer
2019-09-25T10:35:04 #kisslinux <dylanaraps> Yeah
2019-09-25T10:35:04 #kisslinux <dylanaraps> That's modesetting then.
2019-09-25T10:35:04 #kisslinux <dylanaraps> It's the generic driver built into Xorg.
2019-09-25T10:35:17 #kisslinux <yamchah2> guess thats my problem then?
2019-09-25T10:36:24 #kisslinux <dylanaraps> You can try the driver for your gpu ('kiss b xf86-video-intel' for example).
2019-09-25T10:36:39 #kisslinux <yamchah2> which would i try in a vm though?
2019-09-25T10:38:28 #kisslinux <yamchah2> also which repo is video-intel in?
2019-09-25T10:40:40 #kisslinux <yamchah2> my video thing in the vm is just "virtio"
2019-09-25T10:41:15 #kisslinux <dylanaraps> xorg
2019-09-25T10:41:15 #kisslinux <dylanaraps> Oh, it's a VM
2019-09-25T10:41:15 #kisslinux <dylanaraps> You can try xcompmgr from community
2019-09-25T10:41:15 #kisslinux <dylanaraps> It's a compositor.
2019-09-25T10:41:16 #kisslinux <dylanaraps> Try xcompmgr
2019-09-25T10:41:25 #kisslinux <dylanaraps> Specifically 'xcompmgr -a'
2019-09-25T11:17:48 #kisslinux <unternet> any idea why the keyboard wouldn't be working in X?
2019-09-25T11:23:47 #kisslinux <dylanaraps> Do you have libinput/xf86-input-libinput?
2019-09-25T11:24:31 #kisslinux <unternet> xf86-input-libinput, yes
2019-09-25T11:24:58 #kisslinux <unternet> (mouse works)
2019-09-25T11:25:32 #kisslinux <dylanaraps> Weird. Anything in the xorg log?
2019-09-25T11:26:40 #kisslinux <unternet> xkbcomp reports: unsupported high keycode 372 for name <I372> ignored
2019-09-25T11:27:19 #kisslinux <dylanaraps> That's fine.
2019-09-25T11:27:26 #kisslinux <dylanaraps> Though it sounds to me like it's working??
2019-09-25T11:27:28 #kisslinux <dylanaraps> What wm?
2019-09-25T11:27:33 #kisslinux <unternet> openbox
2019-09-25T11:28:25 #kisslinux <dylanaraps> Try this:
2019-09-25T11:28:28 #kisslinux <dylanaraps> Section "InputClass"
2019-09-25T11:28:30 #kisslinux <dylanaraps>     MatchDevicePath "/dev/input/event*"
2019-09-25T11:28:32 #kisslinux <dylanaraps>     identifier "libinput * catchall"
2019-09-25T11:28:34 #kisslinux <dylanaraps>     Driver "libinput"
2019-09-25T11:28:36 #kisslinux <dylanaraps> EndSection
2019-09-25T11:28:38 #kisslinux <dylanaraps> In: /etc/X11/xorg.conf.d/40-libinput.conf
2019-09-25T11:34:49 #kisslinux <unternet> hm. udev seems to find a "virtualbox usb tablet" and adds it as mouse, but no keyboard
2019-09-25T11:38:12 #kisslinux <dylanaraps> This might be a kernel driver issue again.
2019-09-25T11:38:14 #kisslinux <dylanaraps> Hm
2019-09-25T11:51:09 #kisslinux <dylanaraps> o/
2019-09-25T11:51:10 #kisslinux <dylanaraps> Welcome
2019-09-25T13:09:25 #kisslinux <dylanaraps> OpenBSD has no 'seq' huh.
2019-09-25T18:49:05 #kisslinux <superuserdo19> Can someone point me in the right direction in terms of setting up my xorg.conf.d? I can't find docs for this
2019-09-25T19:16:15 #kisslinux <superuserdo19> Specifically, I am unable to xinit and when I run xrandr I get "Can't open display"
2019-09-25T19:16:28 #kisslinux <yamchah2> is there any way mirrors could be implemented into kiss? kinda frustrating not being able to install basic stuff like firefox (tortall.net offline for yasm) and yesterday gnu.org was down taking down bash and freetype and more im sure
2019-09-25T19:16:37 #kisslinux <yamchah2> check the X logs
2019-09-25T19:27:16 #kisslinux <paradigm> superuserdo19: xrandr is used after x has already launched; won't work before you successfully launched it.  Some distros use "startx" as an xinit wrapper; if you have that on your system, you could try that.
2019-09-25T19:27:54 #kisslinux <paradigm> and yes, Xorg should produce logs which could mention the issue
2019-09-25T19:33:00 #kisslinux <Dredrim> Hi there~
2019-09-25T19:33:14 #kisslinux <Dredrim> Has anyone here managed to get Xorg working on a virtual machine?
2019-09-25T19:37:12 #kisslinux <superuserdo19> Dredrim: I'm trying to get it working on VirtualBox right now
2019-09-25T19:39:00 #kisslinux <Dredrim> Let me know if you manage it
2019-09-25T19:40:49 #kisslinux <superuserdo19> I am getting a 'no screens found' error in the logs - it seems I don't have any devices in my config file. How would I go about setting up the xorg config? Is there a way to autogenerate it?
2019-09-25T19:42:51 #kisslinux <Dredrim> Yeah I was getting the same error
2019-09-25T19:43:06 #kisslinux <Dredrim> Xorg -configure is the command to autogenerate it
2019-09-25T19:43:28 #kisslinux <Dredrim> And Xorg -config <file> for using it if I remember correctly
2019-09-25T19:43:32 #kisslinux <Dredrim> But still doesn't work
2019-09-25T19:43:37 #kisslinux <Dredrim> https://mesa.freedesktop.org/vmware-guest.html
2019-09-25T19:43:46 #kisslinux <paradigm> You might be missing video drivers
2019-09-25T19:43:52 #kisslinux <Dredrim> I was checking this webpage to see if there was something more I needed to do
2019-09-25T19:50:26 #kisslinux <superuserdo19> the log is saying I'm missing modules vmware, fbdev, and vesa - how do I get these?
2019-09-25T19:50:41 #kisslinux <superuserdo19> Dredrim: is this what you are running into?
2019-09-25T19:52:43 #kisslinux <paradigm> I believe those missing modules are the cause.  If you created an xorg.conf it might be a good idea to remove it so it doesn't bite you later once you get those modules.
2019-09-25T19:53:29 #kisslinux <paradigm> You might be able to get some or all of those modules by enabling them in the kernel configuration and (re)compiling
2019-09-25T19:57:03 #kisslinux <yamchah2> I have xorg working in a vm, but im using kvm/qemu
2019-09-25T19:59:27 #kisslinux <Dredrim> I have the module vmwgfx built on the kernel with [*] and starting on  boot
2019-09-25T19:59:31 #kisslinux <Dredrim> a
2019-09-25T19:59:42 #kisslinux <Dredrim> And I installed the xf86-vmware-video driver too
2019-09-25T20:00:00 #kisslinux <Dredrim> Mesa is also installed as a xorg dependency so I should have everything
2019-09-25T20:00:15 #kisslinux <Dredrim> But Xorg just explodes and doesn't even let me switch tty nor does it write a log file
2019-09-25T20:00:17 #kisslinux <paradigm> Do they show up in `lsmod`?
2019-09-25T20:00:44 #kisslinux <Dredrim> Nay, but vmwgfx shows in dmesg
2019-09-25T20:01:00 #kisslinux <paradigm> Try `modprobe`'ing them
2019-09-25T20:01:33 #kisslinux <Dredrim> vmwgfx is not found, I guess it's normal since I didn't build it as a module
2019-09-25T20:02:21 #kisslinux <paradigm> ahh, okay
2019-09-25T20:02:31 #kisslinux <paradigm> then I'm out of ideas
2019-09-25T20:02:39 #kisslinux <Dredrim> So I am
2019-09-25T20:03:00 #kisslinux <Dredrim> I can't make Xorg work on a virtual machine for some reason
2019-09-25T20:03:13 #kisslinux <Dredrim> I have an Arch installation in Vbox that works on wayland but explodes on Xorg
2019-09-25T20:04:08 #kisslinux <paradigm> huh
2019-09-25T20:04:28 #kisslinux <paradigm> Can you elaborate on explode?  I think I conflated your issue with superuserdo19's
2019-09-25T20:04:44 #kisslinux <Dredrim> Black screen and CPU lock
2019-09-25T20:05:44 #kisslinux <Dredrim> Same with VMware and KISS, it just goes black and ignores ctrl+alt+f2
2019-09-25T20:05:45 #kisslinux <paradigm> How do you know it's CPU lock?
2019-09-25T20:05:54 #kisslinux <paradigm> Have you tried sysrq?
2019-09-25T20:05:55 #kisslinux <Dredrim> A VBox popup tells me so
2019-09-25T20:05:59 #kisslinux <paradigm> oh
2019-09-25T20:06:05 #kisslinux <paradigm> well that's upsetting
2019-09-25T20:06:08 #kisslinux <paradigm> I have no idea
2019-09-25T20:06:34 #kisslinux <Dredrim> It's not even the same emulator but I'm intrigued that it's Xorg that always seems to give me problems
2019-09-25T20:08:07 #kisslinux <Dredrim> Just tried and sysrq doesn't wor either
2019-09-25T20:08:09 #kisslinux <Dredrim> work*
2019-09-25T20:08:52 #kisslinux <paradigm> I had hoped the issue was xorg taking control of the keyboard rather which you misdiagnosted as CPU lock, in which case sysrq could have regained keyboard control.  But a vbox pop up seems pretty definitive.
2019-09-25T20:12:46 #kisslinux <superuserdo19> paradigm: paradigm paradigm dredrim
2019-09-25T20:13:02 #kisslinux <superuserdo19> Dredrim: I'm in the same boat
2019-09-25T20:14:42 #kisslinux <paradigm> I'm not particularly savvy with either specifically KISS or Vbox.  Others who are inactive at the moment may be able to help more at a later time.
2019-09-25T20:15:09 #kisslinux <Dredrim> KISS is on VMWare, but I had the same problem on Vbox
2019-09-25T20:15:21 #kisslinux <Dredrim> Nothing seems to work
2019-09-25T20:15:42 #kisslinux <Dredrim> Ty for the help either way ^^
2019-09-25T20:15:52 #kisslinux <paradigm> Happy to help :)
2019-09-25T20:18:40 #kisslinux <superuserdo19> paradigm: Thank you!
2019-09-25T20:18:49 #kisslinux <superuserdo19> Dredrim: lmk if you make any progress
2019-09-25T20:19:23 #kisslinux <Dredrim> I will
2019-09-25T20:19:29 #kisslinux <Dredrim> Btw do we have a KISS wiki?
2019-09-25T20:19:35 #kisslinux <Dredrim> Or more documentation
2019-09-25T22:53:15 #kisslinux <yamchah2> for some reason neofetch on kiss decided that im running catwm and not bspwm :O
2019-09-25T23:32:53 #kisslinux <nestman> now that there's pfetch, will kiss-fetch be removed
2019-09-25T23:32:55 #kisslinux <nestman> ?
2019-09-25T23:54:42 #kisslinux <konimex> yamchah2: might be missing deps
2019-09-25T23:55:02 #kisslinux <konimex> I forgot which method is used to detect wms in neofetch