Skip to content

u/oxamide96

In this archive from Jun 2020 to Nov 2026

68
posts
144
comments
0
media
1.4k
score

Hypothetically, are GNU utils necessary for a GUI Linux Desktop to run, if the user never uses the terminal?

I'm not asking this because I want to uninstall them or anything, purely for understanding purposes. Are the GNU utils necessary for a Linux Desktop to run? Think something with a basic desktop environment or window manager, file manager, browser, etc. Do these typically use the GNU utils as backend...

9 points19 comments
Open on Reddit

What is the term for when a CLI application continues running rather than immediately end, and intercepts input from the user? sort of like mpv does?

I dont know what the word for this is. some CLI programs run, then quickly exit and output something. But others continue running, and they take more input from the terminal. Is there a term for that second one? For example, mpv (the video player) does this. While the video is playing, you can press...

0 points7 comments
Open on Reddit

Is there a way to force all terminal programs to use light colorscheme? Some programs seem not to follow it.

I currently use a light colorscheme for my terminal. I have tried kitty, foot and alacritty, but I keep occasionally running into programs that render text in their own way, assuming a dark colorscheme, making the text unreadable. The most recent example was with bitwarden-cli, where running bw get...

5 points4 comments
Open on Reddit

Trying to use ps and awk to calculate RAM usage by all processes of a program, but getting weird results. What is wrong with the script I am running?

Hi friends! I am trying to calculate the amount of RAM being used up by a program. the program runs multiple processes, so I wanted to sum them all. The problem is, the result I am getting is 16+ GB. that is obviously impossible, my machine only has 6GB in RAM, so something must be wrong in my scrip...

1 points7 comments
Open on Reddit

What are good and creative ways to invoke actions on a Linux server remotely, from an Android device? Looking for a balance between security and convenience.

Use case I want something done on my Linux server, but want to invoke it from my android phone - on demand. These things may sometimes need some sort of payload. For example, providing Linux server with a YouTube link, and it plays it with mpv. Basic Solution: Termux+ssh This solution works very wel...

1 points4 comments
Open on Reddit

How to create isolated development environments on Linux? To separate dependencies per project and prevent polluting system package space. (containers? Docker? Nix?)

Hi friends! I am looking for a lightweight and simple solution to be able to create isolated development environments on Linux. What do I mean by that? I want to have a way to have, for each code project, a separate environment, where dependencies and processes are managed separately, and installing...

2 points10 comments
Open on Reddit

Rsync: How to change files' group without being root? I get `No colon found in --groupmap` syntax error

EDIT: sorry I pasted the wrong error message in the title. It is chgrp "[filepath]" failed: Operation not permitted Context: I am trying to sync files across several machines, one being the main server. I am using rsync. There are two clients, let's call them clientA and clientB. When a client pushe...

3 points5 comments
Open on Reddit

