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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1753132002824.png (39 KB, 200x212)
39 KB
39 KB PNG
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) 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%

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:
https://fglt.nl

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

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

Previous thread: >>106442184
>>
>>106460244
Lurk more, faggot. >>106459354
>>
>>106460244
What could replace GNU/Linux? In any timeframe.
>>
>>106460261
no this is the thread
>>
>>106460262
Theoretically? BSD, but there's no BSD distros that just work yet.
>>
>>106460262
why would linux need to be replaced?
>>
>>106460267
cuck license
>>
>>106460262
dunno, for all we know we get a Tor OS in the upcoming times
>>
>>106460269
I don't know about "replace", but one thing that really bothers me about Linux is file permissions. Are there distros where you can double click downloaded scripts and have them run instantly without having to type
sudo chmod +x /path/to/script.sh
? Admittedly, this might be an issue I'm incurring upon myself by uploading my scripts to litterbox to test in VM's—perhaps catbox's servers don't preserve file perms? Nevertheless, it seems really questionable that AppImages can just run without molesting you, yet another type of executable can't.
>>
File: Libbie.png (285 KB, 797x344)
285 KB
285 KB PNG
In a world...
>>
>>106460303
well you can make it executable by right clicking them
>>
>>106460314
Making it executable through the DE has never worked for me, at least on Fedora; I've always had to do it in the terminal. I don't know what is going on, but at this point I would rather just make an AppImage to perform the functions of my script so that noobs can launch it hassle-free.
>>
>>106460320
what de you use, it works on xfce and lxde for me
>>
File: test script.png (239 KB, 1107x526)
239 KB
239 KB PNG
>>106460303
>>106460320
Works for me on Plasma.
>>
>>106460359
Well shit...guess I'm stupid.
>>106460323
Turns out I was using the I'm a Dumbass Desktop Environment
>>
>>106460359
>>106460371
But even still, I don't like that this is something that has to be done in the first place. I guess I'll make an AppImage of my script since those just work... actually, are AppImages allowed to request the admin password?
>>
restarting fixed it
>>
>>106460262
Windows 7 Anniversary Edition
>>
File: baby duck.png (16 KB, 121x145)
16 KB
16 KB PNG
>>106460489
>quack quack
>>
File: Quackin.png (1.02 MB, 1920x1080)
1.02 MB
1.02 MB PNG
>>106460496
Yeah? I'm the king of baby ducks, because I don't believe in intentionally breaking old use cases. I made Plasma yield to my baby duck syndrome and become Windows 7. If there's a distro that defaults to a beautiful and optimistic GUI, I'm all ears, otherwise I'm using AeroThemePlasma.
...
On that note, how the hell do I change the titlebar text to black in Geckium?
>>
>>106460649
is there a gtk version?
>>
>>106460746
Nah
>>
>>106460746
There is something very similar for both Cinnamon and Xfce
>>
>>106460649
Is that actually Plasma with an Aero theme? Or is it Win 7? Looks identical to Win 7
>>
>>106460956
It's actually Plasma: https://gitgud.io/wackyideas/aerothemeplasma/
There's a video guide as well: https://www.youtube.com/watch?v=B9EM1VbbXLY
>>
>>106460982
Fair enough. I hope you keep your distro and all its packages updated. I cringe when I see people on /g/ who actually do still run Win 7 without security updates because they think they don't need security updates.
>>
Is there a single Android tablet without a shitty locked-down bootloader that you can install Linux onto? I resent that ARM's most practical use case is for laptops and the like, yet it's nearly impossible to use ARM Linux for this purpose.
>>
File: aramo-kde.jpg (254 KB, 1280x720)
254 KB
254 KB JPG
>>106461092
Well Stallman uses Trisquel, so I guess there's that.
>>
>>106460244
Having to directly download an .appimage to replace a flatpak installation (qbittorrent, wanting to replace lib1.2 to lib2.0)
How can I shift all the previous data and configs onto the newly downloaded appimage?
>>
>>106461644
iirc, AppImages just store the configs in /.local and /.config and Flatpaks store them wherever. You're gonna have to chase them down per app.
>>
>>106461061
Most of them have bootloaders which can be unlocked. But there are no Linux ROMs for most Android devices thanks to the way ARM works. There's no such thing as an ARM iso which works for any ARM device like there is on x86, each device needs it's own image for the most part. That's going to be your limiting factor.
Best thing to do is to look for retailers who actually ship Linux on ARM, rather than Android. Or for those who specifically advertise the ability to install Linux. Or you can just look at a Linux ARM project and see which devices they say they support, for example https://devices.ubuntu-touch.io/device/amar-row-lte/
>>
>>106461692
>Flatpaks store them wherever.
Believe its home/.var/app/, where it seems everything's contained.
>>
>>106461061
No because Android isn't Linux. Even high end Android tablets with unlocked bootloaders need blob drivers which only work with Android kernels.
>ARM's most practical use case is for laptops
ARM's most practical use case is turning out cheap shit with minimum R&D spend.
>>
>>106461852
Most flatpaks store it there, but some use the home dir just like any other program.
>>
File: Universal Blue.png (13 KB, 200x200)
13 KB
13 KB PNG
Is there any reason to use Kinoite over Aurora? If you're limited to Flatpaks either way, then isn't Aurora just Kinoite with codecs and NVIDIA drivers preinstalled? May as well go with that.
>>
>>106462190
Aurora is Kinoite but more user friendly overall.
>>
>>106462190
Not really, no. Aurora significantly improves it.
The only argument I can think of is "muh minimalism" (less pre-installed software), but it's questionable you'd use KDE or Flatpaks at that point.
>>
>>106462190
Less bloat, I don't like how Aurora and Ublue highjack Homebrew by putting their version of it in your PATH. I still think it's a better overall image though, Fedora's images are too limited due to patents.
>>
Unironically would LfN have been okay to daily drive? If it was tied to the Ubuntu repos anyway then you could've theoretically kept running
sudo apt full-upgrade
up to the present.
>>
How can one isolate a bash script? If I source a script, it pollutes the caller script's namespace with all the variables and functions. How can one temporarily source a script and then call some functions and then forget about it and continue to the next script that may export variables with same names as previous sourced script?
>>
Do you make different partitions for / and /home? If so, how would you split a 500gb ssd? Is /home encryption advisable? Or would full encryption make more sense for a laptop?
>>
>>106463036
Run it in a subshell
(source ./file)
>>
>>106463179
So parentheses create a subshell?

