Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [linux]

NOTICE: All Linux questions must be related to programming; those that aren't will be closed. Use this tag only if your question relates to programming using Linux APIs or Linux-specific behavior, not just because you happen to run your code on Linux. If you need Linux support, you can try https://unix.stackexchange.com or the specific Linux distribution's Stack Exchange site like https://askubuntu.com or https://elementaryos.stackexchange.com/

0 votes
0 answers
4 views

How to find and manipulate controls/widgets in other programs on linux with X11

How to get one program to access the widgets/controls of another program in linux using X11? I can use XQueryTree() with X11 to find all of the top level windows. However, as noted in my question here:...
0 votes
0 answers
13 views

How to withdraw the previous command in bash [closed]

(1)I am learning how to use command in bash. I excute a command by mistake,and use "mv" wrongly to make some system file into the /tmp dictionary I search on google but make no sense. Is ...
1 vote
1 answer
77 views

C serial communication, Why does read() lose some data bytes at high baud rates (e.g., B921600)?

Question: I am implementing a C program to communicate between two serial ports on the same machine. The setup involves two serial ports connected via a Null Modem adapter, and I am experiencing an ...
-2 votes
0 answers
13 views

Pop OS failed install [closed]

Tried installing Pop OS via USB, text box says "installing Pop OS failed, possibly due to a hardware error" Tried different drives and images, not working, error log says WARN: rsync: [...
1 vote
1 answer
249 views

Using Inotify and/or epoll to monitor processes terminating, perhaps using the /proc/<PID> directory

Have an issue where we want to be able to receive an event in one process if another, unrelated process terminates. The first process is sent the PID of the second process. The first process allocates ...
0 votes
1 answer
14 views

is there a way to share /dev to guest in qemu [closed]

In our environment, the host machine dynamically generates some character devices in /dev. Is there a way to share /dev to guest in qemu?
0 votes
1 answer
11 views

Copy files with wildcard "*" in Kubernetes InitContainer

I am trying to copy all the files from an image to a volume. However, kubernetes seems to not interpret the wildcard correctly. So, when I use the following, it fails with "not found": ...
0 votes
1 answer
2k views

Use OS tools to scan in an image with Python 3

I am building an application with python that needs to be able to connect to a scanner and process the data from the resulting pdf/jpeg/whatever. I have been trying to find a way to connect to the ...
1 vote
1 answer
274 views

How to set default HopLimit value for multicast in armLinux?

I'm trying to send packets via socket to multicast address. hopLimit by default == 1. I need hopLimit == 255 by default. I can change hopLimit for all packets that was sent through this socket using ...
49 votes
6 answers
59k views

FFmpeg not copying all audio streams [closed]

I'm having trouble getting ffmpeg to copy all audio streams from a .mp4 file. After hours of searching online, it appears this should copy all streams (as shown in example 4 here): ffmpeg -i in.mp4 -...
-1 votes
0 answers
9 views

How to do a factory reset from a laptop that has no BIOS? (only GNU GRUB version 2.06) [closed]

I have a laptop Asus F200MA Notebook (detail here) that has no more BIOS configuration screen since I tried to install a Linux Mint on it. This installation probably overwrited a partition that ...
11 votes
1 answer
2k views
+500

Paste into SSH terminal capitalizes last character and doesn't allow me to edit it

I'm running Terminal on my Mac and SSH'ing into a Linux host. When I paste text, it will often capitalize the last character of whatever I'm pasting, and the cursor will turn gray and I won't be able ...
-1 votes
0 answers
10 views

Allowing squid to listen while iptables default policy is drop [closed]

having some trouble with fresh squid server on a VPS box. I have the box secured with iptables - simple iptables -P INPUT DROP, and only my home ip is allowed to connect. The problem is, whatever ...
-1 votes
0 answers
11 views

GTK+3 app gets dark playing a video on raspberrypi4-64

I was trying to deploy this app on an embedded system built over the yocto project (link). The app works fine on desktop but on raspberrypi 4 mod B, once the video starts to be played the UI becomes ...
0 votes
0 answers
13 views

How can I determine if a Java/Kotiln/JVM (AWT / Compose multiplatform) application is running within a window manager on linux?

I am creating a desktop application using Compose multiplatform. More specifically, using the JetBrainsRuntime via the glue provided by jewel. I am looking for a way to determine if my application is ...

15 30 50 per page
1
2 3 4 5
15192