[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: Linux-shark.jpg (130 KB, 1280x1024)
130 KB JPG
Users of all levels are welcome to ask questions about GNU/Linux and share 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) Install a GNU/Linux distribution of your choice on bare metal and run your previous OS in a Virtual Machine.
2) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
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%

Try a random distro:
https://distrosea.com
https://distro.moe

Check the Wikis (most troubleshoots work for all distros):
https://wiki.archlinux.org
https://wiki.gentoo.org
https://wiki.debian.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/
https://overthewire.org/wargames/bandit
https://tldp.org/LDP/Bash-Beginners-Guide/html/Bash-Beginners-Guide.html
>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

GNU/Linux Games:
>>>/vg/lgg

Previous thread: >>109113315
>>
everyone loves systemd
>>
>>109134621
this but unironically
>>
>>109134621
No shit. Only contrarian autistic people dislike it.
>>
>>109134664
I don't like it. I also don't like wayland.
>>
>>109134688
wow you're so special and cool
>>
>>109134748
I didn't say that. In fact, because I'm not special is a good thing because other people share my beliefs.
I am cool though.
>>
wezterm or ghostty? want to test out new terminal
>>
>>109134982
ghost
>>
>>109135003
any reason? I'm just installing both, ghostty has drop down like guake and wezterm has multiplexing.
>>
>>109135086
None in particular. I just like it.
>>
https://www.spurint.org/journal/2026/06/xfwl4s-first-preview-release
>xfce wayland already in it's first alpha
woah...
>>
>>109134982
flip a coin desu, both are excellent
ghostty comes with better defaults imo, has braindead text based config and some nice shit out of the box like a theme picker and previewer (ghostty +list-themes)
wezterm feels vaguely snappier for me, I can't prove it though
>>
File: 1766653447584572.png (144 KB, 2560x1402)
144 KB PNG
Does anybody have an issue with gimp where the welcome window appears in the top left partly off the screen? I know it's a nitpick, but it's still kinda annoying.
>>
>>109135695
Are you using wayland?
>>
>>109135849
I am. That's probably the issue
>>
is it me or does plasma 6.7 use some AI upscale when you use Meta and + to zoom in?
>>
>>109134621
Most people are neutral about their init-system. Same as display protocols, they only care when things break.
>>
>>109135883
yes, but i don't think it's ai, some filter most likely
also zooming in to pixel level disables it
>>
File: le_dictator.jpg (36 KB, 558x551)
36 KB JPG
Any terminal similar to ST? I want as fewer features as possible, no image rendering, no tmux-at-home garbage like kitty, no fancy shit like tabs or gpu "rendering". I would just use ST but I don't like not having all my software managed by a package manager, that's one of the reasons why i went with arch linux because its aur has pretty much everything i need. but ST needs to be built from source if I want to change font size
>>
>>109135949
>arch linux
don't be a pussy, write pkgbuild
>>
Linux distribution userspace isn’t backward compatible. Flatpak tries to address this by bundling the required userspace (or implying it will), but it still doesn’t truly make apps self-contained because it relies on a centralized distribution/updates network. If the repositories go offline, your workflow breaks so Flatpak isn’t a complete dependency solution. AppImages are closer, but they still usually require bundling the relevant userspace libraries if you want real containment.

Traditional package managers have a similar issue as Flatpak, but arguably worse: they don’t clearly separate the stability of the base OS from the stability of user applications. A rushed update that breaks core system components can affect everything on the system. Arch is the worst offender here because of its fast-moving updates. There’s little isolation between OS and application. With AppImages and Flatpaks, the impact is at least isolated per application.

Windows doesn’t suffer from this to the same extent because its core userspace libraries are stable and maintain backward compatibility. Applications typically only need to bundle specific third-party libraries like Qt or SDL2. On Linux, fragmentation makes it harder to coordinate a consistent, backward-compatible, stable “userspace API” across distributions.

The solution is for distribution maintainers/authors to actually care about creating and maintaining a stable userspace "API", which requires distribution maintainers to exercise real authority over the developers of key system libraries. Basically, Debian has to tell glibc programmers to stop fucking with the API/ABI stability, or ditch glibc entirely and similar independent libs to write their own stable userspace libs.
>>
the actual solution is to use docker/podman/k9s depending on what you need
>>
>>109135865
Yeah I believe windows aren't allowed to know their own position in wayland.
>>
>>109135695
No, what distro and DE?