(
source ./file
call_func()
)

?
>>
>>106463211
Yes, that is correct.
>>
>>106463248
I see, read a bit about it now, internally calls fork() I guess. Nice. I hate shell scripting.
>>
>>106463065
No, 100 / 400, encrypting root is advisable because information leaks out of /home in various places. Just make one big LUKS volume.
>>
>>106463065
>different partitions for / and /home
There's no reason to ever do this.
>how would you split a 500gb ssd?
64GB-80GB should be enough for your whole OS, software included. But just in case you'd probably want 100GB for the system. The rest should be assigned to your /home since that's going to consume most of your storage, especially if you download games/movies/series or any other large files.
>would full encryption make more sense for a laptop?
No reason to encrypt your whole system. Encrypting your user's /home is more than enough since that's where all your sensitive data is stored.
That being said, encryption introduces performance overhead in disk I/O-related tasks. If your laptop has a microSD slot it's better to just use that for storing all your private shit, and unplug it when you leave home with your laptop.
>>
What are my snapshot options if I use ext4?
>>
>>106463602
Timeshift is the most recommended.
>>
I ran "rm -r directoryname" instead of "rm -r directoryname/"
What did that do? Delete everything? I was root at the time
>>
>>106463369
>There's no reason to ever do this.
why would you say this. snapshots on / and /home is a simple example.
>>106463602
lvm thin below
>>
>>106463621
You can snapshot specific directories.
>>
>>106460244
dkms seems to be completely broken on freshly installed debian 13 machines, why are these niggers so incompetent
>>
Ran systemd-analyze blame:
>8.302s dhcpcd@enp37s0.service

Why does it take so long??
>>
>>106463065
Yes it's recommended.
35-80GB /
At least 2GB swap (for sleep mode etc)
The rest to /home and whatever
>encryption
Depends, you should ask yourself if need encryption.
It's slower to load, will cause headache when rescuing the system etc.
>>106463616
 man rm 
>>
>>106464213
>At least 2GB swap (for sleep mode etc)
Bad advice, sleep mode doesn't use swap at all and hibernation needs up to the RAM size, 2GB is likely too small.
>>
>>106463602
Mainly fucking yourself. Just use Btrfs.Your question is like asking "What are the hetero options on Grindr"; I guess you could fuck a twink in a skirt?
>>
>>106464249
I usually say sleep mode for hibernation.

>likely too small
It should be enough to close the lid with most DE;s.
If you are referring to someone that leaves 100 apps open and web browser with a 100 tabs, indeed it's small.
>>
>>106460244
I like the desktop threads and talking about archinstall
>>
>>106460262
the gnu/hurd fork for the L4 kernel, ideally.
>>
>>106464411
>I usually say sleep mode for hibernation.
They're different things. One is a hardware power state, the other is a kernel feature.
>>
>>106463621
If you're using thin provisioning you're not worrying about filesystem size.
>>
>>106464213
>Depends, you should ask yourself if need encryption.
The idea of someone being able to unplug my ssd and read its content bothers me. Also wouldn't decryption happen only once at boot time? I fail to see the performances impact other than slower boot time when waking up from hibernation
>>
Looks like Mozilla is finally making progress with their Rust re-write of libjxl for JPEG XL support:
https://bugzilla.mozilla.org/show_bug.cgi?id=1986393
>>
is systemd-nspawn the right way to do chroots now?
tried asking in an earlier thread but didn't get much useful answers
anyone here use/d systemd-nspawn for this?
>>
>>106464602
Anything that goes to / from disk has to run through encryption all the time. It's hardware assisted and you won't notice in most cases. There's usually a wall clock difference for NVMe drives.
>>
>>106464870
Chroot is the right way to Chroot. What are you trying to do?
>>
>>106464870
It depends on what you want to do. The operant syscall is pivot_root not chroot. There are a bunch of front-ends with different use cases. Read the Arch wiki or something.
>>
File: file.png (396 KB, 1826x959)
396 KB
396 KB PNG
after hours of fucking around i actually got the fan shit to work
had to ask chatgpt a million times but i actually managed to figure this out
in the end it was as simple as editing grub, downloading a decrepit package from git and installing that alongside coolercontrol
>>
>>106464914
>>106464916
need an ephemral/disposable development environment to spin up quickly, install python or node in it, run some code, then trash the environment.
i want all the polluted crap that npm or pycache spins up to just be easy enough to dump without having to go hunt shit down
>>
>>106463369
>>different partitions for / and /home
>There's no reason to ever do this
/home *must* be on a separate filesystem unless you use btrfs or zfs subvolumes.
There are many good reasons for this. Use LVM if you're unsure how to split your disk during installation.
>>
>>106465054
Just use a container.
docker run -it -v $HOME:$HOME -w $HOME --rm --pull always debian bash


