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