💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-01-12.txt captured on 2024-05-26 at 16:11:04.
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
[2022-01-12T00:19:53Z] <noocsharp> nooc is a very very early work in progress, not good for anything [2022-01-12T00:21:54Z] <noocsharp> certainly not a language anyone should be learning [2022-01-12T01:50:42Z] <opalvaults[m]> eh, maybe i'll stick with picolisp or something. golang looks cool too. something simple would be ideal. i've never heard of nooc noocsharp , what is it? [2022-01-12T01:51:00Z] <opalvaults[m]> (a cursory google search did not yield what I expected) [2022-01-12T02:20:11Z] <noocsharp> just my toy compiler/language [2022-01-12T02:20:16Z] <noocsharp> https://github.com/noocsharp/nooc [2022-01-12T02:32:01Z] <dilyn> oh fancy! [2022-01-12T02:40:16Z] <noocsharp> i have no clue what i'm doing, but it works sometimes [2022-01-12T02:41:40Z] <dilyn> does it do anything remarkable or is it just a fun pet project? [2022-01-12T02:45:56Z] <noocsharp> for now just a fun pet project [2022-01-12T02:47:34Z] <noocsharp> i basically just want it to be c with more safety [2022-01-12T02:51:41Z] <noocsharp> i guess one cool thing is that it generates machine code directly instead of using an external ir [2022-01-12T02:57:07Z] <dilyn> neat neat neat [2022-01-12T04:09:52Z] <testuser[m]> Hi [2022-01-12T04:35:25Z] <noocsharp> unless dilyn has a better solution, i'm gonna try to get a zoom flatpak working [2022-01-12T04:37:09Z] <dilyn> do it [2022-01-12T04:37:23Z] <dilyn> I mean the real solution is to just use the browser for zoom [2022-01-12T04:37:31Z] <dilyn> but if you can get flatpak to work properly do it [2022-01-12T04:38:29Z] <noocsharp> i spent the last 3 semesters using a usb drive with arch installed for zoom [2022-01-12T04:41:40Z] <dilyn> convince that trash to use google meet [2022-01-12T04:55:34Z] <noocsharp> > error: mkdir(/usr/var): Permission denied [2022-01-12T04:55:36Z] <noocsharp> bruh [2022-01-12T05:01:02Z] <dilyn> :thinking: [2022-01-12T05:01:04Z] <dilyn> cancer [2022-01-12T05:03:56Z] <testuser[m]> noocsharp: why not just use that arch install from chroot [2022-01-12T05:12:30Z] <noocsharp> i've tried using junest, haven't figured out how to set up /dev nodes with the right permissions [2022-01-12T05:26:00Z] <testuser[m]> Use bubblewrap [2022-01-12T05:35:51Z] <noocsharp> how does bubblewrap help with permissions? [2022-01-12T05:36:13Z] <noocsharp> and junest uses bubblewrap under the hood [2022-01-12T05:36:24Z] <testuser[m]> Idk it always just werked for me [2022-01-12T05:37:19Z] <noocsharp> maybe its junest that changes /dev to nobody:nobody [2022-01-12T05:40:36Z] <noocsharp> it does a weird fakeroot thing [2022-01-12T05:43:48Z] <testuser[m]> U should be able to use bubblewrap directly, just mount kiss root at / and arch's /usr at /usr [2022-01-12T05:43:57Z] <testuser[m]> Try [2022-01-12T05:47:06Z] <noocsharp> do i need to do it as root? [2022-01-12T05:47:10Z] <noocsharp> also do you have bwrap packaged? [2022-01-12T05:50:38Z] <testuser[m]> its in community [2022-01-12T05:50:41Z] <testuser[m]> And its rootless [2022-01-12T05:50:42Z] <testuser[m]> Too [2022-01-12T05:51:28Z] <testuser[m]> https://git.sr.ht/~git-bruh/dotfiles/tree/master/item/bin/flags.sh [2022-01-12T05:52:11Z] <testuser[m]> U will need setenv for XDG_RUNTIME_DIR and WAYLAND_DISPLAY too [2022-01-12T05:52:14Z] <noocsharp> ah, i forgot i had my community repository checked out to a commit from 2 years ago [2022-01-12T05:54:02Z] <testuser[m]> https://git.sr.ht/~git-bruh/dotfiles/tree/master/item/bin/steam exampe using steam from void [2022-01-12T05:54:23Z] <noocsharp> probably just gonna install i3 or something inside the chroot [2022-01-12T05:59:10Z] <dilyn> you can also bind-root an arch chroot's root to its own directly, chroot in, and launch X [2022-01-12T05:59:16Z] <dilyn> though that's far too cumbersome [2022-01-12T06:01:59Z] <noocsharp> what's the difference between --dev and --dev-bind? [2022-01-12T06:04:10Z] <noocsharp> also where are all the options documented? [2022-01-12T06:04:16Z] <testuser[m]> --help [2022-01-12T06:04:20Z] <testuser[m]> Its. a long list [2022-01-12T06:04:44Z] <dilyn> best bet on option is just manpages... [2022-01-12T06:04:53Z] <dilyn> mount is probably one of the more easily bloated binaries [2022-01-12T06:15:18Z] <noocsharp> hmm, my permissions in /dev still seem to be wrong [2022-01-12T06:16:42Z] <noocsharp> but now maybe i'll be able to figure out why [2022-01-12T06:27:33Z] <noocsharp> well i got i3 to launch which is more than i can say for plain junest [2022-01-12T06:28:28Z] <testuser[m]> Rich [2022-01-12T07:05:52Z] <noocsharp> is there a way to include a file in /dev that i don't own? [2022-01-12T07:18:34Z] <testuser[m]> Like [2022-01-12T12:10:02Z] <testuser[m]> bruh the kernel depends on bash now [2022-01-12T12:10:30Z] <testuser[m]> nvm make SHELL=sh worked [2022-01-12T16:41:25Z] <noocsharp> testuser[m]: do you use udev on kiss? because that might explain why your permissions are being set correctly automatically in the chroot and mine aren't [2022-01-12T16:46:52Z] <testuser[m]> noocsharp: no [2022-01-12T16:47:00Z] <testuser[m]> udev as in eudev? [2022-01-12T16:47:17Z] <testuser[m]> I have libudev-zero [2022-01-12T16:47:30Z] <testuser[m]> U should be able to chown the things anyway or set the perms with bwrap flags [2022-01-12T16:57:58Z] <noocsharp> what are the user/group and permissions of your /dev/dri? [2022-01-12T17:00:16Z] <testuser[m]> root:video [2022-01-12T17:00:41Z] <testuser[m]> Which translates to uid 65534 in bwrap since /etc files don't exist [2022-01-12T17:01:23Z] <testuser[m]> https://termbin.com/k6n3 [2022-01-12T17:01:42Z] <noocsharp> did you have to add your user to the 65534 group? [2022-01-12T17:01:59Z] <noocsharp> oh wait, you have o+* permissions on then [2022-01-12T17:02:01Z] <noocsharp> them [2022-01-12T17:02:25Z] <testuser[m]> Yeah cuz it can't lookup from /etc/group [2022-01-12T17:02:28Z] <testuser[m]> so it gives uid [2022-01-12T17:02:29Z] <testuser[m]> If ur normal user can access stuff then bwrap can too [2022-01-12T17:10:30Z] <noocsharp> 65534 is the nobody group in my arch chroot, so i added my user to that [2022-01-12T17:10:39Z] <noocsharp> input still doesn't work in i3 for some reason... [2022-01-12T17:11:01Z] <noocsharp> wait, maybe i didn't install a driver [2022-01-12T17:12:02Z] <testuser[m]> did u mount everything from /dev? [2022-01-12T17:12:08Z] <testuser[m]> maybe input is missing [2022-01-12T17:14:26Z] <noocsharp> /dev/input is definitely there [2022-01-12T17:28:30Z] <noocsharp> should the chroot have /sys? [2022-01-12T17:42:32Z] <dilyn> it should have all your usual pseudo filesystems [2022-01-12T17:43:20Z] <dilyn> run, dev, dev/pts, dev/shm are needed (dev/shm was needed for chrome to launch iirc) [2022-01-12T17:49:04Z] <noocsharp> hmm... i mounted all of the pseudofilesystems in their entirety and input still workn't [2022-01-12T17:50:05Z] <noocsharp> do you see anything obviously wrong with this? https://nihaljere.xyz/files/bwrap.sh [2022-01-12T18:09:10Z] <testuser[m]> Seems fine [2022-01-12T18:09:47Z] <testuser[m]> Can u show the Xorg.log [2022-01-12T18:09:49Z] <testuser[m]> When u launch id [2022-01-12T18:09:51Z] <testuser[m]> I3 [2022-01-12T18:36:59Z] <noocsharp> https://nihaljere.xyz/files/Xorg.0.log [2022-01-12T18:37:11Z] <noocsharp> with this config file https://nihaljere.xyz/files/xorg.conf [2022-01-12T22:19:57Z] <bibliocar> so, 9front is finally on my radar.