💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2019-09-23.txt captured on 2024-05-12 at 16:10:42.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

2019-09-23T00:48:23 #kisslinux <nestman> dredrim if you compiled the video drivers as built-in, you need to also bake in the firmware drivers in the kernel
2019-09-23T00:48:59 #kisslinux <dredrim> I missed the vmware video drivers, recompiling the kernel now
2019-09-23T01:28:35 #kisslinux <nestman> can someone package `transmission`?
2019-09-23T01:28:53 #kisslinux <nestman> or just help me with packaging if that's okay
2019-09-23T03:22:04 #kisslinux <konimex> man arch devs are really thin-skinned sometimes
2019-09-23T03:22:06 #kisslinux <konimex> https://www.reddit.com/r/linux/comments/d7qr38/what_are_some_cliches_about_your_distro_you_have/f159m3q/
2019-09-23T04:41:00 #kisslinux <dylanaraps> nestman: I use aria2 as my torrent client.
2019-09-23T04:41:13 #kisslinux <dylanaraps> Just aria2c "magnet:"
2019-09-23T04:41:29 #kisslinux <dylanaraps> Or aria2c "magnet:" --select-file=number
2019-09-23T04:42:29 #kisslinux <dylanaraps> I'm looking into transmission.
2019-09-23T05:33:34 #kisslinux <dylanaraps> transmission depends: makedepends="autoconf automake bsd-compat-headers curl-dev dbus-glib-dev
2019-09-23T05:33:36 #kisslinux <dylanaraps>  gtk+3.0-dev intltool libevent-dev libnotify-dev openssl-dev tar"
2019-09-23T05:33:51 #kisslinux <dylanaraps> - dbus we can remove (I hope).
2019-09-23T05:33:57 #kisslinux <dylanaraps> - intltool can go.
2019-09-23T05:34:02 #kisslinux <dylanaraps> - libnotify has to go too.
2019-09-23T05:34:10 #kisslinux <dylanaraps> We've got the rest.
2019-09-23T05:39:07 #kisslinux <dylanaraps> WOW
2019-09-23T05:39:09 #kisslinux <dylanaraps> configure: error: "The gtk client cannot be built without nls support.  Try adding either --enable-nls or --without-gtk"
2019-09-23T05:40:16 #kisslinux <dylanaraps> I can patch around this.
2019-09-23T05:59:54 #kisslinux <dylanaraps> nestman: Transmission doesn't allow you to disable gettext for GTK.
2019-09-23T06:00:00 #kisslinux <dylanaraps> The terminal client should build fine though.
2019-09-23T06:41:10 #kisslinux <dylanaraps> ➜ cloc kiss
2019-09-23T06:41:12 #kisslinux <dylanaraps> kiss: 488
2019-09-23T06:41:14 #kisslinux <dylanaraps> woo hooo
2019-09-23T06:41:19 #kisslinux <dylanaraps> Down to 488 LOC (for the package manager).
2019-09-23T07:09:17 #kisslinux <dylanaraps> With LLVM9 it should be possible to ditch GCC entirely fyi
2019-09-23T07:09:52 #kisslinux <dylanaraps> The only issue being size of llvm/clang compared to gcc:
2019-09-23T07:09:54 #kisslinux <dylanaraps> ➜ kiss-size clang | tail -1
2019-09-23T07:09:56 #kisslinux <dylanaraps> 355.7M  total
2019-09-23T07:09:58 #kisslinux <dylanaraps> ➜ kiss-size llvm | tail -1
2019-09-23T07:10:00 #kisslinux <dylanaraps> 194.0M  total
2019-09-23T07:10:02 #kisslinux <dylanaraps> ➜ kiss-size gcc | tail -1
2019-09-23T07:10:04 #kisslinux <dylanaraps> 130.6M  total
2019-09-23T07:10:06 #kisslinux <dylanaraps> LLVM/Clang is *big*
2019-09-23T08:02:13 #kisslinux <nestman> `--disable-nls` removes dependency for gettext and intltool
2019-09-23T09:39:28 #kisslinux <dylanaraps> I'm using bspwm now :P
2019-09-23T09:40:34 #kisslinux <Crestwave> By the way, I don't think commands like echo, printf and [ are *technically* required to be shell builtins by POSIX.
2019-09-23T09:40:56 #kisslinux <Crestwave> They're builtins in every implementation I know of, though, except probably mrsh.
2019-09-23T09:41:53 #kisslinux <dylanaraps> Crestwave: Welcome o/
2019-09-23T09:44:52 #kisslinux <Crestwave> *wave* Also, the snippets in pure sh bible that operate on lines don't include lines that end in EOF. Is this intended?
2019-09-23T09:45:34 #kisslinux <Crestwave> You can add something line `|| [ -n "$line" ]` after the read command to do so, but you'll have to do some other stuff for functions like head
2019-09-23T09:46:14 #kisslinux <dylanaraps> Yeah, I've been meaning to fix this.
2019-09-23T09:47:23 #kisslinux <Crestwave> The only solution I could think of for head is storing a newline like `n=$(printf 'n')` then using `read -r line && line+=$n || [ -n "$line" ]` and `printf %s "$line"`. Not exaclty ideal
2019-09-23T09:47:28 #kisslinux <dylanaraps> Though the current snippets haven't caused any issues for me with regular files on my system.
2019-09-23T09:48:06 #kisslinux <dylanaraps> This works too for storing a newline:
2019-09-23T09:48:09 #kisslinux <dylanaraps> v="
2019-09-23T09:48:10 #kisslinux <dylanaraps> "
2019-09-23T09:48:21 #kisslinux <dylanaraps> No need for a subshell/printf call.
2019-09-23T09:48:41 #kisslinux <dylanaraps> Only issue is that it has to break indentation.
2019-09-23T09:48:55 #kisslinux <Crestwave> Oh, right. That's what I did for my program. I forgot about it :facepalm:
2019-09-23T09:49:44 #kisslinux <Crestwave> Yeah, they're not very common. The only time I encountered problems with it is when I did `xclip -o > file`, so it didn't end in a newline.
2019-09-23T09:50:54 #kisslinux <dylanaraps> Does POSIX read have -d?
2019-09-23T09:51:39 #kisslinux <dylanaraps> Ah, only '-r'.
2019-09-23T09:51:42 #kisslinux <Crestwave> Yep
2019-09-23T09:52:00 #kisslinux <Crestwave> (to the last message)
2019-09-23T09:54:06 #kisslinux <Crestwave> I guess that you could just add a `[ -n "$line" ] && printf %s "$line"` at the end of the function?
2019-09-23T09:54:28 #kisslinux <Crestwave> Nvm
2019-09-23T09:55:32 #kisslinux <dylanaraps> while read -r line || [ -n "$line" ]; do
2019-09-23T09:55:43 #kisslinux <dylanaraps> This should work no?
2019-09-23T09:55:50 #kisslinux <dylanaraps> OR:
2019-09-23T09:56:04 #kisslinux <Crestwave> That's what I said. But not for head, as it will print a newline when it doesn't have one
2019-09-23T09:56:11 #kisslinux <dylanaraps> while IFS= read -r line || [ -n "$line" ]; do
2019-09-23T10:00:16 #kisslinux <dylanaraps> Does this handle it correctly:
2019-09-23T10:01:12 #kisslinux <Crestwave> How about appending `[ -n "$line" ] && [ "$i" != "$1" ] && printf %s "$line"` to head?
2019-09-23T10:01:14 #kisslinux <dylanaraps> until [ "$eof" ]; do
2019-09-23T10:01:14 #kisslinux <dylanaraps>     printf '%s' "$line"
2019-09-23T10:01:14 #kisslinux <dylanaraps>     read -r line || eof=1 && printf 'n'
2019-09-23T10:01:14 #kisslinux <dylanaraps> done < file
2019-09-23T10:01:35 #kisslinux <dylanaraps> That would work.
2019-09-23T10:01:45 #kisslinux <dylanaraps> My until loop above doesn't work.
2019-09-23T10:01:52 #kisslinux <Crestwave> lol
2019-09-23T10:05:40 #kisslinux <dylanaraps> That works.
2019-09-23T10:09:13 #kisslinux <Crestwave> Great. Also, I'm not sure if I would really call the dash behaviors quirks; they're POSIX-compliant. The workarounds are great, though.
2019-09-23T10:10:52 #kisslinux <dylanaraps> I couldn't reproduce those issues in other shells, only dash.
2019-09-23T10:11:06 #kisslinux <dylanaraps> Which is why I called them (dash) quirks.
2019-09-23T10:14:40 #kisslinux <Crestwave> read actually doesn't crash it for me; it just displays a help message. Maybe I'm using a different version
2019-09-23T10:15:41 #kisslinux <Crestwave> mrsh has the same behavior as my dash
2019-09-23T10:16:38 #kisslinux <smileatme> Can someone help me setting up xorg? I've built the xorg-server package and bspwm, added bspwm to .xinitrc but when i try to startx it gives it gives me an error
2019-09-23T10:17:07 #kisslinux <Crestwave> What error?
2019-09-23T10:17:45 #kisslinux <smileatme> No screens found, server terminated with error(1)
2019-09-23T10:18:10 #kisslinux <Crestwave> Sounds like a driver or xorg configuration problem?
2019-09-23T10:18:23 #kisslinux <Crestwave> What graphics card are you using?
2019-09-23T10:18:49 #kisslinux <dylanaraps> It's a linux kernel driver issue most likely.
2019-09-23T10:19:32 #kisslinux <smileatme> Ati, when i try to build xf86-video-ati it says failed to download the .tar.gz
2019-09-23T10:20:19 #kisslinux <dylanaraps> I just tried downloading/building it and it worked fine.
2019-09-23T10:20:39 #kisslinux <dylanaraps> https://www.x.org/releases/individual/driver/xf86-video-ati-19.0.1.tar.gz
2019-09-23T10:20:46 #kisslinux <dylanaraps> This is where the package manager gets the source from.
2019-09-23T10:20:56 #kisslinux <dylanaraps> The generic modesetting driver should "just work" anyway.
2019-09-23T10:21:06 #kisslinux <dylanaraps> Which leads me to believe this is a kernel configuration issue.
2019-09-23T10:21:17 #kisslinux <smileatme> Yes it said bad adress 'www.x.org'
2019-09-23T10:22:38 #kisslinux <Crestwave> But other websites work fine?
2019-09-23T10:23:58 #kisslinux <dylanaraps> Regardless of the ati driver Xorg will be able to find your GPU/Monitor.
2019-09-23T10:24:10 #kisslinux <dylanaraps> Unless your kernel isn't configured correctly.
2019-09-23T10:24:16 #kisslinux <Crestwave> Still weird that he can't access x.org, though
2019-09-23T10:24:17 #kisslinux <dylanaraps> Mind sending your .config?
2019-09-23T10:24:27 #kisslinux <dylanaraps> Yeah
2019-09-23T10:24:41 #kisslinux <dylanaraps> Seeing as he build 'xorg-server' it's not an issue with x.org.
2019-09-23T10:24:56 #kisslinux <dylanaraps> As he's downloaded xorg-server and all of its X dependencies from the same site.
2019-09-23T10:25:04 #kisslinux <dylanaraps> as he built*
2019-09-23T10:25:12 #kisslinux <smileatme> Where can i send my .config?
2019-09-23T10:25:36 #kisslinux <smileatme> Maybe i should rebuild my kernel?
2019-09-23T10:26:20 #kisslinux <dylanaraps> pastebin, github gists, etc.
2019-09-23T10:26:32 #kisslinux <dylanaraps> Any site which allows you to upload a text file.
2019-09-23T10:36:54 #kisslinux <smileatme> Im here sorry i had to grab a coffee 😀
2019-09-23T10:38:01 #kisslinux <dylanaraps> I made one too, all good :P
2019-09-23T10:47:21 #kisslinux <smileatme> https://github.com/blovely/kernelconfig/blob/master/.config
2019-09-23T10:49:57 #kisslinux <smileatme> Btw i chrooted in kiss from my main os and i can build the ati driver
2019-09-23T10:56:04 #kisslinux <dylanaraps> Do you have eudev installed?
2019-09-23T10:57:05 #kisslinux <smileatme> Umm no, im building it right now
2019-09-23T10:57:27 #kisslinux <dylanaraps> That's probably why!
2019-09-23T10:57:48 #kisslinux <dylanaraps> You may have to rebuild xorg-server too (after eudev is installed).
2019-09-23T10:57:55 #kisslinux <smileatme> I've installed it
2019-09-23T10:58:08 #kisslinux <dylanaraps> Try rebuilding xorg-server now.
2019-09-23T10:58:13 #kisslinux <dylanaraps> Then see if it all works.
2019-09-23T10:58:25 #kisslinux <dylanaraps> For input you'll need 'libinput' and 'xf86-input-libinput'.
2019-09-23T10:58:56 #kisslinux <smileatme> Thank you
2019-09-23T10:59:37 #kisslinux <dylanaraps> I couldn't see any graphics related config errors in your .config.
2019-09-23T10:59:39 #kisslinux <dylanaraps> :)
2019-09-23T11:00:29 #kisslinux <smileatme> ❤
2019-09-23T11:08:59 #kisslinux <smileatme> Startx gave me the same error again
2019-09-23T11:09:29 #kisslinux <dylanaraps> Send me your Xorg log file
2019-09-23T11:09:55 #kisslinux <smileatme> Okay
2019-09-23T11:12:33 #kisslinux <dylanaraps> brb
2019-09-23T11:12:35 #kisslinux <dylanaraps> Doing a reboot
2019-09-23T11:15:32 #kisslinux <smileatme> Btw you made this distro alone?
2019-09-23T11:16:14 #kisslinux <Crestwave> He did it mostly with konimex, I think
2019-09-23T11:16:25 #kisslinux <dylanaraps> I had some help from Konimex, yeah.
2019-09-23T11:16:36 #kisslinux <dylanaraps> See:
2019-09-23T11:16:39 #kisslinux <dylanaraps> https://github.com/kisslinux/repo/graphs/contributors
2019-09-23T11:16:41 #kisslinux <dylanaraps> https://github.com/kisslinux/website/graphs/contributors
2019-09-23T11:16:46 #kisslinux <dylanaraps> https://github.com/kisslinux/kiss/graphs/contributors
2019-09-23T11:17:07 #kisslinux <smileatme> Awesome
2019-09-23T11:17:18 #kisslinux <smileatme> Well done, i cant wait to test it
2019-09-23T11:18:07 #kisslinux <dylanaraps> :D
2019-09-23T11:18:27 #kisslinux <Crestwave> Should I open a PR to pure sh bible for EOF handling changes I mentioned?
2019-09-23T11:18:33 #kisslinux <dylanaraps> Man, bspwm is faster than openbox. I didn't think I'd be able to notice a different at all.
2019-09-23T11:18:47 #kisslinux <dylanaraps> Crestwave: I was going to do it later today but if you're up to it, sure!
2019-09-23T11:19:32 #kisslinux <smileatme> https://github.com/blovely/kernelconfig/blob/master/Xorg-log
2019-09-23T11:21:02 #kisslinux <dylanaraps> [    12.446] (II) [KMS] drm report modesetting isn't supported.
2019-09-23T11:21:04 #kisslinux <dylanaraps> [    12.446] (EE) open /dev/dri/card0: No such file or directory
2019-09-23T11:22:00 #kisslinux <dylanaraps> Does your GPU require firmware blobs?
2019-09-23T11:22:20 #kisslinux <smileatme> I dont know.
2019-09-23T11:22:56 #kisslinux <dylanaraps> See: https://wiki.gentoo.org/wiki/AMDGPU
2019-09-23T11:25:04 #kisslinux <smileatme> Sec, ill try to use my integrated card maybe itll work
2019-09-23T11:25:56 #kisslinux <dylanaraps> I needed firmware for my intel GPU.
2019-09-23T11:27:15 #kisslinux <dylanaraps> 'dmesg' may have helpful information too.
2019-09-23T11:44:35 #kisslinux <nestman> can i also update my scrots over time? lol
2019-09-23T11:45:19 #kisslinux <dredrim> Hi there
2019-09-23T11:45:37 #kisslinux <dredrim> Anyone managed to get graphics working on VMware? Xorg just dumps a black screen on me
2019-09-23T12:19:04 #kisslinux <dylanaraps> nestman: yes
2019-09-23T12:19:25 #kisslinux <dylanaraps> dredrim: I've only tried QEMU/KVM
2019-09-23T12:19:43 #kisslinux <dylanaraps> nestman: Send me scrots when you want to update yours on the page.
2019-09-23T12:36:27 #kisslinux <Crestwave> By the way, do code reviewers get notified of commits and/or when proposed changes are resolved on GitHub?
2019-09-23T12:41:55 #kisslinux <dylanaraps> I don't think so (unless someone is explicitly assigned as the reviewer(?)).
2019-09-23T12:42:36 #kisslinux <dylanaraps> I get a GitHub notification when something is resolved though it doesn't tell me what has changed, just that *something* has been changed.
2019-09-23T12:42:46 #kisslinux <dylanaraps> In terms of emails, I think it's only comments.
2019-09-23T12:49:34 #kisslinux <Crestwave> Thanks; I used to keep leaving a comment when resolving something because I wasn't sure what happens to the reviewer.
2019-09-23T12:50:06 #kisslinux <Crestwave> I guess there's some value in doing so for the email alert, though, which is probably why I felt that they responded faster when I leave a comment.
2019-09-23T12:52:16 #kisslinux <dylanara1> Yeah
2019-09-23T12:52:26 #kisslinux <Crestwave> I did suggest changes before but for some reason I never *seem* to get GitHub alerts, only email ones.
2019-09-23T12:53:42 #kisslinux <dylanara1> Leaving a comment is better anyway.
2019-09-23T12:53:52 #kisslinux <dylanara1> https://i.imgur.com/fmlAA38.jpg
2019-09-23T12:53:56 #kisslinux <dylanara1> This is bspwm. :P
2019-09-23T13:03:10 #kisslinux <Crestwave> TIL that feh supports URLs.
2019-09-23T13:03:40 #kisslinux <Crestwave> Looks exactly like yout openbox rice to me
2019-09-23T13:05:30 #kisslinux <dylanara1> Yup
2019-09-23T13:05:31 #kisslinux <Crestwave> So you use bspwm with floating windows (or is that just for the screenshot)? I thought it was supposed to be mainly a tiling WM
2019-09-23T13:05:36 #kisslinux <dylanara1> Floating windows.
2019-09-23T13:05:40 #kisslinux <dylanara1> I just swapped today.
2019-09-23T13:06:07 #kisslinux <dylanara1> I can't do tiling at this DPI and font size.
2019-09-23T13:06:07 #kisslinux <Crestwave> Interesting
2019-09-23T13:06:27 #kisslinux <dylanara1> I have 90~ columns *fullscreen*.
2019-09-23T13:07:12 #kisslinux <dylanara1> Actually, 100~ columns fullscreen.
2019-09-23T13:07:21 #kisslinux <Crestwave> Yikes. Why not lower the font size, though? Does it become too hard to read?
2019-09-23T13:07:39 #kisslinux <dylanara1> My eyes are really bad.
2019-09-23T13:07:51 #kisslinux <Crestwave> Even with glasses?
2019-09-23T13:08:18 #kisslinux <dylanara1> Better with glasses.
2019-09-23T13:08:24 #kisslinux <dylanara1> Was caused by too much screen time.
2019-09-23T13:09:05 #kisslinux <dylanara1> Close and far.
2019-09-23T13:09:26 #kisslinux <Crestwave> Aw that sucks
2019-09-23T13:12:12 #kisslinux <dylanara1> It's fine really. Glasses/Contacts fix most of it.
2019-09-23T13:17:33 #kisslinux <Crestwave> I have bad vision too, but I can read near stuff clearly with glasses. Are you able to read books?
2019-09-23T13:19:42 #kisslinux <dylanara1> Yeah, I can read books.
2019-09-23T13:20:22 #kisslinux <dylanara1> The large font is more to limit eye strain.
2019-09-23T13:20:47 #kisslinux <dylanara1> Stops me from squinting and it's easier to see.
2019-09-23T13:22:47 #kisslinux <dylanara1> o/
2019-09-23T13:22:48 #kisslinux <dylanara1> Welcome
2019-09-23T13:31:07 #kisslinux <Crestwave> I guess that's fine, then. Maybe I should try out a slightly larger font, too.
2019-09-23T13:32:37 #kisslinux <Crestwave> Why the constant account switching, by the way?
2019-09-23T13:39:29 #kisslinux <dylanaraps> Laptop died twice.
2019-09-23T13:39:40 #kisslinux <dylanaraps> So it didn't register that I left.
2019-09-23T13:47:05 #kisslinux <dredrim> Hmmm
2019-09-23T13:47:18 #kisslinux <dredrim> I think I need to install the guest tools for the video driver
2019-09-23T13:47:29 #kisslinux <dredrim> But the guest tools need glibc and so on
2019-09-23T13:51:29 #kisslinux <dylanaraps> Maybe not: https://www.x.org/wiki/vmware/
2019-09-23T13:53:09 #kisslinux <dredrim> I was checking that web just earlier
2019-09-23T13:53:32 #kisslinux <dredrim> Somehow I didn't see the repo info link lol, was trying to clone the gitlab repository which didn't work
2019-09-23T13:53:44 #kisslinux <dredrim> I'm trying this one now
2019-09-23T15:25:09 #kisslinux <dredrim> Hi back
2019-09-23T15:25:26 #kisslinux <dredrim> So I installed xf86-video-vmware and the mouse driver too
2019-09-23T15:25:34 #kisslinux <dredrim> And have the kernel driver too
2019-09-23T15:25:45 #kisslinux <dredrim> But still black screen of death x.x
2019-09-23T15:29:14 #kisslinux <dylanaraps> What does the xorg log say now?
2019-09-23T15:29:41 #kisslinux <dylanaraps> nestman: I ported the bspwm rounded corners patch to master if you're interested. https://github.com/dylanaraps/bspwm
2019-09-23T15:31:57 #kisslinux <dredrim> After changing the driver in xorg. conf to "vmware" it now says "no screens found(EE)"
2019-09-23T15:33:39 #kisslinux <dylanaraps> Can I see th exact log?
2019-09-23T15:34:38 #kisslinux <dylanaraps> the*
2019-09-23T15:36:45 #kisslinux <dredrim> I was just checking it now, apparently it can't find the vmware module. Same error if I try mesa
2019-09-23T15:36:58 #kisslinux <dredrim> Kind of a dumb question, but is there any easy way to upload logs from terminal?
2019-09-23T15:37:22 #kisslinux <dredrim> VMware is trolling me and doesn't want to make filesharing work
2019-09-23T15:38:38 #kisslinux <dylanaraps> konimex: What was the netcat(?) method again?
2019-09-23T15:43:12 #kisslinux <dylanaraps> Did you compile the module with `[*]` or `[m]`?
2019-09-23T15:46:50 #kisslinux <dredrim> [*], just checked it
2019-09-23T15:48:35 #kisslinux <dylanaraps> Does vmware need any binary firmware blobs?
2019-09-23T15:52:40 #kisslinux <dredrim> I have no idea, it's my first time using it
2019-09-23T21:45:24 #kisslinux <konimex> whatever here (usually cat) | nc termbin.com 9999