Skip to main content
2 votes
0 answers
46 views

I've been trying to reimplement electron-click-drag-plugin for the needs of my Electron app. But I hit a hard wall when implementing it for X11. I've successfully sent the EWMH event, but it doesn't ...
Yu Ling's user avatar
  • 93
-3 votes
2 answers
82 views

In Linux, can a process inside a docker container increase a pipe buffer size beyond the maximum configured in the host OS? I'm trying to write code to stream files between two different network ...
benjimin's user avatar
  • 5,152
0 votes
2 answers
73 views

I'm not able to set the initial window size. The app always displays 200x200. public class tcase extends Application { @Override public void start(Stage primaryStage) {...
codeDr's user avatar
  • 1,732
0 votes
1 answer
50 views

I need to get the current system time in my BTF probe. How can I call bpf_ktime_get_boot_ns() on kernels 5.8 and newer, and bpf_ktime_get_ns() on older kernels where bpf_ktime_get_boot_ns is not yet ...
patraulea's user avatar
  • 1,014
Advice
1 vote
1 replies
51 views

I need clarification, since I fail to find a proper explanation on the internet and I don't trust ChatGPT. What's the difference between linux getty program and systemd-logind? I understand that both ...
Experiments Bel''s user avatar
3 votes
1 answer
121 views

The code below works if I tell it to send a signal, but that'll be a pain because I'll do this for many threads as well as the whole process. It's supposed to work without any signal or handler but ...
Adrian May's user avatar
  • 2,258
1 vote
0 answers
111 views

I test a simple program via perf stat #include <cassert> #include <cstddef> #include <iostream> int main(int argc, const char* argv[]) { assert(argc == 3); int64_t iters = ...
ilnurKh's user avatar
  • 11
Best practices
1 vote
4 replies
144 views

The problem i'm trying to solve I currently manage my configuration files with GNU stow. To summarize the purpose of stow: If i store all of my configuration folders in one directory (wezterm/, neovim/...
user23676217's user avatar
-3 votes
0 answers
46 views

I am running Debian Linux (forky/testing) with kernel 6.19.11 on a 64 bit machine. I have a brother laser printer (hl2130) and printing via it was fine until the last couple of days where the message ...
SRB's user avatar
  • 12
-1 votes
0 answers
80 views

I want a "killer" thread to wait for a duration after which it thinks it'll have something to do while other "worker" threads modify how long that will be. I'm worried about the ...
Adrian May's user avatar
  • 2,258
-6 votes
0 answers
128 views

Problem Summary I'm trying to run OpenClaw (Ollama's autonomous AI agent) with local LLMs on Ubuntu via WSL2. While OpenClaw launches successfully and connects to Ollama, it throws persistent errors ...
The Adarsh's user avatar
-7 votes
1 answer
72 views

I have added a line to ~/.ssh/authorized_keys on a remote Debian server. Over night, the file got updated and the entry hence lost. I know I should fix the overwrite, yet as woraround: How to prevent ...
k0pernikus's user avatar
  • 67.9k
2 votes
2 answers
276 views
+100

Context: I am developing a game with Unreal Engine, and it runs fine on Windows in debug and release. Now I want to release a build for Linux. But my boost::asio networking is not working anymore; my ...
Koronis Neilos's user avatar
0 votes
1 answer
86 views

I'm trying to list all file descriptors opened by some process by accessing /proc/[process_pid]/fd my code: pub fn list_fds(&self) -> Option<Vec<usize>> { let mut fd_vec:...
jz steven's user avatar
Advice
0 votes
1 replies
75 views

Im a beginner system developer, and I want to gather everything I need to start my journey. I previously had experience in backend development with Golang, but now my direction has changed and I want ...
Max Skold's user avatar

15 30 50 per page