[ 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.)

Not reporting is bourgeois


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
139 posts and 8 image replies omitted.

>>29529
based! better make a snapshot for later use.

>>29530
This is a great idea! But am going to wait for the system to stabilize first.

>>29529
>systemd
>pulseaudio
why even bother with gentoo at this point

>>29535
That's the package.mask file.
It prevents anything here from being installed.

>>29536
so no librewolf/firefox?

>>29537
No, that's Palemoon in the picture.
The alternatives are net-libs/webkit-gtk based.

>>29538
Does anyone else have performance issues with palemoon?
Overall it's not bad but am seeing for example 50%+ CPU usage from just opening https://deepseek.com
Further having lots of lag in the GUI for example moving tabs, or even just the loading graphic on the tabs.
Would try www-client/luakit instead but would need to write a patch for Emacs style bindings: https://github.com/luakit/luakit/issues/557
Don't think am up for that at the moment, even given the increased movement towards programming lately.

>>29526
>virtual/freedesktop-icon-theme
Apparently if you unmask <gnome-base/librsvg-2.41.0 there is a versions of x11-themes/adwaita-icon-theme which can run with this meaning you don't have to provide virtual/freedesktop-icon-theme. The disadvantage of this is that there are known vulnerabilities with this package and no one (so far as know) seems to want to take up the mantle to maintain the <gnome-base/librsvg-2.41.0 version of the library. Not sure it's worth doing.

>>29529
/leftypol/ was down for a split second, and my work isn't going well so decided to give removing virtual/udev another go, but this time just using devtmpfs, that is removing virtual/dev-manager. Haven't heard of anyone doing this but it's mentioned in the sys-fs/static-dev ebuild as an option. Think it should work.

>>29670
Package provided virtual/dev-manager and used equery depends udev to carefully expunge all the dependencies. Am waiting on things to recompile. It sounds like this isn't actually going to work "out of the box" though. picrel.

>>29671
Good news is the thing boots, and wifi and drm &c work. Bad news it only does so with my old dracut kernel and audio doesn't. Think ugrd might make an initramfs too smol, or else there was something in the kernel update. Trying to downgrade first.

>>29671
>only does so with my old dracut kernel
Would be open to suggestions if anyone has any ideas as to why this might be happening.
With ugrd error is that everything is missing its shared libraries including /bin/login.
Tried modifying the configuration to explicitly mount /usr/ and even /dev/ but the latter wasn't supported and the former did nothing.
Tried just removing the udev dependency from the dracut.ebuild and adding the option omit_dracutmodules+=" udev-rules ".
This results in an error which have now forgotten, but don't have much hope for this path.

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.


Unique IPs: 17

[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 ]