dafta

joined 4 months ago
[–] [email protected] 3 points 1 week ago

My GF has an iphone, and on KDE I can just connect it via USB and it's visible in the file manager.

There's also this.

[–] [email protected] 3 points 1 week ago

My GF has an iphone, and on KDE I can just connect it via USB and it's visible in the file manager.

There's also this.

[–] [email protected] 6 points 1 week ago (1 children)

There's avante.nvim for LLM integration, it supports most if not all LLM vendors at the moment.

I tried it, however, and got to the same conclusion as you. Not worth it.

[–] [email protected] 5 points 2 weeks ago

Because Linux is a monolithic kernel. What that means, essentially, is that it contains all the drivers and everything else, unlike windows which uses a microkernel. The advantages of a monolithic kernel are, for instance, that you don't need to install drivers manually, and you don't have to depend on potentially malicious websites to host those drivers. Additionally, if any kernel ABI changes for one reason or the other, say there is a refactor to fix a vulnerability, whoever does the refactor would also refactor the driver code because that is in the kernel, and the kernel won't compile if there's an error in the drivers. This way, the driver is always updated, and you don't have a situation where you have really old drivers that no longer work.

The disadvantage of a monolithic kernel is that there's a lot more code that you have to take care of, and the kernel has a lot more responsibilities as opposed to a microkernel.

[–] [email protected] 1 points 3 weeks ago (1 children)
[–] [email protected] 11 points 3 weeks ago (3 children)

Virt-manager is a GUI for libvirt, which can use several hypervisors, including KVM/QEMU, and it works great.

There's several other clients for libvirt, including GNOME Boxes, Cockpit (web based), and virsh (CLI).

[–] [email protected] 2 points 1 month ago

You just go into Settings > System > Developer options > Linux development environment, and enable it.

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (2 children)

I updated to LineageOS 22.2 yesterday. It has the option, I enabled it and it works. I'm on a Pixel 8, tho. Might have something to do with it.

[–] [email protected] 2 points 1 month ago (1 children)

What are you referring to?

[–] [email protected] 2 points 1 month ago (1 children)

Sorry, my bad, I forgot that the setup script isn't part of the default repo and is something I added in my own fork. But yeah, if there's no systemd, it's no use.

I can whip up a quick script that should work, I'll test it out on my own hardware, and post it here for you sometime tomorrow.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (3 children)

You should definitely try with the systemd-gadgets I linked earlier. It makes all the configuration really easy, you just need to enable the relevant services, so in your case usbgadget-func-uvc.service and gadget-start.service. You also need to copy them beforehand to /etc/systemd/system, including gadget-init.service, and you need to copy gadget to /etc/default/gadget, and the scripts gadget-start.sh and gadget-init.sh to /etc/systemd/scripts. Edit /etc/default/gadget to edit the configs and names of the gadget, and then start gadget-start.service. No need to enable gadget-init.service, it's called as a dependency from other services.

There's an install script in the repo that you can use as well, setup.sh, and a PKGBUILD so you can create an Arch package. After installing with either method, just change /etc/default/gadget, enable the uvc and gadget start services, and then just start the gadget start service.

[–] [email protected] 6 points 1 month ago (1 children)
view more: next ›