Feel free to substitute docker for podman or whatever else and debian for whatever container you want to run.

Also if you're in a specific scratch/work directory, instead of mounting your entire $HOME you can do something like:
-v $PWD:$PWD -w $PWD
to make your current directory available to the container.
>>
>>106460244
what is this pajeet shit? get the fuck out of here streetshitter.
>>
whats the strategy to get better display in libvirt/qemu? everything looks like shit and blurry as hell regardless of the resolution
>>
>>106465065
>/home *must* be on a separate filesystem
No.
>>
>>106465647
not him but it's usually a good idea, unless you're using nix/guix. having it on a separate disk is nice too so you can just symlink it on a new install. it's the ideal way to go since it saves time pulling config files out and replacing them after.
>>
wtf do i do if i -Ss a package and it shits out 50 entries?
>>
>>106465993
Pipe it to less or grep for something specific or grep -v to filter out entries.
>>
>>106462190
Kinoite, I tried Aurora in a VM extremely disapointed, I see lot's of gnome shit and bouch of free installed crap I don't need and they replaced discover with some gnome shit, if I wanted gnome I would install gnome.
>>
>>106462190
>>106466829
Honestly would switch to KDE Linux if it is any good, but you probally cannot layer ontop packages which doesn't seem good.
>>
>>106460303
>I'm incurring upon myself by uploading my scripts to litterbox to test in VM's
ouch, that hurts so much
>>
>>106464027
>systemd-analyze blame
Pewdiepie ahh command
>>
>>106465993
fzf
>>
>>106464027
dunno, but dhcpcd took like 5 seconds for me back when I used it. Ditched it now
>>
>just got an office job
>windows 11
How do people use this? If I don't want to do anything for half the day I'll "accidently" run the update and my computer is unusable for an undetermined amount of time. Just needed to vent to my fellow gnu/linux chads.
>>
>>106467094
Saw it again on Brodie's vid and thought it'd give it a go :p
>>
>>106467487
It's the same shit on MacOS, the other corpo OS of choice.
>>
>>106467657
I've been using gentoo for so long that I forgot how to use other operation systems. Ultimate productivity once you set it up, maximum screen space, no intrusive popups annoying you. I spent 10 minutes trying to get notepad.exe to open up with shortcut keys and gave up.
>>
>>106466886
i thought rpm-ostree was a thing with these immutable distros?
>>
Newfag here struggling with file management on Gnome. Takes forever sometimes (like nearly a minute) to open my reaction images folder in Files. Thunar seems to load it quicker but I don't know how to make it use Thunar in the file picker. Can this be done? Or is there anything i can do to make Files faster?
>>
>>106464551
they're actually both hardware states
https://www.crazyengineers.com/threads/system-sleep-states-s0-s1-s2-s3-s4-s5.3238

older computers couldn't be put into a sleep state as the hardware didn't support it. they both require OS support as well, but OS support alone isn't enough
>>
>>106460244
What should I use instead of sxiv?
Are there any drop-in replacements or at least similar software (with a key-handler and such for scripting)?
p.s. nsxiv is not on my distro's repo.
>>
>>106468521
i honestly dont like gnome. it looks minimal and clean but its functionality sucks. KDE is a better choice desu. Most functional in my experience is cinnamon tho (but it does look dated or kinda boring)
>>
>>106468521
i dont like throwing random code at people, but you could try this in terminal

xdg-mime default thunar.desktop inode/directory application/x-gnome-saved-search
>>
>>106468521
>>106468913
if you want to switch it back:

xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search
>>
>>106468913
I got as far as running
>xdg-mime default thunar.desktop inode/directory
myself, it's got me half way there - if i right-click something in my downloads and go "show in file manager" it opens Thunar but clicking the upload button in this post still brings up Nautilus/Files. Thanks though
>>106468877
I started on KDE but there was something about it I hated. You're right that Gnome sucks out of the box but I've been able to get pretty far with extensions
>>
>>106468581
>they're actually both hardware states
No, ranjeet. Hibernation is a kernel feature where it persists memory to disk and then tries to power down the machine (S5) or halt it if not possible. On the next boot the session is loaded from disk to memory and the kernel resumes operation. Resuming from hibernation can be done from fully powered down or immediately after a warm reboot without ever powering down, and I'd bet you could do it by putting a kexec call in the right place after the hibernation code, no ACPI power state transition is required at any point.

