[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: >>103198347
>>
File: 1729783864656011.png (1.37 MB, 1920x1080)
1.37 MB
1.37 MB PNG
>>
>>103217122
What do you suggest then?
>>
I can't figure out how to run emacs as a daemon, I think there's something broken somewhere.
If I disable the service, reboot and check systemctl list-unit-files --state=enabled there is no emacs service present, but if I type "emacsclient -nc" in the terminal nothing shows up, and emacsclient -n for some reason opens up the CLI version (again, how does it open if there's no service enabled??).
Something, somewhere, is somehow enabling the daemon presumably before X since it doesn't work with the GUI version.
>>
So on Windows there's a limit to how many folders it will remember the sorting option for before reverting back to the default on older folders. You have to edit the registry to increase it.

Does Linux have a similar limitation and if so what would be the fix?
>>
How's Linux on SBCs, customizability-wise?
I've taken an interest in SBCs now that there are RISC-V options available like the VisionFive 2, but even in the case of RPis, every time I watch a youtube video of someone "running Linux" on these things it's always flashing an SD card with an officially-provided Linux image.
I want to run Gentoo on the thing. I want to cross-compile for it from my main Gentoo machine.
What's preventing me from doing this?
>but why would you
Autism. And boredom.
>>
>>103217726
what is a sorting option? This thing would be part of your file manager, and Linux has many options for these so you'd have to check for each and every one.
You definitely won't have to edit the registry though since that doesn't exist.
>>
>>103217726
If you want the same feature on KDE you'll have to add a dot file to each and every one of your folders with your customization options :)
>>
>>103217754
I should have mentioned, I'll be using Fedora KDE.
>what is a sorting option?
If it's sorted by name, size, video length etc
>>103217779
I assume this is a joke that I don't understand.
>>
File: 1718260177327863.png (32 KB, 695x198)
32 KB
32 KB PNG
>>103217807
It's not a joke. Much better than having a registry don't you think? :)
>>
>>103217807
>If it's sorted by name, size, video length etc
I just have 2 aliases for ls to do that.
>>
>>103217753
Look for their vendor provided kernel and find the source for it. Hopefully it's not some device tree crap and it can boot a standard kernel image, but if it is then you'll need their fork or to copy the binaries from their image, etc.

From the Gentoo side:
>Crossdev is your best friend
https://wiki.gentoo.org/wiki/Crossdev
>>
>>103217869
>Look for their vendor provided kernel and find the source for it
I'm looking for it, haven't found it yet.
By the way, they even have a wiki page on the exact model I want, which is nice!
https://wiki.gentoo.org/wiki/StarFive_VisionFive_2
There's a lot to read, so I'm still not sure if
>some device tree crap and it can boot a standard kernel image
is the case or not.
>Check out the VisionFive 2 SDK OR kernel sources (until the upstream kernel has full hardware support)

>>Crossdev is your best friend
That's what I had in mind. Will look into it.

Thanks!
>>
how to connect to wifi on debian minimal installation without ethernet cable or nmcli
>>
>>103218069
>(until the upstream kernel has full hardware support)
There're also many *SIFIVE* configs in my kernel (6.8,) so I'm assuming it's already supported
>>
installed new distro but old one still there. how do i get my firefox bookmarks copied over?
>>
>>103218659
Mount the other distro's /home partition somewhere and run
find /home/user/.mozilla -iname *bookmarks*

Copy it over, import it and check if it's the latest version of your bookmarks. If not, boot the other distro that's still there, run Firefox, export the bookmarks and copy it over wherever you want.
>>
>>103218522
Switch to a less retarded distro. Ideally get out of the Debian / SPI fecalsystem altogether.
>>
Does anyone have any idea why lightdm would lock my PC randomly at 5:01 AM and then AGAIN at 5:51 AM, after being idle for hours, when I have auto suspend/lock completely turned off, have no keybinds to dm-tool lock (I use slock), and haven't updated my system in a week. Its also been on for a week and this is the first time its done this. I turned my PC off after the second time, and turned it back on around 6:25 AM, and it hasn't locked a single time since then. I'm on Arch running Awesome WM. I've gone through my journal and nothing odd happened, it just randomly used light-locker as if I had run dm-tool lock except there's no instance of that being run as far as I can tell. This has never happened on this install and I disabled all of this stuff years ago. It sounds silly but it creeped me out and its driving me insane that I can't figure out WHY it happened. I've looked through my systemd timer files and can't find any kind of culprit.
>>
>>103218713
thanks anon, will try after my nap
>>
>>103218522
connman maybe
>>
>>103217807
See the configuration panel here: >>103217822
There is no such limitation on any file manager I've seen. Typically, you can change the sort order with the "sort by" option in the application menu or context menu and this will apply to every folder you view until you change it.
>>
File: file.jpg (3 KB, 200x200)
3 KB
3 KB JPG
>>
>>103217822
And still don't remember icon size.
>>
what do i have to read before update to make sure i dont break arch? hasn't happened yet but i dont really have time to deal with not being able to use my computer for a day anymore and its making me not want to update at all when i read about people not being able to boot or login after update
>>
>>103219510
just let it break and learn how to fix it afterwards
>>
>>103219510
if you don't have a rollback solution, you're ngmi
>>
File: 1613489111182.jpg (47 KB, 782x960)
47 KB
47 KB JPG
Recommend me something for fan control.
Had to do some work in my computer earlier and disconnected all my system fans, GPU, RAM, etc - On reassembly one of my fans sounds like it's on a much more aggressive curve.

Also, not really Linux related but any ideas why my 3200MHz RAM only works as a single stick? As soon as I put the second stick in, XMP stops working and it's stuck at 2666Mhz. I have them on DIMM 0 and DIMM 2 (so on the same channel). I'm assuming either faulty RAM sticks or mobo/BIOS bug.
>>
>>103219754
Have you ever read your MOBO's manual? Try slots 1 and 4
>>
File: file.png (109 KB, 750x694)
109 KB
109 KB PNG
>>103219788
I was going to try that next time I did a full shutdown - I think that may be all it is, I think I'm on A1 and B1 right now.
>>
Is Gnome/GTK going downhill? I prefer it over KDE but I've basically only see bad news regarding the Gnome organization and its members.
>>
File: file.png (62 KB, 1200x800)
62 KB
62 KB PNG
>>103220274
Only time will tell
>>
>>103219714
if i just do a manual timeshift before update will i be safe?
>>
<<103221039
>Sent from my iPhone
>>
>>103219754
CoreCtrl for AMD GPUs.
>>
>>103221039
t. Pajeet
>>
>>103220868
i guess
if your system breaks and you can't roll back you can do it from a live environment, so have a live USB with linux mint or some shit ready
>>
I had Linux installed on one device, /dev/sde. Two partitions:
/dev/sde1 (FAT32 500MB systemd-boot partition)
/dev/sde2 (/ filesystem BTRFS)

I got a new NVME and created:
/dev/nvme0n1p1 (FAT32 500MB partition)
/dev/nvme0n1p2 (BTRFS)

I used the btrfs filesystem replace command to move /dev/sde2 to /dev/nvme01n1p2 which seems like it worked perfectly, but I'm a bit confused what I should do to move my bootloader from /dev/sde1 to nvme0n1p1

I updated my /etc/fstab with the new UUIDs. Not sure if I may also need to update a UUID related to systemd-boot, in the entires after copying?
>>
>>103221692
I imagine you just update grub from a installation disk and go about your day.
>>
>>103219714
>babying a Linux system with snapshots and all
That's good and all but honestly, how often does a system actually break to the point you need snapshots?
There's like a couple of things I changed under /etc, I can redo this system on a whim. Linuxes generally are super fast to install IMO.
>>103221692
>>103221810
GRUB problems are like Windows problems: no way to diagnose them.
(thank god my boot process is super simple and doesn't involve GRUB)
>>
>>103218659
Just make a mozilla account and sync everything. Sme browser on everything.
>>
>>103221810
>>103221842
I backed up the /boot directory off the old partition, umounted /boot, mounted the new partition to /boot and copied the files over, then ran bootctl install which completed without error. Made sure fstab is all up to date as well.
Haven't rebooted yet but I'm probably good to go. Fucking crazy you can just migrate your entire system over without even rebooting or having a hint of downtime.
>>
>>103219510
https://archlinux.org/
>>
>>103219754
I just updated coolercontrol fro the aur but i have a kraken water cooler.
>>
>>103220274
they have been since the end of gnome 2.
>>
>>103219714
I've been using Arch since august last year on bareass ext4 and never had an issue.
>>
>>103217117
Am I an idiot? I download the linux version of Dwarf Fort (free version) and I run it and it doesn't run and now I don't know what to do.
>>
>>103222124
extra/dwarffortress 50.14-1
A single-player fantasy game in which you build a dwarven outpost or play an adventurer in a randomly generated world

This thing? Why are you "downloading" it instead of just installing? (even Arch Linux seems to have it in main repos (this is highly distro specific though))
>>
>>103218659
CTRL SHIFT O > Import and Backup
That's the letter O, not a zero.
>>
>>103222124
ldd app
>>
>>103222124
I just pirated the full version and run it through wine / proton.
>>
>>103222154
Repo in the software app is on version 47.something
>>103222216
What's that?
>>103222236
The weird thing is that I downloaded the windows version to play via wine and it works like magic, so I don't understand why the native version doesn't work.
>>
Question, hope is not a stupid one. I want a drawing tablet, is there a level entry one, with screen, with full Linux support?
>>
>>103217117
>>103217117
i'm using sway, my monitor is 32" 4k, unfortunately 2x scale is too big, and 1.5 scale has bad font rendering on 99.9% of things
i'm using this to set my scale in sway/config

output DP-1 mode 3840x2160@240.084Hz scale 2 scale_filter smart pos 3840 0

any ideas?
>>
>>103219196
All one needs.
>>
A few years ago I tried dual booting Win 10 and Mint (I think?) but I got a new CPU and somehow in updating the kernel things got completely fucked.

I'd put Mint on a smallish SSD why Win was on a bigger spinning disk. I found out recently that I can't boot into Windows if I remove the SSD. Any ideas of what I can do to remove the dependency on the SSD? I remember I had to do something with grub, but that's about it.
>>
Is it safe to use a SATA SSD without DRAM for distro hopping and testing purposes?

Eventually it might become the main drive for an old pre-2010 desktop as a backup pc. Would put some older games on it and use it for digital art stuff. But for now I want to test Fedora and some other distros without wiping my current drives. I want to install them directly to test the real performance in games and other software, not just through live USB or a virtual machine.
>>
>>103222123
I used Arch on my old PC for 10 years and only had problems that a snapshot wouldn't have fixed anyway (bootloader problems)
Ditched grub on my new pc and had no problems yet.
>>
>>103223096
Yes, assuming your system RAM is decent and isn't defective, etc. Performance won't be great but you already know that.
>>
>>103222650
You'll need a bit more than Sysv when you start doing anything serious
>>
>>103223136
Thanks. My current distro tester is an old HDD from 2008 (from that same backup pc), so at this point I figure anything is probably an upgrade. Just wanted to make sure it was safe since some reviewers warned about not having DRAM being bad for an OS drive. As long as it doesn't affect stability, I'm not too bothered by a performance hit.
>>
>>103217117
I can't explain but my eyes start to ache while in linux. Is it possible? Same resolution and refresh rate as in windows.
>>
File: 1731805474374739.jpg (20 KB, 473x473)
20 KB
20 KB JPG
>>103223232
>>
>>103223343
The default color/saturation/brightness/gamma/contrast settings are definitely different. There's also the different font, font size and anti-aliasing settings you can try adjusting. I'm dual-booting Windows and Mint, and Mint is generally darker with more contrast and a bit blurrier, which did strain my eyes until I adjusted them. I have to turn up my brightness settings on my monitor and adjust zoom to be a little stronger since it's too blurry. And the anti-aliasing isn't as crisp as Windows.
>>
>>103223425
It's honestly amazing how little Sysv provides and then even more amazing when you consider the fact that Devuan still thinks it's just fine. I know they also provide support for better init systems but they still don't make them the default.

>Proper PID tracking via CGroups (not PID guessing)
Nope!
>Process supervision
Nope!
>Declarative syntax for init scripts
Nope!
>>
File: 785 - b8Rh6v1.jpg (219 KB, 708x1000)
219 KB
219 KB JPG
>>103217117
I recently tried linux mint, it unfortunately doesn't have gconf which is require for some work application that I need. I can install the package to make the application work but dpkg treats it as a broken install and wants to remove

How's plain ubuntu these days? Last I used it was just after they migrated from unity to gnome and it was buggy mess
>>
Why autorun during system start is so hard? In Windows I have the planner, special folder.
>>
>>103223682
You're going to have to elaborate on what you're trying to do. I've never found starting services at boot or during login to be difficult.
>>
>>103223679
Base Ubuntu is awful these days. If you want to use base Ubuntu then use one of the forks like Kubuntu.
>>
>>103223718
>Base Ubuntu is awful these days. If you want to use base Ubuntu then use one of the forks like Kubuntu.
Yeah I thought so
I was an xubuntu boy until I encountered some major bugs (the file picker locked xfce and I had to start everything back after killing)
>>
>>103223711
Veracrypt open as root.
>>
I may be retarded but what is the correct way to return the first element in a folder on command line? I know that there's multiple arrangements and depending on how you sort it there can be different results for 'the first' but in that case it really doesn't matter as long as it excludes . and ..
I can think of multiple work around like using >for i and simply return the filename and immediatly break but there has to a more default method for this, no?
I am using folders which contain a big number of files so that even ls or rm * prompt an error message.
>>
>>103221692
you shouldn't have anything that can't be regenerated in /boot, so just run "bootctl install" and re-run dracut/reinstall your kernel
>>
>>103224267
Looping is probably the best:
$ (cd /;for f in * ; do echo "$f"; done | head -1)


That should be instant because the call to
head -1
disconnects the pipe immediately after reading the first thing.
>>
>>103217117
>finally get my wm setup
>not seeing my other drives in thunar
>spend like 20m recompiling gvfs, thunar, thunar-volman
>search reddit
>forgot to dbus-run-session
mfw
>>
>>103223096
ssds r so cheap these days idk why youd piss money on a fake one
>>
>>103224309
I mean Teamgroup SSDs are fine and work properly but are very budget-core.
IMO it's better just to buy Crucial MX500s these days if you need/want SATA SSD storage cause they're cheap but also speedy and have DRAM.
>>
is there any linux tool to easily set a framerate limit for videogames similar to Riva tuner Statistics Server on MS/Windows ?
>>
>>103224377
Gamescope or libstrangle
>>
>>103224295
this is basically what I'm doing so far, I think. Or is there any major difference between
 $ (cd /;for f in * ; do echo "$f"; done | head -1) 

and just
 $ (cd /;for f in * ; do echo "$f"; break; done) 

?

I'm asking because I'm not sure how for exactly works, whether it just takes the first element, does stuff and continues with the next until it finds that there is no next any more. But this is what I thought rm * would do.
>>
>>103224405
Pretty sure the effect should be the same. The loop won't do anything else after the break.
>>
>>103224412
Yeah, I just wasn't sure if >for doesn't make a list in which it stores every element to prevent getting trapped if the loop keeps constantly producing new files which then again would feed the for loop further.
Pretty sure this initial listing (I'm not sure if this term is correct or not) is the problem that causes problems with ls when trying to handle too many elements.
>>
>>103217117
Why does gentoo default to using sysvinit as /sbin/init instead of using openrc-init? it takes like 5 seconds to make the change as listed in https://wiki.gentoo.org/wiki/OpenRC/openrc-init but i see no reason why this isnt already the default.
>>
>>103217753
You're mostly stuck using armbian or whatever distro the vendor provides if youre not using a raspberry pi
Raspberry pi has support on a ton of distros since all they need to do is port over the firmware,kernel,device tree and userspace
>>
>>103224994
Because they've always done it that way and never bothered changing it in the profiles. It's easy enough to make the change yourself.
>>
>>103218522
if you have wpa supplicant you can just do
wpa_passphase SSID PASSWORD | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf 

and do sudo systemctl restart wpa_supplicant
>>
>>103225046
Is there any risks to changing the default to openrc-init? that's the only reason i could think of for why the gentoo devs didnt make it the default.
>>
>>103225066
Not really, just they don't like to make major changes to profiles for no reason.

They'd probably want to do it in a major profile upgrade (i.e a new version of the profiles you see in
eselect profile list
).
>>
>>103220498
This got updated a long time ago to having only one hand instead of two because that meme lived rent-free in their heads despite them constantly in denial about it not looking like one
>>
>>103225096
>major profile upgrade
They missed the chance when the profile numbering updated from 17 to 23 if that's what you mean.
>>
>>103225173
Yes, that would have been the time to do it. Maybe do it in the next version, and role it into usr-merge (right now OpenRC profiles still use split-user, might as well unify that with the Systemd ones).

I'm not a developer though, so what do I know? I just make whatever changes I want to myself.
>>
>>103225239
I prefer split-usr and i hope they dont remove that option
>>
>>103222332
>The weird thing is that I downloaded the windows version to play via wine and it works like magic, so I don't understand why the native version doesn't work.
Typical, means they botched the Linux port. Possibly while making the Windows version to play nice with Wine.
>>103223096
How is DRAM relevant regarding writes?
>>103223113
>>103222123
Don't most Arch issues resolve by copy pasting something from the front page?
But yeah sure, snapshots would be nice simply when reconfiguring or trying out something weird.
>>103223733
So there's a VeraCrypted partition eh?
>add a crypttab entry
This reveals what's inside the encryption as /dev/mapper/something
>add an fstab entry for /dev/mapper/something
Now we are just assuming /dev/mapper/something is a readable filesystem. NTFS I assume? You coming from Windows and all.
>create the mountpoint you put in fstab
>>
>>103225276
What do you prefer about it? Are you one of those weirdos that uses a separate partition for /usr?

For the vast majority of people the split doesn't really make any sense, and merging /usr simplifies things a lot (no need to look in multiple directories, etc).
>>
I have a (mostly working) Arch+hyprland install, it even launches some steam games.
Any guide on how I pirate shit in this?
In windows it was easy enough to just copy the crack into the install folder most of the time.
How do I do the same in Arch?
>>
>>103217117
I'm Using Fedora/Wayland
I want to create a macro that can be turned on and off that spams the J key and middle mouse button when I hold the middle mouse button.
What's the simplest way of doing that?
>>
>>103225296
I prefer split usr because it makes it easier to list commands in the split /bin,/sbin,/usr/bin/usr/sbin directories instead of shoving everything under /usr/bin like arch and other distros do.
Nothing to do with separate partitions
I dont really care if they merge the /libs i just dont want /bin to be merged
>>
>>103225461
But which commands do you think should go in which directory? The entire distinction between them has been lost with history and some build-systems don't handle the split well at all.
>>
>>103225057
thanks i figured out that i had to set some variable for it to find my hidden SSID
>>
>>103225495
>and some build-systems don't handle the split well at all.
There was always more configuring in that VS just doing
>"/usr is the root of everything"
>>
>>103223096
DRAM-less means nothing for safety, it affects performance and should barely affect endurance. There is an increase in reading due to no cache for block allocation tables, but writing stays almost the same, some small % of sector rewrites might've been absorbed by a cache, but that's it.

I'd just get an MX500 or something. Wait for black friday if you're gonna open your wallet.

>>103223343
It's the font rendering, the defaults on some distros are insane. Try to tune it to your liking, you'll get used to it eventually.

>>103225664
>hidden SSID
Aren't those deprecated or something? You know it does nothing for security right?
>>
>>103225679
>Aren't those deprecated or something? You know it does nothing for security right?
maybe he's doing it just to prevent average people knowing he has a wifi network. yea it does nothing for security, but there's other possible uses
>>
>>103225291
>Typical, means they botched the Linux port. Possibly while making the Windows version to play nice with Wine.
Good to know for the future, lol.
>>
>>103225670
So should a program install itself into /bin or /usr/bin or maybe /sbin or maybe /usr/bin. Which should it use and why? It's all arbitrary and seemingly done for no reason at all. The old historical reasons for doing so certainly don't apply anymore.
>>
>>103225679
>Aren't those deprecated or something?
No, it's not "deprecated" to leave the SSID out. And yes, it does shit regarding security, it's just a field among others.
And who knows, maybe it's relevant to him. Like having a kiosk or whatever and don't want your 'technical' access point to saturate your customer's Wi-Fi list.
>>
>>103225722
It's a common ailment with games, Aspyr's shit port of Civ V for example.

>>103225733
>>103225711
>prevent average people knowing he has a wifi network
It's still detected as a "hidden network". Omitting an SSID is out of spec and just serves to cause problems.
>>
>>103225765
>It's a common ailment with games, Aspyr's shit port of Civ V for example.
That's a shame, what do you think causes it? Just not enough knowledge about the os?
>>
>>103226318
Native ports are usually carved off to the lowest bidder and they do a shit job of it. It's usually not the same studio doing work on it but somebody else they're paying pennies to do for them.
>>
>>103225495
it would be better if there was a /bin split between base system programs and programs explicitly installed by your package manager like how the bsds do it by having all the package manager stuff installed into /usr/local to separate it from the base system
>>
>>103226440
not him but the issue is how you define if a package should be in "base" or "addon" directories?
like in windows this is easy, anything that came with windows is "base" stuff, and anything that isn't is "addon". but more importantly, on windows you can't change the base system, you can disable a handful of predetermined things sure, but the vast majority of the base system is both set in stone and present on any windows installation
on linux though, everything is componentised, and replaceable. including what came with the installation. like as an example, would grub be a base package? would be reasonable to assume so. but then what if the user removes it an installs systemd-boot instead? or does an efi stub kernel with no bootloader? do those become part of "base"? labelling grub as base now seems arbitrary, like a whole different folder structure for programs that were preinstalled, but otherwise as interchangeable as user applications? for what purpose?
>>
>>103225731
Basically core unix utils and stuff for the base system should be installed to /bin and /sbin if it requires root
Everything else should be in /usr
https://man.openbsd.org/hier
https://man.freebsd.org/cgi/man.cgi?hier
https://man.archlinux.org/man/hier.7
There's no real consensus on what should and shouldnt be in /bin but anything would be better than just flooding /usr/bin and making it impossible to look for anything without scripting it.
>>
>>103226572
Grub wouldnt be a base package, no. Same for systemd-boot. It would be more for things that the system cant really run without when booted such as the shell, coreutils, networking(as in iproute/ip, ping, etc. not a network manager), shutdown/reboot, the init itself obviously.
>>
I'm test-driving a used GPU before purchasing, for some reason VRAM frequency won't go past 875 MHz in any kind of workload (according to specs it should be 1750 MHz). What could be wrong? GPU: Asrock RX 6600 Challenger D; Fedora 41, kernel 6.11.7, Mesa 24.2.7.
>>
>>103226600
many distros do have a set of packages which you can't really replace without diverging enough from the distro as to break most packages
like in most distros you can't swap out glibc or remove coreutils without breaking everything, so sure, within the confines of a specific distro there are packages that are irreplaceable as far as the distro is concerned, but this is usually a very, very small number of packages
>>
>>103226623
875MHz * 2 = 1750MT/s
typical confusing thing about ram is that they often do two transfers per clock, which leads to some things showing their true clock frequency, or their transfer speed/"effective" clock frequency
>>
>>103225302
It's the same procedure, you get em cracked or you get the crack and you copy it into the install folder (inside each prefix)
>>
>>103226654
Thanks, I knew that about the regular DUAL DATA RATE memory, but I forgot it also applies here.
But it's still something fishy about this GPU (or so it seems), for some reason it gets "throttling" in some games, and it won't go past 50 degrees Celsius and 100W power consumption.
>>
I checked out the flowchart but I'm still a bit lost.
I'm looking for a distro that'll run libre office (or some other spreadsheet software), connect to the internet for light use, and print to a physical printer with minimal setup and low hardware requirements. I'm inclined to guess that most of the popular distros can handle this but I figured I'd ask first because last time I set up a little linux machine it took days to get all the drivers for things like printers working.

I just want a machine that boots up fast, lets me enter data quickly, doesn't fuck me over with automatic updates and built-in ads like windows does, and doesn't try to charge me a subscription for half the services.
>>
>>103224470
find / -mindepth 1 -maxdepth 1 | head -1

Is about as fast as you're going to get in a shell script. You still have to wait for head to terminate and send SIGPIPE back to find, but afaik find doesn't bother reading the entire directory before starting to list like the shell does. If that doesn't work, you can always us a short C program to read exactly the 3rd entry after . / .. and nothing else:
#include <stdio.h>
#include <sys/types.h>
#include <dirent.h>

int main (void) {
DIR *dp;
struct dirent *ep;
dp = opendir ("./");
if (dp != NULL) {
int count = 0;
while ((ep = readdir (dp)) && (count < 2))
count += 1;
puts (ep->d_name);
(void) closedir (dp);
}
}

That was just lifted from gnu.org/software/libc/manual/html_node/Simple-Directory-Lister.html
>>
>>103226819
Most of the distros with a lightweight DE would do that for you, but you need to research how to install drivers on your particular printer beforehand. Also, for LibreOffice use I would recommend something more "bleeding edge", like Fedora, in "stable" distros' repositories LO tends to be outdated (except openSUSE Leap, for some reason).
>>
>>103226810
i happened to pick up a 6600 just the other day, and yea, it throttles with temperature/power easily
running furmark vk specifically it hits a current limit for me at around 100W, even though i pushed that limit to 120W
i can get a bit more performance out of it by undervolting it a bit, this reduces power usage/heat generated and so allows itself to push its' clock a bit higher
>>
>>103226810
>>103226890
>>
>>103226857
Thanks for the information. Is there a better alternative to LO? I'm not married to it. I just need a spreadsheeting software that's got basic modern spreadsheet features that doesn't charge a subscription or require a constant internet connection like google sheets.
>>
How to dump all the traffic from a network interface (DNS request, etc) in log form?
>>
Gnome on Wayland feels super smooth but on x11 it looks really stuttery, things like resizing the window look really odd, like it's frameskipping or something.
Is there any way to fix that? I don't really want to move to wayland yet. Kitty also doesn't get the fucking window decorations there so I'd have to change terminals too.
>>
>>103225291
>Don't most Arch issues resolve by copy pasting something from the front page?
No, since those aren't issues - you just gotta do what they tell you there, easypeasy.
>>
>>103226421
makes sense
>>
>>103227052
As shit as Gnome is, I doubt that it's that bad.
>>
>>103227014
tshark -i <your interface> -w <your log>
>>
>>103226918
I'm sorry, but are those graphics generated by Furmark?
>>
$ iw reg get
global
country 00: DFS-UNSET
...
phy#0 (self-managed)
country DE: DFS-UNSET
...

Why did my Wi-Fi pick Germany as the regulatory domain? Is it baked into the hardware? Bought it from EU.
I managed to change the global setting but did no good on the actual interface.
>>
>>103227163
no, that's from LACT
>>
File: image.png (50 KB, 683x482)
50 KB
50 KB PNG
>>103217117
>can’t fix crackling sound
>now my internet is dying
Oh, ffs, how to fix this?
>>
File: 1728691473135562.png (7 KB, 256x256)
7 KB
7 KB PNG
>>103217117
>WM to minimize resource usage
>monitor properly configured
>zen kernel
Anything else I can do to minimize input delay, and maximize performance in games? And is borderless any worse vs fullscreen?
>t. ultra sweaty compfag on hyprland
>>
>>103227341
>minimize resource usage
>hyprland
bro?
>>
>>103227120
Cool I guess? What's the point of your reply?
>>
>>103227352
It's a WM instead of a DE, that means it's not using a ton of resources, right?
Right?
>>
>>103227366
gods most retarded soldier right here
>>
>>103227362
Whatever your problem is, it probably isn't Gnome itself.
>>
>>103227380
Never said it was Gnome's issue, I just don't know how to fix it.
>>
>scale dpi by 1.5 in sway
>my custom folder thumbnails and spacing in thunar gets fucked
so close
>>
>>103227372
This isn't helping if you don't tell me what I'm missing
>>
>>103227366
No, it's a compositor because wayland doesn't have this WM vs. DE distinction. Everything is a compositor.
As for Hyprland, let me quote the dev:
>Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
>>
>>103227341
X11 is better for input delay and performance over wayland
Theres an x11 version of hyprland called hypr if you want the hyprland experience on x11
There's also gamescope which is supposed to do something in terms of gaming performance, i have no idea what exactly but valve uses it on the steam deck.
>>
>>103227397
A brain.
>>
File: 1727424721370500.webm (692 KB, 564x784)
692 KB
692 KB WEBM
>>103227401
Looked it up, and you're right. I am a fool.
Some other /g/ fag got up in arms when I called it a DE instead of a WM. This board is a fucking mess
>>103227404
>X11 is better for input delay and performance over wayland
A quick search tells me that the difference is from torn frames that are visible on x11, whereas wayland has a kind of forced vsync, is that right?
I'll also check out gamescope, thank you.
>>
>>103227486
Yeah wayland forces vsync to be enabled to prevent screentearing which can be a performance loss
I think theres work being done to allow an option for it to be disabled
>>
>>103227486
>>103227550
>forced vsync
I keep hearing this, and I won't pretend to know the technical details behind it.
But the 1 thing I can say is that whatever is happening cannot be anything like the typical vsync you experience in games.

I am very into fast paced FPS games, and turning on vsync is a laggy fucking mess. But I play on wayland and it feels like games should feel when vsync is off. There is no mouse delay or anything.
So if wayland is using some kind of forced vsync, as people say, it must be a very different kind of vsync than what games use. To me it just feels like it has no vsync at all.
>>
>>103227550
>I think theres work being done to allow an option for it to be disabled
Yeah, there was an option for it back on KDE iirc.
>>
>>103227550
>I think theres work being done to allow an option for it to be disabled
hyprland had that for a long time already.
>>
>>103217117
Getting blocked from installing lact on Arch with yay because of gst-plugins-bad-libs fail to download. I just checked their repo and it was updated a week ago. What's up with that? Do I have to install it with pacman first?
>>
God, I fucking hate Gayland
>>
>>103227640
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/65
>>
>>103227708
lact is also asking to change libva-mesa with mesa. What's the difference?
>>
>>103227881
Oh no I just figured out libva-mesa is just being replaced with mesa it has nothing to do with lact
>>
>>103227486
>>103227640
Wayland uses mailbox vsync which is faster. I personally can't tell the difference between no vsync and mailbox but FIFO or relaxed can sometimes be noticeable.
>>
>>103227708
>>103227881
>>103227904
LACT installation went fine once libva-mesa was replaced by mesa
>>
>>103217117
Whys it so fucking hard to get OBS to record lossless?
>>
File: file.png (126 KB, 1358x1080)
126 KB
126 KB PNG
>>103228234
huh?
>>
>>103228234
because there are no lossless video codecs
>>
>>103228282
H265 has a lossless mode.
>>
>>103228234
I can guarantee you that nothing you record on your PC can be produced at such a quality that you'd want to archive it without loss.
>>
>>103228297
not lossless as in the recording will look identical to the screen input, pixel by pixel
I assume that's what that guy wants
>>
>>103227052
Fixed, it was the vertical sync. If anyone is facing this issue you need to either enable Tearfree or Force Full Composition Pipeline if you're on nvidia.
Also the X11 color profile is completely fucked by default so I had to change that too.
>>
retarded distrohopper here, how easy is it for me to fuck up and format my /home partition if i tried to install arch linux?
>>
>>103228719
Seriously what's the point of these retarded senseless questions? Do you just need a friend to read your blogpost? What sort of reply are you expecting?
>>
>>103226825
Thanks, need to add
  -type f printf "%f\n" 
to get just the filename
>>
>>103228282
There is ffv1. I agree with >>103228413 though. >>103228234 You don't want this. Unless you have petabyte hard drives we don't know about all you're going to do is fill up your disk space very quickly. Just set the bitrate sufficiently high to achieve the quality you're after.
>>
>>103228716
>Also the X11 color profile is completely fucked by default so I had to change that too.
It will probably stay fucked. X11 colour management is very poor. They just force everything into the same colour space and pray and hope that works.

With Wayland we should finally get proper colour management once they push the protocol for doing that over the finish line (there's already some experimental support in GNOME and KDE though).
>>
>>103230591
>With Wayland
>once they
2 more weeks
>>
>>103230591
I'm not really sure why or how it happened but I don't think it was X11's fault. It's like the wrong color profile was in use even though I've never even messed with it ever before and was set up with the default one. I'm not really interested on how this happened so I didn't dig into it.
The colors were heavily saturated and dark, but just some of them in some places? Pictures in firefox looked almost creepy from the saturation, while my desktop wallpaper was fine. Anyway, switching to a different color profile than default then rebooting fixed it.
I've used this same monitor on a different PC, same distro and very similar (but older, that was last year) packages and never seen this issue before.
>>
>>103230611
What is wayland and why do people keep on bringing it up?
>>
>>103226890
>>103226918
in the thumbnail it looks like a poppy seed bagel
>>
Whats the current state of open suse tumbleweed?
I have an ssd being wasted on windows for a few games i haven't touched in a year. I've been itching to put linux on it for while now. I have arch on another drive and mint on the laptop. I really would rather have another rolling release distro. I see it as a bonus for rpms since im using apt and pacman.
>>
>>103230611
Clearly, you haven't been following development closely enough. Yes, it may not be done in two weeks but KDE and GNOME having preliminary support is the first step in getting the protocol over the final hurdle.

By next year I expect it to be merged at some point, unless some retard brings up some imaginary problem and stalls the thread for another 6 months, etc.
>>
>>103230688
It is a modern display server from scratch. It gets a lot of attention because it fixes a lot of the problems of its predecessor but since it's still new there is also still missing features and functionality (most of which is irrelevant and slowly getting whittled down.).
>>
Is there a better distribution than Arch or have I already peaked?
>>
File: file.png (1.18 MB, 1437x1112)
1.18 MB
1.18 MB PNG
What the current state of Intel Arc on linux? For gaming.
Might replace my nvidia gpu with Battlemage.
>>
>>103231420
Arch is pretty much peak Linux for most people. If you want even more fine grain control though you'd use Gentoo.
>>
>>103231421
Complete irredeemable shit. Intel made their Windows DX back-end dxvk and the Linux version couldn't even run dxvk properly until 2 years after release. Arc has 0% Steam market share for a reason. Like, they need to make a 9 figure investment in drivers which is currently not in evidence.
>>
>>103231481
I will just get RDNA4 then
>>
I just wrote a script to update the kernel on OpenWRT snapshots along with the version in the installed Apk database because they don't have the kernel package in a repository anywhere.

This is fucking ugly. Apk is more strict than Opkg so it actually checks these versions, even though I'm not using their kernel (I compile my own). I hope they can make a rolling snapshot someday.

#!/bin/sh
if kernel="$(curl --fail -s -L https://downloads.openwrt.org/snapshots/targets/x86/64/kmods | grep -ohE 'href=".*-.*"' | awk -F= '{print $2}' | awk -F'"' '{print $2}' | sed 's|/||g' | tail -1)"
then
if ! grep -q -F "$kernel" /etc/apk/repositories
then
if ! tmpdir="$(mktemp -d)"
then
exit 1
fi
cd "$tmpdir" || exit 1
if ! curl --fail -s -L -o openwrt-x86-64-rootfs.tar.gz https://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-x86-64-rootfs.tar.gz
then
rm -rf "$tmpdir"
exit 1
fi
if curl --fail -s -L -o /boot/openwrt-x86-64-generic-kernel.bin https://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-x86-64-generic-kernel.bin
then
tar -xvf openwrt-x86-64-rootfs.tar.gz -C / ./lib/modules ./lib/apk/packages/kernel.list || {
rm -rf "$tmpdir"
exit 1
}
old_kernel="$(grep -E '^P:kernel$' -A1 /lib/apk/db/installed | tail -1)"
new_kernel="$(echo "$kernel" | xargs -d'-' | sed '/^$/d' | awk '{print "V:" $1 "~" $3 "-r" $2}')"
sed -i "s|${old_kernel}|${new_kernel}|g" /lib/apk/db/installed
sed -i "s|.*kmods.*|https://downloads.openwrt.org/snapshots/targets/x86/64/kmods/${kernel}/packages.adb|g" /etc/apk/repositories
fi
rm -rf "$tmpdir"
fi
fi
>>
>>103231420
debian
>>
>>103231420
How stable is artix?
>>
File: 1712829468057339.png (284 KB, 1025x1040)
284 KB
284 KB PNG
so i've been on arch kde wayland for a few days now and i just can't figure out the source of this memory leak. i think it's gotta be kde as this was not happening with xfce. how do i actually find out the source?
>>
>>103217117
hey anons I've got a 1060 still going but its time to upgrade and give him some well earned rest. I want to switch to AMD. If anyone has switched recently could you let me know your experience? I've never changed hardware on linux. I'm on popOS nvidia version right now.
>>
Retard here. I wrote a dumb script with nautilus/GNOME in mind so that when I right click an audio file and select the script, I can just convert the flac/m4a/wav into mp3 and put it inside an mp3 folder so it's less cluttered/easier to find.
I'm trying to rework it so that I can convert whole folders. This is what I have so far.

#!/bin/bash
for i in "$@"; do
if [ -f "$i" ]; then
mkdir mp3
for i in "$@"; do ffmpeg -i "$i" -q:a 0 mp3/"${i%.*}.mp3"; done
notify-send "Done!"

elif [ -d "$i" ]; then
mkdir "$i"/mp3
cd "$i"
for f in *.flac *.m4a *.wav; do ffmpeg -i "$f" -q:a 0 mp3/"${f%.*}.mp3"; done
notify-send "Done!"
fi
done


So this does work with folders but it has the limitation of not being able to convert nested folders. So let's say an album has like a CD1 or CD2 folder, it won't convert the files inside that, but I'm not sure how to tackle this. Does anyone have any ideas?
>>
>>103231420
>>103231427
From the basic binary distros, I'd say so. AUR is alien to me but Arch itself provides a nice rolling release base system for whatever purposes.
Like if I want to pull a Linux userland from my hat, I do it with Arch now instead of Debian. Sadly Arch is a bit bloated, they don't chop up anything from upstream into smaller bites.
t. casual Linux user since 2001
>inb4 "noooo, AUR is great and the only reason to use Arch"
Whatever "weird" software I need, I already neckbearded distro-agnostic ways around them. And I encourage every Linux user to 'get around distros' on every angle they get. (especially the kernel(+bootloader))

>>103231671
What's the point any more? Servers? How's Debian any better than let's say RHEL or Fedora?
Besides an Arch server blasts pirated anime just fine in the corner my basement. Why shouldn't I use Arch for servers too?
>>
>>103231886
The people that maintain DE packages in the Arch repos keep them quite modular if anything, especially KDE's.
>>
>>103231547
set -e
tmpdir=
trap 'rm -rf -- "$tmpdir"' EXIT
tmpdir=$(mktemp -d)

You can now remove half the script.
>>
>>103226575
>but anything would be better than just flooding /usr/bin and making it impossible to look for anything without scripting it.

Scripting isn't exactly difficult and since binaries are strewn all over the place you'd need to do that anyway. If you want to find anything. There's no single place for all binaries.

On a Gentoo system you can do something like this to list all binaries belonging to all packages on the system:
$ find -L /var/db/pkg -name CONTENTS -print0 | xargs -P$(nproc) -r -0 -I{} /bin/sh -c 'p="{}";p="${p##\/var\/db\/pkg\/}";p="${p%%\/CONTENTS}";bins="$(awk "{print \$2}" {} | grep -E "^/(bin|sbin|usr/bin|usr/sbin)/")";[ -n "$bins" ] && printf "%s:\n%s\n\n" "$p" "$bins"'
>>
>>103231881
Use a NULL_GLOB option and replace like line 4 or 10, do like
#!/usr/bin/env bash
set -o errexit nullglob
for d in **/**/; do
(cd "$d" || return 1
ffmpeg -i "$f" -q:a 0 mp3/"${f%.*}.mp3");
done

if you just wrote a function to do your ffmpeg command, you could write a bunch of other shell code to change to whatever directories you want and call your function. If the **/**/ glob doesn't work the same as it does in zsh, (globs directories only) then understand the point is to use a glob matching directories with a */
>>
>>103231927
Even better:
(Prints the package name in bold and also lists its description)

find -L /var/db/pkg -name CONTENTS -print0 | xargs -P$(nproc) -r -0 -I{} /bin/sh -c 'p="{}";p="${p##\/var\/db\/pkg\/}";p="${p%%\/CONTENTS}";bins="$(awk "{print \$2}" {} | grep -E "^/(bin|sbin|usr/bin|usr/sbin)/")";[ -n "$bins" ] && printf "$(tput bold)%s$(tput sgr0) (%s):\n%s\n\n" "$p" "$(cat /var/db/pkg/"$p"/DESCRIPTION)" "$bins"'
>>
>>103217117
>>
>>103231986
>. If the **/**/ glob doesn't work the same as it does in zsh,
It doesn't work at all in Bash. It's a Zsh only feature.
>>
>>103231986
It took me a while to understand your post since I didn't even know what a glob was (like I said in the beginning, I'm fucking retarded.) But I think I got it. I'm not sure I like the execution of this since there's like 3 loops going on but it does seem to work.

#!/bin/bash
for i in "$@"; do
if [ -f "$i" ]; then
mkdir mp3
for i in "$@"; do ffmpeg -i "$i" -q:a 0 mp3/"${i%.*}.mp3"; done
notify-send "Done!"

elif [ -d "$i" ]; then
shopt -s globstar nullglob autocd
for d in **/**/; do
cd "$d"
mkdir mp3
for f in *.flac *.m4a *.wav; do
ffmpeg -i "$f" -q:a 0 mp3/"${f%.*}.mp3";
cd ..; done
notify-send "Done!"
done
fi
done
>>
>>103217117
Is it easy to run game mods on Linux?
>>
>>103232428
Depends on the game. From my experience, you can mod games like Skyrim/Fallout but you won't be able to use any ENB. For Skyrim in particular, the performance on a heavily modded game will be pretty shit compared to Windows. Every other game I've tried has been pretty straightforward with little to no performance loss.
>>
>>103231421
i915 driver has problems with dx12 games, xe driver has no hardware decoding on the dgpus iirc, it works with the igpus and i hope their next gpus.
>>
>>103232423
I would avoid using loops in the first place and use find + xargs.

Does something like this do what you want?

find "$@" -maxdepth 1 -type f -regextype egrep -iregex '.*.(flac|m4a|wav)$' -print0 | xargs -r -I{} -P$(nproc) -0 /bin/sh -e -x -c 'cd "$(dirname "{}")";d="$PWD";cd -;f="$(basename "{}")";mkdir -p "${d}/mp3";[ -e "${d}"/mp3/"${f%.mp3}" ] && exit 0;ffmpeg -i "{}" -q:a 0 "${d}"/mp3/"${f%.*}".mp3'  && notify-send 'Done!'


No ugly loops.
Works for files and directories.
Parallelism.
>>
>>103232592
Whoops, I fucked up the existence check, to see if mp3 files already exist in the mp3 folder:

find . -maxdepth 1 -type f -regextype egrep -iregex '.*.(flac|m4a|wav)$' -print0 | xargs -r -I{} -P$(nproc) -0 /bin/sh -e -x -c 'cd "$(dirname "{}")";d="$PWD";cd -;f="$(basename "{}")";mkdir -p "${d}/mp3";[ -e "${d}"/mp3/"${f%.flac}.mp3" ] && exit 0;ffmpeg -i "{}" -q:a 0 "${d}"/mp3/"${f%.*}".mp3'  && notify-send 'Done!'
>>
>>103232621
Should be %.* not %.flac:

find "$@" -maxdepth 1 -type f -regextype egrep -iregex '.*.(flac|m4a|wav)$' -print0 | xargs -r -I{} -P$(nproc) -0 /bin/sh -e -x -c 'cd "$(dirname "{}")";d="$PWD";cd -;f="$(basename "{}")";mkdir -p "${d}/mp3";[ -e "${d}"/mp3/"${f%.*}.mp3" ] && exit 0;ffmpeg -i "{}" -q:a 0 "${d}"/mp3/"${f%.*}".mp3'  && notify-send 'Done!'
>>
>>103232592
>>103232621
>>103232651
The only thing this won't do is nest deeply into directories because of the -maxdepth 1 but I assume that's desired.
>>
>>103232592
>>103232621
>I would avoid using loops in the first place and use find + xargs.
I tried doing that initially but I couldn't get it to work, for loops seemed easier to work with since I'm not really someone who writes scripts/code regularly. What you posted does not really work for the use case I'm playing with.
if I'm on /home/music/artist1
and artist 1 has a folder called cd1 and a stray .flac file on the root directory it'll only convert the .flac in the root directory but not cd1 even if I selected to convert the folder with right click -> script
>>103232651
This works perfectly if I change the maxdepth to 2 or 3. Thank you. RIP my effort and script though, at least I learned something new. lol
>>
I have not booted into my Arch Linux setup for a few months now. How fucked am I when I run pacman updates?
>>
>>103232815
All you need to do is update your mirrors using reflector and then run "sudo pacman -Sy archlinux-keyring && sudo pacman -Su"
Should update everything fine. Then just use pacdiff to fix up any pacnews or what have you afterwards.
>>
File: 1699718783991138.jpg (316 KB, 1168x2048)
316 KB
316 KB JPG
i've been using ZFS for years now and i'll be adding some storage and I was thinking about moving to LVM+ext4+luks because it's just so. fucking. slow. and unreliable
i use pretty much every feature it has to offer
>snapshots
>lz4 compression
>native encryption
>software raid in the future
>subvolumes (extensively)
>zfs send etc. for backup
can i recreate that setup? ideally i'd want to exclude certain directories from snapshots and have subvolumes have dynamic size allocation depending on where i need it
>>
>>103217117
My boot SSD is formatted with btrfs and I got a message saying that space_cache=v1 is being deprecated and that i should switch to v2. So do i just change the boot options in fstab or what?
>>
>>103217117
Can paint.net be ported to linux?
>>
>>103233276
are you retarded
>>
>>103232815
roughly around 0
>>
>>103233156
>it's just so. fucking. slow.
>I use pretty much every feature
found your problem.
>>
>>103233441
ok what is it
>>
>>103233458
If you want performance you shouldn't use unnecessary features that cost you performance. Which filesystem you use doesn't matter at that point.
>>
>>103233380
Prolly
>>
>>103233478
lmao where did you get THAT from retard
>>
Kubuntu refuses to make a partition for install. Well fuck it then
>>
>>103231730
very
>>
i3wm is very plain.
Is there better ricing options?
>>
>want to disable middle mouse paste behavior in xfce so I can use browser-based applications that use MMB properly
>another rabbit hole later, and I realize it cannot be done (at best you can disable middle mouse in SOME browsers, can't use it to scroll pages)
From what I can gather, all developers of GUI applications just independently decided to make middle mouse click act as CTRL+V specifically in the Linux versions of their software, even if it overrides the function that same button has on other platforms. Wtf?
>>
>>103233761
Use KDE instead of fighting your computer.
>>
>>103233883
I last used it ~5 years ago because it seemed shiny and modern looking, but all the bugs and crashes made me give up on it completely. Is it any better now?
>>
File: img-2024-11-19-11-53-17.png (682 KB, 1000x1000)
682 KB
682 KB PNG
Should you be running privacy.sexy on linux?
>>
>>103233971
privacy.sexy is a Windows script
>>
>>103233984
No, it's win/mac/linux
>>
>>103234154
Well personally I'd think that using a script like that on a Linux install is pretty much unneeded.
>>
>>103234160
I don't know why, it just removed diagnostic files mostly and kill ubuntu process.
I saw arch somewhere there but it just disable crash telemetry.
>>
>>103233895
Much better. Plasma 6 is a lot more stable than Plasma 5 at this point. All of the LTS distros that are still shipping dead Plasma 5 with dead Qt 5 (Qt 5 LTS is EOL) are doing it wrong.
>>
>>103233984
>>103234154
What does it even do?

Seems like it just deletes cache and history because of course not remembering your commands and webpages loading slower is better for "privacy".

Maybe if you're the sort of schizo that loses sleep of immaterial things like that.

https://github.com/undergroundwires/privacy.sexy/blob/master/src/application/collections/linux.yaml
>>
>>103234652
Also, if you are that sort of schizo I'd highly suggest a read-only medium for your OS or tmpfs.
>>
>>103234652
When it comes to Windows usage it's just a script service that can make custom scripts that automatically set registry entries that disable telemetry collection and the like. Plenty of programs like that on there.
Personally I like using ShutUp10 instead, but installing answer files like UnattendedWinstall are also good.
>>
>>103234694
I get why you'd want to use it on Windows, it obviously does a lot more data collection than Linux.

But deleting your Bash history and Firefox cache, really? I suppose you could argue that not having that data is better for your privacy (you can actually configure your shell not to save that)
>>
>>103231908
Thanks, that's useful. For some reason I always thought that trap usage like this is a Bash feature and not usable from POSIX shell. I've been avoiding it all this time, I looked it up though and it works.
>>
>>103234710
Yeah the usage of privacy.sexy on Linux does seem pretty schizo, but what can you do.
>>
I have become old and switched to linux lts
>>
>>103235080
You were supposed to Install Gentoo and grow a beard
>>
df says my / of 419 GB is full, Gnome Disks says it's 411 GB with 20 GB free. 411/419 might be a gigabyte/gibibyte thing, I don't care. But why does Disks think there's 20 GB of free space? Doesn't it just call df internally?
Bog standard ext4 config btw.
>>
>>103231547
>line 2:
if kernel="$(curl --fail -s -L https://downloads.openwrt.org/snapshots/targets/x86/64/kmods | grep -ohE 'href=".*-.*"' | awk -F= '{print $2}' | awk -F'"' '{print $2}' | sed 's|/||g' | tail -1)"

>line 23:
new_kernel="$(echo "$kernel" | xargs -d'-' | sed '/^$/d' | awk '{print "V:" $1 "~" $3 "-r" $2}')"

It's time to learn Awk, anon.
>line 2:
if kernel="$(curl --fail -s -L https://downloads.openwrt.org/snapshots/targets/x86/64/kmods | awk -F'["/]' '/href=".*-.*/ {tail = $4} END {print tail}')"

>line 23:
new_kernel="$(echo "$kernel" | awk -F'-' '{print "V:" $1 "~" $3 "-r" $2}')"
>>
>>103235182
>It's time to learn Awk, anon.
I really should but I'm not sure I want to sit down and read the manual. Awk can definitely do all of that echo, Xargs, sed in one line, I just don't know what that line is.
>>
File: 1712343581227169.jpg (76 KB, 527x551)
76 KB
76 KB JPG
>Fixed in version 6.2.4
So when is kwin next getting updated?
>>
>>103235270
Gentoo doesn't have this problem thanks to its always up-to-date KDE overlay.
>>
>>103231547
The final script is looking a lot more cleaner now:
#!/bin/sh

set -e
tmpdir=
trap 'rm -rf -- "$tmpdir"' EXIT
tmpdir=$(mktemp -d)
cd "$tmpdir"

if kernel="$(curl --fail -s -L https://downloads.openwrt.org/snapshots/targets/x86/64/kmods | awk -F'["/]' '/href=".*-.*/ {tail = $4} END {print tail}')"
then
if ! grep -q -F "$kernel" /etc/apk/repositories
then
curl --fail -s -L -o openwrt-x86-64-rootfs.tar.gz https://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-x86-64-rootfs.tar.gz
if curl --fail -s -L -o /boot/openwrt-x86-64-generic-kernel.bin https://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-x86-64-generic-kernel.bin
then
tar -xvf openwrt-x86-64-rootfs.tar.gz -C / ./lib/modules ./lib/apk/packages/kernel.list
old_kernel="$(grep -E '^P:kernel$' -A1 /lib/apk/db/installed | tail -1)"
new_kernel="$(echo "$kernel" | awk -F'-' '{print "V:" $1 "~" $3 "-r" $2}')"
sed -i "s|${old_kernel}|${new_kernel}|g" /lib/apk/db/installed
sed -i "s|.*kmods.*|https://downloads.openwrt.org/snapshots/targets/x86/64/kmods/${kernel}/packages.adb|g" /etc/apk/repositories
fi
exit $?
fi
fi
>>
File: 1534267396891.jpg (125 KB, 750x823)
125 KB
125 KB JPG
Damn Linux thread speaking about stability all the time but never defining it.
>>103234624
Who says Plasma 6 isn't stable? Whatever they mean by stability. If a distribution ships Plasma 6 and never upgrades to 7, doesn't that count as being "stable Plasma 6"?
t. non-KDE-user
>>
>>103235512
When people ask about stability they mean the normal definition, i.e doesn't Krash.

They aren't talking about the molecular/chemical definition that Debian likes to use (i.e if it fizzes, it's bad. It needs to remain dying and unchanging forevermore)
>>
https://tracker.debian.org/news/1576528/accepted-mesa-2424-1bpo121-source-into-stable-backports/
>mfw they're backporting mesa from now on
Why did no one tell me? :O
>>
>>103235642
Kind of:
> * Disable rusticl, requires rust components (rustc >= 1.73 and bindgen)
> not in Bookworm.
> * Disable NVK, requires rust components
>(librust-syn-dev >= 2.0.68)
> not in Bookworm.