What are the disadvantages of using an interactive shell based on a regular programming language (python, scheme's scsh, etc) vs. bourne shell and bash?

There are many alternative shells out there. The popular ones seem to maintain a degree of compatibility with bourne shell and bash, namely dash and zsh. Some deviate even more, like fish. But then I've learned that it is possible to use shells based on regular programming languages. I've seen peopl...

6 points3 comments
Open on Reddit

Any guides, tips, or strategies for someone getting into packaging and package testing (especially for source-based package systems, like Gentoo and AUR)?

I have looked at the Gentoo guide for chroot for package testing, which I found to be pretty awesome. I am looking into learning packaging, package maintenance and testing, specifically for packages I want to use but dont find on Gentoo repos. Are there any guides you recommend that you can link? or...

1 points4 comments
Open on Reddit

Are Gitea Mirrors good to archive Github repositories at risk of deletion? Are there alternatives that allow archiving pull requests, issues, etc. as well?

I have been using Gitea mirrors to backup Github repositories that aren't mine, but want to make sure they can survive if the repository gets deleted from the source. Would that eventually cause my mirrors to be deleted as well? Also, is there anyway (through gitea or otherwise) I could be archiving...

11 points9 comments
Open on Reddit

How to mirror a directory into another path, such that any time a change is made in the original, it is reflected on the mirror? for the purpose of version control tracking

I am trying to git track some directories on my computer, but the directories live in different parts of the file system. I thought about symlinking the two directories in another path, and initializing git there, but git does not seem to like that, returning the error: fatal: pathspec 'directory/fi...

2 points6 comments
Open on Reddit

Will the compositing overhead of wayland always make it perform less than X.org in Linux gaming, or will it surpass X.org?

My apologies as I don't know enough about these topics, but I understand that wayland is improving its gaming performance. But I also understand that wayland seems to always require a compositor (am I wrong?) unlike X.org. Will this be a setback in terms of gaming performance? Will it be significant...

0 points3 comments
Open on Reddit

Which is better for security: a process ran as root, but in a chroot jail, or a process ran by a locked down, unprivileged user, without chroot?

I ask this because I am running the rsync daemon on a local server, and it has the ability to run the transfer process as chroot-ed. But it requires running as root. Would that be better or worse for security? Is it easier breaking out of chroot jail than elevating or getting around user permissions...

1 points7 comments
Open on Reddit

How does rsync daemon work with permissions? if I restrict permissions on a directory, I can no longer rsync to it, even if the daemon is running as root

EDIT: RESOLVED I have a directory called sync. I have rsync daemon running. My init system runs it as root. However, whenever I try to rsync from another computer (over LAN) to copy a file from the computer to the server running rsync daemon, the transfer fails with Permission Denied. rsync: [Receiv...

2 points5 comments
Open on Reddit

Is there a security benefit in making a separate user with permissions to edit config files, or is it better to always use root for this?

I have a headless server I am trying to secure. I have a ssh-able user. Let's call it ssh-user. I don't want to give too much power to ssh-user. I may want to ssh into my server and edit config files. One way to do this securely is to only give write permissions for config files to the root user (th...

1 points4 comments
Open on Reddit

distcc cross compiling fails. "failed to exec [...] Permission Denied" even when ran as root.

Hi all. I am trying to use distcc to assist my ARM (musl) gentoo master machine in compiling, with the volunteer being an x86 Arch Linux install. I downloaded a cross tool chain from musl.cc onto the Arch volunteer. In /etc/conf.d/distcc, I added the cross toolchain's path to the $PATH variable (and...

5 points4 comments
Open on Reddit

Trying to understand Apprmor: Is it a way to put restrictions on a process / app rather than the traditional Linux way of putting restrictions on a user?

Want to make sure I understand AppArmor correctly and DAC vs MAC as it applies to Linux. Is DAC in Linux basically the way privilege is controlled through user permissions and groups, and applying these permissions on files using chmod and chown? MAC through AppArmor seems more complex and I'm tryin...

3 points6 comments
Open on Reddit

I've seen it explained many times (often very differently): I still don't understand "stability" in a distro

Is there any good source-of-truth that explains this concept in depth? I get that with a stable release system, you're not getting the latest packages from upstream. But my information beyond that is blurry. I have a vague understanding that package versions are locked for a certain duration (5 year...

0 points6 comments
Open on Reddit

Do I need binfmt when using qemu static / user mode? It works without it. What is binfmt needed for?

I am trying to use my x86 system to chroot into an ARM system. I installed qemu-user-static from the AUR (I have arch on my x86). I can now successfully chroot into the ARM device using qemu-aarch64-static without issues. I did not use binfmt at all. But many guides on doing this online mention a st...

5 points1 comments
Open on Reddit

Recommendations (resources, programs, etc) for relying on TTY / framebuffer terminal instead of a display server like Xorg and wayland?

I know it's not practical, and it comes with little benefit whereas I could simply launch a simple window manager with a single terminal window open. But my curiosity still tells me to try living on the TTY / VT for a bit just to try it. Any resources to help me along this journey? I am admittedly v...

1 points2 comments
Open on Reddit

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.