[ home / rules / faq ] [ 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
129 posts and 7 image replies omitted.

>>29359
It might not be much different on the hardware considering the encoding and such is all done by a ffmpeg anyway.

>>29360
>can you check the BIOS settings?
>which brand is your bios?
The machine is a Dell Latitude 5590, couldn't locate any such problem online. It seems so arbitrary. If am in BIOS it works, and if am logged in as root it works literally every other time, and otherwise it doesn't work at all.

>>29356
Assuming you have cursory knowledge of portage, during dependency tracking it will read any file in /etc/portage/package.mask and skip ebuilds that match the rules, if it encounters 'sys-apps/dbus' for example, it will refuse to emerge any version of dbus and ebuilds depending on it as well. You can use /etc/portage/package.use similarly to add use flags to specific ebuilds.

I don't know if you can still build a useful desktop with the current state of gentoo patches though, i've been using dulap gentoo, a snapshot from circa 2017, for the last five years.

>>29358
>>29362
Seems like the charger only works sporadically in even the BIOS now.
Have placed an order for an alternative OEM cable.
Have my doubts that this will fix it because of screen flickering in low power.
Suspect it's actually a fault in the way power is handled internally.

>>29411
>it actually works.
Shocked.

Waiting for junk to install on my Mac, and playing with my gentoo system.
Think am going to try to cleanup my config, which means fattening up my build.
There is really no need for the static flag sense most packages don't build statically anyway.
Got rid of the static-dev so there is no need for the custom ebuilds for xf86-keyboard and xf86-mouse.
Am thinking about ditching the custom ebuild for Nyxt because the browsers too bugged and it's switching to electron.
Probably could replace it with a custom ebuild for Basilisk, this would let me continue to avoid dbus, and modern gtk3+.

>>29501
This should actually reduce the amount of "revisionist" Linux on my system.
Mostly on account of discovering the i965 driver with mesa-amber.

>>29501
>custom ebuild for Basilisk
Looks like may also need to reinstall with glibc for this.
Also need to write a script to migrate my Obsidian to Denote (Emacs).
Sadly am not sure am up for this however.

>>29511
Ran into other problems between musl and mesa-amber.
On account of this decided to take the nuclear option, reformating the disk.
Am shocked have the energy to do this, but it's going smoothly so far.

>>29515
Even =x11-libs/gtk+2* pulls in rust now, and palemoon doesn't build with gtk+3 so this required the following ebuild: https://github.com/stefan11111/stefan_overlay/blob/main/x11-libs/gtk%2B/gtk%2B-2.24.35.ebuild supposedly it's possible to use stefan11111's fake-gtk2 to build palemoon with >=x11-libs/gtk+3.0.0 think this would be my preference as it would allow for other graphical applications to be installed in the future but wasn't able to figure out how to get it to work, oh well.
There was a bug in media-libs/mesa-amber ebuild which required the following patch to be compatible with available versions of media-libs/mesa: https://bugs.gentoo.org/945373#c3
To have a functioning >=x11-libs/gtk+3.0.0 previously had to package.provided virtual/freedesktop-icon-theme-0-r4 after installing x11-themes/hicolor-icon-theme, and install a dummy app-accessibility/at-spi2-core from https://github.com/stefan11111/stefan_overlay/blob/main/app-accessibility/at-spi2-core/at-spi2-core-9999.ebuild these changes are no longer needed as am not presently using >=x11-libs/gtk+3.0.0

So that's where we're at.

>>29526
This is version two of my gentoo!
Near completely revisionism-free!
Can't make myself purge udev again.

sys-apps/systemd
sys-auth/elogind
# sys-apps/systemd-utils
# virtual/udev
sys-fs/eudev
sys-auth/polkit
sys-auth/consolekit
media-sound/pulseaudio
net-dns/avahi
sys-apps/dbus
llvm-core/llvm
sys-devel/clang
dev-lang/rust
dev-lang/rust-bin
x11-libs/gtk+::gentoo
media-libs/mesa-amber::gentoo
>=gnome-base/librsvg-2.41.0

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


Unique IPs: 11

[Return][Go to top] [Catalog] | [Home][Post a Reply]
Delete Post [ ]
[ home / rules / faq ] [ 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 ]