227,178 questions
-1
votes
0
answers
15
views
Long delay before fanotify event on /etc/ld.so.cache being opened by execve
I try to listen to file events using fanotify Linux API.
Sometimes when an execve happens, I get FAN_OPEN_PERM event for file /etc/ld.so.cache long after (more than half a minute) getting such an ...
-4
votes
0
answers
62
views
New system, Apache 2.4 saying it can't read my ~/public_html despite being configured the same as all my previous systems [closed]
Lightning damage fried my old home dev box this morning, so I built a brand new one, installed the same OS and same packages. I even tried to restore the package configs to what I had backed up on ...
-2
votes
0
answers
39
views
dpkg-deb: error: maintainer script has bad permissions [closed]
I am building a simple package under Debian 13. In my DEBIAN directory I have a postinst file, which has permissions 0644.
This file (and its host DEBIAN directory) get copied into the package folder ...
4
votes
0
answers
97
views
Accepting Drag'n Drop in Java Swing with native data with flavor "application/x-color"
I've encountered a rather interesting problem. I wanted to extend my color-palette-viewer with the functionality to drag the colors into other applications. For a text editor this is easy, a ...
Advice
0
votes
2
replies
75
views
Linux USB bind/unbind
Assume that I have a USB drive plugged into my Linux (Debian) system and that the drive has been ejected via the âejectâ button from the desktop interface.
I am writing a Bash script to allow the ...
3
votes
1
answer
162
views
libcurl fails to read cert file in one project and succeeds in another [closed]
I have two versions of a c project in the same folder. (They were initially in different folders, moved them for debugging purposes).
I have set both of them to verbose output and the results are the ...
-2
votes
0
answers
48
views
Jenkins installation fails with NO_PUBKEY 7198F4B714ABFAA78 while adding Jenkins repository [closed]
I am trying to install Jenkins on Ubuntu 24.04 running inside WSL2 on Windows 11, but I keep getting a GPG signature verification error while adding the Jenkins repository.
I have already spent ...
Advice
0
votes
0
replies
53
views
hwmon/lm-sensor virtual device
I have a custom fan control (based on a rpi2040-zero), which provides a custom JSON API via serial connection.
Now i want to integrate that into hwmon/lm-sensors.
I want to read & control each fan,...
Best practices
0
votes
3
replies
62
views
Are there fork-aware malloc-implementations?
Our Python program starts by reading a large amount of input data. It then forks a number of workers to process it. The workers inherit the input as shared pages, which allows to save many gigabytes ...
Tooling
1
vote
6
replies
180
views
Why doesn't console end printing of the string at the "\0"?
I noticed in sl source code if I modify sl.h to remove spaces before end of the string code does not work properly for some reason. I use xfce4 terminal.
For example, if I disable wagons on D51 train (...
Best practices
0
votes
2
replies
74
views
Cant decide how to set up 2 ubuntu laptops for Coding
So, m a 3rd year CS grad, I have 2 ubuntu laptops now, have pretty good understanding of linux. I wanted to ask the best way I can setup these 2 laptops for maximum efficiency n kinda look cool. I ...
-3
votes
0
answers
33
views
mesa failed during building core-image-weston stm32p157 [closed]
I'm having trouble building the core-image-weston image. I'm using Ubuntu 22 and VMware Workstation.
config in local.conf:
MACHINE = "stm32mp1"
DISTRO ?= "poky"
...
2
votes
1
answer
382
views
gcc doesn't find limits.h although I can see it [closed]
I'm fairly new to programming with c, before I used python on windows. Now I want to code on an Ubuntu 26.04 LTS machine, wanting to use the libusb-library, but it doesn't work... I upgraded gcc using ...
Best practices
2
votes
10
replies
198
views
non-blocking I/O from keyboard to get key presses
I have been learning about blocking and non-blocking I/O from file descriptors. Basically I want to detect key-presses for a game and want to know the best method for it. The platform is linux, and I ...
Advice
1
vote
2
replies
76
views
I am looking for a GUI tool similar to win32 API Spy for a popular linux distro such as Linux Mint
Does anybody know the name of a software tool with GUI friendly interface that helps me map calls like that on Windows, for Linux instead using system tracing related to the GUI and it's components, ...