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


File: torvalds-hellsing.jpg (73 KB, 720x544)
73 KB
73 KB JPG
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://wiki.installgentoo.com/index.php/Category:GNU/Linux

>What distro should I choose?
https://wiki.installgentoo.com/index.php/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/
>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: >>102396527
>>
Bros, why are git commands so weirdly named and unintuitive? I get that it's a useful tool, but the manpages may as well be in Chinese if you're not already proficient with git.
>>
>>102414851
I remember seeing a meme a while back about how running sudo rm -rf /* would delete all the french files from your computer, what command would actually do that?
>>
>>102415065
Read the Git book. It's very good and available online for free:
https://git-scm.com/book/en/v2
>>
>>102415065
>>102415119
I use a Git GUI, have done for years

CLI Git: not my problem
>>
>>102415065
git gud
>>
File: I1546manifold.png (312 KB, 570x450)
312 KB
312 KB PNG
>>102415065
Git is actually very simple. Just think of the state of your repository as a point in a high-dimensional 'code-space', in which branches are represented as n-dimensional membranes, mapping the spatial loci of successive commits onto the projected manifold of each cloned repository.
>>
File: gentle.png (14 KB, 703x391)
14 KB
14 KB PNG
Is Gentoo worth in a weak machine? I've heard that it has a binary repo now.
>>
>>102415471
Yes, the binary repo has a lot of things packaged but you still might have to compile some things like ffmpeg.

I've been using my desktop to build binaries but when I did the install I only used Gentoo's binary repository and didn't have to compile much at all. All of LXQt had binaries.
>>
>>102415471
>fastfetch
>lead dev is chinese
I bet it's communist spyware
>>
SAAAAAAAAAAARS
https://youtu.be/rLzK6wDutMY?si=9IS8P2NaXZDd66m5
>>
>>102415629
Might switch from Artix to Gentoo. Thank you, anon.
>>102415686
Is neofetch better?
>>
>>102415816
>Is neofetch better?
It's unmaintained. There's nothing wrong with fastfetch.
>>
Give it to me straight, is XMPP a meme nowadays? If so, what's the alternative?
>>
File: file.png (173 KB, 335x362)
173 KB
173 KB PNG
>>102415829
I see.
>>
>>102415119
>EPUB
Oh, nice. I'm going to load it onto my e-reader to read when traveling by train. Thanks.
>>
>>102415848
For group chat? Quite a few people seem to use Matrix these days. I've never used it myself, but it looks open and decentralized so that's good. Of course, many people are still on IRC. It sucks, but I guess it's a social Schelling point so hard to displace.
>>
>>102415848
People who arent tech-savy wont use it.
They would rather stay on spyware discord or spyware whatsapp or spyware facebook messenger
>>
>>102415471
I ran it on a T500 until recently, 2.something GHz mobile C2D. I just updated it overnight. I'm kinda skeptical why you'd want to if you're just gonna install everything as a binary package though.
>>
>>102415403
>(i usually do it for things like "${VAR##}" because i keep mixing up the % and #
yeah that's exactly the sort of thing I meant by arcane syntax in >>102415299 and why the simpler syntax with good line editing features in fish go a long way to make the command line more usable

>>102415065
I can't remember any of that stuff either, I just use magit
>>
>>102415829
>It's unmaintained
i'd say it's feature-complete
>>
>>102416119
Its maintainer fucked off.
It's probably not going to break but it's still better to find something else.
>>
>>102415848
Matrix seems to be the go to these days. It collects way too much metadata, is slow and resource hungry and you are coerced into using a centralised keyserver. But still most foss communities use it, so i do as well.
XMPP is definitely not dead. Maybe a meme though. If you don't want to federate with other servers i would still recommend it, since the resource usage is that much lower.
>>
>>102416104
This is becoming repetitive, none of this matters when its not posix compliant and cant be applied to a sh shell script without making it a fish shell script.
>>
>>102416203
you weren't the only person in the conversation. >>102411264 asked what kind of features a shell could even have, so those are some examples.
>>
>>102416104
If you're going to go that far to improve on Unix shells, why not go the whole hog and base the entire thing on a real programming language like Lisp?
>>
>>102414851
>go to https://fglt.nl
>check text editor resources
>there are Vim resources but no Emacs resources
I'm going to sue for discrimination.
>>
>>102416384
You can do that actually, if you want (See the GNU operating system, Guix, which almost exclusively uses Guile).

A lot of people trying to replace the UNIX shell often miss the boat though. The language although clunky has stuck and its really efficient for some people that know it well.

You don't improve shell by getting rid of it, you improve it by making small, optional, incremental improvements but nobody is doing that (except the Oils project I linked in the previous thread) because few people care that deeply about the shell.
>>
>>102416512
It's about text editors, not exotic operating systems.
>>
File: closhdemo.gif (3.82 MB, 890x466)
3.82 MB
3.82 MB GIF
>>102416384
eshell and closh exist, although the latter never got beyond proof-of-concept phase (the author switched to fish)
>>
bash vs dash vs zsh vs fish. What are the advantages/disadvantages of them all? Which one to use?
>>
>>102416364
It doesnt matter because they're all invoking the posix shell interpreter when run as /bin/sh and any distro that doesnt is broken.
>>
How long did it take you guys to learn vim shortcuts to use them comfortably?
>>
>>102416646
Use whatever
Dash is only used as a posix compliant shell for /bin/sh and shouldnt be used as an interactive shell.
>>
>>102416646
bash is the de facto standard shell for Linux. It has a number of non-standard features in common with ?ksh on other Unicies. dash is an abomination. zsh and fish 'better' than bash but not better enough to handicap yourself by forming dependencies on their convenience features.
>>
>>102416818
Just spend the five or ten minutes to go through the built-in Vimtutor.

You don't have to learn everything but as soon as you get the hang of hjkl, b, e, 0, $, and realise you can use numbers to repeat motions, etc, you'll be navigating it with a breeze.
>>
>>102416646
>dash
+ posix compliant, very low memory footprint, fast startup.
- Very uncomfortable to use interactively
>bash
+ widely used, basic line editing with vi or emacs-like bindings, adds useful features on top of posix core such as optional lexical scoping (dynamic scoping is the worst anti-feature of posix shell)
- not as many comfort featurs as fish and
>zsh
+ lots of features for both scripting and interactive use, is (or was?) standard on mac os
- default config is barebones, syntax additions even more cryptic than posix
>fish
+ comes with lots of nice features out of the box that bash lacks completely or can only achieve with hacky 3rd party tools, and would take a long time to configure in zsh. Simpler, more memorable syntax than posix without being too far removed so as to seem completely alien
- not widely used, only a small handful of distros have it as their default shell, cannot run posix-compliant code beyond very simple commands

there's also nushell which I haven't tried, and windows power shell also runs on linux with some caveats
>>
>>102416828
>>102416831
>>102416895
What's posix and posix compliant?
>>
>>102416895
>windows power shell also runs on linux with some caveats
Mainly the whole reason you'd be using it for (the inter-op with the rich .NET / C# ecosystem) doesn't exist on Linux.

PowerShell is shit as a shell. People use to call procedures in .NET / C# since that's the only shell on Windows (ignore batch scripting) and that's that.
>>
>>102416938
>(ignore batch scripting)
Hey hey I used to do wizardry with FOR and SET.
>>
>>102416925
it's a standard, based on the on the implementations of early unix shells. Most modern shells deviate from it to some degree because it's full of bad decisions and lacks many good features.
https://tiswww.case.edu/php/chet/bash/POSIX
>>
>>102416635
Good response lmao
>>
linux cant even spreadsheet
>>
>>102417098
You have Awk. Take it or leave it.
>>
>>102416646
If you want good features and care about syntactic compatibility with other shells, use zsh with a starter kit like oh-my-zsh. If you want good features but don't care about syntactic compatibility, check out fish and nushell.
>>
>>102416818
I don't remember exactly, but somewhere in the weeks range. I've switched to Emacs since, but I still use Vim bindings.
>>
I don't get why I can't drag and drop the udev rules into this folder?
>>
File: 0_SqoD02J6evPRTCQW.jpg (46 KB, 1400x788)
46 KB
46 KB JPG
>>102417098
>>
>>102417165
Probably you don't have permissions to write to /usr? Some file managers can probably prompt you for your password, but I just use shell and sudo.
>>
>>102417165
That looks like an installer script, not actual udev rules. You should probably be running it, not copying it.
>>
>>102417186
I tried to do sudo ./install and it didn't do anything
>>
>>102417165
Ctrl + L
Add admin:// to the beginning of the path
>>
>>102417254
That >>102417186 anon is write though that's probably a script.

>>102417208
Try something like:
sudo /bin/bash -x install
>>
>>102417098
Good. Spreadsheets don't belong in the kernel.
>>
>>102417272
You're wrong. Why hasn't anyone written a Spreadsheet in eBPF yet? This is beyond ridiculous.
>>
>>102417265
>Try something like: sudo /bin/bash -x install
awesome, thanks
>>
>>102416615
I admit I'm biased, I think that the whole idea of reusing the same language for an interactive command interface and for scripting is one of the most terrible things about the Unix philosophy, second only to the idea of using ad-hoc text formats for everything. It's a hack that was necessary to get Unix to run on everyone's shit minicomputer with only kilobytes of RAM, but fundamentally it's a bad design. The requirements for a command interface and a scripting languages are diametrically opposed. In a command interface, it's fine to continue on error; a scripting language should default to stopping on error with a clear backtrace. In a command interface, extreme terseness and short command names are good; in a scripting language, you want readable and maintainable syntax. In a command interface, it's okay or even beneficial to have lots of implicit behavior, like automatic word-splitting; in a scripting language that's terrible because it turns into a source of mistakes.
In my ideal world, Unix-like shells would never exist. Scripting would be done in a Python-like language, but with some extra features to ease common tasks like piping things; the command line interface would be something Emacs-like, with its own interactive-only language and lots of commands built in. For example, ls wouldn't be an external binary. (You're not supposed to use it in scripts anyway, as globs are more reliable and non-shell languages have their own ways of listing files.)
>>
>>102416994
So why does anyone use it? I just want to know in simple terms which shell I should use. I've heard fish and zsh have the most features but then I don't understand why everyone doesn't just use them if they're so much better? Also which is better between fish and zsh? I'm using dash on arch right now.
>>
>>102417381
Non that anon, but
>why does anyone use it?
Because it's standard.
>why everyone doesn't just use them if they're so much better?
Many people don't care about having the most features.
>Also which is better between fish and zsh?
fish has better defaults, but its syntax is different enough from other shells that complex commands you find on the Internet won't necessarily work in it.
>>
so let's say I don't want to write a C program but need a very low memory footprint for doing some basic string, network and file operations in a program. Which language or scripting runtime that offers these has a very low memory footprint? Dash, Lua, Scheme, something else?
>>
so how can I programmaticallym easily and fast get color values of individual pixel on wayland?
>>
>>102417381
>why everyone doesn't just use them if they're so much better?
Because they're not. Stop trying to learn computers from youtube.
>>
File: IMG_7905.jpg (2.48 MB, 4032x3024)
2.48 MB
2.48 MB JPG
I updated my laptop’s bios and now it wont boot.
Help.
>>
Speaking of openrgb, is this really a good idea?

#---------------------------------------------------------------#
# User I2C/SMBus Access #
#---------------------------------------------------------------#
KERNEL=="i2c-[0-99]*", TAG+="uaccess"

#---------------------------------------------------------------#
# Super I/O Access #
#---------------------------------------------------------------#
KERNEL=="port", TAG+="uaccess"
>>
>>102417625
can you mount all your disks when you boot from a live system?
>>
>>102417528
I've heard that Go programs have fairly low memory usage. If you don't want statically typed then I don't know, maybe a minimal Scheme implementation?
>>
>>102417528
define low memory footprint
also does your program actually stand alive for long period of time?
>>
>>102417625
Did you do anything to the storage (clone/replace/etc)? Filesystem UUID should not change with a firmware update.
>>
>>102417528
gawk
>>
>>102417625
Maybe the UUIDs changed? But I don't know why that would be, but you could try booting from a live medium and investigating with gparted and lsblk --fs
>>
>>102417552
Use the color picker portal over DBus
>>
>>102417729
color picker sounds like some weird sci-fi tv show insult
>>
File: puke.gif (2.58 MB, 320x240)
2.58 MB
2.58 MB GIF
>>102417729
>>
>>102417753
You could go through PipeWire and add your own picker in your app but the portal is the only supported way:
https://docs.flatpak.org/en/latest/portal-api-reference.html#gdbus-method-org-freedesktop-portal-Screenshot.PickColor
>>
>>102417795
Wait, it's real? I thought you were parodying the Wayland situation when you said "color picker portal".
>>
um helo, new to /g/
im just a cute sexy girl and im wondering if all that you need to start your beginner /g/ journey is get a pc with debian os, use librewolf with ublock origin and always use protonvpn
and install grapheneos on your phone
>>
>>102417795
Reading that is an uncanny reminder of me reading MSDN pages for COM objects in the early 2000s. Literally the worst part of Windows and they had to bring it to Linux.
gg
>>
>>102417825
Yes, at least if you want it to work across multiple compositors. The compositor you're using may have its own proprietary method of picking colours.

On wlroots based compositors you can use slurp and grim.
>>
File: arcan dev on wayland.png (168 KB, 765x922)
168 KB
168 KB PNG
>>102417835
>>102417838
So Arcan's dev was right about Wayland having a tiny protocol for everything?
>>
>>102417858
Yes, it's designed to modular where as X11 was designed to be monolithic and do anything and everything even though not every use case requires it. Perhaps this is why you don't see too many alternative implementations of the Xorg Server. It's too big and complex to make another one.

The core of Wayland by comparison is tiny, anything else requires an extension protocol.
>>
>>102417894
Read the last paragraph of the pic of >>102417858 for why that modularity will not end as well as you think.
>>
>>102417894
>Perhaps this is why you don't see too many alternative implementations
>t. knows nothing about computer history
>>
>>102417918
That last paragraph is easily solved by implementing the most popular protocol that solves your problem (usually what GNOME and KDE is using). You may get some push-back from people using something wlroots based or some other toy compositor but fuck them, all your users are on GNOME or KDE (if they're not, then by all means do whatever wlroots is doing or whatever it is your users are actually using).

>>102417931
Show me the alternative Xorg Server implementations on Linux. I'm aware its been implemented on other platforms but it's really just the one single Xorg Server that's in use on Linux.
>>
I want to run https://github.com/Kron4ek/Conty to try and play some games on my linux installation. However I only want any game related shit to happen on a single volume, and be otherwise completely sandboxed. So for example, that COnty thing I linked just looks to be a container with a bunch of utils for games, swiss army knife style (because why would there be 1 thing that actually works in linux vs 50 that dont). Since its a container can I 'jail' it, and dictate that
>it only has rw access to predefined locations
>everything else is read-only
>network access is n/a

I basically want a secure sandbox to run windows executables that are 3d accelerated on linux. I can't use a VM because only OpenGL (3?) is supported and whenever I tried wine in a VM it was unbearably slow. Windows is largely the same, even somewhat performant 3d acceleration through VMs in Linux seems like a dead end. I don't need a lot of power at all btw, but I'm getting like 1-2 fps for 2d side scrollers.

So I'm opting to run wine directly. Its pretty frustrating because certain 'areas' of Linux seem like they support what I want to do. For example, ChromeOS uses sandboxed VMs to run Android Apps and it manages to give them Vulkan via some QEMU driver or something too. But none of that stuff is straightforward to use, requires compiling a new kernel, and it says its in 'alpha' quality etc. Really wish GPU wasn't so horrible in VMs on linux
>>
File: IMG_7906.jpg (2.21 MB, 4032x3024)
2.21 MB
2.21 MB JPG
>>102417670
>>102417665
>>102417638
Checked with lsblk —fs and the UUID is the same one it says it cant find. I have a windows 7 dualboot and it worked normally. It’s just the linux side.
>>
>>102417963
There used to be more, like XFree86. Then people pooled their effort into a common one, which is a good thing.
Also, how is the size of core Wayland relevant when actually having something usable day-to-day requires you to implement 100+ extra protocols? You seem to be contradicting yourself.
>>
>>102418096
>Then people pooled their effort into a common one, which is a good thing.
Multiple competing implementations push each other forward. Look at Xorg now, barely maintained (everyone has switched to Wayland) and stagnating day by day. You can forget about fixing core problems in the protocol or adding support for new hardware features like HDR. Unless there's a new security vulnerability that needs patching then nothing is getting done.
>>
>>102418121
>Multiple competing implementations push each other forward.
How so? Please provide an argument, because that sounds like a pointless duplication of work that you for some reason think is good.
>>
>>102418096
>when actually having something usable day-to-day requires you to implement 100+ extra protocols
Something usable for what, exactly?

Because different use-cases require different protocols. Certainly embedded use-cases don't need all the desktop crap. They might even use Ivy shell instead of the XDG shell.
>>
>>102418135
Do you really not see how competition leads to better software?

If your software can't stay relevant then it's dead and eventually nobody is going to use it. If you can improve performance, or provide innovative new features then that gives you an edge over the implementation and pushes them to do better too.
>>
>>102418165
>Do you really not see how competition leads to better software?
In this particular case, no, I don't think it does. Like would it improve things if people split their efforts across 3 different implementations of pipewire or 5 different implementations of systemd? No, it's better for everyone to contribute improvements to one great implementation than split their efforts across several mediocre ones. Open source dev time is in short supply already and we don't need to waste it further.
>>
>>102418204
You're assuming developers want to contribute to one single implementation, which is often not always the case.

Suppose each implementation could be developed equally then you will see people coming up with different ideas and different ways of doing things and then the best one can win over. Wayland works more like this rather than a single shit implementation, the best one can win and since nobody is stopping you from doing your own thing, still you can do that if you don't want to go in the same direction as everyone else.
>>
>>102417974
1) Where is your ESP? Only archiso's ESP is visible.
2) You probably have to reinstall the boot loader.
>>
>>102418282
Out of curiosity I checked my fstab file and it was empty so I regenerated it and now it boots like normal.
No idea of what the hell happened but it seems to be fixed now
>>
What is the proper way of uninstalling programs in Arch? If I want to uninstall a package in the cleanest way possible, what would be the command to remove that package and all the packages that are only used by that package? And preferably delete all the config files and other garbage it leaves around?
>>
how does xwayland work?
can I just write an X11 work and it will work on wayland (assuming user has xwayland) whas the overhead?
>>
File: 1699776825379709.gif (866 KB, 352x224)
866 KB
866 KB GIF
>install Nobara, which is supposedly made to work out of the box
>try to run some (portable) games from my old HDD
>nothing happens
>run Wine through the console
>0024:err:opengl:DllMain Failed to load unixlib, status 0xc0000005
>0024:err:module:loader_init "opengl32.dll" failed to initialize, aborting
>Quake 3 fails to launch, saying "GLW_StartOpenGL() - could not load OpenGL subsystem"
>in the games that do work, the keyboard doesn't work in any of them
I can't get a single game outside of Steam to work. Unfucking Windows 11 would have been less work than dealing with this garbage.
>>
>>102418822
>Nobara, which is supposedly made to work out of the box
This is wrong. It's a power user distro with no support whatsoever.
>>
>>102417971
I think you're looking for QubesOS.
https://www.reddit.com/r/Qubes/comments/hgv6eh/field_report_gpu_passthrough_to_win10_is_amazing/
>>
>>102418237
I guess that can be true for some things, especially user facing things. But I don't really agree in general, for core system functionality. Take keyboard layout handling, for example. You're not gonna be the Einstein of changing keyboard layouts and completely reinvent how it's done. Everyone already knows what kind of functionality is needed and how it should work. And it's not really different now compared to a decade or two ago. It would be best for everyone to just write a single golden implementation and run it as a central component on everyone's computers, together with standard command line utilities for communicating with it that are available everywhere. Which is what X11 had with setxkbmap. With Wayland, people just waste their dev effort implementing the same functionality over and over again, and often in an incomplete way (for example, we don't have a setxkbmap equivalent). This is an obvious regression.
I'm not Steve Jobs, I'm not claiming that unification is the right move for everything and people should have no choice, but I do think that the further you get from user-facing stuff and the closer you get to the "core system", the smaller the benefits of fragmentation and the larger the costs. So I would rather have many desktop environments running on top of a universal display server, just with a better protocol than X11.
>>
>>102418859
>You're not gonna be the Einstein of changing keyboard layouts and completely reinvent how it's done. Everyone already knows what kind of functionality is needed and how it should work.
>how it should work.
You mean like how it's assumed display language == input language, which is not always the case? Yeah that works great. /s
>>
>>102418822
>I can't get a single game outside of Steam to work.
Correction: I tried a game on Steam and the keyboard suddenly doesn't fucking work there, either, anymore. With Steam Wine will eventually register the key presses after 5-10 seconds of mashing, but elsewhere the keyboard doesn't work at all, even in programs where it worked a few days ago.
>>
>>102418852
No I'm not, I'm not looking for gpu passthrough. I only have one gpu and I want to share it. GPU passthrough is fundamentally retarded by the way, managing a bunch of displays and outputs just for a VM.

>>102418822
I don't get it though, /r/linux_gaming said its easy and just works and is amazing and a revolution!
I wish I had real advice for you but I ran into the same kind of garbage on Ubuntu so yeah, good luck. I think its all a giant waste of time and I don't know why I bother. Even if you get something working today an update will break it tomorrow. Everything on linux is a massive compromise when it comes to anything related to gaming. Gaming on linux and saying its going great is like becoming a vegan and saying its going great. There's very clearly something deeply wrong with the situation but the religious zealots will never admit it
>>
>>102418357
>what would be the command to remove that package and all the packages that are only used by that package?
pacman -Rns [package]

https://pacman.archlinux.page/pacman.8.html#RO
>>
>>102419178
>>102418822
If you want real advice. Go look at the hardware and software other people are using and align yourself with them.

No funky keyboards and mice
No Nvidia
etc
>>
>>102418822
Missing 32-bit libs, either in the prefix (use winetricks) or your system's package manager.
>>
>>102419178
>no GPU passthrough
Ok whatever, but I was talking about Qubes for sandboxing and showed that thread that it extends to niche stuff.
>>
In Debian, I have tor installed and running as a service, but it's not listening on any port. How do I fix this?

>$ sudo lsof -nP -iTCP -sTCP:LISTEN
= view listening ports = no tor
>$ cat /etc/tor/torrc
= tor config = includes:
SocksPort 9050
SocksPort 127.0.0.1:9050

This didn't help:
https://tor.stackexchange.com/questions/12285/tor-is-running-but-service-not-listening
>>
>>102415471
no it is not, I went so far as to create a gentoo image specifically for an old machine i have with all the optimizations for that system turned on, and it actually made some stuff slower. and installing packages is insanely slow, much better off installing some run of the mill linux and building optimized packages as needed.
>>
>>102419241
fair enough, sorry for being a dick
>>
>>102419242
systemctl enable --now tor
systemctl status tor
>>
>>102419219
It worked fine yesterday. It's not a hardware issue.

>>102419234
I don't see anything in the package manager that fits the bill. I've already seen a bunch of people with the same issue during the hours I've spent googling, but it's impossible to find a straight answer on how to solve it.
>>
>>102419242
I can't run torsocks and I probably can't run Tor Browser = the problem which I'm experiencing in a liveboot of this version of Slax Linux:
>https://ftp.sh.cvut.cz/slax/Slax-12.x/slax-32bit-debian-12.2.0.iso

I need this to not show an error:
>$ curl -x socks5h://localhost:9050 https://check.torproject.org/api/ip; echo
>curl: (7) Failed to connect to localhost port 9050 after 0 ms: Couldn't connect to server

>>102419329
I ran that and it didn't help. BTW, I can successfully ping google.com and I don't think I have any firewall blocking it.
>>
>>102419366
Check the logs:
journalctl -u tor


You may have to edit the config to make its logging more verbose if it doesn't show anything.
>>
>>102419366
"Journalism":
>https://scribe.bus-hit.me/@sagardhoot56/curl-7-failed-to-connect-to-localhost-port-9050-after-0-ms-couldnt-connect-to-server-f40a645d887c
Maybe helpful:
>https://tor.stackexchange.com/questions/22819/tor-socks5-not-working-with-anything-other-than-tor-browser

>>102419489
>edit the config to make its logging more verbose
Thanks, I'll do that, because all the times I ran that journalctl command over the past hours = nothing helpful.
>>
File: 1710915152441452.jpg (116 KB, 934x846)
116 KB
116 KB JPG
>>102418822
I figured out what was causing the keyboard issue: apparently Deadbeef eats all keyboard inputs for certain programs, including Steam itself, while it's running. How the fuck does that happen?
>>
>>102419635
>How the fuck does that happen?
Welcome to the shit show that is X11. It's better in Wayland but still some compositors allow input grabbing / stealing.
>>
>>102419327
np
>>
File: Startrek-bc.jpg (2.12 MB, 2328x3133)
2.12 MB
2.12 MB JPG
I was going to ask this in the Linux thread in /vg/ but seeing as that is dead, I'll ask here:

I'm trying to get Star Trek Bridge Commander to work with Wine. However, there is one annoying issue: the game crashes in a specific BINK intro movie, the last one. It plays the others before it just fine, but the last one does it in.
Timestamp @2:47
https://youtu.be/oR9vajRfenE?si=ssxEdtxqSWBsehWx&t=167
The only clue I have about it is that it displays different fonts from the other videos. Does BINK format somehow use system fonts instead of having them baked in? I'm running out of ideas here.

If I rename the video to something else to skip to the main menu, then a crash occurs when trying to change my player name anyway. So this is why I suspect it's a font problem
>>
>>102420218
Aha, just answered my own question. Playing the video in question with mpv reveals it has no fonts there. So it's the game overlaying the fonts on top of the video that's causing the problem

I'm still not sure how to solve that though
>>
File: install Gentoo.jpg (289 KB, 1200x1600)
289 KB
289 KB JPG
>>102416831
>dash is an abomination
How so? That's exactly what you'd want to use for posix scripts.
>>102416828
This.
>>102416028
>People who arent tech-savy wont use it.
Aren't you supposed to know a server before going for a XMPP client?
>>102415848
It's that or Matrix.
>>102415471
Only if you had more RAM.
>>
>>102415198
This makes more sense than describing it as a tree, considering operations like rebase can teleport the head of a branch onto another branch without actually traveling there
>>
>>102420363
>How so?
Because it lowers the practical vocabulary from ksh-ish, which is where it was in the 90s, to ash. For very stupid reasons.
>That's exactly what you'd want to use for posix scripts.
No, you use shellcheck to tell you you're not supposed to use named arrays or whatever with #!/bin/sh. POSIX sh can be reliably identified with static analysis. It doesn't need a special test shell.
>>
>>102420551
Static analysis has too many false positives. Shellcheck won't catch everything. It's still good for identifying common mistakes though.

If you test your script in an actual POSIX shell you'll be able to form stronger guarantees.
>>
>>102420595
>Static analysis has too many false positives
Not for identifying POSIX sh it doesn't.
>in an actual POSIX shell
There was no actual POSIX shell until dash you fucking gorilla nigger. It's supposed to be a suggestion for the minimum standard not a blueprint for the finished product.
>>
Is there a free/opensource version of Windows' 3D viewer and/or 3D builder or am I stuck having to learn Blender?
>t. /tg/ anon with lots of STLs looking into Linux.
>>102414851
Hellsing Ultimate is such a good anime.
Seras Victoria is still my waifu.
>>
>>102420652
Dash wasn't the first POSIX shell not is it the only one. The bourne shell came before it and yes, there is no POSIX shell since POSIX is just a standard. Some shells follow it more strictly than others (for example Bash is compatible but does not raise errors if you attempt to use Bash specific features and behaviours).
>>
>>102419489
>>102419534
I increased the logging in torrc. That didn't help. I saw no extra info anywhere. That stack exchange thread didn't help. Possible solution: read the code, compile tor instead of installing it via apt. torsocks (formerly torify) with the debug flag/option = worked in one computer, but not the other:
user@slax:~$ TZ=UTC torsocks -d wget --spider http://ponypalsh4y6olziyjlswfv674utokqhz3y6beym2erqtstcgadmacid.onion:81/
[...]1726544331 DEBUG torsocks[12177]: Setting up a connection to the Tor network on fd 3 (in setup_tor_connection() at torsocks.c:376)
1726544331 PERROR torsocks[12177]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202)
1726544331 DEBUG torsocks[12177]: [close] Close caught for fd 3 (in tsocks_close() at close.c:33)
failed: Connection refused.
1726544331 DEBUG torsocks[12177]: [onion] Destroying onion pool containing 1 entry (in onion_pool_destroy() at onion.c:148)
user@slax:~$ # failed in Slax Linux
1/2
>>
>>102420785
2/2:
user@lubuntu:~$ TZ=UTC torsocks -d wget --spider http://ponypalsh4y6olziyjlswfv674utokqhz3y6beym2erqtstcgadmacid.onion:81/
[...]1726544391 DEBUG torsocks[11959]: Setting up a connection to the Tor network on fd 3 (in setup_tor_connection() at torsocks.c:376)
1726544391 DEBUG torsocks[11959]: Socks5 sending method ver: 5, nmethods 0x01, methods 0x00 (in socks5_send_method() at socks5.c:228)
1726544391 DEBUG torsocks[11959]: Socks5 received method ver: 5, method 0x00 (in socks5_recv_method() at socks5.c:262)
1726544391 DEBUG torsocks[11959]: Socks5 sending connect request to fd 3 (in socks5_send_connect_request() at socks5.c:459)
1726544399 DEBUG torsocks[11959]: Socks5 received connect reply - ver: 5, rep: 0x00, atype: 0x01 (in socks5_recv_connect_reply() at socks5.c:518)
1726544399 DEBUG torsocks[11959]: Socks5 connection is successful. (in socks5_recv_connect_reply() at socks5.c:523)
connected.
HTTP request sent, awaiting response... 200 OK
Length: 363 [text/html]
Remote file exists and could contain further links,
but recursion is disabled -- not retrieving.
\ 1726544400 DEBUG torsocks[11959]: [onion] Destroying onion pool containing 1 entry (in onion_pool_destroy() at onion.c:148)
user@lubuntu:~$ # worked in Lubuntu
captcha: HMHM
>>
>>102415629
>LXQt
I got sick of that, so today and replaced it with i3wm. I think that didn't break anything important when I uninstalled LXQt. (I'm the anon from the previous thread who trash talked LXQt.)

>>102420785
>>102420798
>read the code
Gonna need to know which version of tor that is, then read something like this:
>https://fossies.org/linux/misc/tor-0.4.8.12.tar.gz/index_af.html
>https://fossies.org/linux/tor/src/trunnel/socks5.c
>>
>>102420218
Could be missing fonts. How are you running it with wine? Are you using something like lutris? The lutris page says it needs some stuff preinstalled
https://lutris.net/games/star-trek-bridge-commander/
>>
>>102420260
reddit thread lists a specific version of wine you can try out too i guess. if someone got it working with an older version of wine maybe its not fonts causing it?
https://lutris.net/games/star-trek-bridge-commander/

i hate how its basically impossible to debug these things
>>
>>102416818
What got me to use hjkl instead of arrow keys was needing to jump down/up thousands of lines at a time, so 9999[key for ^/v]

>>102420927
Not tor code, torsocks code:
https://gitlab.torproject.org/tpo/core/torsocks/-/blob/main/src/common/socks5.c?ref_type=heads

But so what? Spend all that time compiling a self-modified version just so it can tell me more detailed failure text (debugging) on lines 150 to 200? I already know that tor is not listening on any ip:port. So focus on removing it then compiling a newer version of tor/torsocks or figuring out a fix to that problem of tor not listening.
>>
is there an it-just-werks taskbar solution for sway where the taskbar only shows the windows in the current workspace?
>>
File: 1703351535793369.png (644 KB, 624x824)
644 KB
644 KB PNG
Hello, I just acquired a laptop that my job was gonna throw out. I only have experience with Windows but I'm interested in installing Linux and playing around with it. What's the recommended distro for a total noob?
I checked the OP for this exact question, but the website seemingly isn't working.
>>
>>102421315
LMDE
>>
>>102421493
i googled around and this was the conclusion i got as well. thanks for confirming anon i'll install mint.
>>
>>102421315
Gentoo.
>>
File: XFS_logo.png (51 KB, 375x201)
51 KB
51 KB PNG
Would XFS be just as good on a desktop workstation with a 500 GB SSD as ext4 is? Seeing how SGI used to use it on their workstations with IRIX and whatnot
>>
>>102421315
Manjaro
Arch if you are not afraid of command line.
Mint is a meme distro without documentation, if you want ubuntu, install ubuntu.
>>
>>102421315
>What's the recommended distro for a total noob?
Ubuntu, don't listen to anyone else. Experiment with other distros later
>>
>>102421315
What I do is make a multi-boot USB drive with Ventoy. Then I can just download a bunch of Linux distro ISOs and copy them to the USB. When you boot up with the Ventoy drive, you get a menu with all the Linux distros and you can boot them up in live mode and play around with them, see if you like the interface, get a feel for how they work. This is a quick way to check out a variety of distros with only a single USB drive and no installation.
>>
>>102418822
It's a bug in version 9.16 of wine that breaks native opengl loading with some build options. My guess is that tard who runs nobara is shipping wine built with the experimental wow64 mode.
>>
>>102414851
im building a gaming pc and i am wondering should i go with mint cinnamon or fedora kde. i will have a single high refresh rate monitor and they newest thing id play would be something like yakuza or one of the trails games, nothing major like a shooter or anything
>>
>>102422982
>high refresh rate monitor
Go with KDE, it's got a better compositor than Cinnamon's Muffin.
>>
File: 1715813535522223.jpg (89 KB, 1199x739)
89 KB
89 KB JPG
>>102414851
FUGG, which of these options should I go with when encrypting the entire disk? I have a newish laptop with UEFI, TPM2 etc

https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system

HALP BROS!
>>
>get a new nvme
>want to transfer gentoo to new nvme
>copy and paste all partitions onto new nvme
>rewrite fstab on new nvme to use new nvme partitions according to exact PARTUUID
>make efibootmgr option for new nvme
>try to boot into new nvme
>it loads into the old one
fucking why
>>
>>102418946
It is not assumed anywhere, you must be confusing things. I'm using a different display and input languages right now.
>>
>>102419219
Nvidia works fine if you're using the proprietary driver on X11.
Funky keyboards and mice are not an issue at all.
>>
>>102420785
Do you have some kind of firewall that's blocking the connection to the Tor network? Connection refused is strange.
>>
>>102421315
Serious answer, Linux Mint.

>>102423299
I use the setup they describe as "LVM on LUKS". It's the simplest one that allows you to have a swap partition that's unlocked with the same password as the root partition. Nice for suspending to disk.
>>
>>102423421
Maybe your root partition's UUID ended up in the initramfs for some reason? Have you tried regenerating the initramfs?
>>
>>102415198
Real monoid in the category of endofunctors energy lmao
>>
>>102414851
I'm on Debian 12 and I set up a windows VM in Virtualbox to connect to my work pc via rdp but I'm getting pretty high latency on my webcam and microphone preventing me from having video calls. Do you think setting up a windows VM via KVM could get me a lower latency ? How harder is it compared to setting up a VM on Virtualbox ? Could it just be some kind of driver issue ?
>>
>>102423716
>Funky keyboards and mice are not an issue at all.
They are if they require non-standard software or drivers
>>
>>102421315
Literally Ubuntu, it just works
>>
Bros... I thought rust was the tranny language not C......
>>
>>102424063
Ah point taken then. I was thinking of these expensive ergonomic input devices that have unusual shapes but work just like normal ones.
>>
Both yay and paru has failed me by breaking with updates twice in the past year.
>yay requires recompiling often, also nasty go requirements
>paru requires switching to paru-git, also nasty rust requirements
Is there another PAMAC compatible AUR helper/pacman wrapper that just always works?
pacaur would be nice since its bash, but im not sure its compatible with PAMAC
how about pakku? i don't know anything about nim
or maybe pikaur since python is installed anyway?
>>
>>102424286
Nevermind. 3 years of using pamac, and first now do I learn that pamac doesn't uses its own internal AUR helper and ignores whatever AUR helper you install.
If you just get pamac you don't need any AUR helper at all.
>>
File: dashBashFishBabashka.jpg (458 KB, 1080x1991)
458 KB
458 KB JPG
fish bros, I don't feel so good...
>>
>not using CRAMfs
shiggidty
>>
>>102424581
>not using DwarFS
GNU/NGMI
>>
>>102424286
mom, cancel my meetings, pamac broke my arch install again
>>
>>102424465
>doing computations in shell scripts
ISHYGDDT
>>
>>102424465
Is this some zoomer version of cat?
>>
>>102423421
Use efibootmgr to remove all the superfluous entries and reorder them
>>
updated last night and now my controller doesnt get detected anymore even though it makes the sound when i plug and unplug.
another day ruined by linux when i just wanted to sit down, relax and play some vidya.
>>
>>102425168
At this point stop larping and just install Windows already
>>
>>102425183
just tell me how to fix the controller
>>
>>102417350
Finally somebody fucking said it
>>
File: bashFishClojure.jpg (305 KB, 1080x1434)
305 KB
305 KB JPG
>>102424814
it's cat but in rust and with fancy syntax highlighting etc.
>>
Is there a way to have two keyboards with two different layouts with KDE/Wayland/Arch?
>>
>>102425398
You're gonna give the cat -v guy a heart attack.
>>
>>102420260
winetricks corefonts
>>
Any recommendations for macro recording and playback programs for x11 that work with WINE games? I have tried automating a few actions involving mouse movement and clicks with xdotool, and it works fine outside of a game window but as soon as i switch to it the mouse movement stops and only seems to work when i move the mouse manually.
>>
>>102426060
perhaps the game is causing wine to use raw input rather than X input, as in it's getting wine to bypass X and just read the mouse input device node directly, raw input is common in games
something that works in the "windows" side of wine should work better here, like autohotkey
>>
trying out gentoo for the first time. installing now.
portage is going to take a lot of getting used to...
>>
>>102426327
Read the man pages if you ever get stuck. They're very well written.

$ man portage 
$ man make.conf
$ man emerge
>>
>>102425398
*distant sounds of unix philosophy enthusiasts having a stroke*
>>
>>102426931
Sometimes there's exceptions to the rule to be fair.

Which is less annoying:
$ bat ~/file
$ pygmentize ~/file | cat -n | less
>>
File: scrot.png (62 KB, 493x599)
62 KB
62 KB PNG
>>102424465
Shell bros...
>>
>>102427140
unix philosophy isn't about less annoying, poser
>>
>>102427203
Plenty of UNIX programs violate it. It's a rule but not gospel.
>>
I will never understand the OS folder structure.
>>
>>102427259
man hier
>>
>>102415848
>not secure by default
Its meme chat protocol, along with IRC. Nobody serious uses it.
>>
I can't find furry general, so I assume it's here.
Anyone knows what time eurofurrence starts?
>>
>>102427211
yeah I was just ribbing you bro
of course I don't think your colored cat is bad
the unix philosophy is dumb and the cat -v guys are even dumber
programs should just do whatever gives the user the most power, convenience, and reliability, if that means being like emacs, ffmpeg, or systemd then so be it
gluing small programs together with pipes is only one of many ways of achieving flexibility, plugin systems or ipc systems can be just as good
in fact smalltalk systems were much better at gluing things that unix itself
>>
is cock mail down?
>>
>>102426327
It's really not. USE flags, accept keywords and masks are all you need to know, and they're easy
t. Linux noob who uses gentoo
>>
>>102427409
Pipes are good but if you took the UNIX philosophy to its logical absurdity you'd end up with tons of small modules that would arguably fit better into one larger program.

I suspect there are some functional programming addicts that would say a stupidly long pipeline is better though.
>>
>>102427407
No you want >>>/g/fwt - that's where all the weird shit is posted
>>
>>102427477
it's good for quick and dirty text manipulation, agreed, but almost nothing else
if you put many good modules together, that doesn't mean the whole will be good, not understanding this is the core fallacy of all unix dogmatists
interfaces and relationships matter just as much as the things that interface together
my experience has been that the more unix philosophy a system is, the more annoying an unreliable it will be
if you've ever run your own mail server, you'll recognize what I'm talking about
it's a pain in the ass because you have to glue many independent parts together, postfix, dovecot, dspam, fail2ban, an auth system. it's not hard to get into a situation where every program works as intended, but there's a problem on one of their communication boundaries
setting up a simple webserver for static pages or php is a breeze in comparison, exactly because it's not unix like. you have a master program, probably nginx, and a master config that decides almost everything. that makes it possible to provide good defaults
>>
what the fuck did i break this time?
rm -rf yay
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
(...)
==> Starting build()...
go build -trimpath -mod=readonly -modcacherw -ldflags '-X "main.yayVersion=12.4.1" -X "main.localePath=/usr/share/locale/" -linkmode=external -compressdwarf=false' -buildmode=pie -o yay
# runtime/cgo
In file included from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdlib.h:26,
from _cgo_export.c:3:
/usr/include/features.h:434:5: error: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Werror=cpp]
434 | # warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
| ^~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:114: yay] Error 1
==> ERROR: A failure occurred in build().
Aborting...
>>
>>102414851
I started off with Xubuntu and I have enjoyed it ever since, don't listen to anyone who says Arch Linux or Gentoo, they are advanced distros. Although the only reason why I installed Xubuntu over Ubuntu or Linux Mint is because I wanted to have Chicago95 and my Linux Mint USB wouldn't work for some reason.
>>102427407
Go to another board.
>>
>>102426627
>>102427422
still building the system but i haven't seen any conflicts yet. how does portage manage them, typical ask which to use?
>>
>>102417971
Use bubblewrap or flatpak
>>
>>102427407
Try the Rust general. They probably know.
>>
>>102420363
>Aren't you supposed to know a server before going for a XMPP client?
Yes, thats half of the problem.
>>
Has anyone tried to get turnstille working on gentoo?
>>
File: file.png (103 KB, 563x944)
103 KB
103 KB PNG
>>102423299
Tpm is pretty great, it's like a e-hymen that breaks on the conditions you set. if said "hymen" is broken it will not release the decryption key and nowadays most tpm chips are embedded into cpus so physical access is even more tricky
To setup tpm I just did
sudo systemd-cryptenroll --wipe-slot tpm2 --tpm2-device auto --tpm2-pcrs "5+7+14" /dev/nvme0n1p6
on top of already existing encrypted btrfs from fedora. This whole security model is just a chain of trust, so you need to sign your nvidia drivers yourself (or entire kernel and grub if your distro doesn't provide it) and add your own secureboot signature
I followed these tutorials
https://blog.monosoul.dev/2022/05/17/automatically-sign-nvidia-kernel-module-in-fedora-36/
sudo systemd-cryptenroll --wipe-slot tpm2 --tpm2-device auto --tpm2-pcrs "5+7+14" /dev/nvme0n1p6
pretty good, automatically signs the nvidia module on first boot after update

By auto-unlocking you are essentially trusting sddm/gdm (or anywhere between init to graphical.target, really) to not have any kind of bypass exploits.
Also, DO NOT rely on tpm alone. Once my tpm driver had a regression from a kernel update and if I didn't have passwd unlock I would be fucked
>inb4 bios backdoors
I'm fine so long as my files are unreachable from a live usb
>>
New to Linux, on Debian 12.
Having trouble with the ImageMagick AppImage.
https://imagemagick.org/script/download.php
>This AppImage has an open security policy. ImageMagick recommended practices strongly encourage you to configure a security policy that suits your local environment.
ok
>Simply add a custom security policy in your local path, .e.g., ~/.config/ImageMagick/policy.xml and verify with this command: ./magick -list policy.
I downloaded their example security policy and put it in ~/.config/ImageMagick/ but when I run
>magick -list policy
it doesn't show up. It only lists a /tmp/ path and a "[built-in]" path.
>>
>>102428835
>nowadays most tpm chips are embedded into cpus
Only the Pluton shit. Intel PTT is in the chipset, AMD fTPM is software.
>>
>>102429295
Output
$ magick -list policy

Path: /tmp/.mount_magick5mzUiA/usr/etc/ImageMagick-7/policy.xml
Policy: Undefined
rights: None

Path: [built-in]
Policy: Undefined
rights: None
>>
>>102429295
>a fucking appimage for magick
It's time to stop using Debian.
>>
Hello friends
Please recommend me a window manager to use with Xfce. I'm looking for maXXimum performance.
>>
>>102429617
Doesn't Xfce include a window manager out of the box? Or do you want to replace that with a tiling autismwm? From the words "window manager", I'm assuming you run X11?
>>
>>102429643
i have nanostuttering in 3D applications in with xfwm
>>
>>102429617
I use i3 / xfce on devuan
>>
>>102428510
Stop breaking my brain here. It's not a "problem" or "bug" or anything if a client needs a server. It may be a problem if the program is otherwise hard to use.
>>102427422
>>102426327
Making hardware to boot and picking kernel features are the absolute hardest parts of any DIY Linux build. Rest is just having files in a filesystem.
>>
>>102429710
Ah, I don't know then. When I want the absolute lowest latency at the cost of screen tearing, I just turn off compositing. But I don't use Xfce so I don't know if that can be done there.
>>
>>102429744
You dont understand how bad tech-illiterate people can be
Telling them to install a client and find a server and then adding contacts and all this other shit is too much work for them when they can download the whatsapp and then use their pre-existing contacts list
>>
>>102429757
with the compositor on I get Megastuttering
It's not microstuttering either as that can be felt. Which is why I decided to call it nanostuttering. I can see some weird frame time measurements on the mangohud overlay. I will post the difference once I get i3 installed and running.
>>102429736
Yes I opted for i3.
>>
>>102429617
I dont know, maybe try muttter?
>>
>>102429833
Yeah, if you want a tiling WM then i3 is the one I recommend to most people.
>>
>>102429833
>went with i3
Noice. BUT:
Didn't think of this sooner but if it's an X11 compositor you may just be able to turn off compositing, and keep using the same wm.
https://blog.programster.org/xfce-slow-desktop-compositing
>>
>>102429909
I have the compositor always off. I don't notice the tearing except in very niche situations. I guess the 144Hz screen obscures it.
>>
>>102429394
>a fucking appimage for magick
It made more sense to me.
First I did apt search magick and I saw some of the imagemagick packages, so I tried apt show
>$ apt show imagemagick
>...This is a dummy package. You can safely purge or remove it.
...ok?
>$ apt show imagemagick-6-common
>imagemagick-common ... does not provide a full installation of binaries, libraries, and utilities
required to run imagemagick.
So instead of messing with those I decided to opt for the AppImage.
But okay, fine, I just installed imagemagick with apt since apparently the "dummy package" redirects to the "correct" packages.
>$ magick -list policy
>magick: command not found
Really? So I installed ImageMagick, referred everywhere as simply magick, but I can't invoke it with "magick"?
>The ImageMagick version 6 command line API (shipped with Ubuntu 20.04 and earlier) consists of these commands:
>>animate, compare, composite, conjure, convert, display, identify, import, mogrify, montage, stream
>ImageMagick version 7 unified these commands under the magick command.
https://forums.debian.net/viewtopic.php?t=158049
Apparently ImageMagick 7 has been out for 8 years but it's not available?
https://tracker.debian.org/pkg/imagemagick
But it doesn't appear to be a Debian-specific issue.
>It looks like many other Linux distributions are also finding it challenging to package ImageMagick 7.
https://repology.org/project/imagemagick/versions
This seems to be an instance where it's actually better for me to use the AppImage over the package manager. But then I'm back to the policy not loading...

I really like using Linux but this ImageMagick shit is the first "major" headache I've had with it.
>>
>>102429951
That is weird.
I would suspect it to be a CPU scheduling issue then. Won't hurt to go through your list of services and disable the ones you don't need (e.g. I don't have a printer so I don't need CUPS running all the time).
>>
>>102429833
If you can't see it without a dedicated measurement tool, is it really an issue?
>>
>>102429994
>dummy package
What's up with those anyway? always saw them in apt based distros, something like a meta package? if not I don't think I've ever seen any equivalent in dnf or pacman
>>
>>102430268
pacman has meta packages. https://wiki.archlinux.org/title/Meta_package_and_package_group
>>
>>102430268
>>102430341
posted to early. What i wanted to say is they are something like a meta package with a single package in it
>>
>>102428241
anyone knows? ):
>>
>>102429994
I have imagemagick7 on archlinux
my alpine vm also has imagemagick7
i imagine gentoo also has imagemagick7
this seems to just be another autistic debian problem that no other distro has.
>>
>>102430537
imagemagick 7 hit debian experimental in late August.It's hilarious how out of date some parts of debian are.
>>
>>102430473
Uh I don't know, maybe you could apply a hack to define that value to 2?
>>
>>102428835
Amazing tip! Thanks anon!
>>
>>102430562
FreeBSD is slower than debian when it comes to release schedule and they still somehow have newer packages in their stable repo than debian does for some reason
>>
>>102430473
Try setting _FORTIFY_SOURCE=2 with CGO_CPPFLAGS in the pkgbuild
>>
>UEFI + GRUB + LUKS2 + BTRFS-ROOT + EXT4-HOME
>PLASMA + PAMAC + FLATPAKS + OPENSNITCH + GAME OPTIMIZED
Is this the best way to use Arch Linux?
>>
>>102430107
here's xfwm vs kwin
look at the frametime
something is wrong with xfwm
basically I completely broke my system installing i3 and had to install kde to recover. lol
>>
File: 1726578072435434.webm (387 KB, 864x1168)
387 KB
387 KB WEBM
>>102430831
>>
File: zhbqwHt.jpg (37 KB, 640x476)
37 KB
37 KB JPG
How many of you use Lisp?
>>
>>102430826
Just make a separate subvolume for /home, you don't need a separate ext4 partition.
>>
>>102430826
Why do people use separate /home partitions? I've never felt a need for one.
>>
>>102431463
Dual-booting or ease of re-installing the OS without wiping it.

You don't need a separate partition if you're using BTRFS though you can just do:

@ -> /
@home -> /home

If you ever need to re-install you delete/re-create @ and leave @home alone.
>>
>>102430826
>BTRFS-ROOT + EXT4-HOME
Why? This is pointless and overkill
If you're going btrfs root then just go btrfs /home
No point using flatpaks when you're on arch, flatpaks are a crutch for shit distros with bad package managers that are poorly maintained like debian
>>
>>102431504
>Dual-booting
Oh, so using the same /home with two different Linux installations? That's an interesting use case.
>>
>>102431540
I resent that remark! My GIMP is only 4 years old (I'm still on oldstable because can't be arsed to upgrade).
>>
>>102431610
Yes, you can do that just fine with BTRFS though if you do it like >>102431504 and then mount your filesystem with
-o subvol=@home
.

Using a separate ext4 partition only makes sense if you're using something without subvolumes/datasets/logical volumes/etc, i.e something like ext4 or xfs.
>>
>>102431642
GIMP hasnt been updated in like a decade
>>
>>102431654
That's because they've been busy developing a new major version that will release soon.
>>
Are LVM snapshots as easy to use as btrfs snapshots?
>>
>>102431714
No
>>
debian sid or void? i’m currently looking to migrate from xubuntu to something more minimal with a rolling release.
>>
>>102431664
are they finally going to support adjustment layers? that's the feature I miss most from photoshop
>>
>>102431714
No. They work at the block level, so you can use any FS, but you need to reserve space and stuff.
>>
>>102431821
They are, it's finally getting proper non-destructive editing.
https://www.youtube.com/watch?v=1HoZjHn8gVU
>>
>>102431421
>>102431463
No.
/home hosts a lot of stuff, including a few games, and important shit.
I don't want btrfs copy-on-write on /home, neither do I want to snapshot it.
Also a reminder, btrfs is still marked UNSTABLE/IN DEVELOPMENT.
All additional disks are also LUKS2 + EXT4

>>102431540
>flatpaks
Because they are cleaner, more secure, and gets rid of dependency hell.
>>
okay, so how do I commit software piracy on this thing? videogames in specific
>>
>>102431915
>I don't want btrfs copy-on-write on /home, neither do I want to snapshot it.
So don't use it? Set the NOCOW attribute on the subvolume directory.

>>102431915
>Also a reminder, btrfs is still marked UNSTABLE/IN DEVELOPMENT.
It's been stable for years now. Facebook uses it on their production servers, Synology uses it as the default filesystem on their NAS units, it has active contributors and is actively maintained, etc. Just avoid some of the more experimental features like RAID5/6 (you can still do it just use a different raid level for the metadata).

If you're just using it with default settings then you're not going to run into any issues whatsoever.
>>
>>102431956
>>>/v/
>>
>>102431849
amazing! thanks
>>
>>102431956
It's the same as in windows but you add "linux" to the search query.

For instance, to steal factorio you would search "factorio full", right? Now you have to search "factorio full linux". Easy peasy.

After that you'll usually get a .tar.gz file, which is like a .rar but for incels. You just extract it where you feel like and execute the included "run" or "run.sh", and that's it, no need to install or any of that gay shit.
>>
File: file.png (30 KB, 799x148)
30 KB
30 KB PNG
>>102431965
>nocow
lol, or I can just use ext4 on a separate partition
>>
>>102423779
I've tried rebuilding the whole kernel plus initramfs many times but then it creates a new stupid issue where it can't find rootfs on unknown-device, despite me making no changes to my kernel config, with nvme and ext4 all included. I have double checked the config and rebuilt so many fucking times I'm sick of it.
>>102424825
I deleted the old entry and only left the new one but it still loads on the old drive.
>>
File: voidlinux.png (76 KB, 799x868)
76 KB
76 KB PNG
>>102431782
>>
>>102428241
Looks like a Gcc or Glibc bug. Do you have _FORTIFY_SOURCE set to 3 in make.conf or the PKGBUILD, etc?
>>
>>102432283
ext4 doesn't do checksums in the first place. You're not missing out on anything by using BTRFS with nocow over ext4, except for the lack of data integrity which you're not going to get with ext4 anyway.
>>
>>102432404
>The nodatacow option also disables compression.
kek
>>
>>102432404
>>102432283
Another words that warning applies equally to ext4.
>Warning: Using an inferior filesystem without checksums means it will not be able to detect bitrot. When combined with RAID1, power outages or other sources of corruption can cause data to become out of sync
>>
>>102428381
What board? I learned about it here 2 years ago.
>>
>>102432322
Idk, maybe double-check the fstab to make sure that you've actually pasted in the UUIDs of the new drive rather than the old? If that fails, my only other idea is grepping the entire drive for all the old UUIDs.
>>
Does anyone have a solid BTRFS subvolume setup + mount options for NVME and SSDs they can share?
Defrag, trim, swapfile, noatime, etc?
For arch linux.
>>
File: bruce_bussy.png (928 KB, 900x900)
928 KB
928 KB PNG
I have a website that list all the bugs left to solve before GIMP 3 is released. Everytime a major GIMP bug gets solved one of the issues is striked out. https://gegl.neocities.org/gimp3

Also I was gone from /g/ for exactly one week because Lunduke and I were hanging at a RWDS convention together. its not like I got banned for encouraging violence against woke people.
>>
File: goddess_ebussy.png (999 KB, 900x900)
999 KB
999 KB PNG
shit I posted the image with the clipping.
>>
>>102431956
>>>/t/1175569
>>
>>102433075
What the fuck is this shit.
>>
File: gnome_bitches.png (391 KB, 548x548)
391 KB
391 KB PNG
>>102433240
ebussy and bruce3434

ebussy is known for usecase memes causing bug issues surrouding GNOME and bruce3434 is known for productivity and hard work memes surrounding gnome.

When you see a bruce3434 garden gnome meme it is pro GNOME tech like (wayland, systemd, flatpak) while condoning unproductive Linux users deemed;tinker trannies and lazy people who do nothing but rice their desktop. Where as ebussy "emannuel baasi" is seen asking what is the purpose of a feature in software always advocating for less features and a ultra simple GUI.
>>
mount -o noatime,nodiratime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@flatpak /dev/mapper/root /mnt/var/flatpak

This is how you max your btrfs options on an nvme.
Many of these options are defaults, but better safe than sorry.
zstd defaults to compression level 3, there's conflicting opinions about lowering it to 1
Endless outdated info about btrfs, it's frustrating researching this shit.
>>
File: 1726276311177956.png (123 KB, 637x575)
123 KB
123 KB PNG
>>102431782
devuan ceres
>>
>>102433685
>/var/lib/flatpak
fixed
>>
>>102433685
noatime implies nodiratime, no need for the latter.
>>
>>102431782
Debian sid isn't really supposed to be used as your main OS. If you care about fresh packages that much, maybe Arch or NixOS?
>>
I've been using linux for a long time and I currently am using Debian with cinnamon in the past i have used ubuntu and mint as well but always used a gtk de like mate, xfce, cinnamon, gnome. tried kubuntu once years ago and didn't really care for kde
but I just ordered a refurb Precision laptop that has a dedicated gpu (quadro p5000) and I am interested in using it for stable diffusion and playing with llamas
i've heard on here that gayland is better if you want to do graphical shit
would debian cinnamon (my preferred os right now) cause problems on a machine witha dedicated gpu? not really into video gaming but the p5000 is basically a 1080 so i will probably want to play some games as well
>>
>>102433846
I thought that X11 with proprietary driver is currently the most reliable Nvidia setup?
>>
>>102433750
Thanks. And what's your opinion on excluding flatpaks from snapshots?
And what about compression level?
Here's my current plan:
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@ /dev/mapper/root /mnt
mkdir -p /mnt/{boot,btrfs,efi,home,root,.snapshots,var/cache,var/log,var/tmp,var/cache/pacman/pkg,var/lib/flatpak,var/lib/portables,var/lib/machines}
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@snapshots /dev/mapper/root /mnt/.snapshots
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@pkg /dev/mapper/root /mnt/var/cache/pacman/pkg
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@log /dev/mapper/root /mnt/var/log
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@tmp /dev/mapper/root /mnt/var/tmp
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@cache /dev/mapper/root /mnt/var/cache
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvol=@flatpak /dev/mapper/root /mnt/var/lib/flatpak
mount -o noatime,compress=zstd,space_cache=v2,ssd,discard=async,commit=120,subvolid=5 /dev/mapper/root /mnt/btrfs


>inb4 @home
Separate partition, not doing it.
>>
Is there any point in the /efi partition being larger than 36mb as per FAT32 minimum?
The grub .efi uses only like 388kb.
>>
When did Lutris become so shit? I just re installed my computer and it just spits out error 256 all the time searching it up online gives no insight as I only get "same bro" posts over reddit, github and their own forums..
>>
Does anyone know how to disable automatic updates on Kubuntu? I turned my computer on, discovery had a little icon in the task bar that said updates were available. Cool. A few minutes later I get an 'Updating...' message and then get prompted to restart my computer to complete upgrades.

Except I never started the updates at all. Really annoyed that automatic updates are even a thing, fuck the devs
>>
>>102434515
As someone who has only recently tried to use it, I envy people that have it 'just work'. Troubleshooting wine is a joke, I have no idea why wine was designed to be so opaque
>>
>>102434759
The thing is I've used it for ages but on a fresh clean install where I followed the guide to the letter to just reinstall my games it just says "lol no"
>>
>>102434114
FDE / netboot require a kernel and programs and sheit.

If you're the dig your own pool sort, you can probably fit a kernel and busybox in 36mb anyway.
>>
Best Lutris alternative? I've had enough of this and bottles is gay too
>>
>>102432283
ext4 doesn't do checksums either, it doesn't make it worse than ext4 in this regard
you're put off these warnings despite them warning you that it makes it as dangerous to use as ext4, it's really quite funny to watch
>>
>>102432440
again, ext4 doesn't support compression
for completeness sake, ext4 also doesn't support CoW
>>
>>102433685
use
compress-force=zstd
instead, the built-in mechanism for skipping incompressible data in zstd is better than the one built into btrfs, so you will end up with more stuff compressed for little cost
the one in btrfs is very basic, all it does is check if the first 64k of a file is compressible, and if not /permanently disables compression forever for the entire file/
>>
>>102423747
On that computer: it's just a plain liveboot of the latest Debian-based 32-bit Slax Linux. I accidentally installed ufw, but that doesn't matter because I had that problem before doing that. I think I can access any clearweb HTTP(S) site in that computer, and I know that IPFS completely works in that laptop. My router might be blocking Tor connects, but I don't think it is. My guess is that that binary specifically from a package manager doesn't fully work - not enough testers for 32bit? Small chance that compiling those two main programs will fix it. (Also see my posts about how Tor isn't listening on any port of any local IP address.)
>>
>>102414851
>on mint cinnamon 21.3
>plug headset into headphone jack
>mint doesn't read it unless I switch users or suspend
How do I fix this?
>>
Is it OK and secure to run an onion service like the following? (In the computer in which Tor works) using python3's http.server as the web server and the web root looks like this:
- 2 images, 2 text files
- symlink to a folder in which everything is read-only

I just wanted to run it as something of a one-sided file sharing thing, a basic "index of" set of directories and files. The .onion site is intended to only be read-only. I know that a Python HTTP Server is said to not be as good as Apache or nginx, by like everyone. I have an Apache HTTP Server which I only use for LAN stuff. How would I completely segregate the LAN-only side and the Tor-side if I was to use Apache to do that? I could probably find some webpage detailing how to do that, but if someone wants to explain, then go ahead.

>>102435120
How do I fix this? Taking a closer look at https://tor.stackexchange.com/questions/12285 >>102419242 - that answer post wan't helpful, but IIRC the comment posts may be helpful. Also some phoenix kb webpage, forgot the url, about open ports on Linux.
>>
>>102435233
the python web server is not intended for public use, and shouldn't be trusted to be safe for that purpose
also, if it's set up to follow symlinks, then it's not chrooted, which is also not a good idea
consider instead something like darkhttpd, it's even smaller/lighter than python's built in server, and supports things that make it much better for file sharing than python's (such as resume support, enabling interruptible, seekable and multi-connection downloads). it also support chrooting the web root, preventing accesses outside of it (a symlink won't work in that case, but you can do a bind mount instead)
>>
>>102435233
>I have an Apache HTTP Server which I only use for LAN stuff. How would I completely segregate the LAN-only side and the Tor-side if I was to use Apache to do that?
I don't understand why you even mention this.
>A. use the same *instance* of the server process for the "LAN server" and Onion server
>B. use Apache because don't want to install more server software
Which one or is there a C option?
A doesn't make any sense at all but B kinda does. Although why not just serve with something simpler assumed you don't want CGI and stuff?
>>
>>102415065
because linus designed it and he's horrible at UIs by his own admission
>>
>>102435233
>forgot the url
This one:
https://phoenixnap.com/kb/linux-check-open-ports

>>102435299
Ok.
>symlink won't work in that case, but you can do a bind mount instead
Good. (I wonder how to do that without messing with ausfs / unionfs / overlay filesystem.)

Haven't heard of darkhttpd, but I have heard of something like lighthttpd

>>102435344
So you're saying it's a bad idea to run Apache for things I only want to be able to run + public onion. I thought it may be possible to do so I didn't have to mess with nginx or whatever. I do want to keep using Apache's CGI. BTW, I followed some Windows-based guide on how to enable HTTPS on LAN-only IP addresses. Tried to adapt it to work for Linux, failed. Concluded that enabling SSL/certificate on LAN addresses is "difficult".
>>
>>102435554
>Haven't heard of darkhttpd, but I have heard of something like lighthttpd
it's about as simple as it gets, it's like python's one where you just give it a directory to use and that's it
it's also fully static/depends on nothing, on my system it's 60k in size. it does everything you'd want a static web server to do, all it lacks is dynamic stuff like cgi (so no php for example), it's perfect for a file sharing server
>>
>>102435554
>So you're saying it's a bad idea to run Apache for things I only want to be able to run + public onion
You can obviously run another Apache instance on the same server.
>>
>>102435233
>Apache
Learn nginx, you'll never go back.
>>
>>102432586
Trim is enabled automatically for SSDs. I use:
/ btrfs defaults,X-fstrim.notrim,noatime,subvol=@,compress=zstd:6 0 0
/home btrfs defaults,X-fstrim.notrim,relatime,subvol=@/home,compress=zstd:6 0 0


The X-fstrim.notrim doesn't mean there's no trim because BTRFS enables this automatically on new kernels. This is just to get the fstrim.service to skip the drive because trimming it manually is pointless.

I disable atime for / but enable it for my @home subvolume.
>>
>>102433685
ssd and discard=async are enabled by default for SSDs, otherwise it looks good to me.

What does space_cache=v2 do (as opposed to v1?)?
>>
>sudden intermittent connection problem on Mint while every other device in the house doesn't have issues
Oh god now what, nothing even changed
Its fine if it can establish a connection but its a gamble
>>
>>102435882
Sounds like a driver issue or hardware issue. I doubt it's your networks fault.
>>
File: file.png (53 KB, 565x558)
53 KB
53 KB PNG
>>102435914
driver is sounding likely because none of the network GUIs will save anything I do to them. Hitting save just restarts the entire thing and goes back to default.
What the fuck
>>
My laptop has two GPUs, one Intel Xe graphics and one Nvidia. They are both recognized by neofetch and lspci but I have a feeling that neither of them are being used since all my resource monitors show my GPU usage at 0% always.

How do I test if both GPUs are working as intended and if they're not working how do I make them work?
>>
>>102436168
you want to install nvidia driver and nvidia prime switcher
>>
>>102436168
intel_gpu_top and nvtop.
>>
>>102414851
I installed linux mint on my T480 but the keyboard backlight button and the brightness buttons do not work, all the other function buttons work well. The keyboard itself is functional and these buttons work with any other OS. Do you guys know if there is any way to get them to work?
>>
>>102436194
If the GPUs are being detected by lspci and neofetch, doesn't that imply I have both the drivers installed. I have nvidia-dkms installed but I'm not sure about the Intel one.
>>102436200
Are these on Arch? I'm on Arch.
>>
>>102414851
Windows baby about to jump into Linux Mint.
I'm very close to flashing a USB thumbdrive.
I have a list of PC parts to make a beefy PC. Is the performance boost/lightweight nature of XFCE worth it? I've been back and fourth between XFCE and Cinnamon for a while now. Is the performance difference noticeable and/or worth consideration?
>>
>>102436418
>Are these on Arch?
Yeah. Intel one requires the CAP_PERFMON privilege.
>>
>>102436514
don't use cinnamon if you care about performance
>>
>>102436768
Alright I'll stay on xfce.
>>
New thread:
>>102436812
>>
>>102436418
install nvidia-prime
it will allow to choose which gpu you want to use
you can confirm it works properly by running a benchmark or a game.
>>
>>102415065
It's a shame mercurial didn't win the cvs wars. It's so much easier to understand.



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