>>109135849
That's probably it, but on KDE it works as it should.
>>
>>109135949
Alacritty is the best for this, but I'm afraid it will use 50 Kb of your vram so it's a no go for you :(
>>
>>109135695
Gimp is problematic everywhere not just in Wayland alone...
You could add a window manager rule for pop-up windows so they are always centered for example.
>>
>>109136082
I'm pretty sure kde forks wayland literally just to get things like that to work because the main devs don't want to.
>>
>>109136372
That's how pretty much all living software standards are. The just make it work people beta test everything, and if it doesn't turn out to be stupid after a while it becomes the mainline standard.
>>
best material (google design guide) style customization?
>>
>>109135695
happens to me with transmisson flatpak
>>
File: ipv6-setit.png (82 KB, 1167x644)
82 KB PNG
>>109134621
>systemd-networkd is actually usable for network configuration compared to whatever boloney sysV and OpenRC do
Imagine having picrel (DSL+4G), both DHCP, using 4G primarily (DSL having bigger route metric) but routing 4chan IPs via DSL and using DSL's DNS. Not a manually specified DNS but using what you got from DHCP. Do that without systemd-networkd.
>have no desire to hand pick NTP or DHCP clients or system fucking logger
>writing service units is a breeze
How would I even DynamicUser without systemd?
>want to chroot? simply systemd-nspawn
>>
>>109137044
if I wanted multi wan I’d probably need to use a firewall/gateway appliance. that’s bretty neat.
if it can be a unit file I absolutely do it. still using fstab though since systemd just reads it and makes units out of it.
>>
>>109137044
>>have no desire to hand pick NTP or DHCP clients or system fucking logger
Systemd doesn't even respect the NTP service advertised by the DHCP server.
>>
>>109136463
The problem is that everyone becomes a beta tester and has to deal with bugs.
>>
LINUX FOR CHUDS
https://files.catbox.moe/2ewml9.pdf
>>
>>109134549
benefits of installing gentwo over archlinux?
the process seems similar
>>
>>109137240
You get the Portage system. If you like customising packages or otherwise want more control over the system then Portage makes that incredibly easy and gives you all the tools you need to do what you want in a maintainable fashion.
>>
>>109136085
hah, funny
>yay -S alacritty
i see, its a...terminal

let me guess, written in Rust
>>
>>109137248
It is, yes. It has no bloat or gimmicks besides its GPU acceleration (although, it's efficient enough to run completely with software rendering) and Rust.
If you just want a fucking terminal without any frills then it's pretty good at that.
>>
>>109134982
both are trannyware. less is more.

https://st.suckless.org/
https://invisible-island.net/xterm/
>>
>>109137302
i'm trans and i use xterm, problem?
>>
>>109137313
yes. you have several, but your terminal is not one of them.
>>
>>109137313
>>
>>109137355
redhat weaponizing the mentally ill to sabotage the linux desktop
>>
>>109137355
Uhhh... Xbros? What's this???
>>
>>109137364
redhat trannies control both x11 and wayland. x11libre is our only hope.

https://github.com/x11libre/xserver
>>
>>109137270
Is
LIBGL_ALWAYS_SOFTWARE=1

the only way to force software rendering in this case? I never thought it was even possible until I did a google search.
>>
>>109135949
Foot. It's written in C and isn't GPU accelerated. It supports sixel, but even xterm does. Under 50mb of ram per window.
>>
>>109137399
Yes, that forces LLVM OpenGL software rendering. It works fine given how simple Alacritty is. I actually had to do that once when I was using NVIDIA ages ago because of a bug in their drivers.
>>
>>109135949
you can change font size without recompile with
> CtrlShift+
> CtrlShift-
> CtrlShift=
>>
Anyone else on arch running wayland with KDE? I just switched over and I keep my pc on 24/7 only locking the screen turning power off the monitor. I come back later an my entire system crashed everytime overnight or later.
>>
>>109137529
Do you have a NVIDIA or AMD card?
>>
>>109137548
nvidia quadro 4000
>>
>>109137562
You gotta do some maintenance to make sure the card doesn't do that.
In /etc/modprobe.d/nvidia.conf, add the lines
>options nvidia NVreg_PreserveVideoMemoryAllocations=1
>options nvidia NVreg_TemporaryFilePath=/var/tmp
Then enable these services
>sudo systemctl enable nvidia-suspend.service
>sudo systemctl enable nvidia-hibernate.service
>sudo systemctl enable nvidia-resume.service
Also make sure "nvidia-drm.modeset=1" is in your kernel boot parameters if your driver version is lower then 560.
>>
File: 1766449018006498.jpg (75 KB, 1284x832)
75 KB JPG
Are there some good videos or something on how to use gimp? I like it so far but I'm a dumbo
>>
>AMD can you not?
[13676.434563] BUG: kernel NULL pointer dereference, address: 0000000000000000
[13676.434571] #PF: supervisor read access in kernel mode
[13676.434574] #PF: error_code(0x0000) - not-present page
>>
>>109136082
>No, what distro and DE?
arch and gnome
>>
>>109137580
thanks ill give this a try
>>
>>109135980
>it relies on a centralized distribution/updates network
Nothing stops you from installing or updating a Flatpak using a flatpak file.
>The solution is for distribution maintainers/authors...
... to abandon their distributions and let Linux go distroless.
>>
>>109135980
>Debian has to tell glibc programmers to stop fucking with the API/ABI stability, or ditch glibc entirely and similar independent libs to write their own stable userspace libs
Cool let us know how you go with that
>>
>>109137355
>>109137360

>weaponizing the mentally ill
wrong, Those are magical lesbians that look over the FOSS community and protect us from fascist
>>
>>109135695
This looks like a window manager issue, WMs can be instructed to open all windows top left. But its odd if its just GIMP
>>
How does it feel knowing that SteamOS will be the most used linux desktop and first and only linux desktop that the normie majority will ever use?
>>
>>109138587
I mean there's nothing wrong with it. An atomically modified Arch base is powerful stuff.
>>
File: mobile-hotspot.jpg (19 KB, 640x360)
19 KB JPG
>>109137070
Having multiple default gateways itself isn't "hard" or anything, it's just that only one of them (one with lowest metric) is used at a time. Hard part is having a DHCP client that understands extra routes and metrics as a parameter. If you don't have to deal with DHCP you can make it all static and it's a no brainer but my Android phone hotspot arbitrarily changes its IP on the 192.168.32.0/24 network. (old phone was a static 192.168.32.1)
>>109137085
Damn.
>>
I have an old putter with debian gnome. Citrix workspace was struggling so i installed lxqt now its lag free.

Wondering how do i improve it further. I dont use this for any%hing else
>>
>>109139009
Using LXQt is some of the best you can do if you still want a old PC to feel snappier
>>
>>109138906
>Having multiple default gateways itself isn't "hard" or anything, it's just that only one of them (one with lowest metric) is used at a time
If you adjust weight instead then Linux will load-balance between them all, for example I have this as my default route:
default metric 50 
nexthop via 192.168.0.254 dev enp6s0 weight 20
nexthop via 192.168.0.254 dev enp9s0f1u2 weight 10
nexthop via 192.168.0.254 dev enp7s0 weight 2
nexthop via 192.168.0.254 dev enp5s0 weight 5


This is basically one single route with multi-hop weights. Weight is basically a "cost" associated with its route so the kernel will assign a certain percentage of traffic to each interface in a rough fashion. Good luck doing that with DHCP though, I configured that statically.
>>
>>109137107
That's what you get for being a fucking degenerate.
>>
>>109138587
I wish that were true, but it's unlikely many people will use it outside Valve hardware. Arch and Fedora were clearly never intended to accommodate users this stupid, and it's starting to be a problem.
>>
>>109140600
I'm not him, I don't use wayland.
>>
>>109138587
i have no feelings about it because i've never used steam os, i don't know anything about it, i don't know what it's based on nor what it does differently.

the linux ecosystem is too wide to expect even long-time users to be familiar with everyone else who uses it
>>
>>109140615
SteamOS really isn't a good desktop OS for stupid people either. It's an immutable and that's fine and dandy if you get everything from Flatpaks and go on with your day but as Brody says, prepare yourself to learn Dev Ops if you need anything more complicated. Have fun building system extensions and custom images, etc, to do what you need.
>>
>>109140267
The achtual point was that systemd-networkd can do DHCP and do route metrics and manual routes based on whatever was obtained via DHCP.
>Weight is basically a "cost" associated with its route
Never understood the weight thing, guess I should learn some more networking. Thought routing metric was exactly that.
>>
>>109140814
Metric is specificity for rules so you have two rules that go to the same place the lowest metric wins.
Weight is more like a relative cost thing that says "Route A has more bandwidth than Route B".
>>
[me@pc ~]$ fc-match 'sans-serif:lang=ja'
NotoSansCJK-Regular.ttc: "Noto Sans CJK KR" "Regular"
[me@pc ~]$ locale -a
C
C.utf8
en_US.utf8
ja_JP.utf8
POSIX

Why is my system using k*rean fonts :(
>>
>>109140921
It's not, it's using Chinese, Japanese and Korean fonts. Probably because of the :lang=ja boosting the priority because the font matching algorithm knows its better to render everything in a CJK font than a non-CJK font with fallback for CJK (at least when it knows the text in question is Japanese).
>>
>>109140939
For example:
$ fc-match 'sans-serif'
LiberationSans-Regular.ttf: "Liberation Sans" "Regular"
$ fc-match 'sans-serif:lang=ja'
NotoSansCJK-Regular.ttc: "Noto Sans CJK KR" "Regular"


The fact that it picks the KR variant makes no difference. The fonts for the different languages are all in the same font. Its just different weights for the different files:
/usr/share/fonts/noto-cjk/NotoSerifCJK-SemiBold.ttc
/usr/share/fonts/noto-cjk/NotoSerifCJK-Regular.ttc
/usr/share/fonts/noto-cjk/NotoSerifCJK-Medium.ttc
/usr/share/fonts/noto-cjk/NotoSerifCJK-Light.ttc
/usr/share/fonts/noto-cjk/NotoSerifCJK-ExtraLight.ttc
/usr/share/fonts/noto-cjk/NotoSerifCJK-Bold.ttc
/usr/share/fonts/noto-cjk/NotoSerifCJK-Black.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-Thin.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-Medium.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-Light.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-DemiLight.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-Bold.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-Black.ttc
>>
>>109140961
>The fact that it picks the KR variant makes no difference
it makes kanji render as kyuujitai
>>
>>109141007
It shouldn't do. Do you actually have separate font files for each variant? Kanji renders fine for me.
>>
File: larp.png (13 KB, 578x269)
13 KB PNG
>>109141015 not really its just like >>109140961
ikr my others machines it render fine too Im havin this problem in a kinda of fresh install. First it was defaulting to a ugly asf gothic font and i just -Rns it like the two hooks are from the older form (which I assume its bc kr thing in the selected font)
>>
Dogshit calibre jeetware piece of shit sets itself as the default for every fucking file format in the planet how the fuck do I stop it from doing it if I'm using Hyprland?
>>
>>109141606
That's not how that works. Calibre just declares the mime types it supports and it gets used because you didn't explicitly set some other app as the default so the system that tries to guess what you'd like it to picks it.

Set proper explicit default.
https://wiki.archlinux.org/title/XDG_MIME_Applications
https://wiki.archlinux.org/title/Xdg-utils#xdg-mime
>>
Is there a gnome extension that makes gnome behave like a tiling WM?
>>
Can I dual boot two linux distros, and when I'm booted into one run the other in a distrobox or some other container thing? Is there any guide for this?
>>
>>109137413
I dont want to do that every time i turn on my pc either
>>
>>109142171
yes you can. you should familiarize yourself with just running virtual machines and installing and maintaining bootloaders, then consider how you will pass through a physical partition to your vm guest
>>
File: 1780092859147057.webm (2.51 MB, 352x480)
2.51 MB
2.51 MB WEBM
What config do I need to optimize mpv for opening still images?
>>
File: 1748362745452.jpg (69 KB, 431x435)
69 KB JPG
Ask chatgpt how to setup zram on linux. It helped me save a ton of ram and now my system is usable with only 16GB since I can't afford more.
>>
>>109142751
Give your chatgpt a read: https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html
and go set up zswap instead.
>>
>>109142751
zswap wasn’t good enough? what’s your disk?
>>
>>109142751
>needing chatgpt to add one line to /etc/fstab
>>
>>109134549
I'm going to try running clamav again and do a whole system scan and see if I crash again.
>>
>>109142895
technically you need to remove any disk swap and disable zswap in the kernel since zswap and disk based backing is the default for a lot of stuff since it will always work, while zram only makes sense if you have a very slow hdd for disk or you are on an embedded platform
>>
>>109142882
Ok I haven't read it all but my zram is only half of the total ram I have not 100%.
My ram was filling up before and now it isn't anymore.
>>109142883
I also have regular swap, I didn't know zswap was a thing. It's a sata ssd.
>>
>>109142882
This completely ignores the reality of MGLRU and Systemd OOMD, etc. Yes, many people do in fact prefer the system to OOM early during memory pressure rather than continuously swap.
>>
>>109141642
Sorry, I'm so pissed I didn't word my question right.
I have my (correct) list at ~/.config/mimeapps.list but when I set it, even after a reboot, xdg-mime query default still returns the older, incorrect value.
This is most egregious with Calibre because it "technically opens" everything from txts to pdfs and it's making me ultra pissed.
I mentioned hyprland because I don't remember this being an issue when I use fully fledged DEs.
>>
>>109142919
Well, not completely ignores. I stopped reading too soon. He does eventually pull the switcheroo and say this which admits everything he just said is bullshit:
>Fedora pairs zram with systemd-oomd, which monitors PSI to proactively kill processes based on policy ahead of time. They also sidestep LRU inversion by having only one swap device (on zram), and so with no disk swap at all, there is nothing to invert against.

No mention of MGLRU anywhere though. Modern Linux kernels don't necessarily need a user space killer if MGLRU is active and configured properly and that can work alongside ZRAM very nicely.
>>
>>109142751
I have 16gig ram and rarely if ever hit the limit. What the fuck are you even doing?
>>
>>109142903
>zram only makes sense if you have a very slow hdd for disk
It doesn't. zswap is what you actually want because it already does what zram advertises to do and ALSO swaps to a block device (such as hard drive) if your system can't fit in your physical RAM without ass pain.
>>109142919
>Yes, many people do in fact prefer the system to OOM early during memory pressure rather than continuously swap
With zswap this behavior is configurable, with zram you're just stuck with your RAM. You only really want to use zram if you do not want ANY disk writes at all for any reason. But this is clearly not what that anon wants.
>>109142962
>No mention of MGLRU anywhere though
Yeah, sucks he didn't mention it.
>>
>>109143002
fair point, I’d be in the camp for not using the hdd at all so no disk writes, and you can’t zswap without a backing so zram it would be.
I’m surprised with the amount of zram hate. When cachyOS came out and zram was the default I kept on getting shit for saying it’s a bad assumption they made for most users. Very few cases would you want to limit disk swap
>>
File: systemd power.mp4 (1.11 MB, 640x480)
1.11 MB
1.11 MB MP4
>>109134621
Does Linus Droidvalds have any backup accounts? His YT got nuked but I archived all of his vids.
>>
>>109143070
Funnily enough there are cases when using zram increases disk writes and slows down the system. One example would be when for some reason you are doing a lot of file writes, and most of them go into RAM cache instead of the filesystem. With zswap, cold pages are swapped out and you can work with a bigger cache for files. With zram, cold pages are in the RAM and you are forced to deal with a smaller cache and write more data to a disk.
>>
File: 1756875784472899.png (10 KB, 307x131)
10 KB PNG
I'm on Windows but it's GIMP so it's more fitting to ask here.

I downloaded the latest GEGL tarball and the only thing I found relating to this feature is "paint-select.cc". Can I just drop it in the right spot for GIMP to see it or am I SOL without going through the entire process of compiling GIMP from scratch?
>>
i want to reinstall arch
should i go with arch or with cachyos?
>>
>>109143811
Arch, take the bore scheduler patch, if anything from them. Build your own kernel from that point.

I recommend strictly following torvald's kernel builds because at this point there is a new CVE every day (literally today we had more root CVEs drop)
>>
>>109143825
is the bore scheduler the best one for desktop usage?
>>
Coming back to this after a while. How do I practice installing Gentoo
>>
>>109143850
depends on lots of things, there is no universal best scheduler
>>
>>109143811
go hard mode secure boot tpm encrypted root and systemd-homed with fscrypt
>>
>>109144014
For a single-user machine with encrypted root, why bother with systemd-homed?
>>
>>109144081
idk just to do it. you can keep your system and home on different partitions.
honestly systemd-homed with fscrypt isn’t ready for prime time. it actually creates a bunch of issues with stricter controls.
>>
Really would advise on avoiding systemd and going for runit, devuan and void are both options
>>
>>109137580
yeah this shit didn't work. It began when I switched over to wayland.
>>
>>109142882
Zswap without a swap file isn't ready yet...
>>
My wife and I just finished building our new PC. She's been learning about Linux and has messed around with it, and wants it to run on our new PC. I docked around with Linux a lot back in high school, mostly Ubuntu at first and then Mint after ubuntu had that Amazon integration controversy. She's been learning on Mint so we'll stick with that but it's been a while for me. Will I notice any massive changes considering I'm still basically a noob? I want to run flight sim games on this, will proton have any issues on Mint? If I have to resort to W11 to run certain programs, does it still have a habit of nuking Linux partitions during updates, or is that fixed? If I get a separate SSD for Windows will that fix it? Also, is there a way to create a partition that W11 and Mint (or whatever we install) can access? Thanks, I'm sure these are some basic questions but I'm trying to knock off some serious rust here.

(Inb4: no my wife isn't a tranny, though her recent interest in Linux has me suspicious)
>>
File: Excalibur.png (179 KB, 1417x1107)
179 KB PNG
Should I take the runit pill?
>>
>>109144671
If you'd like? It's a very, very basic init system that has no bells and whistles. Just helps run your OS/services and not much else.
>>
How do I set up a vm to practice installing an os? Like the console screen where you have to put in a bunch of stuff you know
>>
does gnome support tearing on fullscreen applications?
>>
>>109144813
sudo apt install virt-manager
>>
>>109144827
I'm still on windows I want to install gentoo
>>
>>109144845
Then just install VirtualBox. Installing Linux VMs in VB is super easy (and how I learned Linux years ago.)
There's guides on Youtube if you need.
>>
>>109144845
https://wiki.gentoo.org/wiki/Gentoo_in_WSL
>>
>>109144630
>My wife
stopped reading there, not your blog normalfag
>>
>>109140791
It's pretty easy to disable immutability on SteamOS. Your changes will get wiped on update, but making a script to apply all your changes and running it after update is something most normoids can handle.
>>
>>109137197
Saved for later reference when I eventually try using gnu/linux on a hand-me-down AIO computer.
>>
>>109144925
>he is gonna use a GUI and not a CLI
Terry would be disappointed in you.
>>
>>109143234
>the only thing I found relating to this feature is "paint-select.cc"
that's a c++ source file, you would have to compile it to do anything useful with it
maybe you can find a different build of gimp (or gegl?) with that feature compiled in? dunno why yours has it missing
>>
is x11 still viable or do most things expect wayland now?
>>
>>109145153
Depends on your hardware. GNOME has gone Wayland-only and KDE just did its final X11 release. The X server in major distros is getting security updates only. X is still viable, but the window is closing and Wayland is recommended.
>>
>>109144671
init freedom is a crock. There's only ever one system that works worth a shit for any given distro. Also stop using Devuan.
>>
>>109145188
lol, I'm on Debian. That Devuan install is in a VM so I can more accurately piss off Devuan fanboys on /g/
>>
Found out the new "Android Terminal" is actually a virtual machine running Debian. How does one install Gentoo in that virtual environment?
Tried the following:
>download Gentoo's 64bit ARM stage3 archive using your PC
>extract and share via NFS
>give the share all possible privileges so client(s) can act as root and stuff
>mount NFS from the Android Linux VM
>systemd-nspawn in
>fire up emerge --sync and try to coompile some binaries
>shit gets buggy and hangs due to some writing issues
Instead of NFS should I download and extract the 64bit ARM stage3 on the phone itself? If so, to what location? ok I know that's more of an Android question than a Linux question but just asking.
>>
>>109145196
Stop using that too.
>>
>>109145188
>There's only ever one system that works worth a shit for any given distro
It's also the only one that's given as a nice package that any distro developer out there can put on their systems on a whim.
People really should try out the Linux From Scratch project and implement various init systems by hand. It's crazy how shitty the runit project is for example, it's not like you can just download, compile and install it, it's missing tons and tons of pieces.
>>
File: 1.png (28 KB, 1438x800)
28 KB PNG
>>109145196
It didn't take long to fail. That's a Devuan Excalibur expert netinstall with runit, but with all optional repo components (security, updates, backports) unselected, all tasksel tasks (devuan desktop, xfce, standard tools) unselected. Pretty sure Debian supports that.
>>
>>109145207
Why would I stop using the best distro ever?
>>
>forced to use windows for a bit
>done with it
>try to get back to the comfort of linux
>grub throws "volume corrupt" errors when it attempts to use start_image()
I hate windows so much its unreal. I just know the pajeets from microdicks fucked with grub somehow. Time to start the quest to unfuck grub.
>>
>>109145261
Because they came out with better distros in the 25 years since Debian changed anything.
>>
File: s.png (569 KB, 1428x792)
569 KB PNG
>>109145280
Such as?
>>
File: de benia.png (93 KB, 775x1024)
93 KB PNG
>>109145299
Unironically Arch. Back in 1999 when I started with Linux systems there was basically just Debian and Red Hat and I went for Debian. But I see no point in the current year, at least for desktops.
>>
File: grep_devuan.png (231 KB, 2180x1009)
231 KB PNG
Holy shit Devuan is garbage. It hangs on a recursive grep of /etc/
>>
File: grep_debian.png (238 KB, 2099x870)
238 KB PNG
>>109145448
Here's the same command on a very similar Debian setup on the same hypervisor. Works fine of course.
>>109145440
Arch is pretty great. Probably my second favourite distro after Debian.
>>
>>109145448
Devuan doesn't make GNU Coreutils. Run it through strace or gdb.
>>
File: grep_devuan_strace.png (436 KB, 1811x1345)
436 KB PNG
>>109145470
>Devuan doesn't make GNU Coreutils
So what?
>Run it through strace or gdb
Here you go.
>>
>>109145485
So it just blocks on that last openat syscall? That's a kernel issue of some sort. If you check the process in htop you'll probably see it stuck in a D or Z state.
>>
File: grep_devuan_fifo.png (95 KB, 1232x414)
95 KB PNG
>>109145470
I think I have found the problem. Devuan puts FIFO files in /etc, which means the sysadmin can't easily run a recursive grep on /etc without excluding those files somehow.

Debian doesn't allow such shittery, and I haven't seen it on Fedora or Arch either.
>>
>>109145504
That makes sense. I think it's because you're using runit (At least I think that's runit)?

OpenRC and Sysvinit wouldn't do that.
>>
>>109145523
I'm installing Void Linux into a VM now to see what it does.
>>
File: grep_void_strace.png (437 KB, 1584x1342)
437 KB PNG
>>109145523
Void does it, too. It is runit retardation that Devuan has imported. The problem is that runit puts symlinks in /etc/ that point to FIFOs in /run. Time to reinstall Devuan with OpenRC.
>>
>>109144995
>dunno why yours has it missing
It's the latest 3.2.4 from their site so maybe they fucked something up during the build process. Apparently it's not a rare situation with GIMP.
>>
>>109145153
if you want x then switch to openbsd or hyperbola, which still use xenocara, an actively maintained pseudo-fork without the political bullshit that comes with xlibre
>>
>>109142751
zramd is compromised package.
>>
>>109145807
works for me, i'm using it
>>
File: 1720744491665296.png (306 KB, 700x700)
306 KB PNG
>>109145807
>>109145820
ZRAM daemon? Why would you need a daemon for setting up ZRAM?
>>
>>109145793
the "political bullshit" of xlibre is that they disallow political bullshit.

the people talking shit about xlibre because of this are the kind that believe that if you aren't explicitly for something then you're against it, you aren't allowed to not take a side
>>
to those on x11 do you bother with vrr at all?
played around with it and I am only seeing negatives so far in my games with compositing disabled
>>
>>109145945
Too much of a hassle to get working on X11 then it doesn't even work great.
>>
>>109145955
>Too much of a hassle to get working on X11
really? maybe i got lucky but it took me two minutes top
>>
KDE can't span
>>
>have this weird windows program thats supposed to be mostly transparent, but instead transparent its mostly black
>realize i just can write a shader in picom that makes all blacks in a window transpararent
>it fucking works
ohh man i just love my X11+GNU+Linux computer system
>>
>>109145955
>>109145957
isn't it just
>Option "VariableRefresh" "true"
>Option "AsyncFlipSecondaries" "true"
in '/etc/X11/xorg.conf.d/20-amdgpu.conf'
as per https://wiki.archlinux.org/title/Variable_refresh_rate
???
>>
File: 1778533617820633.jpg (1.76 MB, 3840x2400)
1.76 MB JPG
im thinking about changing OSes on my laptop
im having problems with artix that it updates the repos, but shows "theres nothing to do." im also kinda tired of artix, so might as well change it
i use gentoo on my main pc, but compiling from source is really tiring on the t420
any recommendations? im thinking of going with alpine to try it out, but if anyone has a fun distro to recommend, im all ears
>>
>>109146293
You could try installing Gentoo again but focus on using as many of the binary packages as you can?
>>
>>109146312
i was thinking of it too, but a lot of the packages i use are from GURU, so i dont know
maybe i could make my own repository with binary ebuilds for GURU packages that distribute precompiled binaries, though automatically checking if a new version is out would be kind of a chore
>>
>>109146293
Are you against using systemd or is that just a coincidence of your distro choices so far?
>>
Can a retard learn how to install gentoo?
>>
>>109146368
Yes it's very easily laid out step by step on the Gentoo Wiki
>>
>>109146371
But then what about all the things after? Like all the commands and stuff and setting up the cybersecurity if you have to do something like that for linux
>>
>>109146383
Wiki is still just as good. It's pretty close to the Arch wiki overall.
Or you could just go ask Gemini or something.
>>
>>109145859
Are you an idiot?
https://wiki.archlinux.org/title/Zram
>>
>>109146366
i have a preference for OpenRC but im not zealous about it
>>
Is Gentoo the only sane choice if I want to avoid systemd? Will I be cucking myself out of driver support? The main use of my PC these days is for local LLM inference on an Nvidia card, so Nvidia driver support/cuda is important
>>
>>109146591
Gentoo is the most mature non-systemd focused distro, yes.
>>
>>109146591
>Will I be cucking myself out of driver support?
everything driver-related is built into the kernel or into user-space libraries that are really, really independent from whatever system you are on (if Mesa was dependent on systemd, every other system would be dead by now)
the only thing you need to worry about different service managers/init-systems is that some user-space applications will behavior differently, you will be fine
and if a systemd service is really crucial, your system will have support for it
even the most diehard systemd hater will have udev on his system, one way or another
>>
>>109146803
The memory management thing for AMD is dependent on systemd.
>>
>Put cd in car
>great audio, no need to complain
>put cd into my Linux system
>audio absolutely shits itself as it plays the .wav
So is this a software issue or is it the fact that I'm using an 80 ohm headphone without an amp?
>>
>>109146731
Thanks
>>109146803
I don't mind installing some of the modular pieces that comprise systemd, at least i would have control of each part, and possibly swap it out in the future. I want to avoid systemd as a monolithic dependency after a certain recent red flag.

Are you telling me it doesn't really matter which distro I use in terms of Nvidia drivers as long as I simply manage the install and updates myself? Why do I keep hearing people memeing about catchy and arch being on the bleeding edge and having the best performance and whatnot.
>>
>>109146920
Arch/Gentoo and other rolling distros usually get the most up-to-date NVIDIA drivers first.
>>
>>109146920
>I don't mind installing some of the modular pieces that comprise systemd, at least i would have control of each part, and possibly swap it out in the future.
i think in this case you'd need to compile from source, but im not sure
on gentoo it comes with the systemd-utils where you can pick and choose what service you want and need (again, cant escape udev)
>Are you telling me it doesn't really matter which distro I use in terms of Nvidia drivers as long as I simply manage the install and updates myself?
yes and no, depends on the use case and distro
since you are using nvidia for inference, i dont think (im not into local AI) there would be any problem on running it independent of distro, since this would be GPU compute and the nvidia drivers work well for that, and drivers are independent of distros (its just how you install and manage it that is different)
on the display front is a bit different: this is not dependent on the distro in itself, but the display manager/compositor of
almost all wayland implementations are extremely dependent on mesa APIs for their backend, stuff that nvidia started providing more recently, though its still not 1-1 (thats why almost all wayland compositors call nvidia unsuported, though most often than not its fine), if its a turing or newer, i heard the new nvidia drivers are working really well
again, this is not dependent on the distro, but the compositor (which some distros ship some as default, others you choose, others are minimal, etc)
>Why do I keep hearing people memeing about catchy and arch being on the bleeding edge and having the best performance and whatnot.
arch is just minimal and cachy just compile the kernel and packages to optimize heavily on newer CPUs, nothing is stopping you from using any distro and having equal performance, its just how much work you want to put to have this level of optimization (on cachy its plug-and-play, on debian youd have to do a lot of work)
>>
>>109146902
Did you try anything to test audio but one CD? Is it a really old CD? They could be counting on the speaker transducer to hide pops. Are you sure you produced the WAV file correctly?
>is it the fact that I'm using an 80 ohm headphone without an amp?
Probably not. Hook up a powered source and find out.
>>
>>109147208
>Probably not. Hook up a powered source and find out.
Well that's the thing, I'm hooked into my PC and I'm wondering if it sounds like shit because I'm not using an DAC/AMP
>>
>>109147223
it wouldnt sound shit, you just wouldnt hear anything
either that or the dac of your motherboard is horrible, which is also a possibility
>>
>>109145205
gentoo prefix
>>
>>109146449
There's absolutely zero mention about "ZRAM daemon" in that wiki page. What's a ZRAM daemon?
>>
>>109147103
Got it
>>109147195
Thanks for info, would I be better off with one of the x11 forks? From what I gather Wayland still has issues that x11 doesn't have, Gentoo seems to support both.
>>
>>109147600
probably assumes that anything a systemd unit does is a daemon even if it’s a oneshot script
>>
how do i make a linux script where i only make my pc use less than 10w of power
>>
>>109145153
I still run into some bugs with wayland.
>>
>>109147799
systemd already has a oneshot program for setting up zram called zram-generator
>>
>>109147195
>on gentoo it comes with the systemd-utils where you can pick and choose what service you want and need (again, cant escape udev)
You could run Mdev but it's not the same thing. There's no library like libmdev to compete with libudev. The reason everyone uses Udev is mostly because of this library as opposed to the device manager itself.
https://wiki.gentoo.org/wiki/Mdev
>>
>>109148043
yeah, anon probably assumes that anything a systemd unit does is a daemon even if it’s a oneshot script like you just more explicitly explained than I did
>>
>>109148089
>The reason everyone uses Udev is mostly because of this library as
yeah its useful for device discovery, no wonder every low-level input library uses libudev and there are even ports to BSDs if im not wrong
>>
>>109147625
>would I be better off with one of the x11 forks?
i dont know, i like wayland and i like to use it, but im too biased to give you a neutral opinion
xorg works, its not good, but it works, everything under the sun was made for it, so compatibility with it is great
never tried xlibre, so i cant give a fair opinion
just try both or all three, try different compositors (wlroots-based, smithay-based, kde), try xorg, try xlibre, see what you like
>>
>want a terminal with image protocol support
>wezterm
>kitty
>one pozzed by rust and the other made by a hideous jeet
There is no escape is there?
>>
>>109148783
Ratty but its still in beta, what you need the image protocol for?
>>
I dicked around with Linux a lot back in high school, mostly Ubuntu at first and then Mint after ubuntu had that Amazon integration controversy. I'm getting back into it, will I notice any massive changes considering I'm still basically a noob? I want to run flight sim games on Mint, will proton have any issues on Mint? If I have to resort to W11 to run certain programs, does it still have a habit of nuking Linux partitions during updates, or is that fixed? If I get a separate SSD for Windows will that fix it? Also, is there a way to create a partition that W11 and Mint (or whatever we install) can access?
>>
>>109149036
>will I notice any massive changes considering I'm still basically a noob?
Not really, other than it works slightly better now.
>will proton have any issues on Mint?
generally, any distro will work well with proton and steam these days as long as you're not trying to do some weird esoteric shit.
>does it still have a habit of nuking Linux partitions during updates
Yeah, if you install a bootloader on the same disk it will probably fuck with that. in the before times when I dual booted windows always had it's own disk where it was installed first, then on a separate disk I created another efi system partition for linux. technically this is a faux pas since there should only be one efi system partition per computer, as windows will make one, then you make another on a separate disk. this hopefully keeps MS from fucking with your shit and you can add a chainload boot entry to point to windows so you always boot "linux" but the bootloader will have windows as an option. secure boot might be a hassle if windows requires it, though I think mint should probably have a windows based shm loader. idk, don't use windows anymore.
>Also, is there a way to create a partition that W11 and Mint (or whatever we install) can access?
yeah just use ntfs, though there are known issues with sharing steam libraries this way.
>>
Returning to linux after a few years - how can I see the power draw of my CPU an GPU (Ryzen + Radeon)? I swear I used to know a way of doing this.

I have a wall power monitor that's showing 140W idle on ubuntu+gnome+wayland which feels like way too high, but I don't know if it's my CPU or GPU. I would imagine the GPU though. I want as little power usage as possible in this heat...
>>
If you don't like SystemD, why aren't you using Devuan?
>>
the problem with non-systemd distros is that i can't remember the commands
>>
>>109149153
corectrl
>>
>>109149153
140W idle is normal for a desktop PC. They aren't built to be efficient. It won't be the CPU and gfx taking most of the power. It gets wicked up by the board, fans and other crap. Well, it's actually on the high end and should probably be lower if you have a decent 80+ Platinum PSU, but only slightly.
>>
>>109149275
Because sysv init is even worse.
>>
I currently have Mint installed on an Ext4 drive. I'm thinking about getting a fuckhuge drive to backup my entire PC. I haven't really done this before, can I just get like a 20TB HDD and format it in btrfs and write a weekly backup to it? Or what's the best approach here?
>>
>>109149865
like continual backups and snapshots or just a current copy?
there’s plenty of software that does one or the other
>>
>>109149887
A weekly backup of the entire PC, like I said. I mean basically a 1:1 copy of the entire system.
>>
>>109149865
The best approach IMO is to use ZFS with mirroring, but that assumes your entire system is already running on ZFS which is not the case here.
Since you're not on ZFS, then I recommend you just use rsync, and frankly the filesystem you save your backups to doesn't matter that much since you're not going to be interacting with it much. If you go with btrfs then you get the benefit of having snapshots on your backups, that means your backups take much less space, if space is not an issue and you just want a single weekly backup then any filesystem will do.
>>
did tmux (3.7) break image previews in yazi? they don't work for me anymore
>>
>>109150090
(talking about sixel more specifically)
>>
File: backuppc-dashboard.png (208 KB, 1829x667)
208 KB PNG
>>109149903
Jumping in to say I don't like the idea of backing up to an external drive when there are better options available. Hook up the external drive to a separate device like an old laptop and put the laptop on your network, then install BackupPC or similar tools on the laptop to automatically run backups your PC over your LAN.

https://backuppc.github.io/backuppc/

Alternatively if you don't want to set up a device on your network, Mint comes with Timeshift which is designed for system files. So another option is to use a script and/or cron job to back up data to your external drive then use Timeshift to roll back to earlier versions of your system if something breaks.

There are a lot of options for backups. I personally keep my data on a separate drive and back that up to the cloud using iDrive. If my system breaks horribly I just reinstall the OS and remount the data drive since that is faster than restoring a full image from backup.

Speaking of images, you can also make disk images and back those up but this seems like the worst solution.
>>
What office programs do you guys recommend for linux? I'm asking particularly in regards to spreadsheet programs. I gotta build a budget!
>>
>>109148783
at least kitty is gpl3
>>
>Had my first mayor Linux random fuck up
>everything changed ownership and im not the admin
>my root account got locked
>good thing I have a live USB ready
>cant mount the HDD
>SMART shows its good
>then I had to do some unknown black magic to mess with the HDD super blocks
>then some other black magic to mount
>finally works
>still cant log into it because of the "you have no permission for anything, fuck you, call the admin"
>found some advice to not change ownership on mass its going to just be a giant mess now
>back to live USB
>my HDD files are all there
>YAAAAY
>cant interact, only copy
>neat
>decide to buy that HDD external I wanted
>back up everything, but takes forever, randomly would get lower transfer speeds
>Finally
>just did a clean install
So I've got no idea of what went there, but from my browsing looking for solutions, apparently I have a Bad RAM stick(s) on this old laptop, how the fuck does that causes all of this shit
Or maybe that one time I messed with Nvidia drivers finally decided to show its results

>>109149865
Just do a backup on a external HDD of your important files and keep a updated live USB


Also, stupid question, how the fuck do I install Steam on Fedora again?, I've been browsing the steam site and cant find shit, and im sure the .deb file is not for fedora
>>
>>109148783
Konsole, written in God's language C++
>>
>>109150090
Image previews have never worked properly with Tmux because it doesn't pass through the sequences properly. You may get lucky or it may swallow them or just be completely broken.
>>
>>109150296
it actually always worked for me (foot+tmux+yazi) before the new tmux update came out yesterday. i guess it worked by accident this whole time lol.
>>
>my face when I have to disable memory compaction in the kernel to prevent amdgpu from crashing from a null pointer reference
Whoever said amd was better on linux is a fucking liar mc liarface.
>>
File: res-devuan-uefi.png (276 KB, 1764x1342)
276 KB PNG
>>109149275
Devuan is not a well-engineered OS. Here is what happens when you have the audacity to run it under QEMU-KVM but with UEFI instead of BIOS.
>>
>>109149275
isn't the best option for that Linux MX?
>>
>>109150187
Just use Libre Office
>>
>>109150260
>apparently I have a Bad RAM stick(s) on this old laptop, how the fuck does that causes all of this shit
Bit flips are serious shit
>>
>>109150409
Just tried MX-25.2_Xfce_x64.iso on QEMU-KVM. It seemed to install fine, but then I got a completely black screen on first boot, can't switch virtual consoles, nothing. Debian 13 works fine on the same VM setup, btw.
>>
>>109150569
Oh wait, tried a cold boot and it works now. Weird.
>>
File: mx-dkms.png (2.06 MB, 2151x1342)
2.06 MB PNG
Why does MX Linux waste time and CPU building kernel modules for hardware I don't have? All I did was run MX Updater to update my packages.
>>
just realized the only reason why I felt the impulse to distrohop was because I was fresh coming off of windows and the novelty of linux in general was exciting and now I'm settled in I don't feel the need at all anymore
>>
>>109150651
did you configure your kernel yourself? if you’re compiling it then you should be configuring it and you can choose what you want
if it’s the distro provided config and compiled already then who cares. unloaded modules don’t get loaded anyway, but they take up a small amount of disk space
>>
>>109150715
Most distrohopping is basically that. The moment you find a distro that actually fits you, you don't really want to move anymore. For me that was Arch.
>>
>>109150724
All I need was install the OS and run the updater.
>if it’s the distro provided config and compiled already
Obviously it's not compiled already. That's the entire point.
>>
>>109150734
you’re confusing the kernel compilation and module auto detection by your initramfs?
>>
>>109150755
I'm taking issue with the fact that MX Updater is unconditionally calling DKMS to build out of tree kernel modules for hardware that I do not have. This has nothing to do with the kernel proper (which is apparently just the stock Debian kernel) or initramfs (the system is already booted).
>>
anybody use bazaar? is it any good?
>>
>>109150897
It's one of the best ways to install flatpaks via a GUI frontend these days.
>>
Any idea if Wallpaper engine works on Linux?
>>
>>109151178
just use the kde plugin that lets you play videos :)
>>
I'm having some trouble with redshift. I want to use the redshift-gtk.service user unit, but it keeps on failing to start. I think that's occurring because I use xinit to manually start Xorg and Xfce. The regular user unit works fine, but I'd like to have the icon displayed on the system tray that comes with the former. The solution suggested by this issue thread here hasn't work

https://github.com/sharpbracket/redshift/issues/265

Any help?
>>
>>109150715
To be fair, distrohopping was more common in the past because every big distro was broken in some major way. This hasn't really been a problem in the last several years, they all work great.
>>
>>109151204
Yeah these days choosing a distro is basically just choosing how you want your OS to approach updates (rolling/frequent/infrequent(stable)) and how many training wheels you want. Unless you are one of those people who sees SystemD as the antichrist then you will have to consider a bit more carefully maybe.
>>
File: 171013068051083.jpg (21 KB, 300x222)
21 KB JPG
>mfw I just spent six hours trying to fix an edge case bug on my shell script only to realize the bug was actually on the Dolphin/KIO file handling API
>>
File: Miku_gif.gif (277 KB, 270x200)
277 KB GIF
>was having some minor annoyances on my toaster regarding fingerprint auth
>it only happened because my stupid ass misstyped 'fprintd' as 'fprint' in a couple of config files

I know this is entirely my fault but I just cant help but feel that editors could check shit like this in real time or something.
>>
File: 1751351361718430.png (500 KB, 1836x254)
500 KB PNG
Why is arch like this?
>>
>>109151502
If this doesn't make you erect you are on the wrong distro.
>>
>>109151502
>using """""nerd"""" fonts

eww
>>
>>109151308
>then you will have to consider a bit more carefully maybe
Extremely carefully. Non-systemd distros seem to be more buggy for the most part.
>>109151502
Kind of an annoying interface to pick fonts from, but Arch is the only major distro that has them built in.
>>
I have a wireguard server and client. They form a tunnel.

I initiate the tunnel connection from the client. It works. The client traffic goes to the server. And the server (vps) can proxy 443 web traffic to the client (homeserver). Good.

Now. I do not want the client traffic going through the tunnel to the server. Only server --> client traffic. Is this possible?

I already tried setting allowedIps on the client to everything you could think of (wg server ip, public server ip, ...). The result is always the same. Either
>the tunnel doesn't get used by anything (client allowedips not set to 0.0.0.0/0, but something else)
>or, all traffic uses the tunnel (client allowedips set to 0.0.0.0/0)

I am starting to consider using some other tech to achieve this, because this "split tunneling" seems impossible.

Why do I want this? Well, if I decide to update the client's software, I don't want everything downloading through the server (VPS)
>>
>>109151502
>>109151781
it’s annoying to be presented with a large list of choices and a default if you don’t pick?
>>
File: 1751730119757269.jpg (13 KB, 338x405)
13 KB JPG
>>109151502
just choose a font, it's not that complicated
>>
>>109152192
>the server (vps) can proxy 443 web traffic to the client (homeserver). Good.
>I do not want the client traffic going through the tunnel to the server. Only server --> client traffic. Is this possible?
I think you are missing some fundamental info here. When your whatever 443 web traffic happened, traffic went both ways.
Can you explain what you are trying to accomplish here? Is there another service running on some other port and you DON'T want to use that one via the Wireguard tunnel? If that's the case, use the VPS' real life IP instead of the Wireguard IP.
>>
>>109152202
It's fine if you know what they look like. If you don't and you want to pick in that moment then it's annoying. But overall it's nice that they're included in the OS.
>>
>>109152192
set your allowed ips to the wireguard subnet?
>>
File: Install Gentoo.webm (2.68 MB, 878x480)
2.68 MB
2.68 MB WEBM
emerge --sync && emerge -uDN @world && emerge --depclean

Wow, it went thru without errors and bazillions of junk got depcleaned. It's been like six months at least when at least some package failed to build.
t. Gentoo testing
>>
>>109152343
i know this clip edit is pretty old, but actually you can run an AD DS using linux, samba has supported acting as a full domain controller since 2012
>>
Where the clangd in arch package manager?
>>
i fucking hate it when something doesn't work the way it should, my instant reflex is to reinstall the entire system and begin everything anew
can't disable the fucking telemetry on gaydora rn, shit sucks
>>
>>109152227
Is it so hard to add a line break after every option listed though? It's not like you're gonna install Arch on a 640x480 machine, 99% of Arch users will run it on a modern gaming PC with 1440p/4K screens.
>>
>>109152797
>99% of Arch users will run it on a modern gaming PC with 1440p/4K screens.
proofs
>>
File: HLPr0V4aoAAIO6b.jpg (244 KB, 1536x2048)
244 KB JPG
>artist
>artist & artist/label/studio/whatever the fuck they collab with
>artist feat. artist
How do I fix this? Shit's messing up my library whenever I sort by artists. Also Linux music players in general I guess.
>KDE: fooyin
>GNOME: Gapless/g4music
>Xfce: Quod Libet/Tauon
>WMs: mpd with *your favorite front end here*
these are the best I've found, love that there are way more choices compared to Windows with foobar2000/MusicBee.
>>
>>109152963
I keep playlists to hold my music, guess album artist would be the best way to sort that.
>>
>>109152943
Even a T420/X220 has enough screen estate to line break that shit
>>
>>109152963
I used to like clementine/strawberry before i switched to mpd
>>
>>109151502
Because you're installing a meta package and complaining that the meta package gives you an option of which package to install
Its like installing a terminal meta package and then complaining it gives you an option of which terminal emulator to install
>>
>>109150260
>how the fuck do I install Steam on Fedora again?
https://docs.fedoraproject.org/en-US/gaming/proton/
I just use the flatpak so i dont have to bother with a bunch of pointless 32bit libraries
>>
So I got this script that's timed to launch once a day. The script performs various tasks: X, Y and Z. Now occasionally I want it to skip some of those tasks, specifically the last one. I do that by editing the script and commenting a command out.
Is there a less retarded way of doing this? Something like a settings file perhaps? Or a directory with empty files where an existing file means a command is skipped? Where do I put this file or directory? The script is located at /usr/local/bin/script so should it be /usr/local/share/something?
>inb4 "do separate scripts"
Z depends on X and Y.
>>
>>109150394
Pretty sure the same issue will also happen with the debian netinstall since devuan is just re-using debians netinstall.
The only reason i don't use devuan is because i don't like sysvinit.
>>
>>109152994
if we're making stuff up i'll say 99% of people don't update with their terminal in full screen
also, those 72 items with 15 pixels tall lines like in the pic would be 1080 pixels total
for that to fit with some context, you would need a monitor above 1080p, otherwise you're just presented with a long list of options and have to scroll up to see wtf it's about, great ux
the x220 is 1366x768 btw
>>
bros, my efivars partition gets smaller by 1,5kb after every boot into bios, what the fuck is going on
>>
>>109153024
Sourcing environment variables, or creating a file and checking if that file exists as a condition
if you want to do the sourcing environment variable way, then just put the file somewhere it doesnt really matter where but if you want it to be temporary and not permanent then somewhere in /tmp would be the best spot and just tell your script to source it at the begnning of the script
>>
>>109153053
oh fuck, it gets smaller after a normal reboot too
a single failed dbx update and i found out that my pc is slowly killing itself
>>
>>109153057
Environment variables eh? Well it's a script that's run by a systemd service unit and systemd itself supports environment files. That could be it.
>>109153070
What is the thing even? Isn't it just a virtual filesystem where the firmware presents whatever info to an OS?
>>
>>109134621
I am so neutral about the init system debate. I guess it's because everything works just fine with my PCs, so I don't think about it. I basically just know how to manage services.

>>109134688
Also don't get the Wayland hate. Switched to both Wayland and KDE Plasma a few years ago after changing distros, used to be an xfce fan. Things just work, actually better than ever. Yeah, I don't know.

I browse the internet, torrent and watch anime and hentai, cut and convert clips from videos to post on 4chan, do schoolwork with LibreOffice, and play games. All my games run better on CachyOS than on Windows. Idfk lol.
>>
>>109153082
>What is the thing even? Isn't it just a virtual filesystem where the firmware presents whatever info to an OS?
yes, which makes me think that my craptop has some overflow bug, i'm just worried that it's going to crap itself after getting to 100%
i can't reset the bios to default settings either, it just freezes when i try to
>>
>>109153100
I don't have any issues with wayland or xorg and just use whichever one is the right one depending on the de/wm or software i'm using but i cant stand these retarded wayland cultists.
>>
>>109153188
okay, a simple reset of secure boot settings freed up enough space for the dbx update
i still don't know what will happen after efivars reaches 100%, time will tell...
>>
File: IMG_9474.jpg (363 KB, 1792x1008)
363 KB JPG
concept
>>
>>109153893
sudo pepsi drink
>>
>>109146293
Install Gentoo
>>
>>109153024
add an argument in the script?
./script.sh xy
./script.sh xyz
>>
>>109154018
sudo pepsiman -S pepsi-max-24pk
>>
When you download the program and run it and it runs the first time and you don't need to download or troubleshoot or compile anything or fix any settings or properties files, there's a word for that, and that word is bloat, and it's capitalist pig bullshit.
>>
>>109153893
haven't had a pepsi in decades now I kinda want one
>>
>>109154519
If I ever want a cola I always go Pepsi Max these days. Otherwise Dr Pepper Zero.
>>
>>109154368
sensible_chuckle.gif
>>
>>109153100
I see both wayland and systemd as a way for redhat/ibm to control the linux ecosystem which is why I don't like them.
>>
>>109154899
you better not look at who contributes the most to the kernel itself then
>>
>>109152325
>>109152235
My goal is to have a wg tunnel established between a "client" and "server", but not pipe the client's output traffic through the wg tunnel (just incoming server traffic)

>Client - Homeserver that hosts a website
[Interface]
PrivateKey = REDACTED
Address = 10.66.66.5/32
DNS = 9.9.9.9,1.1.1.1
[Peer]
PublicKey = REDACTED
PresharedKey = REDACTED
Endpoint = 123.123.123.123:12345
AllowedIPs = 0.0.0.0/0 # This puts client traffic in tunnel. Changing it to "10.66.66.1/32 , 123.123.123.123" does not keep server traffic in the tunnel. Also, I tried using 192.168.1.5 and I think it put the traffic in a routing loop, my ssh connection frozen and I had to reboot my homeserver.


>Server - VPS that acts as a proxy to homeserver website (nginx -> anubis -> homeserver)
[Interface]
Address = 10.66.66.1/24
ListenPort = 12345
PrivateKey = REDACTED
PostUp = iptables -I INPUT -p udp --dport 12345 -j ACCEPT
PostUp = iptables -I FORWARD -i enp1s0 -o wg0 -j ACCEPT
PostUp = iptables -I FORWARD -i wg0 -j ACCEPT
PostUp = iptables -t nat -A POSTROUTING -o enp1s0 -j MASQUERADE
PostUp = ip6tables -I FORWARD -i wg0 -j ACCEPT
PostUp = ip6tables -t nat -A POSTROUTING -o enp1s0 -j MASQUERADE
PostDown = iptables -D INPUT -p udp --dport 12345 -j ACCEPT
PostDown = iptables -D FORWARD -i enp1s0 -o wg0 -j ACCEPT
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT
PostDown = iptables -t nat -D POSTROUTING -o enp1s0 -j MASQUERADE
PostDown = ip6tables -D FORWARD -i wg0 -j ACCEPT
PostDown = ip6tables -t nat -D POSTROUTING -o enp1s0 -j MASQUERADE
[Peer]
PublicKey = REDACTED
PresharedKey = REDACTED
AllowedIPs = 10.66.66.5/32
>>
>>109154968
Right now it would probably be vibe coders.
>>
>>109154998
So you want a simple point to point tunnel? That's the simplest setup there is.
>10.66.66.5/32
Do it as 10.66.66.5/24 instead so you got a network of 10.66.66.0/24.
>DNS
Obviously you want to omit that.
For "AllowedIPs" you want to use the WireGuard's network, in my suggestion a 10.66.66.0/24.
>iptables.....
Dude stop that lmao. You need zero firewalling rules here, possibly only to allow 10.66.66.0/24.
>MASQUERADE
Masquerading is what you want when routing via the server, you said you don't want that.
Think of the whole setup as an extra network card that's connected directly to the server, forget all the routing junk.
>>
>>109154998
If what you're trying to do is route all traffic coming into your webserver on the vps to the homeserver then what you need to set up is an SNAT firewall rule on the vps so that all the traffic you're routing through the wireguard interface is assumed to be coming from the ip of the wg interface on the vps instead of random ips
and then the only allowedips you would need on the homeserver is just the one for the vps on the wg interface.
>>
What is the easiest way to ship an application on Linux? It's just two binaries and a few dependencies, all within the same folder.
>>
>>109155215
appimage or just a tarball
>>
>>109155142
it’s this. anon is overcomplicating it because they don’t understand basic routing. keep it simple.
>>
>>109155215
> It's just two binaries and a few dependencies, all within the same folder.

if you want binary to work on most systems and work for next few years it is annoyingly hard
https://jangafx.com/insights/linux-binary-compatibility
>>
File: XBOXONEController.jpg (919 KB, 3037x2160)
919 KB JPG
Im having an issue with my XBox One Controller under Linux (through Steam's proton layer) on KDE Fedora.
It keeps doing a thing where sometimes, the right analog stick (camera in most games) is just pushing down and my camera keeps panning up. It is interrupted by me operating the stick myself.
I want to check at what level this occurs, if it's an issue with the cable, the controller, the Steam layer that detects the controller or the game itself
Is there an input reader that comes with Linux or Steam that I can use? I want it displayed on my screen like you see streamers doing.
>>
>>109155215
Static compilation.
>>
>>109155215
Make sure you compile it for something like Ubuntu LTS to avoid >>109155241
>>
>>109155252
Check the KDE game controller settings to see if it isn't just actually that your controller is starting to suffer from drift, like just leaving it and looking at the movement. You could also check controller calibration within Steam as well to show if it's itself a Steam/Proton problem and if you might just need to change around deadzones.
>>
>>109155286
static linking completely fucks up glibc
>Before you suggest statically linking GLIBC—that’s not an option. GLIBC relies on dynamic linking for features like NSS modules, which handle hostname resolution, user authentication, and network configuration, among other dynamically loaded components
>>
>>109155307
Yeah, It might be on the way out. It keeps going up after I reset it, it never properly rests to 0 and sometimes goes to the left just slightly enough to not register in the game
I mixed around the Up/down directions in my original post because of inversion
>>
>>109155215
Definitely either through a flatpak or an appimage.
For example a lot of emulators ship through both.
>>
>>109155322
Statically link everything except glibc and hope for the best.
>>
>>109155350
Flatpak is good but not every application is suitable for it.
>>
>>109155222
>>109155350
I'd rather not have to restructure my code in any way. AppImages seem to expect a specific structure of code and resources, that is more complicated than just a flat directory.
>>
>>109155339
Is there anything I can do against this or do I need to send it in for repair or just buy a new one?
The input sometimes goes all the way to the top of the frame, so it isnt really something that can be fixed with deadzones I'm afraid.
>>
>>109155144
yes, I want this "one-sided" tunnel usage

VPS -> through tunnel -> home server

And homeserver -> web (no tunnel usage)

I'll look into SNAT. Thanks.

>>109155142
>>109155231
tried this and it doesn't work. The server stops being able to connect to the client as soon as I change the Allowed Ips from 0.0.0.0/0 to 10.66.66.5/32 or 10.66.66.0/24

This makes me this the other anon is right. SNAT.
>>
>>109155339
Looks like stick drift, a lot of well used controllers suffer from it (and some new ones if you are unlucky), likely needs a stick replacement or just replacing the entire controller. Best case scenario is it's just an issue with contacts and not wear and tear so maybe look up a video on disassembling and cleaning the contacts and making sure all the contacts are pressed together properly before getting rid of the controller.

In the PS3 controller there is a part where a piece of foam is pushing a ribbon cable's contacts against the chip but the foam had lost its shape a little over time and no longer served its purpose and was causing stick issues so I just put a piece of tape under it for a tighter contact and the controller was like new. You can try squeezing the shell of the controller (hold it from from somewhere around the middle with both hands and squeeze the front and back of the controller together with a good amount of force while you are in the calibration screen and if it's a similar contact issue it might center the stick while you are doing that.
>>
>>109155409
appimage is very simple. all it requires is a .desktop file, an icon, and AppRun file that is a shell script running the program from the path relative to itself.
>>
>>109155478
The other thing that might work instead of SNAT is to have the nginx reverse proxy proxy pass option point to the ip of the homeserver's wireguard IP but the main issue is just that the wireguard connection is blocking any traffic through the interface that does not originate from the allowed ips section.
>>
>>109155241
>"containers"—or as as we've recently taken to calling them, "a Linux Environment inside a Linux"
STOP RECENTLY TAKING TO CALLING THINGS
>>
>>109155478
SNAT is masquerading but static, you don't want that.
And there's more to the setup than the config you are looking at, how's the networking setup to begin with? Do you have a blocking firewall somewhere? If yes, I'd configure it directly instead of via the WireGuard setup.
>>
>>109155641
>>109155594
>there's more to the setup than the config you are looking at

The traffic path goes,

Browser -> VPS (nginx -> anubis) --anubis TARGET=http://10.66.66.5:9003 --> homeserver (nginx -> webapp server)

10.66.66.5 is the homeserver wg client IP
10.66.66.1 is the VPS wg server IP

Having the client / homerserver's AllowedIPs set 0.0.0.0/0 allows the server to send traffic through the tunnel. But then the client uses the tunnel to.
>>
>>109155706
I don't really know how anubis works but if you set the allowedips section of the homeserver wireguard to the ip of the vps wireguard ip and then do a simple curl of the webpage on the vps without setting anything else does that work? and does it work if you just directly curl the homeserver webpage on the vps?
>>
>>109155788
ok I tried
>many different versions of the client / home server allowed ips
>ping and curl from the vps /wg server
and nothing
WG is still demanding that allowed IPs on the client is 0.0.0.0/0
>>
>>109156129
it’s very simple what you want to do. you’re routes are not being set up correctly. you should reset and simplify and just get it to route the wg subnet to wg addresses using the wg subnet as allowed ips first. you can verify this by checking your routes on the client. Follow point to point guide like anon said.
>>
>>109155500
It's not that well-used. I had it for maybe 2 years. The old XBox360 I had before that lasted way longer.
I tried the pressing of the shell and while front and back didnt help, pressing left and right together did. it reset the stick back to its original place just like moving the stick would, but not for long.
Thanks for the tips so far, I guess Ill have to look into opening this up. As it turns out, the one screw is actually underneath the sticker in the battery tray. That'll be a joy to cut free
>>
>>109156187
wait a sec, could this be from my vps?

because when I tcpdump and curl with 0.0.0.0/0 I see 123.123.123.123.vultrusercontent.com and not just a plain IP address.

is this a cgnat issue?
>>
>>109156273
re: nope, tcpdump -n shows it's not

oh well, I am done trying to get this working. Thanks for the help guys
>>
>>109156187
>you should reset and simplify and just get it to route the wg subnet to wg addresses using the wg subnet as allowed ips first
can you tell me how to do this?
>>
>>109156445
set it up and just check what
ip route show
says. you will have a default via your ethernet device for lan and the subnet address range via your wireguard virtual device.
>>
>lenovo thinkcentre tiny machine for foid's parents
>debian 13
>all fine for half a year
>i was like they probably cant fuck it up
>somehow do
>now it cant boot
intel boot agent throws PXE-E53: No boot filename recieved, system throws 1962 error saying no bootable system found, fucked around bios with boot order legacy and uefi but nothing helps
am i fucked and have to reinstall it or can i solve this on site?
>>
>>109156507
>set it up
can you give me a hint?
>>
>>109156576
Maybe the boot drive died
>>
>>109156586
https://www.wireguard.com/quickstart/
>>
>>109156189
>>109155500
Opened it up, couldnt really access the stick switches because of the PCB layout and length of soldered connections.
I connected it to my PC and the drift is gone, for now. maybe there was some weird thing stuck in the switches that I got loose.
Either way, the default position isn't perfectly centre anymore. maybe I'll have to set new deadzones, whatever that means.
The Wireless-connection button right next to the USB port doesnt cause any trigger in the menu to appear either, but I guess that's a "controller-internal" button. I never use it anyway.
Let's see how well it does ingame.
Thanks for your help so far.
Now Ilöl have to repoen that thing up because a screw at the righthand handle isnt quite tight yet.
>>
>>109156857
Nope, still sometimes happens, but way rarer and weaker.
I fucking hate this. I would hate it way less if those Microsoft screws werent softer than butter in the sun so they have a limited lifetime of how many times I can screw them in and out.
>>
On wayland, some steam games open on top of the steam window for some reason. I can't interact with the window, but it's still on top of it.
>>
New thread:
>>109157114



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.