58 questions from the last 30 days
-1
votes
0
answers
13
views
How to format a partition in Red Hat Enterprise Linux? [closed]
I’m new to RHEL and Linux system administration. I have a disk with an existing partition that I want to format, but I’m not sure what the correct and safe steps are.
What is the recommended way to ...
0
votes
0
answers
17
views
Ubuntu recongnition of a 3Dconnexion mouse using spacenavd service [closed]
I'll speak about something that could possibly impact absolutely no one on stack ... So I just hope my problem is enough "generic" to be considered.
Ok, so I have this old 3D mouse, a ...
0
votes
0
answers
20
views
qemu-system-mips kernel loops indefinitely on serial output
I'm exploring qemu system emulation with custom-built Linux kernels, starting with mips. To start, I'm trying to get to the point of the kernel simply panicking before I add a rootfs, but I can't ...
-1
votes
0
answers
38
views
Fatfinger / random mouse click made emacs ctrl & meta no longor work., how to recover [closed]
I must have fat-fingered or random clicked with the mouse on screen. Now in Emacs the ctrl and meta keys no longer function.
I hold down ESC and type % and expect text replacement to come. But instead ...
-1
votes
0
answers
55
views
Issues installing ArchR [closed]
I'm trying to install ArchR to replicate Step 2 in this GitHub repo
I am following the Installation of ArchR steps, but when I execute this line:
devtools::install_github("GreenleafLab/ArchR"...
1
vote
0
answers
64
views
Devtool with/without running bitbake first
I don't understand how to use devtool properly for my Yocto project. I started using it in order to patch the kernel as suggested by the Yocto Project. I just don't understand why it behaves ...
0
votes
1
answer
45
views
Set dotnet version to use for debugging
Is there a way I can set the dotnet version to use for the debugger. I am using the one (debugger) that comes with C# Dev Kit. I currently have dotnet 8 and dotnet 2.2 installed but the debugger ...
0
votes
0
answers
73
views
How to find icon file in desktop file in python? [closed]
Let's say we have a desktop file:
[Desktop Entry]
...
Name=Firefox
Icon=firefox
...
It says Icon=firefox; where is the firefox icon?
0
votes
2
answers
70
views
How to reliably map glibc dynamic symbols (e.g., open@glibc) to kernel syscalls (e.g., openat)?
I am trying to build a mapping between the dynamic symbols in ELF files (from glibc) and the actual kernel syscalls they invoke.
My environment is x86_64 Ubuntu 22.04.
What I've Tried
Parsing man 2 ...
0
votes
1
answer
32
views
redirectUri mismatch with linux broker
I am trying to authenticate my app again my Azure tenant using the Intune broker under Linux:
app = PublicClientApplication(
client_id=...,
authority=...,
enable_broker_on_linux=True,
)
...
0
votes
0
answers
48
views
Problem installing the Hyphen package in Quarto / R Studio
I'm using Quarto 1.6.42 in R Studio (R 4.5.2) on a Linux Ubuntu 24.04 environment to generate a PDF document.
When I try to render the document to generate the PDF file, I receive the error message ...
Tooling
0
votes
3
replies
58
views
How to send still image of screen to external monitor via software on Linux?
I seem to be the only person that wants to freeze a screen on purpose. My use case is that I want to keep the image on the external monitor frozen while I switch windows or do other things on the ...
0
votes
0
answers
23
views
buildroot foces adding hash file in BR2_GLOBAL_PATCH_DIR?
I'm using buildroot 2024.02.
I set BR2_GLOBAL_PATCH_DIR+="$(BR2_EXTERNAL_MY_PATH)/patches". Its contents:
% tree /home/admin/buildroot-external-my/patches
/home/admin/buildroot-external-my/...
Tooling
1
vote
4
replies
150
views
How can I programmatically perform a system board (motherboard) diagnostic test on Linux?
I’m working on a C++ backend tool that performs system diagnostics for various hardware components on Linux.
So far, I’ve implemented tests for:
Memory — using memtester
CPU — using stress-based ...
0
votes
0
answers
41
views
AXI DMA Linux Driver on ZynqMP
I have a ZynqMP board with 4GB of PS RAM and 2GB of PL RAM. I have to write stream data to PL RAM using the AXI DMA s2mm channel and transmit it through 1G Ethernet. I've done this in a bare metal ...
Advice
1
vote
3
replies
73
views
C++ get full controll of any keypress in Linux Gnome terminal
I already can get keypresses in my c++ app.
I want to get any keypress when running in a terminal on Linux. The terminal is the gnome terminal app running on the Cinnamon desktop.
For example,
I want ...
2
votes
1
answer
112
views
Sending raw packets back to host's networking stack
I'm writing a TCP/IP stack for embedded systems, but I wanted to test it on my host system.
Originally I tried with tap0 + a bridge. But I quickly realized it would make the most sense to bind to the ...
-1
votes
0
answers
14
views
How to rotate the input of a non-Wacom graphics tablet in Linux using xinput? [migrated]
I want to leave this solution here because it was difficult for me to find it or I didn't know how to look for it.
I have a Gadnic graphics tablet (model Gotop T505, identified by lsusb as ID 08f2:...
0
votes
0
answers
53
views
PostgreSQL Docker Container Permission Issues with NFS Mount and Domain User
Problem Summary
I'm experiencing permission issues when deploying a PostgreSQL 9.6 container in Docker Swarm that uses an NFS-mounted volume for data storage. The container fails to start with the ...
1
vote
1
answer
123
views
How to specify only one instead of multiple of a character in a row in grep regex?
I am trying to use a single grep command to search for all instances of $ until a single =
I have the following command so far grep -E '\$.*=' which returns all lines with a $ and then a = but it also ...
2
votes
1
answer
83
views
System cache constantly grows when stress testing backend app
I've been stress testing my .NET application that uses PostgreSQL to find memory leaks. The app is very stable memory-wise — memory usage only depends on the number of concurrent connections.
However, ...
1
vote
1
answer
76
views
Perf callgraph output doesn't look as I would expect for a test program with a delay loop that should take near 100% of the time
I'm experimenting with perf record --control to profile select sections of a program.
Here's a Rust program that uses perf to profile the call to a function waste_time():
use libc;
use log::info;
use ...
2
votes
2
answers
183
views
How to debug external program run in main function in C?
I want to add a breakpoint in the line system("/path/to/world") in VS Code for debugging the /path/to/world program with gdb.
Here is the source code of /path/to/hello.c:
int main(int argc, ...
3
votes
6
answers
174
views
bash script use function call in string substitution
in a bash script I call an external script that gives me the status of a program, like
~/bin/status
which returns something like
program is running
or
program is halted
Now I want to use only the ...
-1
votes
0
answers
21
views
.desktop file won’t launch Proton app on double-click (works in terminal) [migrated]
I’m creating a custom Proton-based “Windows layer” (without Steam) to run .exe files directly on Linux.
Running them from terminal works fine — but double-clicking via a .desktop launcher does nothing....