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