What's the point of a Backport that's disabling features because you're shitty museum piece lacks the necessary components for it to be useful. Granted, rusticl and Nvk probably aren't a huge loss but in the future somebody will want to use them. Clover is also going away soon so Rusticl will be the only supported driver upstream for OpenCL.
>>
>>103233971
JOKES ON YOU PICTURE I JUST SHAVED MY HEAD SHORT SO EVERYONE CAN REVEL IN MY SLOW BALDING!!!
>>
>>103233761
What browser are you using?
MMB is no problem at all in firefox. I use it mainly to close tabs and scroll pages smoothly.
>>
>>103235270
>https://community.kde.org/Schedules/Plasma_6
>>
File: file.png (82 KB, 1053x380)
82 KB
82 KB PNG
u wot m8
>>
>>103236141
People are building web shit that syncs local database access to a remote database now so you get speedy reads locally but writes synced to a remote db. People have been doing this for a while now. There ought to be a name for this phenomenon.
>>
>>103235128
20/411 is about 5%, the default reserved blocks value on ext4. The most likely scenario is that you have 5% of your disk free and that it's reserved for root.
>>
>>103235512
generally speaking, "stable" means it works as intended
what it means in a given context can differ. different software or project define it how they like, mainly in terms of how much testing is done prior to calling something stable, since there isn't a practical objective line where you can call something stable. think about the difference between someone building a program, using it once and it worked for them so they call it stable, vs. releasing a program as unstable, letting hundeds of people use it for a year, and only then calling it stable. there's a difference, even in cases where no changes needed to be made. there's so many variables most of the time that you can only really throw time at it to be reasonably sure
>>
>>103236158
well idk about this particular thing, but keeping a local copy of a remote resource for performance is called caching, and downloading more than you might need to a cache to reduce initial access time is called cache warming, generally speaking
>>
>>103231420
I hate archlinux because theres too many packages on the AUR that should be in the main repos
>>
File: file.png (5 KB, 147x210)
5 KB
5 KB PNG
I have a btrfs mount point with multiple drives for media and backup storage. In Dolphin, it shows each drive assigned to the mountpoint.
Is there any way to clean that up so it just shows one entry for Media and Backup? Not really a big deal, just aesthetics.
>>
>>103237274
Right click -> Hide?
>>
File: qbotf0c.gif (3.1 MB, 498x373)
3.1 MB
3.1 MB GIF
>>103237284
Oh.
I see.
>>
>>103231927
This misses the point that on a non-merged system i can do a simple ls of /bin and /sbin to look up system commands instead of everything being flooded in /usr
When i say system commands, i mean like stuff for the base system like the coreutils and unix-utils such as getent or printenv, a niche command that barely gets used other than one or two use cases but you would never know existed unless you knew what to look for.
>>
>>103235736
Doubt either rusticl or nvk are usable yet anyway. The problem is rust being shit to package in the first place since both golang and rust are anti-package manager programming languages
>>
>>103233971
Not really
It doesnt do much in the first place, since linux doesnt need the same amount of shit tweaked as win or mac does.
>>
>>103233200
what distro?
check your /etc/fstab, i think btrfs defaults to v2 when mounting if you dont specify anything
>>
>>103233156
you might want to switch to zstd compression first and see if it does anything to help, i have a feeling it wont though
you might as well just switch over to btrfs+luks instead of ext4 since btrfs can basically do everything you want minus native encryption, which would be covered by luks
i dont think btrfs can do dynamic size allocation either
>>
>>103230925
There's more desktops than just KDE and GNOME
>>
How can I force portage to ignore a package?
KDE (phonon) insists on using phonon-vlc as it's backend, which pulls the whole VLC package. I don't use VLC, so I tried searching an alternative and found that there's a package (and luckily an overlay) that uses mpv instead. So I unmerged phonon-vlc, emerged phonon-mpv and masked phonon-vlc but whenever I want to update my system (with -auvDN @world) it forces me to reinstall phonon-vlc
[~] > sudo emerge -auvDN @world