Hibernation does not require hardware support, it just benefits from it. Worst case a kernel could write to disk and then print a message telling the user to power off the computer manually, and then the boot procedure is always the same.

>older computers couldn't be put into a sleep state as the hardware didn't support it.
If you're referring to shit like Windows 98 requiring ACPI compliant hardware to enable hibernation, that was Microsoft being Microsoft.
>>
Is there a command to see which files I could recursively delete from a dir?
Something like
rm -rf --pretend /var/logs
>>
>>106469185
just use ls?
>>
>>106469185
>>106469190
Case the idea is to parse the output you can list with one column.
ls -w 1
>>
File: a_out.png (450 KB, 2089x1500)
450 KB
450 KB PNG
Any idea why this 544 B a.out was created and in my home folder? It was created at exactly 20:00:30.704776603.
At the time, I believe I was using Wine to launch Turtle WoW's launcher, switching between system wine and proton in Lutris, and possibly install webview2. The launcher did get stuck often so I killed it a couple times. Other than that, no commands around that time except for using pacman a few minutes later.
>>
>>106469371
Actually, I do recall accidentally typing something and krunner or similar popping up, but I'm not sure the exact time that was. This seems most likely but I'm not sure how to verify.
>>
https://invent.kde.org/plasma/plasma-login-manager
Is anyone using this yet?
>>
>>106468521
is it the thumbnails just not loading or the whole directory?
>>
>>106469371
>>106469389
Solved-ish. It was created with `as` and I must have entered that into Plasma's application launcher. Running `as` generates an identical file.
>>
I can't add wine application as file association in kde anymore.
I have been using one for more than a year without a problem but recent plasma or whatever update killed it.
The application still sits there in the file associations but doesn't show up on right click. Nor in "Other application...". Shows up when using "Show all installed" but does not function properly. (Launches, but not with the file I opened with, defeating the purpose...) Changing its order or removing and adding it again to file associations doesn't help.
Nor reinstalling.
Wth happened?
>>
>>106469311
ls -l
>>
Ok so after a month of using Linux. Linux can do anything windows can do, Windows just does it automatically. Linux you have to spend an hour putting in commands in the terminal.
>>
>>106469529
Not complaining btw. Linux is pretty comfy.
>>
>>106469529
Modern Linux is even easier than Windows. There, you have your (You).
>>
>>106469529
I unironically use windows subsystem for linux to install applications to use in windows. yes even graphical ones
>>
>>106469443
The whole directory. Sometimes it's nearly instant, other times it takes a whole minute. I feel like if it's been a while since I opened the folder it takes longer.
>>
>>106469567
Never said anything about difficulty. Just to get my house working right I needed three programs and had to add my user to some, thing. It works better than it ever did in windows but the effort was much higher. Nothing, just works. Everything has to be made to work.
>>
>>106469704
Lol are you using Gentoo or something? CachyOS just works.
>>
>>106469485
I managed to get it to show up on right click by making a new .desktop file and using that.
It still doesn't actually interact with the file though.
However I now realized that running "wine 'program' 'file'" on the terminal also stopped working.
Am I also dealing with a wine bug?
>>
>>106469724
Using a 'just works' distro misses the point of GNU plus Linux altogether
>>
>>106469796
The point of GNU/Linux is to have a free and open source operating system. The Linux kernel also happens to be better than the Windows kernel; it stands to reason that the userland should also be superior.
>>
>>106469796
Not even Windows "just works" anymore btw
>>
>>106469864
The trouble with the userland is it's forever frozen in the UNIX era. Android shows that you can do things differently if you want but desktops and servers are stuck with what we've got.
>>
>>106469874
The trouble with the userland is morons claiming Linux shouldn't just work. Linux is ready for YOTLD but the Linux community isn't.
>>
>>106469881
It should "just werk" the question is more about how it should work rather than "it shouldn't work".

I really wish we had things like Android's Binder for IPC instead of things like DBus, etc. Almost anything you'd want to do can be done though, it's just a question of difficulty as posts like: >>106469529
>>106469567
demonstrate.
>>
>>106469485
>>106469727
Alright I figured it out. The windows/unix path conversion thingy isn't working out of the box, likely a wine regression. So wine /home/path/shit doesn't work but Z:\\path\\shit does.
So I needed to edit desktop to this:
Exec=myfile=$(winepath -w %f) && env WINEPREFIX="/home/myuser/.wine" wine "/home/myuser/.wine/path/program.exe" $myfile

