[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [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]


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/
https://overthewire.org/wargames/bandit
>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

/fglt/'s website and copypasta collection:
https://fglt.nl && https://files.catbox.moe/u3pj3i.txt

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

IRC: #sqt on Rizon
https://fglt.nl/irc.html

Previous thread: >>103044517
>>
isn't that prism break site a bit outdated ?
>>
>>103056289
How do I allow firejail to use shared libraries when opening a program?
I'm trying to

firejail rpcs3


and get

rpcs3: error while loading shared libraries: libLLVM.so.18.1: cannot open shared object file: No such file or directory

$doas locate libLLVM.so.18.1
/opt/rust-bin-1.80.1/lib/libLLVM.so.18.1-rust-1.80.1-stable
/usr/lib/llvm/18/lib64/libLLVM.so.18.1
>>
>>103056330
forgot the code blocks. don't judge me!
>>
>>103056330
>doas outside of openbsd
why would you do that
>>
>>103056612
leaner than sudo, and works for me
never needed a feature it didn't have
>>
File: file.png (832 B, 352x33)
832 B
832 B PNG
how do i make this work with whitspaces in filenames?
>>
>>103056656
find gallery-dl -print0 | xargs -r -0 -I{} sha256sum "{}"
>>
Anyone else noticed a decrease in quality of touchpad lately? Every once in a while, it will completely fail to detect my finger, even with enough pressure. When that happens, I have to lift it and press it again, or it just won't work. Same thing happens with two or three fingers. It will frequently miss one of the fingers, so that a two finger touch will become one finger and three fingers will become two. It's frustrating. I'm trying to scroll, only for the pointer to move instead. Or trying to close a tab, and it will do a right-click. It always happened, but now it happens so often it's driving me mad.
>>
File: file.png (8 KB, 254x110)
8 KB
8 KB PNG
i have font rendering issues on brave not really sure how to approach it
>>
>>103056656
>>103056925
find gallery-dl -type f -execdir sha256sum -- {} +
If you feel like reaching for xargs, always ask yourself if you're doing something dumb.
>>
I addded a new Seagate Exos X20 20TB (brand new retail SATA ST20000NM007D) to my server recently, I posted about some weird behavior I noticed on it where it seems to be just writing at around 2MB/s or so while idle.
Well after some more time actually using it i think something is wrong, I usually use TOSHIBA MG drives, all on ext4 and LUKS and when I copy to them it just goes at full speed continuously until the transfer is over, very straight forward. This new Seagate though constantly seems to get stuck/drop in speed/whatever before continuing be that copying over SMB with teracopy or windows explorer with dolphin/rsync from another local drive, on cockpit it shows writing lots of data in chunks rather than continuously as it comes in likes its getting cached for quite a while before being actually written, the activity led too stay offs for good parts during a transfer then turns on even after the transfer is supposedly over.
Is this supposed to be normal because I honestly hate it and think something is wrong? Is this some retarded Seagate firmware thing can I do something to get it to behave normally?
Don't tell me the drive is defective, I doubt it is, i've ran badblocks on it and it came out with 0 errors and ran at full speed the whole time (completed in same amount of time as my 20TB TOSHIBAs, whenever i looked at iotop/cockpit it was running full speed), only after I formated it as ext4 with LUKS it started to act like this, which is what I always use, is Seagate just retarded or can I fix this by using XFS or smth or any ideas?
fuck just noticed it does this for reads too, so if its not easily fixable I cant even dump my TOSHIBA on it and just reuse it for writes instead of it.
>>
>>103057596
Xargs is better. It supports parallelism
>>
File: fuckseagate.png (42 KB, 1686x198)
42 KB
42 KB PNG
>>103057607
>>
>>103057618
Yet you didn't parallelize anything and wasted a ton of program calls for no reason with xargs. Even if you did, you'd be an idiot for not using parallel instead. xargs is an awful job manager.
>>
>>103057679
I know. I didn't do that because they didn't ask for that. It can give big speedups though, it's just a -P$(nproc) away, especially since sha256sum is mostly CPU bound rather than I/O bound. You can easily process multiple files at once.
>>
>>103057759
>>103057679
Also, parallel is good if you want to distribute jobs to multiple machines over SSH. For simple usecases Xargs is better, plus it's already installed.
>>
>>103057607
>writing at around 2MB/s or so while idle
>formated it as ext4
Is ext4 doing lazy inode initialization in the background?
>writing lots of data in chunks rather than continuously
Idk how to explain that though.
>>
/flgbt/, should I use Linux Mint XFCE, Xubuntu, elementary OS or Lubuntu if I'm not a computer scientist?
I have a i5-4200u which is slow as HELL
>>
File: fuckme.png (36 KB, 1566x180)
36 KB
36 KB PNG
>>103057818
My previous post, >>103020792
Still that was at least constant write which went away BTW
Now i tested my other drives and it seems the others are also suffering from this issue so it means its something with the system and not the Seagate exclusively, i mean they are pretty full so i'd expect a performance hit bc of that but they have been for a good while and this literally only started happening very recently, i at least noticed after the copies to the new Seagate have been slower and constantly getting stuck.
>>
>>103057768
It doesn't handle jobs dieing very well either, which is why I never bother with it even for local tasks. Not to mention memory constraints. xargs is good enough to run sha256sum in parallel and not much else.
>>
Any reason why scripts run through KDE's Autorun feature upon login are kept "running" indefinitely even after hitting exit 0?
>>
I'm actually fairly familiar with how to configure and make systemd services, maybe I should use that instead of KDE's Autostart? Seems a little overkill for those tiny scripts though...
>>
I have 64 gigs of RAM which is an insane amount for my use case. Is there anything I could use it to make my Linux go faster?
>>103058291
They aren't child processes(?)
>hitting exit 0?
On what?
>>103057876
Partition for two co-existing systems and never worry
>ESP (if an EFI PC)
>20 gigs for distro A
>20 gigs for distro B
>swap partition maybe
>one big encrypted volume for random purposes (hosts $HOME among other things (we'll get to this later))
Posted billion times. Also you never need installers again as your current system is the installer environment. Also helpful case you want to migrate between filesystems.
>>103056612
Muh minimalism.
>>
>>103058642
>They aren't child processes(?)
>>hitting exit 0?
>On what?
They run fine and do their thing, but if I go to Settings--> Autostart, they're somehow still running despite the script being finished (I always explicitly write "exit 0" in my bash scripts). I even see them in the list of processes in System Monitor.
>>
File: screenshot_161.png (260 KB, 1510x722)
260 KB
260 KB PNG
I am never going to learn to do df -h instead of du -h
>>
on alpine if my printf didnt contain a newline i had to fflush(stdout) for it to display when it should, is this due to using musl?
>>
>>103058760
duf
>>
>>103057919
You mentioned mergerfs, it's likely that your files are getting scattered across drives and the pauses are the filesystem picking a different drive.
You didn't mention how you tested, so I can't tell for sure.
>>
>>103058816
Yes and always have, just puts on whichever drive had the most free space. My old drives are filled so everything is just going on the newest one, also to be clear I'm copying big files, I'm aware tiny files always copy slowly, big files should be maxing out the bandwidth all the way through yet they drop multiple times during copy.
Worked perfectly until recently around until I added this drive to the pool, but again copying directly from and to any of the drives locally too seems to cause this now.
>>
File: Cacoroll.gif (105 KB, 256x312)
105 KB
105 KB GIF
For any nvidia gaymers here using nvidia-settings full composition pipeline to stop screen tearing, STOP RIGHT NOW!
I guarantee you that picom with vsync and backed "egl" will make your experience on everything will be much smoother, uninstall nvidia-settings.
>>
>>103059278
>will make your experience on everything will be much smoother
holy shit i am an absolute retard, sorry for the bad engrish
>>
File: 1730529799825.png (47 KB, 933x678)
47 KB
47 KB PNG
>>103058760
^C^C
>>
Recommended Tampermonkey script to edit/overwrite/delete R**ddit posts?

Most on greasyfork website seems to be outdated, or error in their code (red lines)...
>>
Did KDE recently add template support? My entire home directory would show up when I would try to create new directories in Dolphin. XDG_TEMPLATES_DIR was set to $HOME by default on my installation.
>>
File: file.jpg (3 KB, 200x200)
3 KB
3 KB JPG
>>
File: 92e2.jpg (120 KB, 559x790)
120 KB
120 KB JPG
>>103056289
Inspired by >>103033928
Are there any books or introductions to programming system stuff in Linux with python?

I'd like to make my own utilities that affect system but don't rely on ansible or bash scripts, but also would help me to learn better how modern Linux works.
>>
>>103060116
better off asking in >>>/g/dpt/ for this sort of advice
>>
I've just installed Fedora, how do I install Python? Should I use flathub or something?
>>
>>103060717
dnf install python
>>
>>103060786
>did not finish install python
>>
>>103060800
duke nukem forever
>>
I just installed bluefin on my framework 13, here is my experience:

>Installation was easy and unproblematic
>distro is usable and functional right out of the box

Here is where things started going in a worse direction
>Software store (flatpak) has seemingly no way to sort by popularity or downloads, it displays a few apps on a carousel, recently updated apps below it, then just an alphabetical list
>GNOME has way too much padding on UI elements
>Almost no settings are centralized, many are in the Settings app, some are in GNOME tweaks, some are in the extensions manager. This makes changing settings very time consuming because you waste time finding it
>Many things straight up are not customizable at all, or require you to install a totally separate extension that just happens to include settings for that particular element
>Ex. There is no centralized location to change what appears on your top bar or the order, but some extensions that add menus there allow you to change the entire bar
>Box buddy is incredibly helpful for creating and managing new containers, but doesn't have write access by default and anything you do in a box will be reset after a reboot unless you fix permissions via flatseal

Overall I still like the idea and the execution is mostly good, but man I just fucking hate GNOME. I last used it in like 2016 and couldn't stand it then, but I was really hoping it would be better by now. Luckily I can rebase to a KDE based system pretty easily, so I'll probably give that a go and settle on it.
>>
>>103061143
>>GNOME has way too much padding on UI elements
You can tell none of the GNOME developers use 13" laptops. This is has been an issue for years now.
>>
>>103061143
Also forgot to add:

>No music player by default
>Only included media player is this thing called Clapper that I've never heard of (maybe based on mpv?)
>tried using it to play a movie and it wouldn't display subs, switched to VLC and it worked instantly
>>
>>103061143
>no way to sort by popularity or downloads
This is what you get when <thing> isn't spyware.
>>103058741
>if I go to Settings--> Autostart, they're somehow still running despite the script being finished
Says nothing to me. Is the shell process alive or what?
>>
>>103061265
>This is what you get when <thing> isn't spyware.
Tracking download numbers is not spyware as long as its opt-in:

https://popcon.debian.org/
https://pkgstats.archlinux.de/
>>
>>103061265
Tracking download count isn't spyware
>>
>>103061293
>"But muh public IP address and hash of /etc/machine-id"
The NSA is totally going to hack their servers and discover my home address
>>
>>103061293
Although the data you get from all that is irrelevant.
>>103061284
That's not "tracking downloads" though, it's better.
>>
>>103061324
>That's not "tracking downloads" though, it's better.
It's tracking popularity all the same. Yes, it's implemented better (it's a one-off survey done on a timer so multiple downloads won't count twice) but that's nothing to do with being or not being spyware.
>>
>>103061334
Tracking HTTP requests on some mirror server is trash data to me.
>>
>>103061357
It's all trash data. It would be useful to see total download numbers but the distributed nature of distros mirror networks makes that impossible.
>>
File: linux community support.jpg (95 KB, 1080x385)
95 KB
95 KB JPG
>search for a solution to my problem
>most promising results on google are just smartasses on reddit or in forums telling linux newcomers who had the same question as I do to just google it
This has happened to me dozens of times now. I hate these people.
>>
>>103061934
What do you want and why does it involve a wrapper?

Arch probably isn't the distro for you.
>>
>>103061934
How about instead of being all "raggle fraggle no one is helping me >:(" why not just say why you're looking for a pacman wrapper?
paru or yay are the recommended ones these days.
>>
>>103056330
bump
>>
>>103059594
>27 results found
https://desuarchive.org/g/search/image/wngI3MXU5WZAI01rE3oh9g/

I think you've made your point
>>
>>103062258
I'm starting to think this is a canary for some retards bot. They post it all over.
>>
I have the following bug: after I suspend my PC, sometimes, the PC and the keyboard and mouse light up as if the PC was awake again, but my monitor has no input signal. I never know what to do except hard restart.
What could be the problem? I have an NVIDIA GPU with the proprietary drivers and use Manjaro btw.
>>
>>103056612
Nothing wrong with using doas as an alternative for sudo on linux.
>>
>>103057679
>xargs is an awful job manager.
what's a better alternative to use?
for something simple like:
#select which anime episodes to watch
printf '%s\n' 'anime episode 1.mkv' 'anime episode 2.mkv' 'anime episode 3.mkv' 'anime episode 4.mkv' | \
fzf -print0 | xargs -r0 mpv
>>
>>103058518
if your script needs to restart or you want to be able to control it stopping and starting then you should use a systemd --user service over autostart if it's not running as root
there's also some other alternatives if you're not on systemd like runit (though this requires a lot of proper manual set up), superd, turnstille
>>
>>103058762
unless im misunderstanding what you're asking, printf doesnt end with a newline unless you specify one
otherwise, it might be due to busybox and not musl
>>
I haven't used live CDs/USBs since the knoppix days. What do people use nowadays? I want to backup some files from a windows laptop before formatting it.
>>
any tool to display current framerate and other stuff like ram usage, cpu usage, in an overlay on top of videogames ?
>>
>>103062553
most distros have live media nowadays.
I think Kali Linux's live system is pretty popular, then there are specialized ones like SystemRescue and that privacy-oriented one I always forget the name of.

I just have a BD with the latest Knoppix.
>>
Hello bros, here's a tricky one:
Basically, I made a persistent live USB with linux mint on it (I used ventoy for that) and it works like a charm, but here's the thing, I can't get to modify/edit the grub screen, I mean the one in pic rel.
After I run the "sudo update-grub" command I get this error message: "/usr/sbin/grub-probe:error:failed to get canonical path of /cow."
Any ideas of how to fix this? Yeah I know it may be impossible, since the grub screen loads to ram, but maybe you know.
>>
File: file.png (41 KB, 969x388)
41 KB
41 KB PNG
how come OpenBroadcastingSoftware only shows the option to use the software encoder rather than the accelerated hardware thing from my graphics card? I have a modern AMD graphics card installed! It should offer the option for hardware accelerated encoding
>>
>>103062723
Whatever environment you're running it in doesn't have working VAAPI drivers
>>
>>103062816
im on linux mint 22 which is ubuntu 24
>>
>>103062838
Did you check under "Advanced"?
>>
>>103062843
>>103062838
"Output Mode (Simple)" -> Advanced, that is
>>
>>103062553
Mints livecd unironically is one of the most useful since it comes with tons of system utils pre installed.
>>
>>103062843
>>103062849
thanks bros idk what i would do without you
>>
>>103062718
Dont think you'll be able to edit the grub screen without extracting and modifying the iso itself.
>>
>>103062704
mangohud
>>
>>103062869
ouch!
welp thanks I guess
>>
Has anyone had any trouble installing linux on a eMMc and TPM equipped newer laptop? I asked a few weeks ago and have been scouring the internet to no avail.
With all the TPM turned off, signatures deleted, i cannot get the initramfs to pass disk information to the kernel.
during boot it drops to emergency shell, regardless of implementation.
in a live environment, the system cannot see data about the eMMc partitions unless they are manually mounted first.
>>
best distro for watching trap porn?
>>
File: rcanyz8rtb731.png (1.2 MB, 1080x1032)
1.2 MB
1.2 MB PNG
>>103063225
>>
>>103063234
thanks
>>
>>103063156
The tpm has nothing to do with your distro not having proper drivers to recognize the emmc disk, tpm is used for disk encryption only.
Get a distro with proper driver support for the motherboard chipset
>>
>>103062463
You're just using xargs to test string length.
anime=$(printf '%s\n' 'anime episode 1.mkv' 'anime episode 2.mkv'  'anime episode 3.mkv' 'anime episode 4.mkv'  | \
fzf)
[[ -n $anime ]] && mpv "$anime"
>>
>>103063287
That doesn't work the way you think it does. If you use multi-selection with Fzf it's going to output multiple arguments inside "$anime" which mpv will interpret as a single argument.
>>
>>103062707
>>103062858
Thanks. I'll try those.
>>
>>103063303
Yeah i messed up and forgot to add the -multi flag to the fzf command in the original post.
Like >>103063287 said, yours works for single selection but will break on multiple select.
>>
>>103063343
You can fix it with a Bash array but there's nothing wrong with Xargs, I don't get why somebody would hop on a "Xargs bad" crusade. Plus, it works with all shells.
>>
>>103063353
Also, another thing to consider is that Xargs is a lot more intelligent than people give it credit for. If you have a stupidly large Bash array then you will run into a max arguments length issue when you pass the arguments to Mpv but Xargs is intelligent! It is not stupid and can split the Xargs invocation across multiple invocations.

This is largely a theoretical issue though because you're not going to run into this limitation often.
>>
>>103063303
Then he should have included -m with fzf and -P with xargs.

>>103063343
Yeah if you're creating a TWM beatoff wall that's another use case where xargs is good enough because you don't actually care if one of the mpv instances dies or they start getting reaped by the OOM killer. If the programs are supposed to be producing specific output for other programs, it becomes a problem really fast.
>>
>>103063382
>If you have a stupidly large Bash array then you will run into a max arguments length issue
That's what mapfile is for.
>>
>>103063453
Yes, I know you can do these things in Bash. You're writing all this code just to avoid a single Xargs one-liner though. I know which I'd rather do.
>>
debian or freebsd (or something else entirely?) if I need a stable system where most of my time will be spent on emacs doing c++ development and I could go months at a time without being able to update my system?
>>
>>103063404
>Then he should have included -m with fzf and -P with xargs.
Don't need -P in the proper example with fzf -m, mpv is supposed to be opening up all the files as one playlist, separated by the -print0 arg in fzf instead of newlines, it's not supposed to be opening one mpv instance per file.
>>
What exactly does this mean? https://www.phoronix.com/news/VMware-Workstation-KVM

Does that mean we can finally run hardware accelerated Windows guests without having to install all these stupid vmware kernel modules?
>>
>>103063453
>>103063353
>>103063382
what if i want to use posix shell instead of bash?
>>
>>103063650
Xargs is POSIX:
>>103063353
>Plus, it works with all shells.
Your pipeline just works in any and every shell
>>
>>103063353
>>103063404
I usually use xargs for one-liner exec scripts because i thought setting a variable and then doing [ -n "$VAR" ] && would be more inefficient over using xargs
>>
>>103063686
You'd think right. This isn't Windows, one of Linux's (and UNIX in general) strengths is the low overhead to spawning multiple processes.
>>
I'm dual booting and I want to sync some folders between my Windows and Linux. What's the best free and open source alternative to Google drive and Microsoft onedrive? I want folders to automatically be synced between the two OSs, I'm not just looking to store things online.
>>
>>103063650
Then you install GNU parallel because POSIX xargs is legitimately harmful.

>>103063665
-P isn't in POSIX and -0 was only added this year iirc
>>
>>103063934
I meant Xargs is POSIX. I'm, aware there are GNU specific options. It'll still work the same way regardless of which shell you're using providing you use the same GNU-specific implementation though.
>>
>>103063951
GNU extensions made it safe to use though. If you're on a legacy POSIX system you should pretend xargs doesn't exist.
>>
>>103063987
POSIX shell doesn't mean you don't have GNU extensions available.

I agree with you if they are though. Just use Parallel in that case, the shitty Perl script will do a better job.
>>
How to set up boot manager or whatever on a new motherboard for endeavourOS? I am retarded. Help. I don't want to lose my system.
>>
>>103063536
Debian stable if you don't care about using old packages.
>>
>>103064335
You need to use a utility that can change the efi boot entries and add one for the bootloader
>>
>>103063644
this is going to crush virtualbox.
>>
File: file.png (57 KB, 1209x266)
57 KB
57 KB PNG
Can someone explain F2FS use case? According to most people it is intended for thumb drives and MicroSDs but according to the Arch wiki it is for SATA/NVME SSDs.
>>
>>103065079
There's already KVM backend for Virtualbox in the works:
https://www.phoronix.com/news/KVM-Backend-For-VirtualBox
>>
>>103065162
It is for flash storage in general.
>>
>>103065251
naisu. qemu WON.
>>
>>103065162
My understanding is that it was supposed to be for android devices, which i think uses emmc storage. It might also have been intended for microsd cards when used for a specific storage option on android as well.
>>
>>103065162
>SATA/N VME
>>
Did the kernel update today break anyone else's install? 7800X3D with 7800 XT
>>
>>103063644
It's just going to be directly use kvm instead of their own hypervisor implementation. I don't think its using qemu itself.
>>
>>103065312
6.11.6 is working fine for me
>>
>>103065328
Weird, it just gets stuck now on "Finished Create System Files". Could someone who's not retarded explain to me how to get logs from a failed boot? journalctl just gives me the info from the current boot (fallback)
>>
>>103065162
Jobs program for zipperheads. Constant format migrations make it useless for self-administrated systems.

>>103065259
Problem is flash controllers keep evolving to perform well with ntfs and fat32, which are close enough to xfs and ext4 in terms of IO patterns that it makes little difference. So you wind up with a filesystem with weird tweaks to outsmart certain specific controllers, and bizarre "features" like compression that doesn't let you use the space saved by compression.
>>
>>103062006
>>103061948
I never asked for your help, and I solved my problem just fine.

I was pointing out that spamming useless non-answers like "just google it" and "this distro is not for you" is very counter-productive because it makes it harder to find answers through search engines.

>Arch probably isn't the distro for you
I agree, other distros tend to either have maintainers who build packages with more sensible options that don't have me recompiling stuff and hunting down missing dependencies, or they at least have better build systems, like Gentoo.

But I'm stuck with an Arch system right now.
>>
>>103059594
Realistic speaking, how long do i have until devuan dies? i heard there is a lack of mantainers, i was hoping to stay on it for at least one more decade
>>
>>103065888
Just use Debian and install OpenRC. Devuan's existence is entirely political.
>>
>>103065947
What about the systemD only programs?
>>
>>103065947
>Debian
Has become Woke/DEI/political.
>>
Have any of you run a desktop linux distro on a phone or tablet? What has it been like? How much use has the device seen since?
>>103066106
Source? Not looking forward to the idea of switching package managers.
>>
>>103065316
but KVM sucks. No hardware acceleration on Windows guests.
>>
>>103056289
So what's the deal with Calculate linux?
Also what happened to Clover OS?
>>
>>103065971
You don't use them?
>>
>>103066386
Install Gentoo
>>
>>103066302
That's being worked on with VirtIO-GPU
>>
>湉硴乌ŋ/home/anon/.local/share
On Linux Mint 22, dual-booting with Windows 11 that has a shared storage drive. I made a text file of the location of some files on Linux a while ago, and when I opened the text file in Windows I noticed there were Chinese (Japanese?) characters before 'home'. Whenever I do this, I always copy-paste, so there shouldn't be any typos. I don't know Chinese, and I got Linux Mint from a trusted source on the Linux Mint website. I do have Japanese System Locale files generated/enabled, so that's the only thing I think that could possibly have affected this, but everything else should be in English. Does anyone know what those characters mean and what could have possibly caused them to show up?

I haven't been hacked, have I? If the JP locale did affect my file system, shouldn't those characters be Japanese? Linux Mint is based in Europe (France I think), it's not Chinese. I never noticed any Chinese characters showing up like this before, only the ¥ symbol that replaces the backslash and occasionally some Japanese text when installing software while JP locale is still enabled.
>>
>>103066717
The devuan developers spoonfeed me their patches for systemD programs, would be very painful to compile every single systemD program to make it work for openRC instead of just downloading from a forked repository
>>
>>103066756
Most packages don't even depend on Systemd, it's just that Debian might compile certain packages with Systemd enabled. It would actually probably be better to maintain a separate repository on top of Debian with higher Apt priority instead of making an entire fucking fork for no reason.
>>
>>103066811
https://wiki.gentoo.org/wiki/Hard_dependencies_on_systemd
>>
>>103066302
Guest GPU has a substantial userspace component that's really nothing to do with KVM, the kernel API.
>>
Any ways of shifting PC audio over a wired connection to android?
Currently found over Wi-Fi via Audio Share, but over USB would be preferred
>>
>>103066931
You can do USB Tether and then whatever would be done over WiFi but to the modems address
>>
I have a full-tunnel wireguard VPN running on Debian 12 behind OpenWRT router.

I have a Linux host and Android phone setup with wireguard. I cannot use the VPN from my Linux host when using my phone hotspot. Handshake is successful but packets do not reach my Linux host. It is fine when connecting from my university network. A commercial VPN on my Linux host works fine when using my phone hotspot.

Any advice on how to troubleshoot?
>>
>>103066755
Okay, with the little research I've been able to piece together, it looks like it might either be a corruption error or a read error. Booted back into linux and recreated the shortcut with a new name, saved that link to the storage drive. Rebooted in Windows and it still shows the same address when I open it in Notepad. So I'm gonna guess it's a read error because I'm trying to view a linux wine link/shortcut through Windows.

Trying to translate it leads to gibberish. But the first character is in fact Japanese. So I think it might be related to JP system locale and Windows not being able to completely make sense of a Linux link/shortcut (Maybe it's unable to see 'root'). I don't notice any difference in performance/stability/network usage, everything seems to be working fine. So it's probably not a hacker. I think I only noticed it now because I opened it in Windows and it was a text file. On Linux it's a link that goes directly to the folder location.
>>
So I'm trying wayland(niri). How do I actually make steam launch in xwayland automatically from launch menu? Why is there no documentation for this?
I managed to launch it manually as shown on niri git using xwayland-satellite. But how do I actually make it, so I can just launch steam without launching satellite and typing env display shit?
>>
I bought a tall vesa-mount monitor stand that lets you rotate your monitor and got to experience a vertical monitor for the first time.(for a secondary monitor) I'll give you a TL;DR: It's AMAZING for hentai, but bad for everything else. Most hentai is vertical and filling up a vertical frame completely with artwork is amazing, but it's awkward doing anything else with it and I really don't need that much vertical space for chatrooms. I turned it back to horizontal.
>>
>>103062463
how about
```
mpv '<anime_dir>'
```
and add `save-position-on-quit=yes` to your `~/.config/mpv/mpv.conf` so that you start from where you left of ?
>>
File: cool pic.jpg (1.91 MB, 2500x1607)
1.91 MB
1.91 MB JPG
What are some cool things you can do with unshare? For example I know if you just do "unshare -c -n executable" it will essentially disable network access for the executable.
>>
>>103067132
The compositor has to do that. It needs to listen on a socket and start XWayland on-demand when you run an X11 application. I have no idea if Niri supports that but other compositors like Sway, KWin, Mutter, etc, do.
>>
>>103067144
Eh? For Chats, web browsing, reading, programming, pretty much everything in fact, it's perfect.

Where it falls short? Watching non-vertical video is shit. So unless you like YouTube shorts you're kind of screwed there.
>>
>>103067005
Tried that, still had audio lag over 10 seconds and regular skipping of audio, and straight from the phone, not using it as a bluetooth relay
Just gonna daisy chain 3 3.5mm splitters and connectors as a headphone extender.
>>
>>103067513
Probably the apps fault. There should be like 0.1 ms ping over that thing.
>>
>>103066174

It's not in the Debian constitution. So it can be changed. But Debian is a woke/diverse project until they express otherwise and remove their diversity teams and other cancer.

https://www.debian.org/intro/diversity

https://wiki.debian.org/Teams/Diversity

https://www.debian.org/women/

https://forums.debian.net/viewtopic.php?t=156963
>>
>>103067632
ty
>>
Recommend me a linux manga reader that isnt gnome garbage like komikku or electron garbage like hakuneko
>>
>>103068030
calibre
>>
>>103068030
mcomix3, okular, zathura
>>
>>103068089
Looks nice, i will try it
>>103068115
Does mcomix2 support gtk2?
>>
Why do you guise ask these things here and not on /sqt/ or something?
>>103067110
Post routing tables.
>I have a full-tunnel wireguard VPN running on Debian 12 behind OpenWRT router.
So a typical private home net and a Debian server in it?
>I have a full-tunnel
What's a "full tunnel"?
>I have a Linux host and Android phone setup with wireguard
Cool. Are they on the same home net too?
>I cannot use the VPN from my Linux host when using my phone hotspot.
This is where things go wrong. Now I need to know what/where the hotspot is. I assume the hotspot isn't the same as your home net(?)
How is everything connected at this point? Post tables.
>>
>>103068168
mcomix3 was just a fork porting it to python3, iirc
>>
>>103068030
foliate seems like it would be nice for comics if you like GTK
>>
File: Hauppauge SoloHD.png (406 KB, 1000x600)
406 KB
406 KB PNG
>Linux firmware repository (from kernel.org Git)
>firmware repository for picrel (downloaded manually from them)
>Linux wireless regulatory repository (from kernel.org Git)
>one CONFIG_EXTRA_FIRMWARE_DIR
So uhhh what's the correct move here?
I just want one CONFIG_EXTRA_FIRMWARE_DIR where all those files appear. Without actually being in one directory. Is this where the overlay-filesystem-thing comes into play?
>>
>>103068432
>CONFIG_EXTRA_FIRMWARE_DIR
This should be /lib/firmware or wherever you cloned it to. It's where the kernel will load the firmware from at boot time
>>
>>103068678
My kernels and firmware isn't handled by any distribution, that's why there's 3 different repositories in 3 different directories.
Distro devs just lump everything as "firmware" and package it accordingly.
>>
>>103068710
Make symlinks or reflinks if your filesystem is fancy. You can also copy and compress the files if that's enabled in your kernel
>>
File: blob2.jpg (75 KB, 700x467)
75 KB
75 KB JPG
>>103068719
>links
lol, thought of that
Really no other way?
>compress
How is compression relevant here?
>>103068678
>/lib/firmware
We aren't reconfiguring the firmware folder, we are configuring where the "extra blobs" are searched from during compile time.
My kernel image is getting proprietary blobs embedded in it.
>>
>>103056289
Is there any way to change the scrollbar behavior in Kate to make it scroll toward the click rather (like PgUp/PgDown) instead of jumping straight to it? The jump-to behavior makes it completely unusable for large files.
>>
>>103068739
>How is compression relevant here?
If you have:
CONFIG_FW_LOADER_COMPRESS=y
CONFIG_FW_LOADER_COMPRESS_XZ=y
CONFIG_FW_LOADER_COMPRESS_ZSTD=y
>>
>>103069222
>>103068739
>Really no other way?
I think you can set it to / and then put the full path to blobs in CONFIG_EXTRA_FIRMWARE if you don't want to link or copy them
>>
>>103068226
>So a typical private home net and a Debian server in it?
yes
>What's a "full tunnel"?
wireguard is set up to route all traffic through the interface, it then gets masqueraded on the Debian host (AllowedIPs = 0.0.0.0/0, ::/0)
>Cool. Are they on the same home net too?
I don't really know what you mean. I want to route traffic from my Linux host and phone through the Debian host and to access things on my home network when I am not home. I am therefore connected from a separate network.
>This is where things go wrong. Now I need to know what/where the hotspot is.
Hotspot is A52s 5G running Android 14 and uses my data plan.
>I assume the hotspot isn't the same as your home net(?)
Separate
>How is everything connected at this point?
Linux host - phone hotspot - mobile service provider - myISP - OpenWRT - Debian host (doesn't work)
Linux host - university network - univeristy ISP - myISP - OpenWRT - Debian host (works like a charm)
phone (always works)
>How is everything connected at this point? Post tables.
I can only post my Linux host tables now as the VPN does not work. I am now connected to my hotspot, wireguard disabled:
default via 192.168.16.10 dev wlp61s0 proto dhcp src 192.168.16.168 metric 600
192.168.16.0/24 dev wlp61s0 proto kernel scope link src 192.168.16.168 metric 600
192.168.69.0/24 dev wireguardVPN proto kernel scope link src 192.168.69.2
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown
>>
>>103068030
every time I asked this I got no answer, what's your magic? Maybe shitting on gnome while you're at it?
>>
other than arch cause of reasons (bizarre sound reasons) what is the best arch based distro?
>>
>>103070157
well manajaro lost
and garuda lost
and endevour looks weak
so idk
>>
>>103070157
you mean sound as in "logical" or audio issues?
>>
>>103070162
ya Manjaro always shits its self
garuda makes windows look lite
endevour seems nice enough but i remember it having the same issue
>>103070170
browsers that had working sound will lose that on a reboot specifically and only browsers if i install a new one its sound works until a reboot and then gone
>>
>>103070157
manjaro is managed by incompetent people and the AUR is not reliable because of the default setup with delayed packages from upstream
garuda is indian and looks atrocious
endeavour is an easy arch install with a few graphical utilities and theming
cachyOS I have never used, but they modify a lot of important packages which makes me think it'll be less stable
>>
File: archlinux.jpg (1.21 MB, 3264x2448)
1.21 MB
1.21 MB JPG
>>103070162
Endeavour *is* Arch.
>>
>acpi detects the headphones being plugged in
>nothing else does
sigh
>>
Once my machine is a fully configured shitposting box I forget why I wanted to use Linux.
>>
>>103070157
artix
>>
>>103070182
>browsers that had working sound will lose that on a reboot specifically and only browsers if i install a new one its sound works until a reboot and then gone
lol if that is a reason to switch distro, anon I...
>>
>>
Why do people have such strong opinions on systemd anyways?
>>
>>103071397
4chan is full of contrarians

They will hate anything that's popular regardless of whether that thing is good or bad
>>
>>103070365
Freedoms.
>>103071397
Loud minority. They do have points though but offer no nicely packaged solutions for distribution developers.
Like why not take systemd sources, compile and package them and have a nice and featureful system?
>>
What's the status on HDR and nvidia on linux?
I heard that on games it works through gamescope whenever it goddamn pleases, but a few days ago I saw a post about someone claiming it was better than what windows could offer.
>>
>>103071397
4chan is full of contrarians

They will hate anything that's popular regardless of whether that thing is good or bad
>>
File: ER-MSC-00001.jpg (122 KB, 1080x1115)
122 KB
122 KB JPG
What is the best way to clear the shader cache for steam games when using proton?
>>
is there any nice linux GUI to shorten short videoclips, similar to WebMConverter ?
>inb4 "just use ffmpeg on the commandline"
>>
>>103072403
They're probably using KDE. Or course there are GPU driver kinks that need working out but HDR support largely depends on your compositor.

It only really works in KDE or Gamescope (on DRM/KMS, not nested) for now. The next release of GNOME will support HDR.
>>
>>103073272
just use ffmpeg (with a frontend)
>>
>>103073395
thats what webmconverter is
>>
>>103073432
https://github.com/ekisu/mpv-webm
is a script for mpv that allows you to create clips from within the video player, and despite the name it supports more output formats than just webm.
>>
>>103065947
Debian doesnt support openrc or any other alternative init system aside from systemd. Sysvinit barely exist.
>>
>>103067285
That only works if you want all of the videos in the directory to be added to the playlist, the actual example was supposed to be selecting only certain anime episodes to load into the mpv playlist (theres no reason why, it was just an example of using xargs)
>>
>>103068030
theres an mpv config you can try
>>
>>103071397
Systemd has been controversial since it's inception. It doesnt help now that the project is basically being run by both redhat AND microsoft. If you were a glowie and wanted a reliable backdoor into linux, taking control of the most commonly used init system through both microsoft and redhat would be an easy way to do it.
>>
>>103073272
I just use ffmpeg on the command line
>>
Will swap ack SSD on a 8gb ram system?
>>
>>103073925
LFS
>>
>>103056289
why do you reta-reliable guys keep recommending mint if it is so shit?
>>
>>103073272
Could give handbrake a shot if you don't feel like using ffmpeg
>>
>>103074437
Don't blame me because i never recommend Mint
>>
>>103068030
yacreader
>>
>>103073811
They're in the repositories and many Daemon still have init.d scripts. They were going to clean them up though which isn't a big issue because the Debian scripts are shit anyway. It's better to write your own. If you don't know how your init system works then sufficient to say you should not be switching out the default.
>>
How can I stress test my GPU and then my CPU on Linux? I bought new components and now I don't know if my game crashes because of proton or because they're faulty or something.
>>
File: 1576603794185.jpg (67 KB, 1236x1107)
67 KB
67 KB JPG
Trying to automatically add an SMB share to my Jellyfin VM and for some reason, passing a credential file doesn't work (dmesg says VFS: No username specified), but passing the credentials using username= and password= does. Any clue why this would be? Chmod is set to 600 on the file properly.

It HAS to be something with the file, surely.
>>
File: file.png (9 KB, 681x65)
9 KB
9 KB PNG
>>103075120
My smbcredentials file, and yes, fstab was being pointed to /etc/smbcredentials
>>
>>103075088
Furmark and Prime95
>>
>>103074655
>many Daemon still have init.d scripts.
Not really, only some of the ones they had left over from before the switch to systemd still have sysvinit scripts
The other init systems are in the repos but they have no init files written for them, even on devuan they were using actual sysvinit scripts for both runit and openrc, there was almost zero point to using an alternative init when 99% of the time you're still using sysvinit scripts, though things might have changed since then.
>>
>>103075338
>though things might have changed since then.
Nope, Devuan is still shit as far as I know.

I still think it would be better to maintain a separate repository on top of Debian, not only does that give actual purpose to the Debian Init Freedom / Diversity team (yes, that's a real thing and they basically don't do anything right now) but you're not maintaining yet another pointless fork.

Init scripts can simply be separate packages like Artix does it so you manually install say nginx-openrc if you want an OpenRC script for OpenRC, otherwise you get nothing.
>>
>have all sorts of problems with vscode
>oh it's installed as a flatpak
>install snap instead
>no more problems
>>
>>103075574
Install the deb. You don't want your development text editor in a sandbox. If I had to guess, all of the problems you encountered stemmed entirely from that. Flatpak has a mechanism to shell out of the container and back to the host system using flatpak-spawn but that would require Microsoft to give a shit.
>>
>>103075231
Are they a reliable way to test overclock? My GPU goes indeed to 100% but barely breaks 66C
>>
>>103075613
I use Fedora and I don't feel like adding a repo. I already use snaps anyway, they just werk.
>>
>>103075629
Yes. They both put very heavy loads on the hardware.
>>
>>103075574
Why do people use this shit bloated text editor? Just use vim like a sane person.
>>
>>103075894
nope
>>
>>103075428
The debian/devuan split happened in the first place because the former debian devs no longer trust debian. And although most software doesnt need systemd as a dependency at all, it's still better to buld and package it in a systemd-less build environment to not have to worry about weird fringe cases that packages can sometimes experience when built in a systemd environment
>>
>>103075930
>The debian/devuan split happened in the first place because the former debian devs no longer trust debian
It was entirely political, no other reason. They're still using Debian sources, Debian tooling, etc. you don't keep doing that if you no longer trust them, there's obviously some trust still there otherwise you'd be working on replacing all of that.

Devuan is the most pointless fork ever. There's not one single thing compelling about it.
>>
>>103075120
I've got this in /etc/smb.auth and it works, credentials altered for privacy:
username=faggot
password=goatse
>>
>>103075930
It happened because Lennart's bullshit attitude triggered a lot of genX boomers' daddy issues. Quite literally Twink Derangement Syndrome.
>>
>>103075996
No, it wasnt political, they split because they weren't happy with what happened involving the decision to switch to systemd. They're also former debian devs, so some of the tooling and sources were probably done by them in the first place.
>>103076147
>headcannon brainrot, the post
>>
File: 1730667762796.jpg (249 KB, 1080x1160)
249 KB
249 KB JPG
Why are Linux boomers like this?
>>
>>103076408
Why do zoom zooms like Mint? What's the appeal?

It's easier to list the features it's lacking rather than features it has. As far as can tell its only appeal is that it looks vaguely similar to Windows.
>>
>>103076488
>Thread about Mint
>I don't want to use Mint
I'm on Fedora, I just don't like his boomer attitude and mindset. Who the fuck asked for his take.
>>
still not gonna use a distro fork
>>
bros.. i fucking love linux
>>
>>103076580
its pretty cool innit
>>
>>103076408
i guess i'm also too old (or too male) to know what [smiley with glasses] [pointing up] [the thing the other guy said] [thumbs up] [6x couples] means
>>
File: 1720826159002601.png (64 KB, 889x1175)
64 KB
64 KB PNG
>>103076752
it's just this but with emojis
>>
>>103076774
wouldn't a thumbs up alone do? why the addition of "imagine you're you, and you said the thing you said. now imagine i'm me and here's what i'm saying..." part
>>
>>103076366
>no it wasn't political
>they just left for political reasons
>>
$ mount | wc -l
75

is this really necessary?
>>
>>103076927
you tell me, i didn't mount them
>>
Mint is for the politically conservative. I actually like it in spite of that.
>>
>>103076927
Ask systemdicks and the snapback mountaineers.
>>
>>103076947
i just installed a distro. i didn't know it was going to do all that.
back in my day you had / and /home and that was pretty much it
>>
>>103076971
install a better distro and you can still have / and /home
>>
>>103076580
Same here. I recently switched to Mint After Windows 10.


I've just run into a problem right now.
>typed in "google.ac" instead of "google.ca" without realizing
>got curious google.ac and wondered it if was for an obscure country
>turns out it is a phishing site using typos
Bros do I need a Linux antivirus program right now or am I safe. I literally just went on what might possibly be a fake google site. Didn't type any passwords or do any searches just noticed I typed in the wrong website domain ending and went "huh better check if this is a fake site" and it turns out that one virustotal marked it as phishing.
I use Linux Mint and I have firewall activated.
>>
>>103076980
google.ac is a real google domain. if you're ending up on a phishing site you have bigger problems. the cia is using your power sockets to listen to your thoughts?
>>
I've recently made the switch to Ubuntu 24.04 and I'm learning Linux, my knowledge level is pretty low on the subject.

I'm attempting to install Qbittorrent from a PPA but the package being installed is coming from Ubuntu sources instead of the PPA.

apt-install qbittorrent

Is there a way to install from that specific source from the terminal or do I need to look into Pinning?

https://help.ubuntu.com/community/PinningHowto
>>
>>103077004
I thought google.ac was the phishing site since I accidentally typed in "ca" backwards. Now I feel retarded.
Thanks anon.
>if you're ending up on a phishing site you have bigger problems
I understand that. Does there exist a good antivirus software for Linux? I've heard of ClamAV but I'm not sure about it due to effectiveness.

I understand that common sense is the best antivirus out there. I just thought through a typo I went on a bad copy of Google.

[spoiler]I nearly destroyed my parents first PC with viruses back in the late 2000s when I was a kid because I wasn't taught about viruses. The memory still haunts me and is a good lesson for me.[/spoiler]
>>
>>103076408
He seems based to me. Who uses Mint?
>>
>>103077074
Your browser comes with Google Safe Browsingâ„¢ enabled (unless you're using one of those privacy schizo browsers that disables stuff like this even though it's implemented in such a way that Google never gets access to the pages you're browsing).
>>
>>103077156
I didn't know that. That's very good. On top of my adblocker. To boot.
>>
Retard here, what's the difference between WSL and VMs like VirtualBox? Not in theory but from a user perspective, like which one am I supposed to use, how do I pick one or the other?
Like they both run Linux inside a Windows machine (usually) at the same time.
Is there anything you can do in a VM that you can't do in WSL nowadays?
I guess WSL is more command line focused while VM has a Desktop Environment?
>>
>>103077575
WSL is a Hyper-V VM. Microsoft just does a bunch of integration with the host operating system, like how your hard drives are mounted and accessible at /mnt, and how Windows basically has its own Wayland compositor now that's capable of running Linux graphical apps, etc.
>>
>>103056289
>>
Anyone else having issues with Freetube?
>>
>>103077847
If you're having issues with Freetube it would probably be issues with whatever Invidious instance it's currently using.
>>
File: 1730680845805.jpg (42 KB, 620x532)
42 KB
42 KB JPG
Is there any drawback on using Nvim's appimage? I wanna give it an honest shot but this looks less bloated than the native Fedora package pulling NodeJS and another 250MBS of shit as a dependency (albeit many are recommended ones for what is worth. It still depends on nodejs-libs for some reason).
Nodejs is confined to containers on any system i manage. Beat me to it why everyone uses this trash.
>>
>>103056289
any way to fix this miniplayer? it worked in plasma 5
>>
>>103077575
If you want your VM to have specific properties which persist through Windows upgrades, you want a normal VM. Like if you're running a NAS VM with drives passed through, or a home lab. If you want to fuck around with Linux programs that don't port very well to Windows, that's WSL.
>>
>>103077883
Im using the default one from the flatpak. How do I into changing instance?
>>
>>103078203
who does he think will win?
>>
>>103078280
You should be able to change it in the player/video options.
>>
>>103077847
Not really, since the update it’s actually been really stable for me.
>>
Why is www-data unable to write this file?

>$ cat /usr/lib/cgi-bin/arccron.sh
>#!/bin/bash
>echo "Content-type: text/plain"
>echo
>echo a > /tmp/777/test
>echo /tmp/777/test
>$ curl -sLk https://10.0.0.209/cgi-bin/arccron.sh
>/tmp/777/test
>$ # DIDN'T CREATE THE FILE

I changed www-data from nologin to /bin/bash then did
>$ sudo su www-data
it could then write that file
>echo a > /tmp/777/test
>>
^/tmp/777 has 777 permissions

>>103077034
You gotta like add a file in "/etc/apt/sources.list.d/". Example:
>$ cat /etc/apt/sources.list.d/brave-browser-release.list
>deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
>$ # from https://brave.com/linux/#release-channel-installation
Then run
>$ sudo apt update
and I think it'll download from that one instead of the other one.
>>
>>103078677
This doesn't make sense! Why is it that when I login as www-data I can write that file, but running an Apache CGI script from opening a URL cannot write it? With that Apache CGI script, it's operating as user www-data! I even changed the owner and group of /tmp/777 to www-data = didn't work. Logging in as www-data is not a solution.

I can get a CGI script to write files in a folder with 777 permissions at "/external_hdd/example/". I want to write to /tmp instead because it's tmpfs and I think it's a RAM-only filesystem.
>>
>>103078773
Asked https://chat-gpt.org/chat with all of that info. Apparently, there's two separate things:

www-data[user login mode]
and
www-data[cgi script mode]

User/method "www-data[cgi script mode]" is more restricted and cannot do as many things as "www-data[user login mode]" can do. Is that actually true? chat-gpt.org/chat replied:
>This issue could be due to the fact that the Apache web server runs CGI scripts in a more restricted environment than when you log in as the user directly. This could include restrictions on file permissions, access to certain directories, or other security measures put in place by the web server. \\ One potential solution could be to update the Apache configuration to allow the web server to write to the /tmp directory. This could involve adding a specific directive to the Apache configuration file to allow write access to that directory for the www-data user or group. \\ Alternatively, you could consider creating a separate directory with appropriate permissions for the CGI script to write to, rather than trying to write to the /tmp directory. This could avoid potential security risks associated with allowing the web server to write directly to the /tmp directory. \\ It's important to consider the security implications of allowing a web server to write to directories like /tmp, as it could potentially lead to security vulnerabilities if not properly configured and secured.

This two different modes idea: is it true? It seems to be: experience proves it to be the truth.
>>
Linux Mint or Fedora?
I have Mint and it's pretty comfy but Fedora sounds like it might have a slightly better vidya experience and I like how smooth and polished wayland/gnome looks. Mint's desktop animations are a bit sluggish/choppy and I think that's just due to x11. I could just try it but I'd have to install it to get the real performance comparisons and tests, but my Mint install is already set up the way I want it. I think I just want to hear the experience of current Fedora users. Might just be a case of greener looking grass and I keep hearing good things about Fedora, so got me interested.
>>
>>103079147
Both. Do a partition for both systems and a shared /home.
>>
File: encryptionkey.jpg (581 KB, 1365x768)
581 KB
581 KB JPG
Reading up on encrypting directories on EXT4: https://wiki.archlinux.org/title/Fscrypt#PAM_module
So uhh if my login password is super weak it means the encryption is super weak too?
And how do I use key files with this FScrypt thing?
>>
>>103078294
Joe Biden
>>
smartctl is part of smartmontools. It installs in /usr/sbin which isn't always in $PATH. If you're wondering why a program isn't showing up ("command not found") run this:
>$ man [program name here]
This shows that a crappy HDD of mine has been powered on for 7391 hours (about 10 months):
>$ sudo /usr/sbin/smartctl -a /dev/sdc

>>103078824
This is annoying. Other annoying thing - python scripts in cgi-bin/: apparently can't import anything. This doesn't work:
>$ cat /usr/lib/cgi-bin/arc.py
>#!/usr/bin/env python3
>from selenium import webdriver
>print("Content-type: text/plain")
>print()
>print("test")
>#form = cgi.FieldStorage()
I have selenium installed via pip or pip3 and arc.py is set to executable. https://10.0.0.209/cgi-bin/arc.py fails because it probably failed to import that (HTTP 500 or something). Perhaps I'm doing something wrong.
>>
In sway when you drag a window on top of another, they swap places. Is that possible in i3?
>>
I want to dual-boot my laptop with Windows and Arch with a third shared partition for file storage. what should I format the file system for that shared partition? getting mixed answers on NTFS and exFAT
>>
>>103080185
to answer my own question, you can't in the current stable version but it's implemented in upcoming version 4.24
>>
Apparently RPM-based distros were popular before the rise of Ubuntu. My first GNU/Linux distro that I used in the 2010s was a Fedora one (RPM-based).

>>103057876
>Lubuntu
Don't use this, or if you do, first thing you need to do is replace LXQt with i3wm.

This reminds me: I like qBittorrent's file picker, and I think it's better than other(s). I don't like Brave Browser's file selector (like if I was posting on Brave and wanted to attach an image to this post). How do I get Brave to use qBittorrent's file/folder opener?

>>103080025
Forgot to say: works without the import line in CGI. Works entirely with no removal if running
>$ python3 -c "[code here]"
>>
>>103080296
mandrake and suse were pretty big and those used RPMs
>>
>>103080296
Look up for xdg-desktop-portal-lxqt and how to setup it. Plasma has its own portal too. Both are better than the outdated GTK3 portal most browsers use by default.
>>
>>103057876
mint but stick with the default desktop
>>
The year of the Linux Desktop will be the day the last boomer dies.
>>
>>103081443
There will be no desktop at that point.
>>
File: 1718203377075230.jpg (102 KB, 1024x1013)
102 KB
102 KB JPG
>mpv doesn't respond to keyboard media buttons
>install mpv-mpris
>>
File: kali.webm (1.56 MB, 576x1024)
1.56 MB
1.56 MB WEBM
Is there a way to get this kali windows theme on other DEs?
>>
>>103056289
any sense in buying a Snapdragon X Elite
CPU laptop for Linux? or will i get compatibility issues?
>>
>>103080025
>This is annoying
This is security.

Besides CGI-Bin being a pile of crap that barely anyone uses anymore, it's good that web servers come with a secure implementation out-of-the-box that restricts what these scripts can do. Some distros may even go further and restrict it with SELinux or AppArmor. This is exactly what you want on a public facing web server.
>>
>>103082489
Nothing but issues. Don't expect to be able to boot any random ARM distro thanks to device tree crap and also some hardware doesn't work and only now is getting drivers.
>>
>>103082651
i guess not an option then, but the Intels i saw have shit battery life
>>
>>103082672
I would be looking at AMD laptops like the Framework 13 if I wanted to spend the money.

(I realise I've fallen foul of their marketing here but if you've got the cash and willing to spend it, they're decent machines)
>>
File: 1730725778.png (85 KB, 738x834)
85 KB
85 KB PNG
>>103082489
...and shit video drivers, yes. ARM isn't magically faster or more efficient. Performance metrics are 90% dictated by fabrication cost for macropower devices, and ARM outside of Apple is CHEAP.
>>
>>103082683
You're not wrong but using Cyberpunk in a comparison is a bit disingenuous. That's going to be running in a VM, although it is representative of the real world because nobody makes proprietary games and software for ARM, especially on Linux.
>>
for some reason the arrangment of desktop icons isn't saved from session to session
is something overiding it?
is there a way to save it?
using mint btw
>>
Could some Linux magician help me out figure out how to make Foobar2000 (wine) be recognized as a media player? My media keys don't work, and on KDE in specific it's also not show in the "Media Player" popup, nor does it show the media buttons underneath the peek window.
I'd be happy just with the media keys working desu, I skip a lot of tracks when listening to music.
>>
>>103083597
i don't know how to do any of that shit but i do know deadbeef is the same shit but better and probably does everything you asked for
>>
>>103083597
You would need to implement a D-bus MPRIC wrapper interface (https://specifications.freedesktop.org/mpris-spec/latest/) so that KDE can send your commands to the player.

Someone has written one, but I've never used it, so your results may vary:
https://git.sr.ht/~dropbear/foobard

There is a good chance that it will be easier and more satisfactory for you to explore Quod Libet. It is not exactly the same as Foobar, but aims for a flexible and customizable UI experience that you may well find meets all your use case requirements.
>>
File: file.png (67 KB, 1084x763)
67 KB
67 KB PNG
>>103083597
My half baked solution is to manually add global shortcuts that run a small script to invoke foobar2000.exe. I haven't really needed much more.

#!/bin/sh
set -e
if pidof foobar2000.exe &>/dev/null
then
export WINEPREFIX=/your_wine_prefix
readonly FB2K='C:\Program Files\foobar2000\foobar2000.exe'

case "$1" in
(--) shift; exec wine "$FB2K" "$@";;
(--play-pause) exec wine "$FB2K" '/command:Play or pause';;
(--seek-back) exec wine "$FB2K" '/command:Back by 5 seconds';;
(--seek-fwd) exec wine "$FB2K" '/command:Ahead by 5 seconds';;
(--vol-up) exec wine "$FB2K" '/command:Up';;
(--vol-down) exec wine "$FB2K" '/command:Down';;
(*)
echo 'error: unknown action argument' >&2; exit 7;;
esac
else
echo 'error: foobar2000 is not running and thus can not be controlled' >&2
exit 8
fi

Put the script somewhere in your $PATH and add the shortcuts.

It was a little easier in Plasma 5.
>>
>>103058642
>I have 64 gigs of RAM
Host a webserver in memory. Make it delete all uploaded files (from random Internet users) every 24 hours.

>>103082635
"This is madness."
"This. Is. SPARTA!!!"

>Besides CGI-Bin being a pile of crap that barely anyone uses anymore, it's good that web servers come with a secure implementation out-of-the-box that restricts what these scripts can do. Some distros may even go further and restrict it with SELinux or AppArmor. This is exactly what you want on a public facing web server
So logging in as www-data is indeed different than Apache's significantly restricted actions that it allows www-data to do with the CGI. What's some alternatives to cgi-bin? I can't think of any so tell me about it if you feel like it. Stuff that can run .sh anywhere on the LAN.
>>
https://github.com/kovidgoyal/kitty/issues/8011
thoughts?
>>
File: 1707320227903527.png (293 KB, 1480x880)
293 KB
293 KB PNG
>>103083747
Thank you for the script! It works very well. The only issue is well, you can't really bind the media keys to both Foobar and everything else at the same time. Luckily I only really ever use prev/next on the music player so I don't really mind. I'll try to make that DLL the other anon suggested work just because it'll be easier to set up in future installs. For now your script is really nice.

>>103083743
Ah I see so the actual problem is the lack of MPRIS? I was trying to search about the issue but didn't know what that was.
>foobard
I'm not really good with this stuff but I suppose I need to build the dll myself and the readme says that it needs to be build on windows. I'll boot a different machine later today and try. That'd be the ideal solution if it works since it's just a .dll I can set up and forget. Thanks a lot.
>Quod Libet
Lot's of personal issues but it's defintely the best native one I've used, tagging is messy (when you edit an inline tag it compresses all into one like the Genre), awful lyrics plugins (can't find a way to display both synced and unsyced lyrics in the same damn place), and lots of little issues, search is alright but not as good as foobar's, playlists are rather shitty (luckily the search function can serve a similar function in my case).

>>103083622
You know, I wrote a bunch of stuff to your reply but honestly it's just a waste of time and you probably wouldn't even read it anyways. You suggested me deadbeef because you've simply never used foobar or used only 10% of it. Just know that there's not a single Linux player with as many useful features as Foobar does and I'm honestly jealous that you think you could replace it with something else. Ignorance truly is bliss, if I wanted it to just ""play music"" i'd use mpv or mpc. Picrel is my current foobar setup, they can end up looking very different to the default install.
>>
>on endeavourOS
>set up timeshift from the gui
>manually do a first snapshot
>...
>a week later
>still that one snapshot only
whats going on?
also, why is clamAV, always using the gui, so much garbage? nothing works here, literally can't start a single command from the av
>>
File: 1729620654377356.jpg (138 KB, 500x704)
138 KB
138 KB JPG
>install cyberpunk on lutris
>game works with all the mods but no dlss
>install it on steam
>dlss works but mods don't
>try installing mod dependencies on steam
>protontricks won't work on ubuntu 24.04
>manual install won't work either
>no matter what i try dlss will not work on lutris
i swear i clicked every link that had anything to do with these things and no help. seriously considering installing arch at this point.
>>
File: 1730741936054.png (22 KB, 264x348)
22 KB
22 KB PNG
I want to write certain scripts so that they automatically open up a terminal if you're not already in one (ie. from alt+f2 or dmenu). I think adding this to the top of any such script should be enough but will this have any weird edge cases or side effects?

<code>
#!/usr/bin/env bash

if ! [ -t 0 ]; then
terminal "$0"
exit
fi

actual_code_goes_here ...
</code>
>>
>>103083597
Not exactly what you're looking for but what about an alternative player like Fooyin?
>>
>>103083903
>What's some alternatives to cgi-bin?
Reverse proxy to a proper web application or a UNIX socket (e.g php-fpm works over a socket)
>>
File: 1711014248204279.png (79 KB, 827x626)
79 KB
79 KB PNG
>>103085383
What I wanted was pretty self-explanatory, help with setting up media keys on foobar. Not how to install deadbeef, mpv, Quod Libet, Strawberry (formerly clementine), DeadBeef, mpd (and mpc ncmpc,ncmpcpp, lgbtqiagtabzxyz), fooyin, mpc, steam music player, LSD to hallucinate the songs in my mind, building from scratch, installing gentoo, vlc, windows media player, gwenview, whatever shit ebussy made, and any of the other trillion glorified GUI's for MPD that couldn't pass as a first year's compsci project. Fortunately other anons already helped me (and I replied to them at >>103084246 ) so I'm fine.
Picrel was the reply meant to >>103083622 but its honestly just a combination of vitriol, me being tired, and seeing the same exact clueless suggestions every time foobar is mentioned. Might as well just show it to stop people from wasting their time replying to me with """alternatives""".
>>
>>103084986
just add the terminal execution to your menu instead of the script.
>>
Is there a way to hide/remove the top bar on windows in Gnome? Like a frameless mode?
>>
>>103059469

*Same poster.
For editing and deleting reddits posts, this is bar non the best. Gives a CSV file showing your enitre post history.
https://github.com/j0be/PowerDeleteSuite/releases
Meant to post this in Stupid Questions Thread. The ones on GreasyFork are fucking useless.
>>
>>103076774
i still dont get it
>>
File: 1705156867029570.jpg (223 KB, 1000x1134)
223 KB
223 KB JPG
Retard here
I need to build this one program from source but it's kinda old and it requires old versions of stuff like python and npm
How is building usually handled in cases like this, or like, when you have multiple target systems for example? Surely you don't just hunt and force install older versions and remove them after you're done and go back to the newer stuff
>>
>>103078824
I was going to answer your question but then you decided to use chatgpt instead like a retard
>>
>>103084290
Did you schedule automatic snapshots? It doesn't do that out of the box.
>>
File: img-2024-11-04-22-10-36.png (584 KB, 1920x1080)
584 KB
584 KB PNG
Is getting i3wm to work skill issue?
I have used it for few months ago, while I liked how snappy everything feels, many things failed to work.
Like setting a printer, getting BT to connect, KDE connect.
Notification didn't work as it should and even sub window applications didn't intilize as it should plus the dozens small hassles.
I'm using KDE now, while it does all what I need perfectly it require some hardware upgrades.
Just opening firefox take ~1 GB of ram and my system start to swap on my HDD, which make thinks very slow.
What should I do?
>>
>>103086045
>Like setting a printer, getting BT to connect, KDE connect.
i3 is just a window manager. It doesn't do any of those things by design.

The fact they aren't working right is because you either didn't configure it properly or mis-configured it altogether.
>>
>>103084986
May cause weirdness if you try to call the script from an automated context, if 'terminal' no longer resolves to what you want, or if the calling process sets argv[0] to something else. Will cause failure to run if you trigger these somewhere a GUI terminal can't run like ssh.

Like other anon said, just run the terminal from the launcher. It has more context info.
>>
>>103086062
I know.
But try getting KDE connect to work with it and it would glitch.
Mostly because of the notifications, even after setting it to float.
There is no proper Printer configuration GUI and CUPS doesn't work even though people claim it does, since all advance features are looked in GUI.
BT connection is mostly because blueman conflict with i3WM small notification window when switching between devices.
I tried several ways, but all didn't work for it.
I realize this might be skill issue, but I've been using it for 3 years plus and still couldn't get some things to work.
For example, proper VM window would fail to load perfectly.
>>
Can someone get this to work?
https://lutris.net/games/command-conquer-red-alert-2/
>>
KDE refuse to shut down.
Anyone else knows what can I do to fiKs this?
>>
>>103086270
Just use regular wine. Lutris causes more problems than it solves.
>>
>>103086576
How to get it to work?
>>
How can I find what the fuck is hanging in my computer on every shutdown? I keep getting "stop job is running' that goes for 2 minutes until the computer finally shuts down. I want to know what's causing it.
>>
>>103086736
Download an appimage.
>>
>>103085773
F11
>>
>>103086793
???
>>
>>103086270
the installer doesnt work properly, you will have to have had already done the setup extraction stuff either on a windows machine or manually if its even possible
aside from that, you will need to also extract and set up cnc-ddraw
https://www.protondb.com/app/2229850

ignore what the other dude is saying, i have no idea what the fuck he's on about
>>
>>103086736
>install wine, winetricks, cdemu
>find cd image with redump.org and google
>mount with cdemu
>wine install.exe
That's all you need to do for 99% of games, especially popular ones. If that doesn't work there will be notes about what you need to do on appdb.winehq or protondb. You don't need Lutris bringing its own broken wine builds and obsolete recipes to the party.
>>
>>103086831
F11 is full screen anon... I want to remove or hide the top frame :3
>>
>>103086941
What disk?
What code to install it?
>popular ones
This isn't foretnite.
>>
has anyone had any experience with running ubuntu~etc. on one of those HP/Dell detachable laptop-tablets? Any issues with the touchscreen?
>>
New thread:
>>103087324
>>
>>103087106
>Any issues with the touchscreen?
Gnome work fine so does KDE.
There are some glitches.
>>
>>103087043
Now you're making up gotchas that don't even exist. Just pay $6 for the Steam version of you can't figure it out.
>This isn't foretnite.
This is probably the 2nd or 3rd most popular game for vanilla wine. You're operating well under the 2nd stddev competence here.
>>
File: 1719625770594528.png (241 KB, 680x479)
241 KB
241 KB PNG
>>103084976
fucking hell. all this time i've been fucking stumped by this and i simply hadn't selected the latest dxvk-nvapi version in lutris because the latest version actually shows up in the middle of the list and not the top like everything else. and now it's all fine.



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