Questions tagged [linux]

A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

Changing keyboard mapping in Wayland compositors

guys. I installed several Wayland-related packages in my Linux system. However, when I open a Wayland compositor (such as Weston), the default keyboard mapping is "US" (american). When I try ...
0 votes
0 answers
18 views

Disable history files in readline (Linux)

Is there a way to globally disable history files for programs using readline, but still having history per session? If I set history-size to zero in .inputrc then it completely disables the history, ...
0 votes
0 answers
15 views

My internet connection seems do drop occasionally. How to debug it to identify the issue?

Sometimes the browser gives a DNS connection error and when I look at the connection stats it all has gone to 0. How can I investigate what's the problem? (where to look, what to do) I'm using Debian ...
0 votes
0 answers
25 views

How to recover files from macOS after accidentally overwriting it with Linux>

I'm not a kid (this is an alt account with a different email. I forgot the other password of @adamgewely) But I accidentally replaced macOS with Linux! I had important files there. Thinking it was on ...
1 vote
1 answer
36 views

Make Linux GRUB run directly multiple Windows systems

With a triple boot system, I tested a solution to avoid the Windows Boot Manager menu triggered by the Linux GRUB (see here) and make the Windows systems start directly from the GRUB without passing ...
0 votes
0 answers
19 views

GNU/Guix USB .iso boot failure

I created a - what I believed to be - bootable GNU-Guix USB. Selected USB as priority startup device. I get a Grub Rescue screen. On that screen I can ls two partitions - hd0, and hd1. I'm certain the ...
0 votes
1 answer
8 views

is it possible to capture output of top -c -n1 -b into a text file - but preserve the full output ( i.e not truncated at right side) via shell

I used top -c -n1 -b | tail -18 > topout.txt successfully. the topout.txt shows me full output of process names/command used. But - once I copy this line of code in a .sh file and run via crontab ...
0 votes
1 answer
26 views

DNS of 0.0.0.0?

I have one main router in the house and a wireless range extender (edimax ew-7209apg). My main router uses the default ISP DNS servers provided. Many devices could connect to the wireless range ...
0 votes
0 answers
16 views

Comparision of methods for implementing directory size quota in Linux?

I came across two solutions for implementing directory size quotas in Linux. One was using making images using the dd/fallocate/etc command and mounting it using loopback interfaces, resizing can be ...
0 votes
1 answer
48 views

SSD has a lot of bad sectors on Windows, but I can't find any bad sectors in Linux

The title is self-explained, on Windows PE, I used DiskGenius to fix the drive, the EFI partition is screwed so I decided to remake one. After I got in PE, I opened DiskGenius, and realize it took so ...
0 votes
1 answer
11 views

Ctrl highlights my cursor - Linux Mint 21

When I press ctrl and I release it: , it highlights my cursor and I don't want that. I cant find its name on the internet and don't know what to search for in dconf editor. Please help me, I can't ...
0 votes
0 answers
11 views

How can Perl based daemons recover gracefully from momentarily unavailable NFS sources?

I have Perl scripts (running as daemons) on a large group of servers, where some Perl modules are used from an NFS mount. Sometimes, these mounts are temporarily unavailable, and if at the exact ...
0 votes
0 answers
11 views

New laptop 2022 windows 11 does not show touchpad when booting to Linux. How to detect and enable touchpad?

I have bought and returned several new laptops from Costco that have windows 11 preinstalled. On all of them when I boot to Linux (or even other edition of windows) the touchpad gets disabled and ...
0 votes
0 answers
20 views

Unable to connect PuTTY with my Oracle VM's Linux

Introduction I am trying to connect my PuTTY with VM Linux. This is how I started: Install Ubuntu 18 with OpenSSH. Enable NAT and Bridge network (my WiFi driver) with my system's MAC address. Since ...
0 votes
0 answers
8 views

journalctl entries are logged using the same time, in 5minute intervals

I have a service which queries a database every second and print out results to console. When I look at journalctl I get a couple hundred lines that all have the same timestamp, and then the next ...
1 vote
0 answers
22 views

Is there a way to close down a port used by a service during shutdown or boot?

I have some service listen.service which makes the machine act as a TCP server which other clients can connect to. The problem is once the service starts up, it doesn't actually do anything for about ...
0 votes
1 answer
19 views

How to copy audio & video streams without re-encoding in GStreamer?