Now it works.
Writing this just in case someone else needs it and finds it in the archives or whatever.
>>
>>106460267
FreeBSD is very close
>>
>>106463065
You shouldnt need more than around 30-40gb of space for / if you want to split / and /home
>>
>>106470440
That depends entirely on how you're going to use the system. Only they >>106463065 know that.
For example, are you going to end up with lots of VMs/containers/databases/etc in /var? If so then you either want /var to be a separate partition too or to allocate more space to /.
>>
>>106470450
If you use LVM or BTRFS then you don't even have to think about this though since the entire pool of storage is shared.
>>
>>106464027
Dhcp is slow due to how the protocol works. You can always just set a static ip if you want to avoid using it. Though the boot process shouldnt really be getting stalled by dhcp, it should be getting set up in the background once boot has finished since the main system shouldnt be dependent on it and all services requiring network connection should have a requires=network.target in their service file so that they dont start before the network interface is set up
>>
>>106470450
>VMs/containers
Both dont need to be on root in /var/lib and can be done in the home partition especially containers since he should be running them rootless with podman unless he really needs to run them with root for whichever reason.
>databases
I don't really have much experience with this on a desktop.
>flatpak
Flatpaks should be installed with the --user flag on a single user system but i guess its understandable flatpak doesnt want to make this the default incase the system is multi-user
>>
Is it worth porting a bash script to a different scripting language for a performance/efficiency increase? Is there a recommended scripting language to use? lua, perl, python?
>>
>>106465102
Pretty sure he was given this answer in a previous thread but then started going on about it being bloated or something.
>>
>>106470481
That's why I said it depends on usage. Technically you can do everything in your home directory if you wanted to, even compile and install software with Homebrew or Gentoo Prefix, etc.
>>
>>106470508
Build your own images if the default images are too bloated.
Google's Distroless project is really nice:
https://github.com/GoogleContainerTools/distroless
>>
>>106465629
Have you set up 3d acceleration? Though i dont think it will help with blurriness
>>
>>106468703
imv
>>
I hope you guys can calm my nerves a little, whenever Night Light (KDE) activates or deactivates, I get these blocks of glitched pixels on my screen as the transition occurs. When it first happened it scared the shit out of me cause I thought my GPU might be on the way out but it seems to ONLY happen when night light is transitioning the screen colors, regardless of GPU load.
I'm hoping this is just some bug on Night Light and not a hardware issue?
I'm on an AMD Radeon and using the kernel drivers, not the ones AMD offers.
>>
>>106469190
>>106469311
I remember reading somewhere that using ls in scripting was bad practice and something like find should be used instead
>>
>>106470532
>kernel drivers, not the ones AMD offers.
who do you think puts those drivers into the kernel?

