[ home / rules / faq / search ] [ overboard / sfw / alt ] [ leftypol / edu / labor / siberia / lgbt / latam / hobby / tech / games / anime / music / draw / AKM ] [ meta ] [ wiki / shop / tv / tiktok / twitter / patreon ] [ GET / ref / marx / booru ]

/tech/ - Technology

"Technology reveals the active relation of man to nature" - Karl Marx
Name
Options
Subject
Comment
Flag
File
Embed
Password(For file deletion.)

In for some red terror?
15% off on selected items with promo code "SPOOKY" at shop.leftypol.org


File: 1728030622672.jpg (105 KB, 820x1024, 53y3soh1e3981.jpg)

 

(Copypasted from a previous 4chin /g/ thread as a foundation to making these generals on leftypol)
Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.

* Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread *

Before asking for help, please check our list of resources.

If you would like to try out GNU/Linux you can do one of the following:
0) Install a GNU/Linux distribution of your choice in a Virtual Machine.
1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
2) Dual boot the GNU/Linux distribution of your choice along with Windows or macOS.
3) Go balls deep and replace everything with GNU/Linux.

Resources: Please spend at least a minute to check a web search engine with your question.
*Many free software projects have active mailing lists.

$ man %command%
$ info %command%
$ %command% -h/–help
$ help %builtin/keyword%

Don't know what to look for?
$ apropos %something%

Check the Wikis (most troubleshoots work for all distros):
https://wiki.archlinux.org
https://wiki.gentoo.org

/g/'s Wiki on GNU/Linux:
https://igwiki.lyci.de/wiki/Category:GNU/Linux

>What distro should I choose?

https://igwiki.lyci.de/wiki/Babbies_First_Linux
>What are some cool programs?
https://wiki.archlinux.org/index.php/list_of_applications
https://directory.fsf.org/wiki/Main_Page
https://suckless.org/rocks/
>What are some cool terminal commands?
https://www.commandlinefu.com/commands/browse
https://cheat.sh/
>Where can I learn the command line?
https://mywiki.wooledge.org/BashGuide
https://www.grymoire.com/Unix/
>Where can I learn more about Free Software?
https://www.gnu.org/philosophy/philosophy.html
>How to break out of the botnet?
https://prism-break.org/en/categories/gnu-linux
151 posts and 9 image replies omitted.

File: 1747083393082.png (455.61 KB, 6000x8000, debian-tribal.png)

Just upgraded to Debian testing. Stable so far. Feels pretty good to be able to use not-ancient packages.

>>29355
I use kdenlive. it works good enough for my needs making dumb memes

>>29673
>audio doesn't
This was a trivial permission issue. It makes sense that there would be some of these because of udev not existing. Am just surprised it's so few (just one it seems).

File: 1747325846998.png (268.88 KB, 654x483, ClipboardImage.png)

