💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2021-11-18.txt captured on 2022-07-17 at 03:06:27.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
[2021-11-18T02:58:58Z] <testuser[m]> Hi [2021-11-18T03:00:24Z] <acheam> Hi! [2021-11-18T03:54:46Z] <phoebos> hi [2021-11-18T04:25:22Z] <natris1979[m]> hi people just saying "hi". What are you up to? [2021-11-18T04:26:26Z] <jslick> hi [2021-11-18T04:26:59Z] <natris1979[m]> heh, was trying to break the cycle of "hi"s there [2021-11-18T04:28:17Z] <jslick> hi, I was playing slay the spire [2021-11-18T04:28:38Z] <natris1979[m]> oh that one looks interesting [2021-11-18T04:29:01Z] <natris1979[m]> I've recently come off a big FTL kick [2021-11-18T04:29:46Z] <jslick> I have over 1300 hours; I still suck at it [2021-11-18T04:29:55Z] <jslick> there is a card in sts called FL [2021-11-18T04:29:58Z] <jslick> * FTL [2021-11-18T04:30:16Z] <natris1979[m]> dang, that's some commitment [2021-11-18T04:30:27Z] <jslick> I oughta put FTL on my wishlist [2021-11-18T04:30:40Z] <natris1979[m]> I like it a lot [2021-11-18T04:31:08Z] <natris1979[m]> it's very satisfying both casually and as an obsessive completionist [2021-11-18T04:40:32Z] <noocsharp> hi [2021-11-18T06:49:31Z] <natris1979[m]> so I was curious why `ssu` (or `sudo`) exists when there is `su` which does much the same thing. So I created this little shell function: ```... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/348c2377005626d1aadc35ab6a25d598987d5eeb) [2021-11-18T06:50:12Z] <natris1979[m]> oof that formatting got messed up, but I think it's still readable. Let me know if not [2021-11-18T06:50:22Z] * natris1979[m] is a new Matrix user [2021-11-18T06:53:05Z] <natris1979[m]> oh I guess one thing is that `su` requires the root password. But I still don't quite get why my thing didn't work even with that [2021-11-18T06:53:40Z] <natris1979[m]> oh probably because only the first parameter got passed with $1, so I was running echo and cat with no params [2021-11-18T06:54:01Z] <testuser[m]> Do $@ [2021-11-18T06:54:20Z] <testuser[m]> Or $* [2021-11-18T06:55:05Z] <testuser[m]> natris1979: u need to add a newline before "```" for it to show properly [2021-11-18T06:56:41Z] <natris1979[m]> ah, yeah `$*` did the trick. So I guess it's that sudo/ssu let you use the underprivileged user's password. Which is pretty useful in an non home/toy server context [2021-11-18T06:56:51Z] <testuser[m]> Yeah [2021-11-18T06:57:01Z] <testuser[m]> And also have options to preserve environment variables [2021-11-18T06:57:06Z] <testuser[m]> I don't think su has that [2021-11-18T06:57:09Z] <natris1979[m]> well thanks for 90% rubber ducking for me :) [2021-11-18T06:57:25Z] <natris1979[m]> oh interesting, I didn't know sudo did that [2021-11-18T06:57:58Z] <natris1979[m]> * so I was curious why `ssu` (or `sudo`) exists when there is `su` which does much the same thing. So I created this little shell function: ```... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/8503ca0203d359bf35cdd63d6756d9c27b64b7bd) [2021-11-18T08:40:19Z] <bibliocar> Somehow I don't think netsurf is going to work with Discord. I know, it's terrible, but I like to keep in touch with friends. [2021-11-18T08:43:00Z] <bibliocar> rdircd seems like a way to go. [2021-11-18T08:49:23Z] <testuser[m]> bibliocar: https://github.com/Bios-Marcel/cordless [2021-11-18T08:49:24Z] <testuser[m]> Install this [2021-11-18T08:50:13Z] <testuser[m]> Discord idiot staff got the project closed but it still works [2021-11-18T08:50:22Z] <bibliocar> oh, that's good to hear. [2021-11-18T08:50:43Z] <bibliocar> Is go easy on kiss? [2021-11-18T08:51:05Z] <testuser[m]> Easy as `go build` [2021-11-18T08:51:32Z] <testuser[m]> https://github.com/gord-project/gord btw use this fork instead, it's dead too but it added support for the new "replies" thing before dying [2021-11-18T08:53:14Z] <bibliocar> I'm on arm with glasnost/llvm [2021-11-18T08:57:23Z] <bibliocar> okay, nevermind. Looks like it can also use gcc [2021-11-18T08:57:53Z] <testuser[m]> U don't need gcc? [2021-11-18T08:57:57Z] <testuser[m]> Go build with clang [2021-11-18T08:58:45Z] <bibliocar> oh, okay. [2021-11-18T09:19:49Z] <bibliocar> I like kiss a lot so far. [2021-11-18T09:20:09Z] <testuser[m]> nice [2021-11-18T09:22:18Z] <bibliocar> lots of rough edges, though. I think the simplicity thing goes a long way in terms of giving people like me the ability to fix problems. [2021-11-18T09:25:19Z] <bibliocar> oh neat, I just found the repo search site. [2021-11-18T21:14:28Z] <jedavies> bibliocar: have now added an aarch64 kernel and uboot to the repo. May be a useful starting point for your device. [2021-11-18T21:15:34Z] <jedavies> Unfortunately building uboot for the pinephone means building gcc 3 times though xD [2021-11-18T21:26:49Z] <noocsharp> why 3? [2021-11-18T21:27:01Z] <noocsharp> don't you just need aarch64 and or1k? [2021-11-18T21:27:18Z] <noocsharp> (if you use crust) [2021-11-18T21:27:19Z] <jedavies> and arm-none-eabi, for atf [2021-11-18T21:27:56Z] <noocsharp> ah [2021-11-18T21:28:04Z] <jedavies> I tried building them with clang, but it's currently missing features that would allow this. [2021-11-18T21:28:08Z] <noocsharp> i appear to have it installed but no recollection of every needing it [2021-11-18T21:57:53Z] <jason123onirc> someone wants to run kiss on the pinephone? [2021-11-18T22:06:18Z] <natris1979[m]> Isn't there a fork of kiss that can cross compile to arm? Would that make life easier? [2021-11-18T22:10:33Z] <dilyn> you can use crosstools-ng to quickly create a cross-compiler... [2021-11-18T22:10:44Z] <dilyn> there's an aarch64 fork of kiss by jedavies iirc... [2021-11-18T22:15:05Z] <jedavies> The aarch64 fork is now archived, since Glasnost allows running on and cross building to aarch64. Currently chatting from a pinephone. [2021-11-18T22:15:41Z] <jedavies> Did not have time to maintain both [2021-11-18T22:16:19Z] <jason123onirc> you have kiss on the pinephone? [2021-11-18T22:19:02Z] <jedavies> A fork of kiss [2021-11-18T22:21:45Z] <jedavies> Same package manager but it allows cross building. clang/llvm is used instead of gcc/binutils. core, extra and wayland are kept in line with kiss, with most packages being symlinked to mainline kiss wherever possible. [2021-11-18T22:22:03Z] <jedavies> So I don't have to update them - Dylan does [2021-11-18T22:23:28Z] <jason123onirc> What is the experience with kiss on the pinephone? [2021-11-18T22:24:03Z] <jason123onirc> well not kiss but the fork glasnost [2021-11-18T22:28:35Z] <jedavies> As a regular linux desktop (i.e. plugged into a mouse/kbd/monitor as I have it now) - similar to running regular kiss. It has the same base set of packages. [2021-11-18T22:29:30Z] <jason123onirc> What desktop or gui do you use? if you use one [2021-11-18T22:29:31Z] <jedavies> Have been running it as my main desktop for about a month. It has firefox and a terminal, which is mostly what I need. [2021-11-18T22:30:00Z] <jedavies> I use sway right now. Would like to try some other wayland compositors though. [2021-11-18T22:31:07Z] <jedavies> As a phone though - I have wvkbd mapped to one of the volume keys which toggles it. So I can run terminals and firefox using the mobile UI. [2021-11-18T22:31:40Z] <jason123onirc> You could try and get sxmo working [2021-11-18T22:31:42Z] <jedavies> But phonecalls, texts, bluetooth etc, I haven't tried yet [2021-11-18T22:32:24Z] <jedavies> I think it works with sway now (was called "swmo" I think?), so maybe. [2021-11-18T22:33:43Z] <jason123onirc> yeah [2021-11-18T22:33:59Z] <jason123onirc> its sway for mobile [2021-11-18T22:34:33Z] <jason123onirc> sxmo would be much better then using full desktop sway [2021-11-18T22:35:09Z] <jedavies> just regular sway + wvkbd is almost enough [2021-11-18T22:36:39Z] <jedavies> you can switch workspaces by touching the screen, launch apps with the on screen keyboard / bemenu. [2021-11-18T22:37:16Z] <jason123onirc> I have a pinephone running arch and never saw someone use kiss on the pinephone [2021-11-18T22:37:59Z] <jedavies> kiss supports only x86_64 [2021-11-18T22:38:38Z] <jedavies> other people have forked it to run on different devices [2021-11-18T22:39:16Z] <jason123onirc> yes I know that only glasnost works [2021-11-18T22:41:25Z] <natris1979[m]> yeah, glasnost is what I was thinking of [2021-11-18T22:54:08Z] <natris1979[m]> Be warned. The sxmo codebase isn't pretty imo. Lots of shellscripts that make a lot of assumptions about the environment. Which I suppose is fine if you're using it completely, but it's a bit wonky to try to grab pieces of in a meaningful way [2021-11-18T22:55:11Z] <natris1979[m]> I tried porting some of the sxmo code to work under arch on my ms surface laptop and gave up after a while [2021-11-18T22:56:33Z] <jedavies> Yeah I don't think it would work on kiss without a lot of changes. dbus, bluez, xorg etc. are needed [2021-11-18T22:56:37Z] <jason123onirc> sxmo is all ready ported to arch [2021-11-18T22:59:25Z] <jedavies> Right now I just want the basics to allow me to launch applications. Haven't thought how to do phonecalls, texts etc. in a "kiss" style [2021-11-18T23:04:51Z] <jason123onirc> you could take stuff from sxmo [2021-11-18T23:10:45Z] <jedavies> Maybe. But right now I have a usable device running sway without all that stuff. I have the physical keys bound like this: vol-up: rotate screen 90deg. vol-down: toggle onscreen kbd. power-key: toggle screen on/off. [2021-11-18T23:11:52Z] <jedavies> I can launch apps using the onscreen keyboard / bemenu. A simple "tap to launch" app would be nice, and probably exists. [2021-11-18T23:11:53Z] <natris1979[m]> <jason123onirc> "sxmo is all ready ported to arch" <- Yeah I was less trying to port the whole thing to arch as much as move some pieces into my existing arch install. But as I moved over some stuff I found I had to move more stuff which meant moving more stuff which led to some amount of frustration [2021-11-18T23:13:44Z] <natris1979[m]> The one thing I'd still like to do is use their lisgd thing for touchscreen gesture support. That seems pretty powerful. [2021-11-18T23:14:47Z] <natris1979[m]> jedavies: Sounds pretty cool [2021-11-18T23:40:15Z] <jason123onirc> The whole thing is all ready ported to arch