In ffmpeg you can use "-c:a copy -c:v copy" to copy audio & video streams without re-encoding the output file, this is the way if you want to make little details in shorter time, like ...
user avatar
1 vote
0 answers
17 views

FFmpeg freezes the computer halfway through encoding

This is the command I am using: for i in *.mp4; do ffmpeg -i "$i" -map_metadata -1 -c:v libvpx-vp9 -c:a libopus -crf 19 "${i%.*}.webm"; done It was running fine for a while, it got ...
  • 11
0 votes
0 answers
6 views

Cannot paste keypair into key field to create new SSH key

I had keypair in Ubuntu of Linux already, then copy it to paste into keyfield of SSH key (Github). What is my mistake?
  • 1
0 votes
2 answers
19 views

Does htop have a bug in the display of process status and memory consumption?

When running a few processes, I noticed that htop showed certain process as consuming CPU, but yet were marked S in the State column (the S column)...which meant that the processes were sleeping or ...
  • 1,019
-1 votes
0 answers
8 views

Erratic behavior after running startx as root

I'm using Linux (Pureos distro). When I run the "startx" command as a root in the terminal, it starts a new graphical session in the tty3. After closing it, I can't run graphical programs (...
0 votes
0 answers
8 views

How to forward client's traffic from vpn router connected to main router

I am trying to connect my dd wrt router to the main router at home, ethernet cable is connected to lan on main router and wan on ddwrt. DD WRT has connection to my VPN, when i telnet into ddwrt i can ...
0 votes
1 answer
17 views

Specifying other MusicBrainz entry in `abcde`

abcde automatically searches MusicBrainz to find a match for the CD track tags. I've ripped twelve CDs in a row and it works fine, but now I have a CD for which no MusciBrainz data was found. However, ...
  • 311
0 votes
2 answers
31 views

How can I block internet access to certain Wireguard clients?

I have a working Wireguard setup, and multiple devices connect to it. I also set it up such that all the clients route their network/internet activity through the Wireguard server via "0.0.0.0/0, ...
  • 960
2 votes
0 answers
23 views

rsync errors with "stale file handle" or "error in file IO" sporadically when copying from server to HPC

I'm working on a server via SSH and needing to copy a directory from the server to an HPC with rsync: rsync -a -q "sourcedir" "username@hpc:~/destdir/" In this example, "...
0 votes
0 answers
29 views

Linker warnings with new Linux kernel

Thanks for the pointer to the right spot on the mailing list! CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool CHK include/generated/compile.h LD ...
0 votes
0 answers
16 views

Correct file paths for Inkscape snap command line?

I'm trying to use the Inkscape snap provided in Ubuntu from the command line, but it fails to access my files. Using the graphical interface to open files in Inkscape works well. However, it always ...
  • 111
-1 votes
0 answers
25 views

Kali Linux on external USB thumb drive freezing after a few seconds of runtime

I had a Kali Linux installation on an external USB thumb drive and it was working perfectly until about a week or 2 ago. Normally when I boot it up, I go to the wifi networks menu to connect to my ...
-1 votes
1 answer
23 views

Script to Find and Resample Audio via FFMPEG Fails on Files with double quotes

Why does this script explode when file names contain double quotation marks? for i in **/*.flac; do echo "$i"; done | parallel -j+0 --eta --joblog /tmp/parallel.log --progress --bar --...
0 votes
1 answer
22 views

How can I configure iPXE menu settings to boot Plop Boot Manager?

I have created a big iPXE server based on an Ubuntu Server 22.04.1 system. I have entries for different Linux images, Windows installers and Clonezilla Live. Now I want to include also an entry for ...
1 vote
1 answer
20 views

Find files containing a string and execute command

How do I find files that contain a specific string and execute a command on these files? In my case, I'd like to find all *.md files that contain the string ^ - HIMS$ and stage them with git. I know ...
1 vote
0 answers
15 views

Can mutiple touch screens accept muti touch-dragging inputs on the same app (window spanning the monitors) at the same time?

I have an application with touch-drag inputs window spanning two touch screens. (for example, ms paint) In Windows, I can draw on the app window from either touch screen, but not both at the same time....
  • 11
0 votes
1 answer
20 views

Can mutiple touch screen monitors, accept muti touch-dragging inputs on the same app window spanning the monitors simulaniously?

I have an application with touch-drag inputs window spanning two touch screens. (for example, ms paint) In Windows, I can draw on the app window from either touch screen, but not both at the same time....
  • 11
3 votes
1 answer
19 views

Mount Btrfs raid 5 from failed ReadyNas 104 on Linux - aka how I restore data from my ReadyNas

After about 7 years my ReadyNas finally failed, I would expect from Neatgear detailed recovery instruction, but I read dozens of threads - my problem is not uncommon, but solution was not found. After ...
0 votes
0 answers
6 views

Copy multiple files that a match patter into dir and subdirs to another dir linux [closed]

I have multiple folders into the path: "/home/user/IAT/main/assets/" Each folder have the following structure: "~/assets /lroot/images/batch0001/samples/" AllFolders lroot images ...
0 votes
1 answer
14 views

SFTP error#3: Permission denied

Till yesterday login to our Ubuntu-20.04 LTS was working fine, But today suddenly it started showing below error while trying to login. SFTP error#3: Permission denied $ ls ls: cannot open directory ...
1 vote
0 answers
21 views

How do all the networking services fit together? [closed]

I am struggling a little with understanding what all the different networking systems do. On my Fedora workstation, everything "just works", but I am running Debian on a Raspberry Pi and I ...
0 votes
0 answers
29 views

How can I implement quotas in samba?

I want to create smb shares that are limited by a given quota size also I want to be able to modify the quota size in the future. While searching for a solution I came across the setquota command but ...
0 votes
0 answers
18 views

How to implement the quota size which can be modified later in samba?

I want to give quotas for individual shares, such that I can also modify the quota size in future. I tried doing this using this https://superuser.com/a/976714 answer. Problem is file modified using ...
0 votes
0 answers
7 views

Using Rsync Transferring files from server to client too much slow?

Actually i am transferring files from one AM5728 Board to another AM5728 board (with Aargo Linux Kernel) with 1Gbps speed. Tested iperf command speed is 750Mbps. Transfer files from one board to ...
0 votes
0 answers
19 views

Using QMI interface for SIM7600-H 4G module in Debian Bullseye

I am quite new to this, so be patient with me. I want to establish a connection via LTE over a SIM7600-H 4G module. The module is built in an IPC, so I have no choice but using this module. On the IPC ...
1 vote
0 answers
31 views

Matrix printer only receives ~one character when SEL is pressed

I'm trying to get an OKI microline 3390 to work, and manually sending text to it as demonstrated here: (thirty-minute video). I understand the printer has to be selected for it to work, which on my ...
0 votes
0 answers
20 views

ModuleNotFoundError: No module named 'pyModbusTCP'

I am trying to run a python file on bootup which will collect some data from another device. I created a service in the /etc/systemd/system directory [Unit] Description = File which requests data from ...
0 votes
1 answer
17 views

How can i use systemctl to start up a python program on startup in raspbian

I have a python program that receives some data from a different device and prints it to the console. I want to make this program run on startup, the way I read online to do so is by creating a ...
0 votes
0 answers
10 views

How to activate HD indicator lights on Dell PowerEdge 710 in Linux

I have a particular drive that is failing (/dev/sdb) I need to replace the failed drive but I am not sure which it is... I should have documented what drives were in what slots and what their devs ...
  • 101
1 vote
1 answer
52 views

Linux sometimes recognizes twice the number of cores

Recently, my department bought two pretty good (HP Z840 Workstation) second hand computers, supposedly identical. I installed Linux (CentOS 9) in both of them, no problem. When I view the CPU info ...
  • 11
16 votes
2 answers
2k views

Why do `groups` and `groups $USER` give different results?

I want to add myself to the "docker" group. These are the commands I ran, and their output: user1@laptop-p3510:~$ sudo usermod -a -G docker user1 user1@laptop-p3510:~$ groups user1 adm cdrom ...
  • 263
0 votes
1 answer
91 views

How to restore data after accidentally starting DD on a hard drive but stopping it before it went too far? [duplicate]

Today I've plugged new ssd into my PC and started an dd command for USB drive. It was too late as I recognized, that the drive letters moved around and I started flashing an ISO image over all my data....
0 votes
0 answers
12 views

OCRmyPDF cannot convert pages with watermarks

I have some scanned magazines with a pink watermark on some of the pages. I need to ocr them and OCRmyPDF seems to be the right tool for the job. Except that it cannot convert text on top of the ...
  • 529
-1 votes
0 answers
13 views

systemctl status atopacct.service failed executing

To Whom It May Concern, I was trying to install the atop on my server by using ansible playbook, the atop was installed succesfully, however, I was not able to enable atopacct, below is the error ...

1
2 3 4 5
1129