(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.orghttps://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_applicationshttps://directory.fsf.org/wiki/Main_Pagehttps://suckless.org/rocks/>What are some cool terminal commands?https://www.commandlinefu.com/commands/browsehttps://cheat.sh/>Where can I learn the command line?https://mywiki.wooledge.org/BashGuidehttps://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.>>29359It 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.
>>29356Assuming 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>>29362Seems 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.
>>29501This 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 BasiliskLooks 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.
>>29511Ran 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.
>>29515Even =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#c3To 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.
>>29526This 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
>>29535That's the package.mask file.
It prevents anything here from being installed.
>>29537No, that's Palemoon in the picture.
The alternatives are net-libs/webkit-gtk based.
>>29538Does 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.comFurther 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/557Don't think am up for that at the moment, even given the increased movement towards programming lately.
>>29671>only does so with my old dracut kernelWould 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.
>>29737Is the documentation complete and up to date?
https://www.kernel.org/doc/html/latest/admin-guide/devices.htmlWould probably rather avoid the manual approach if it turns out it's not.
>>29745Had 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.
>>29810Apparently 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.
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-293250243https://github.com/containers/bubblewrap/issues/324#issuecomment-517378834>>27473>>29821>>29824Cheaped 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 AppImageShould have tested this before reporting.
They dynamically link to common libs.
But don't seem to have a list of what these are.
>>29828Needed 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.
>>29895Emacs 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
Unique IPs: 11