These are the packages that would be merged, in order:

Calculating dependencies ... done!
Dependency resolution took 22.63 s (backtrack: 0/20).

[ebuild N #] media-libs/phonon-vlc-0.12.0-r1::gentoo USE="qt5 qt6 -debug" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

The following mask changes are necessary to proceed:
(see "package.unmask" in the portage(5) man page for more details)
# required by media-libs/phonon-4.12.0-r4::gentoo[-minimal]
# required by kde-apps/dolphin-24.08.1::gentoo
# required by @custom-kde
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/custom-main:
=media-libs/phonon-vlc-0.12.0-r1

NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.

Would you like to add these changes to your config files? [Yes/No]

I could emerge phonon with the minimal flag, but I don't know which features i'd be gimping by doing that and I'd rather be safe than sorry. And I also don't know if adding phonon-vlc to package.provided is a proper solution because phonon might still try to communicate with phonon-vlc instead of the mpv alternative I installed.
>>
>>103237364
Debian sid but the install is old. I think it's v1 because i got this:
https://www.spinics.net/lists/linux-btrfs/msg148032.html
>>
>>103237364
Oh and fstab just has space_cache with no version specified
>>
>>103237593
I think if you just remove space_cache from fstab it will default to v2 automatically
>>
>>103237385
the issue with btrfs is that it's even more dogshit and slow than zfs
>zstd
lz4 is supposed to be faster thats why i chose it
i will probably still do luks for zfs if i dont decide to switch over to LVM because i've heard bad things about native encryption
>>
>>103237608
Ill get a live cd ready and see what happens
>>
Is there a tool to batch edit the creation/modification time of multiple files by an offset? I have some photos that have their time set starting from the camera's default time, and I know that the offset is e.g. 3 years, 6 days and 4 hours for all these photos.
>>
>>103238476
The usual way to do stuff like this is either a for loop, or preferably to use the find command. I don't know what your files are named like, or the directory structure, so you have to come up with your own find command.
Just make a find command that will print out all the files you want to modify. Once you have it, then to the end of that find command add the following:
>-exec sh -c 'touch -m -d @$(($(stat -c "%Y" '{}') + MODIFICATION_AMOUNT)) '{} \; -exec sh -c 'touch -a -d @$(($(stat -c "%Y" '{}') + ACCESS_AMOUNT)) '{} \;
For example to change all *.png files recursively:
find . -type f -name '*.png' -exec sh -c 'touch -m -d @$(($(stat -c "%Y" '{}') + MODIFICATION_AMOUNT)) '{} \; -exec sh -c 'touch -a -d @$(($(stat -c "%Y" '{}') + ACCESS_AMOUNT)) '{} \;

replace MODIFICATION_AMOUNT and ACCESS_AMOUNT by the number of seconds you want to change the timestamps by.
>>
What's a good voice chat platform? I used to like Mumble but their client is gigaretarded and still doesn't support Wayland properly. Is it really down to Matrix or Pisscorp?
>>
>>103239331
teamspeak
ventrillo
>>
>>103239377
>proprietary crap
>>
>>103239386
build your own foss alternative with blackjack and hookers then
>>
File: file.png (8 KB, 438x210)
8 KB
8 KB PNG
Where can I get a qaac linux build?
>>
File: error.png (16 KB, 479x162)
16 KB
16 KB PNG
This shows up every boot, but I ain't no snitch.
>>
does fedora performance well on 2013~ hardware?
>>
>>103239687
with gnome?
no.
What's the specs?
>>
File: file.png (28 KB, 506x350)
28 KB
28 KB PNG
why does wine have an "Access denied" to my Z drive when i try to install a pirated game?
>>
>>103239826
Flatpak?
>>
>>103239805
intel ivy bridge and nvidia pascal
128gb 1866mhz ddr3
mlc ssd
i wasnt thinking to use gnome
https://fedoraproject.org/spins/mate
>>
>>103239841
no
>>
>>103239826
what's z: for your prefix?
>>
File: file.png (21 KB, 414x494)
21 KB
21 KB PNG
>>103239887
also i have enough space to install this game but i would like to take away space from my NTFS drives and put that in my linux drives without losing data, is that possible?
>>
>>103239905
Well, yes, you don't want wine to directly write to your root. Does /Game exist and may wine write there?
Also, some games are funky with Z:, you can however define some other directory as g: or something.
>>
>>103239920
Do i make that folder from the commandline, and should i make it as a sudoer or as a regular user?
>>
>>103239958
A advice against using Z:\Games.
Make something in your homedir and put that into the prefix as G:, like I said, some games have problems if the directory is bound into the prefix via Z: so it's a good idea to have G: anyway. And then you only need your users permissions.
>>
File: blackjack.png (44 KB, 1242x171)
44 KB
44 KB PNG
>>103239443
I saw you on /int/ yesterday, Bender
>>
File: file.png (5 KB, 259x103)
5 KB
5 KB PNG
>>103239979
oh okay, so say /home/user/wingames, that would fix permissions crap i guess
>>
>>103239993
that should work I think
>>
>>103239850
>128gb+SSD
Yeah it can, heck even KDE would be good option.
What's your use case?
>mate
I've tried it once, I didn't like it.
It'd decent don't get me wrong, but it not something should be used in 2024, unless you're using very limited hardware and require stacking wm.
>>
>>103237321
Rusticl is more usable than Clover at this point. If it weren't they wouldn't be getting rid of it
>>
>>103240387
>>103237321
Also there's nothing preventing them from shipping the required versions of Rust with its own bundled LLVM. Rust themselves makes binaries like this even. Debian just had a retarded policy of not doing that.
>>
>>103240279
>It'd decent don't get me wrong, but it not something should be used in 2024, unless you're using very limited hardware and require stacking wm.
I run labwc+Waybar on an i9 lmao
>>
Will you guys look down on me if I use gparted instead of the CLI?
>>
>>103240637
lol
why?
>>
>>103240728
no
>>
how is linux driver support for the rtx 4080 super?
>>
>>103240793
It does what I need it to and I used to run Openbox under X11.

>>103240728
No, regular parted/gdisk/fdisk/cfdisk is an enormous pain in the ass compared to gparted.
>>
Ubuntu: nvidia 535 works lovely non dpkm or whatever the fuck it is on all 3 monitors, all drivers above it only one screen works. Tried refresh rates, unplugging and so on, using "ubuntu" in login screen, tried x and its just a black screen, 4060ti

All answers from google are "my laptop doesnt show external screen"
GPT wants me to recode the who OS in assembly.

bit lost and tired now.
>>
>>103217117
Thinking about switching from iptables to nftables
Any opinions on this?
>>
>>103240854
Just do it.
>>
I just had a thought about Wine.

Maybe it is better for each app to be in their own prefix?

I've been thinking about how that could actually be implemented. Like, if you open an installer or something, it opens in a fresh prefix, something like .wine-XXXX, where XXXX is a random arrangement of letters or numbers, or maybe even a UUID. But what if you run a game patcher or some other installer that provides extra content to an already-installed program? How would Wine know whether or not a given installer or app is related to a program that was already installed and thus would belong to an already existing prefix?

Maybe it would be better for context menu options. One button for "Run in .wine" and one for "Run in a new Wine prefix".

There's also the matter of figuring out/remembering which prefix is which. For example, you have situations like Mass Effect or Lego Star Wars II where certain features are granted if save files for an earlier game are found in specific locations. The "best" thing you could do in this case would be setting up some symlinking...somehow...
>>
>>103240826
cfdisk is in no way a pain in the ass to use
>>
File: osakasuicide.jpg (17 KB, 600x400)
17 KB
17 KB JPG
using mint. why is sound coming from both my speakers and earphones? this happened to me before, but it just fixed itself after a reboot. that isn't working this time tho
>>
>>103240995
For moving/resizing partitions? Compared to gparted?
>>
>>103240728
>>103240826
I use GNOME Disks because it just works
>>
>>103241242
That's fine too. Partitioning is one of those things that's critical enough that there's no point in doing it the hard way.
>>
>>103236212
That must be it, I found a matching bug report and the same thing was suggested (although it is still open): https://gitlab.gnome.org/GNOME/gnome-disk-utility/-/issues/173
>>
>>103240728
Just don't use it for important operations. I've learned the hard way because I've had it freeze, crash and do other gay shit while manipulating partitions
>>
New thread:
>>103241578
>>
File: Cfdisk_screenshot.png (85 KB, 828x586)
85 KB
85 KB PNG
>>103240826
>cfdisk
>enormous pain in the ass
Huh? You move with arrows and pick with enter.
>>103240854
Can't believe we are still "switching from iptables" in the current year.
Are you going to move away from scripts to actual config files now?
>>103241167
>moving partitions
Did you want to move the filesystem too or just nuke the drive?
>>
>>103233156
snapshots: yes
lz4 compression: btrfs has zstd, lzo, and zlib. lzo is the high speed one, but ztd is probably the most popular, compressing better but is also very fast. zlib is obsolete
encryption: no, you'd have to layer it on top of luks or something instead
software raid: yes, it has very flexible raid, where you can convert between any configuration at any time even online, including single disc to raid and back and adding or removing any number of discs at a time, and using discs of different sizes. raid5/6 have caveats, so do some reading before touching that
subvolumes: yes
subvolume send/receive: yes
subvolumes are also dynamically-allocated, there no need to specify their size (actually i'm not sure you even can, i hear quotas don't work well, but i've never wanted it so i'm not sure)
>>
>>103242224
oh i thought you were talking about btrfs because i read >>103237785 first
>>
>>103239826
change it to C:, for whatever reason fitgirl repacks default to anything but C:, i'm not sure what the logic behind it is, maybe it's just to the highest letter
Z: by default in wine is your root, so it's trying to create "/games", which it can't, because root is owned by root. you don't want it there anyway
this is not a wine issue, i've seen this in windows as well, my windows install has a T: i set up which is a small ramdisk i use for %TEMP%, and fitgirl repacks will default to that as well
>>
>>103240979
every wine management tool i've seen installs programs/games in their own prefix, things like steam, bottles, lutris, playonlinux, etc all do this
if you want to do this manually, the way you specify which prefix a particular shortcut needs to use is by specifying the WINEPREFIX environment variable



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