As for your problem, might be hardware or software issue.
>>
>>106470517
Since hes just testing stuff and not deploying an actual image it might be better to just use the default docker image of python/node
>>
Is there a way to keep Steam running in the background, i.e. starting on system startup rather than login? I've been googling around but it looks like people doing this are mostly concerned with headless streaming which isn't what I'm after.
>>
>>106470632
why don't you just auto-login?
>>
>>106470647
I remote desktop into my PC from work a lot (i'm doing it now) and every time it reloads Steam. I figure it makes sense to run it as a service if possible since it's something I always want alive like my web servers and such
>>
>>106470574
That's what I'd do but if the complaint is it's too bloated you can build something more minimal yourself.
For development / testing purposes I wouldn't bother though. It's convenient having a full environment available with coreutils and a package manager, etc.
>>
>>106470652
You need a graphical session to run steam. You can set it to autostart when you login to your desktop.
>>
>>106470481
>Flatpaks should be installed with the --user flag on a single user system
Is this something I have to do only once on install ore once per repo install?
>>
Luv immutable distros
Simple ass
>>
>>106470667
On every flatpak operation aside from opeining the flatpak.
You might as well make an alias it
alias flatpak='flatpak --user'

or change the alias name to something like uflatpak instead
>>
>>106470716
Wonder if I can toggle this somewhere in the flatpak GUI client
>>
File: 1453995023566.png (114 KB, 922x750)
114 KB
114 KB PNG
Why do people say that using LUKS is a risk if you lose your key or password? Idk what a key is but a password if you lose it you lose access to your shit, same as losing your password normally.
to me there seems to be no reason not to encrypt everything
>>
for a simple raid 1 setup should i use hardware raid or software raid? what is the difference?
which is more reliable?
or would it be better with a weekly backup? if so, what program?
>>
>I have hardware acceleration in firefox but not zen browser
>zen is based on firefox
Anyone experience this or know where I should start digging?
>>
>>106465774
That's just retarded. If you have specific config files you want backed up, then just back them up. A "new install" shouldn't be polluted by your old, usually irrelevant/unused configs/cache/etc. which are pulled because you've opted to back up everything inside your /home. And if you're installing a completely different distro then it's even more retarded since you're even more likely to have unnecessary or incompatible configs.

>>106466829
There's a couple of gnome apps there because they match the use-case of Aurora better, and they've been determined to be better than the KDE alternatives. It's not meant to be a "pure KDE" distro, it's meant to be a "ready to use and simple" distro.
If you like tweaking/configuring things yourself then you're free to replace anything. But an average user, especially a new user, wouldn't care as long as the defaults are good.

>>106466886
rpm-ostree is literally made for layering packages on top of your immutable system

>>106469529
>bait
>>
>>106470951
Software RAID is by far more reliable. You can re-assemble the RAID on any system but with hardware RAID if the RAID controller dies and goes caput then you've lost the whole thing unless you can source an identical RAID controller to re-assemble the RAID again and even then there's no guarantee.

Just go with BTRFS, ZFS or Bcachefs
>>
>>106471334
>>106470951
Also you should still do a backup for anything important. RAID is not a backup. If your data doesn't exist in at least three different places then it doesn't exist at all.
>>
https://packages.gentoo.org/packages/games-emulation/pcsx2

Is there really no way to compile this without cpu_flags_x86_sse4_1 - See the required cpu flags section ?? - I was going to play some pcsx2 games but now I guess I can't or I have to install a prebuilt binary other way.
>>
>>106470941
Even if you lose your root password, you could gain access into your root filesystem with a livecd if it isn't encrypted.
>>
>>106471397
Got it working. My system supports sse4_1 but for some reason does not utilize it by default. Had to set manually for this package.

https://wiki.gentoo.org/wiki/CPU_FLAGS_*
>>
>>106470746
I think you might be able to just get away with only needing to do it for installing the repo but if you have the repo installed on the system as well it'll prompt you every install if you want to install from the user or system repo
>>
Windows-anon from another day reporting again, despite all my attempts I still haven' managed to get proton running on cinnamon. I tried commands, drivers, protonge, every library I could find, checking for gpu config, virtually nothing works.
I'd easily accept the explanation given that this is kernel issue related to log-term support nature of mint, and just launch everything non-native on windows, but people on the internet report that proton largely does work on cinnamon, and this frustrates me to no end.
>>
>>106471533
It should work. Describe your issue and current setup. Do you have GPU drivers installed? Do you have libgamemode installed (gamemoderun command) ?
>>
>>106471562
Games that according to protonb should run on proton out of the box seem like they are launching (they "go green" and my account switches to in game status), but no window opens and after a short bit the process stops. Natives run
Setup:
Operating System: Linux Mint 22.1                 
Kernel: Linux 6.8.0-79-generic
Architecture: x86-64
Hardware Vendor: Lenovo

Firmware Version: N30ET30W (1.13 )
Firmware Date: Tue 2020-09-22
Firmware Age: 4y 11month 1w 4d

System:
Kernel: 6.8.0-79-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0
Desktop: Cinnamon v: 6.4.8 Distro: Linux Mint 22.1 Xia
base: Ubuntu 24.04 noble
Machine:
CPU:
Info: 8-core model: Intel Core i9-10885H bits: 64 type: MT MCP
arch: Comet Lake rev: 2 cache: L1: 512 KiB L2: 2 MiB L3: 16 MiB
Speed (MHz): avg: 800 high: 801 min/max: 800/5300 cores: 1: 800 2: 800
3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 801 10: 800 11: 800 12: 800
13: 800 14: 800 15: 800 16: 800 bogomips: 76800
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx

Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Lenovo driver: i915
v: kernel arch: Gen-9.5 bus-ID: 00:02.0
Device-2: NVIDIA TU104GLM [Quadro RTX 4000 Mobile / Max-Q] vendor: Lenovo
driver: nvidia v: 570.169 arch: Turing bus-ID: 01:00.0
Device-3: Bison Integrated Camera driver: uvcvideo type: USB bus-ID: 1-8:3
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: i915
resolution: 1920x1080~60Hz
API: EGL v: 1.5 drivers: iris,nouveau,nvidia,swrast platforms:
active: gbm,x11,surfaceless,device inactive: wayland
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa
v: 25.0.7-0ubuntu0.24.04.1 glx-v: 1.4 direct-render: yes renderer: Mesa
Intel UHD Graphics (CML GT2)
API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlib devices: 3
>>
>>106471533
My friend moved away from Mint to Bazzite last year because he had the same issue where half the shit didn't work on Proton (on Mint). I'm not saying you can't get it working if you try tinkering for a while, but I am saying that at some point it's just not worth wasting your time when there are distros that are less shit than Mint.

>people on the internet report that proton largely does work on cinnamon
It's not related to your DE. It could be related to Mint's outdated packages, but Proton 7 should work on it (although you'd lose compatibility with games that started working with Proton 8/9/10). You can quickly test this by changing one of your game's default compatibility tool to Proton 7 within the Steam settings of that game. If it runs, then it's an issue of outdated drivers and vulkan implementation.
You can also rule this out by updating your kernel. Go into Mint's update manager and somewhere in it's toolbar there's a tool for Kernel management where you can install the latest kernel available to Ubuntu-based distros. It should be up-to-date enough to support even the latest versions of Proton.
If you're on AMD you can also try installing the latest MESA. I think Ubuntu users usually install this one: https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa

It would help if you posted your current CPU, GPU, RAM, which filesystem the game is installed on (NTFS has issues with Proton). What's the output of the following commands:
>uname -a
>glxinfo | grep "OpenGL"
>vulkaninfo --summary
>>
Installed Arch with btrfs but without subvolumes. Asked chatGPT how to make it timeshift compatible. From livecd made @ and @home subvolumes, moved everything into those subvolumes, updated fstab and grub config. Seems to be working but idk if I silently fucked something up since I was just copying commands.
>>
>>106471647
From what I can see you're on a hybrid GPU setup (intel iGPU+nVidia). Check what's being used as your default GPU for vulkan:
>vulkaninfo | grep "GPU id"

Also try adding this flag to force games to run on your nvidia gpu:
>__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%

Proton relies on 32bit support still, I think. Install 32bit drivers if you haven't:
>sudo apt install nvidia-driver-570 libnvidia-gl-570 libnvidia-gl-570:i386 mesa-vulkan-drivers vulkan-utils vulkan-utils:i386

Also install 32bit dependencies:
>sudo apt install libfuse2 libudev1 libgl1 libgl1:i386 libc6:i386

Try adding a launch option for logging:
>PROTON_LOG=1 %command%
Should tell you where it fails.
>>
>>106471647
When running steam via terminal it outputs sth like that:
ERROR: ld.so: object '/home/anon/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/anon/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/anon/.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/anon/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/anon/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

.
.
.
pid 33916 != 33915, skipping destruction (fork without exec?)

errors from proton logs for the game:
6107.153:0094:00a0:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth": c0000142
6123.353:0020:00d8:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
6123.353:0020:00d8:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
6123.748:00dc:00e0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
6123.748:00dc:00e0:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."


Hopping proton versions, installing proton GE did not work, disabling steam overlay didn't work, wine=32 didn't work iirc, and I can't get flatpack working at all (???). My only guess is that it's issue with disc, what I did was essentially I partitioned half of drive away on out-of-the box laptop, installed mint on split half, set to ext4 and encrypted home
>>
>>106471715
I always set LD_PRELOAD="" for steam proton games because I don't want steam to load its useless screen recording or whatever library that fucks up things. And I always use gamemoderun no matter what because it does not hurt.
>>
>>106471533
>>106471715
The solution is to install Lutris via Flathub.
>>
is chrome in aur a trap?
>>
>>106471715
>Application tried to create a window, but no driver could be loaded.
So, do all of this: >>106471710
Looks like either your vulkan isn't working, or you're missing 32bit libraries. Or for some reason Proton is defaulting to your intel GPU, but since it's not connected to a display or even used, it's failing to create a window. Those are the only things I can think of.
>>
>>106471739
Chrome is a trap, aur or not. But as for whether the aur version is additionally harmful, no, it just unpacks the .deb from the Chrome website.
>>
>>106471710
>>106471751
>vulkaninfo | grep "GPU id"
        GPU id = 0 (Intel(R) UHD Graphics (CML GT2))
GPU id = 1 (Quadro RTX 4000 with Max-Q Design)
GPU id = 2 (llvmpipe (LLVM 19.1.1, 256 bits))
GPU id = 0 (Intel(R) UHD Graphics (CML GT2))
GPU id = 1 (Quadro RTX 4000 with Max-Q Design)
GPU id = 2 (llvmpipe (LLVM 19.1.1, 256 bits))
GPU id = 0 (Intel(R) UHD Graphics (CML GT2))
GPU id = 1 (Quadro RTX 4000 with Max-Q Design)
GPU id = 2 (llvmpipe (LLVM 19.1.1, 256 bits))
GPU id = 0 (Intel(R) UHD Graphics (CML GT2))
GPU id = 1 (Quadro RTX 4000 with Max-Q Design)
GPU id = 2 (llvmpipe (LLVM 19.1.1, 256 bits))
GPU id = 0 (Intel(R) UHD Graphics (CML GT2))
GPU id = 1 (Quadro RTX 4000 with Max-Q Design)
GPU id = 2 (llvmpipe (LLVM 19.1.1, 256 bits))
GPU id = 0 (Intel(R) UHD Graphics (CML GT2))
GPU id = 1 (Quadro RTX 4000 with Max-Q Design)
GPU id = 2 (llvmpipe (LLVM 19.1.1, 256 bits))
GPU id = 0 (Intel(R) UHD Graphics (CML GT2))
GPU id = 1 (Quadro RTX 4000 with Max-Q Design)
GPU id = 2 (llvmpipe (LLVM 19.1.1, 256 bits))
GPU id = 0 (Intel(R) UHD Graphics (CML GT2))
GPU id = 1 (Quadro RTX 4000 with Max-Q Design)
GPU id = 2 (llvmpipe (LLVM 19.1.1, 256 bits))
GPU id : 0 (Intel(R) UHD Graphics (CML GT2)):
GPU id : 1 (Quadro RTX 4000 with Max-Q Design):
GPU id : 2 (llvmpipe (LLVM 19.1.1, 256 bits)):

IDK what the third one is. A camera? Prime config is set to performance, opengl is using rtx so all seems pointing to it using main gpu properly.
>__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%
Tried it already, doesn't amount to nothin'.
>drivers
I've got all the ones listed except vulkan-utils and utis-386, it can't find them. Which happens with a lot of libraries and drivers, internet says that some are obsolete and repackaged into others but at this point I'm lost with this shit
>dependencies
All there
>>
What's the best Ark gaming distro? I use AMD in my CPU and GPU so I don't care about nvidia drivers
>>
>>106471755
Sorry, somehow configuration switched to on-demand without me knowing (???) but after fixin it back up and getting 0=Quadro it still does not work.
>>
>>106471755
Yep, looks like the issue is that you're being defaulted to your intel GPU. Proton and DXVK default to GPU ID 0. You can fix it at a per-game basis depending on what the game uses:
VKD3D_VK_DEVICE="Quadro RTX 4000" %command%

DXVK_FILTER_DEVICE_NAME="Quadro RTX 4000" %command%


If this doesn't work, or if you're not worried about battery life, you can just globally set your nVidia GPU as your primary one.

Also double check if you're using the official nvidia drivers or nouveau. You should use the nvidia drivers, not the open source ones.
>>
>>106471809
Neither of the commands work, and issue persists regardless of gpu mode I set with nvidia settings. And I'm using the 570-open from driver manager, but hopping between versions of it didn't work out earlier before.
>>
>>106470941
>Why do people say that using LUKS is a risk if you lose your key or password?
because you lose everything it unlocked
>Idk what a key is
the way it works is that the password itself is /not/ used to encrypt the data, rather it's used to encrypt the key, and it's the key which is used to encrypt the data. this sounds superfluous, but it enables a few features you couldn't otherwise have, such as being able to change your password without re-encrypting all the data, having multiple passwords, or for quick key erasure (making the data inaccessible in case of emergency even if an attacker knows the password).
>same as losing your password normally.
nope, without encryption, passwords are only really secure for remote purposes, when at a machine physically passwords don't secure anything, they can simply be ignored/changed trivially
>>
>>106470951
just do btrfs raid1, it's simple to setup and easy to modify later (add drives, upgrade drives...).
for most purposes, hardware raid is obsolete, hardware as in a real raid card, which last i checked are expensive. the raid built in your motherboard is /not/ hardware raid, that's typically called "fake raid" because while it presents kind of like hardware raid, it still does everything on your cpu, so it has no hardware benefits. it also has no benefits btrfs provides either, like being able to restore damaged data from the other disc(s) if needed automatically, mis-matched disc sizes, easily adding/removing drives, etc.
raid isn't a backup in and of itself, though a btrfs raid1 with automatic snapshots should reduce the risk of needing to ever actually restore a backup greatly
>>
>>106471755
llvmpipe is a software renderer
>>
>>106471764
Arch
>>
>>106471764
>>106472059
Garuda or CachyOS are the popular Zomg fast!! Gam0r distros in Archland.
Also EndeavourOS.
>>
>>106472105
Garuda has barely any fans anymore. It's Endeavour and Cachy for Arch forks right now.
>>
>>106470538
Yes that's right, ls is meant for human consumption. ls isn't standardised accross systems, also I think it may break if there's a newline in your filename. Find or globbing is better suited for automated processing.
>>
>>106472059
>>106472105
EndeavourOS is the closest to Arch right? I might try that and learn how to use Arch properly
>>
>>106471846
>570-open
Sounds like you're using nouveau, which are the shitty open source drivers. Install the official nvidia drivers.
>>
>>106472424
no, he's using 570-open
>>
File: forks.jpg (212 KB, 1200x1064)
212 KB
212 KB JPG
>>106472135
Endeavour isn't fork though, it's just Arch that comes with desktops and shit.
Wonder why this is allowed, using other distro's repos without even mentioning them. Same goes for Mint.
>>106472304
It *is* Arch.
>>
>>106472464
The fuck is the difference between -open and the normal driver?
>>
>>106470497
Are you dissatisfied with the performance?
I don't know of about the precise intricacies of how all of these languages compare but I would guess that only appropriately written or complied c++ or whatever code would give a noticeable performance boost.
That's what I would do anyway.
>>106471739
If you are on Linux you seriously should consider another open source chromium fork. Or firefox.
>>106471154
They could have modified many different shit to break hw acceleration so that it falls back on software.
I wouldn't expect this to be easy.
Do you really need this browser?
>>106472479
Open has some modules open sourced. The core is still nvidia proprietary.
Nouveau is the fully open source driver stack.
>>
>>106472479
a couple years ago nvidia open sourced their kernel modules (not the whole driver, mind), so 570-open would refer to version 570 of the open source kernel module driver.
"570" should be enough to tell you it's not nouveau, since that doesn't use nvidia's versioning scheme
>>
Does linux have its own verson of reshade?
>>
>>106472593
Yeah it's called having taste
>>
>>106472503
i have been on firefox since ~2005 on windows and linux however i am going to need chrome (i am aware of brave et al) as it is seen as official where i'll be at for a few months. i do not want to use ubuntu as gnome can fuck off and no the other flavours don't inspire me with confidence.
>>
>>106472593
Yes but it has no GUI.
It's called vkbasalt.
It doesn't have all the features of reshade but many filters will work fine with it.
I find it a bit too inconvenient to bother with, but maybe it works for you.
>>
>>106471533
Have you tried installing lutris and steam through flatpak?
>>
>>106471755
>IDK what the third one is. A camera?
llvmpipe means software rendering/accel instead of hardware i think
>>
>>106471710
I'm not sure if the hybrid gpu setup really matters that much since his intel gpu is still new enough that games should still at least be able run with the intel gpu without issue
>>
>>106472800
Haven't tried lutris yet and I couldn't get flatpack going at all.
>>
>>106471755
If you're on hybrid graphics theres a shell script called prime-run that should be from one of the nvidia packages which will set up the proper environment variables so that you can use the nvidia gpu on a per-app basis
>>
>>106472951
That is probably useful and thank you for lmk, but how does that change the situation when even I force nvidia and primary gpu nothing runs? No snark, I really would like to know.
>>
>>106472989
Its not much different from the environment variables you ran before but theres one missing that may or may not make a difference
__VK_LAYER_NV_optimus=NVIDIA_only


if you run all 3 env variables with glxinfo you should be able to see if its properly using the nvidia gpu for that command or not
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only glxinfo 
>>
>>106472896
It matters if the games are trying to be rendered on a GPU without any video output.



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