227,225 questions
-1
votes
0
answers
47
views
ZKFPM_Init() returns -2 on ZKTECO SDK for linux last updated on 2022-07-25 while testing with ZK9500 USB fingerprint sensor
I am trying to develop the software for fingerprint scanner for ZK9500, i copied all the so files from sdk x64 path to current folder and tried to test the demo project they provided by running as
...
-7
votes
0
answers
52
views
Bteq Utility Hangs After logon [closed]
We have recently upgraded teradata linux utility from v17 to v20.
When we tried to connect using v17 it works as expected and we are able to login.
But in other case it hangs after password is ...
-2
votes
0
answers
85
views
Ubuntu 22.04 VM Cannot Access ondrej/php PPA (TLS Handshake Failure in Private Network) [closed]
I am trying to install PHP 8.3 on an Ubuntu 22.04 (Jammy) VM running Apache, but apt update fails specifically for the ondrej/php PPA repository.
Error
Could not handshake: Error in the pull function
...
3
votes
1
answer
235
views
gcc doesn't find limits.h although I can see it
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
9
replies
156
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 ...
-7
votes
0
answers
50
views
Isolate running process using linux namespace [closed]
Can a linux process put itself under linux namespace isolation, ie. restrict filesystem operations to some file paths only on runtime?
-4
votes
0
answers
78
views
How to get proton to run a cli windows app through the linux terminal [closed]
When I do
wine Minecraft.Server.exe it runs through the same terminal
if I do umu-run Minecraft.Server.exe it opens up a cmd window (Uses ge-proton)
I'd like to get umu-run to run in the same linux ...
Advice
1
vote
2
replies
71
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, ...
0
votes
0
answers
49
views
Permission-problem when mounint with rclone started by systemd [closed]
I am mounting a SFTP-directory by rclone - performed by systemd (on a Debian 12).
ExecStart=/usr/bin/rclone --config="/home/tom/rclone.conf" --log-file="/home/tom/rclone.log" --dir-...
-2
votes
1
answer
77
views
Non-closing read from pipe, socket, or FIFO in terminal window or in shell
I don't know much about these things, but I understand that tools like nc and socat are used for reading from sockets/FIFOs. What I want to do is this:
I have socket/FIFO/whatever-the-appropriate-...
0
votes
0
answers
64
views
Can Linux UML kernels be configured to support BPF tracepoints?
When loading using libbpf a BTF object that defines a probe on SEC("tracepoint/syscalls/sys_enter_execve") on an UML kernel (tested with 6.18.26), EINVAL is returned from __sys_bpf -> ...
Best practices
0
votes
10
replies
156
views
What is the most effective way to search in a large repository?
I’d like to ask for some advice on best practices for searching within a large repository.
In my case, the repository isn’t actually that big, but let’s assume it’s quite large. I’m trying to find an ...
2
votes
0
answers
87
views
How to programatically start a drag for an Electron app on X11
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 ...
-3
votes
2
answers
107
views
Can pipe buffer limits be increased from inside a container? [closed]
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 ...
0
votes
2
answers
130
views
Cannot set initial app window size in javafx
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)
{...