>>29670
>>29671
>>29673
>>29680
In a major victory for anti-revisionism managed to get this to boot with a ugrd (that's right) kernel. There's apparently a completely undocumented option merge_usr = false which has to be set to boot a split-usr system. This was discovered thanks to some better error handling in the latest version of ugrd, but might try to downgrade back now.

>>29730
Downgrading did no good, have to wait for the 2.0 release to get rid of the =sys-kernel/ugrd-9999 ** accept-package. In the mean time wrote a device-manager lol:
#!/sbin/openrc-run

start() {
    chown root:audio /dev/snd/*
    chmod 0660 /dev/snd/*
}

>>29731
>this is REAL device management done by REAL udev users
maybe you should untar your device configuration on each boot instead of literally replicating filesystem functionality

>>29737
Is the documentation complete and up to date? https://www.kernel.org/doc/html/latest/admin-guide/devices.html
Would probably rather avoid the manual approach if it turns out it's not.

>>29740
>mknod
no, i just think saving the udev-generated /dev and restoring it on each boot to preserve the files is conceptually cleaner than writing device management scripts only to set permissions

>>29741
Well, will consider translating /sys/dev/ entries into /dev/ entries in the next iteration anyway. Wonder how folks did this before sysfs?

>>29744
>Wonder how folks did this before sysfs?
Apparently with MAKEDEV spam, which learned about earlier.

I'm tired of running my own matrix-synapse server. It's not much maintenance but it takes up too much space. Recommend me a fun homeserver

>>29745
Had the "genius idea" to hand compress and parse the LAD table.
The idea is that devices are typically linked to the correctly named device in /sys/dev/.
However this doesn't give you the subdirectory in /dev/ to mount them.
So you just need to make a compressed and parsed table of subdirectories from the LAD documentation.
This way could have something like a minimal MAKEDEV before handling permissions.
Got until 116 (ALSA) before realized that the documentation is incomplete.
ALSA doesn't know to look outside of /dev/snd for these devices, but there's no indication.
Bummer.

>>29810
Could just use MAKEDEV does it install all the special files for anything that might install?

>>29810
Apparently the data used by udev to determine default mountpoints are stored in sysfs in the uevent file of the /sys/dev/*/*/ directory.
https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-uevent it's stored as DEVNAME.
Of course this doesn't solve the permissions issue, one could reimplement a parser for udev rules.
Then one could have a hand-crank udev/MAKEDEV replacement, with all the proper permissions applied.
Then /dev/ is just a directory which can be wiped and replaced with a snapshot tar.

>>29817
This is a bad joke for a number of reasons one of which is that -udev (supposedly) prevents udev rules from being installed, and removing the udev flag enables interaction with libudev.

File: 1747627865090.png (17.22 KB, 884x707, neofetch_final.png)

hiya everyone how are you
what do you think of my rig? this is the first good computer i've ever owned, after like 8 years of using nothing but shit computers [thank you gf for getting it for me]
when i installed opensuse on the computer, it was my first actual break from the big three based on/that is debian. it actually worked great, the repository-provided nvidia drivers worked amazingly off the bat. then i tried to do anything with encoding an mp4 file. no luck :/
turns out i had to install the codecs for that shit with a winetricks-like software called opi - they aren't included with opensuse because of legal shit. i didn't find that out until after wiping my perfectly good suse install, installing mint, having driver issues out of the box, and going "fuck". now my install has a weird instance of Grub showing up that requires me to manually enter the exit command to begin an otherwise normal bootup. but otherwise, it works great! :3 like literally it just fucking works :3c

>>29819
>i didn't find that out until after wiping my perfectly good suse install
for the future keep in mind linux distros, especially the glibc ones like suse, are pretty much interchangeable for running third-party software. dynamic linking means every binary needs library dependencies installed as well, but other than that executing a binary only involves the kernel loading it and the program itself searching for files it needs, nothing as dramatic as the differences between windows versions. this is why they have steam in most repositories, despite it only being packaged for archlinux (ubuntu formerly).

It's late, was trying to get alpine chroot with tbb running but ran into issues when attempting to execute as non-root:
bwrap: Creating new namespace failed: Operation not permitted
error: ldconfig failed, exit status 256

The typical fixes didn't help:
https://github.com/flatpak/flatpak/issues/703#issuecomment-293250243
https://github.com/containers/bubblewrap/issues/324#issuecomment-517378834

>>29819
grats!

Feel have closed in on an exhaustive search of the browser space with "clean" dependencies.
Seems like you can even use Musl if you don't go the Pale Moon route.
The options are Pale Moon (glibc), LuaKit, * in AppImage, or * in chroot.
LuaKit or TBB in chroot are probably the cleanest of these.

>>27473
>>29821
>>29824
Cheaped out a little on the chroot, and just used debootstrap, but got this working.
The only thing that seems to not be working is the audio, but don't have it in me atm.
Have something like the following in my ,bashrc:

alias torbrowser-launcher=' \
      sudo mount --bind /dev ${HOME}/jail/dev && \
      sudo mount --bind /dev/pts ${HOME}/jail/dev/pts && \
      sudo mount --bind /proc  ${HOME}/jail/proc && \
      sudo mount --bind /sys  ${HOME}/jail/sys && \
      sudo mount --bind /run  ${HOME}/jail/run && \
      sudo -E chroot ${HOME}/jail /bin/su ${CHROOTUSER} -c torbrowser-launcher'

>>29824
>* in AppImage
Should have tested this before reporting.
They dynamically link to common libs.
But don't seem to have a list of what these are.

>>29828
Needed to run with apulse and modify /etc/group so that the chroot and system have the same group number for audio.
Was considering replacing Pale Moon with LuaKit for webdev and public persona, but decided against it.
Guess it's all working now exactly as it should.

File: 1747898200401.jpeg (32.06 KB, 450x355, th-3559306814.jpeg)

So what editor does /fglt/ use? :3
pls no arguments every editor is good and pretty much interchangable on a fundamental level, and i say this as an emacs user. The best part about an operating system based around text buffers… is its ability to edit that text buffer - like NVim, like Nano, etc. Some have a LuaJIT plugin, some have a Lisp plugin. But I personally love how Emacs easily allows you to do so much up-front, especially with colors and themes. Great shit, I love it ^w^

>>29895
FSF Emacs for common lisp and emacs, MicroEMACS with some of my own hacks for everything else. I also hacked on qemacs a bit, but couldn't get font and default colors to work properly. I've also thought about writing my own emacs, yet the client-server architecture i had in mind, designed around an editing process controlling only buffers and various i/o services, eventually morphed into a network-transparent forth dialect with a message-based object system i have no hope of implementing within the near future.

>>29895
Emacs is the goat program, I love it so much. I also love all the ancient quirky shit It has tbh. 10/10 super fun program.

Also, I'm forced to use windows at work and emacs on windows is actually good enough to use and the eshell gives me a shell which isn't powershell

Is there a distro (Preferably in the Debian family) with an "LTSC" style release pattern?

>>29914
There's apparently slapt-get for Slackware: https://en.wikipedia.org/wiki/Slapt-get

Finally got sick of W11 and tried linux again. First time in my life I felt comfortable enough with it to delete my windows partition. Everything just werks. Been really easy to google answers for the problems I do hit.

Bro why did nobody tell me about KDE Connect, I had to find out it existed from the comment section of fucking linus tich teps, it's fucking awesome. There's a nightly for macOS too, so everything is connected and cozy

>>30450
If/when it gives you problems (which it did for me, very quickly actually) you can try LocalSend

File: 1752329585143.png (165.2 KB, 2160x1080, Linux for Leftcoms.png)

Out of curiosity, what's the current meme Arch spin that people are using to avoid installing Arch?
>Manjaro
>Endeavor I think it was called
Is there another one yet? Will people ever learn how to use Calameres or just install Arch normally?

>>30527
im using endeavour. they say it is just arch with calamares installer. it uses dracut but idk what that means. it also has yay for pacman by default which i like. i just picked it cause i was gonna kde anyway and i liked the space stuff. i was using grub to dual boot until i deleted windows and reinstalled on defaults so now its systemd.

people say manjaro is bad now. i think the popular one is Cachy? the gamers like it better but the real gamer meme is Garuda. i wanted less bloat and only install gamer stuff as needed. endeavour works great zero issues for almost a year now.

File: 1752905886910.jpg (963.13 KB, 889x889, dfe.jpg)

Are there any recommended USB Wi-Fi dongles that work out of the box with GNU/Linux?

>>30500
LocalSend is insanely good for sharing files, definitely much better than KDE Connect but I'm mostly using KDEConnect as a KVM and it's actually pretty fucking good for that, I'm typing this form my macbook into an arch machine in another room, very fancy stuff

>>30620
IIRC from configuring the kernel, there are generic usb ethernet and wifi drivers that include all devices, so you should be hard pressed to find any that don't work.

>>26557
Definitely void. It uses the runit init system which is quite similar to BSD init scripts afaik. Also I don't think there's anything similar to jails on Linux so if that's important to you then stick to BSD. Although bare in mind I don't have much experience with BSD so I could just be talking out my ass right now

>>30708
BSD Init has startup and shutdown scripts, which are kind of like the scripts runit uses to emulate sysv runlevels. Otherwise runit uses an entirely different service supervision model than BSD, which only has sysv-style init.d (rc.d in their case) and inittab.

AUR Chaos malware: an analysis
>https://www.mh4ckt3mh4ckt1c4s.xyz/blog/aur-chaos-malware-analysis/

* There were malicious packages in Arch User Repo that installed remote access tool (RAT).
* The known malware packages are: librewolf-fix-bin, firefox-patch-bin, zen-browser-patched-bin, minecraft-cracked, ttf-ms-fonts-all, vesktop-bin-patched, ttf-all-ms-fonts.
* There might be even more malware on the AUR!
* Be sure to always review all package PKGBUILD files, even when you are updating AUR packages that were previously to be known to be good.
* I suggest using rua or yay AUR helper because they can show diff views of AUR packages.


>>26557
I would just run FreeBSD if you want to use it. You could also use Slackware but I think FreeBSD or some more mainstream GNU/Linux distro is better, since package management is painful on Slackware.

>>30936
>Be sure to always review all package PKGBUILD files, even when you are updating AUR packages that were previously to be known to be good.
If they can pull malware directly from the PKGBUILD, they might as well go all the way and pull a legit-looking source from a compromised mirror. At this point you're better off getting the upstream source and handpicking any patches you need yourself.

Given that the distro refers to many AUR packages in its wiki and those especially would be maintained by relatively trusted community members, they should have made a PKGBUILD repository with barebones vetting already. Arch retardation syndrome strikes again!

>>30936
>>30937
Having read the article, the perpetrator seems to have been discovered very much because they were an amateur. As i already mentioned, a smart attacker could have inserted the suspect code directly into the program source, which could either fork unprivileged malware, like a miner, or try to gain root privileges through an install wizard invoking sudo or any privilege escalation 0day.

>>26557
It depends on what specific features of FreeBSD you are looking for in a Linux distro.

If you want a BSD init system, the only distro I know of that uses BSD init is CRUX; Arch used to use it, being originally based on CRUX, but has long since moved to systemd. The other init systems on Linux like SysV, openrc, and runit are all totally different systems from BSD init.

If you want ZFS, you can set up OpenZFS after the fact on any Linux distro, but if you want ZFS-on-root right out of the box then FreeBSD and Ubuntu are the only OSes I know of that provide that in their installers.

If you want jails, there's not really any equivalent to that on Linux, there's containerization and things like Docker but they work in a fundamentally different way than jails.

If you want a lightweight minimal OS that adheres to KISS principles and doesn't use systemd, there is Alpine Linux, Void, Gentoo, etc.

why are snaps so ass

>>31347
Canonical forced it, every new install of Ubuntu installs snap-based versions of things like firefox etc etc.
Slower than native apps, adding unnecessary bloat and dividing the Linux package ecospace further.
Hard to get rid of, I've heard people bricking their systems over it.

What is happening on NixOS? Been living under a rock for some time and /g/ only talks about transhumanists bad.

>>31405
Use snap install and do a lsblk, then stab out your eyes

So, i tried installing CachyOS today. Live CD looked like a standard "Arch for lazy and/or stupid people" kind of thing… At first glance. First problem i noticed, was that with a 2-and-something GB image here was no offline install option. Yeah, weird, but it's 2025, so i could theoretically forgive that. Well, it was actually a problem for me, since government is doing some weird shit with the internet, a lot of mirrors were inaccessible, but that's not the point. So, i was going to set up some VPN or proxy, but then… Something happened. Something truely, minblowingly terrible.
Don't open the spoilers less you lose your faith in humanity:
No, seriously, this is a real war crime, if you open next spoiler you're going to lose that last little shred of faith in Linux community you didn't even know you had.
"bash: man: command not found"
MAN, MOTHER OF GOD FUCKING HELL, MAN
Yeah, we've seen shitty distros, but THIS… I never would have imagine anyone could sink this low.
Curse upon anyone responsible for this abomination.

Am considering getting a pinetab2 8gb for tutoring work.
The idea is to use a patched build of chromium for the mpp. [^1]
This should alleviate the CPU pressure from recording the small built in.
It should be able to run an unrecorded 1080p separate monitor for references too.
My concern is running the un-GPU-accelerated whiteboard.
Maybe krita could work, which has partial GPU-acceleration?
But this would seem to be a little less a convenient usage of the platform.
And I'm not sure if it would work anyway…
Anyone with experience on a RK3566 think it could handle it?

[^1]: https://github.com/JeffyCN/libv4l-rkmpp

>>31595
>The idea is to use a patched build of chromium for the mpp. [^1]
>This should alleviate the CPU pressure from recording the small built in.
There's apparently not really negotiation on the encoding.
It's entirely possible that wyzant doesn't support the hardware encoding.

>>31596
>The idea is to use a patched build of chromium for the mpp. [^1]
Hardware accelerated encode is a (non-ARM) ChromeOS, Windows, or Mac OS exclusive.
Was looking into "brunch" as a way around this, maybe with crostini.
And meanwhile learned that ChromeOS is being replaced by Android…

The cleanest solution found was to use the ChromeOS kernel in Gentoo.
Use this Gentoo box to host LXC containers running the ChromeOS ROOT-A.

After all this it's possible that hardware acceleration still wouldn't work with the tutoring platform.
This is because of "negotiations" on the WebRTC encoding.
But probably it would work…


Unique IPs: 22

[Return][Go to top] [Catalog] | [Home][Post a Reply]
Delete Post [ ]
[ home / rules / faq / search ] [ overboard / sfw / alt ] [ leftypol / edu / labor / siberia / lgbt / latam / hobby / tech / games / anime / music / draw / AKM ] [ meta ] [ wiki / shop / tv / tiktok / twitter / patreon ] [ GET / ref / marx / booru ]