All Questions

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

Plymouth sticks around on multi-user.target boot

I boot my (Ubuntu) system as multi-user.target and log in with the text console. However at the point the boot is finished the plymouth splash screen stays until I press Ctrl-Alt-F2 then Ctrl-Alt-F1 ...
user avatar
0 votes
0 answers
11 views

Include spaces and tabs in "awk" search and replace

Another user helped me earlier to fix something I'm doing with awk, where I search for a string at any point in all files and replace two numbers in the same line when I find it. awk -i inplace '/^...
user avatar
0 votes
0 answers
4 views

How to run an arbitrary command from a Kwin script?

I want to run some commands when the active window changes in KDE. How can I do this from within a kwin script? My use case is that I want to change monitor color preset for some applications, and ...
user avatar
  • 432
0 votes
0 answers
8 views

Where is the "List files only" Nautilus' permission on terminal?

I found out that some folders may have the "List files only" permission on Nautilus. Others have "Access files". Both folders show the same on terminal, using ls -l command: drwxr--...
user avatar
  • 1,582
0 votes
0 answers
6 views

unlock gnome-keyring on login

Running debian testing, no display manager, i3 window manager. gnome-keyring & libpam-gnome-keyring packages are installed. Added following 2 lines to end of /etc/pam.d/login: auth optional ...
user avatar
  • 449
0 votes
1 answer
9 views

Increase the disk size on Debian 11 with btrfs filesystem

I have a Debian 11 system on VirtualBox VM, and I am now trying to increase its disk size. I create this Debian 11 with btrfs file system for my main division at the beginning, so right now, it should ...
user avatar
0 votes
0 answers
14 views

create first come first serve with bash script

#/bin/bash sort(){ for ((i = 0; i<$n; i++)) do for((j = 0; j<`expr $n - $i - 1`; j++)) do if [ ${arrival_time[j]} -gt ${arrival_time[$((j+...
user avatar
1 vote
1 answer
18 views

Different $RANDOM results in sed when reading lines in multiple files

I'm trying to run a command that will read multiple files in a directory, look at each line of each file, and whenever it reads a specific string ("gene_height") on any line it replaces 2 ...
user avatar
0 votes
0 answers
16 views

Korn shell (ksh) omits closing quote when displaying aliases

When displaying aliases in Korn shell (ksh) the closing quote is omitted. This happens with both predefined and user-defined aliases: >> alias type r l ltr type='whence -v r='hist -s l='pwd; ls ...
user avatar
1 vote
2 answers
19 views

Why to use udev rule to insure persistent naming/permission instead of mknod?

I have seen some configurations using udev rule to insure the disk name and permissions in the disk. But recently I've find out a command called mknod, where it works like an alias to the block device,...
user avatar
  • 327
0 votes
0 answers
6 views

Start docker when log into account and not on boot

I am using systemd-homed with LUKS for managing my home directory (/home/myuser. I also have some docker containers which try to start on boot. The issue is that they have a volume which points to a ...
user avatar
  • 231
0 votes
0 answers
3 views

Stuck during login on server - conda related?

When I am login to my server, the terminal halts and I have to hit CTRL+C to continue and entering the server. After hitting CTRL+C I get a lot of warnings (?) related to condo I believe. Any idea ...
user avatar
1 vote
1 answer
20 views

bash looping over files while tailing logs

I'm running a daemon that process files in a specific dir. I want to process those one by one. so idea is I will copy files 1 by 1 in daemon dir, and tail its log, 2nd file should be copied to daemon ...
user avatar
  • 1,701
1 vote
0 answers
3 views

Centos 7 to Automatically connect to a Bluetooth device when it's available

I need to connect Zebra ring scanners to Cent OS boxes. With Bluetoothctl I am able to connect to one with a specific BT address, however our users in the workhouse are using an application which ...
user avatar
-2 votes
0 answers
14 views

cant install a leafpad and gedit in kalilinux using sudo apt get install.......can you please guide me?

run apt-get update Command 'run' not found, did you mean: command 'runc' from deb runc command 'srun' from deb slurm-client command 'zrun' from deb moreutils command 'zun' from deb python3-...
user avatar
  • 1
0 votes
0 answers
7 views

Reset system loop after installing any debian based distro

I am trying to install Linux (Ubuntu). The installation process is fine. At the very end when it asks to restart computer, I restart my laptop and the message Please remove installation medium, then ...
user avatar
0 votes
0 answers
9 views

Recover ext4 partition with bad superblock? (Failed after resizing, backup magic numbers don't work)

Background Had a Linux root ext4 partition that I needed more space; cleared it from my Windows install, and then modified the remaining stuff on KDE's partition manager on a live usb. I'm not ...
user avatar
0 votes
0 answers
8 views

ntfsundelete not reading entire partition

To avoid XY problem, here's the background of the problem I am facing... I have an external hard drive which should have hundreds of files and suddenly, all of them disappeared (I have no idea why). I ...
user avatar
0 votes
0 answers
6 views

Get tty device paths for zte MF710M modem

i am trying to get the device paths for my modem zte MF710M using this script #get all connected devices usb-devices T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 21 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=...
user avatar
  • 3
0 votes
0 answers
8 views

Can't install Wine on Linux Mint 20.3, the prerequisite for install is...Wine?

maybe someone could help me with this one, please? I updated Wine a few days ago via update manager on Linux Mint 20.3. Yesterday I noticed Wine is gone for some unexplained reason, although default ...
user avatar
  • 113
0 votes
1 answer
20 views

Permanently remap caps lock to escape

I am trying to remap caps lock to escape on the keyboard. I tried the following solution found on AskUbuntu without success: $ xmodmap -e "keycode 9 = Caps_Lock NoSymbol Caps_Lock" $ xmodmap ...
user avatar
  • 329
1 vote
0 answers
13 views

LUKS on boot with FIDO "or" Password

I've managed to unlock my LUKS partation on boot with a FIDO2 key My crypttab is myvolume /dev/sda5 - fido2-device=auto But I still keep a LUKS key slot with a password (my fido key is always on my ...
user avatar
-1 votes
0 answers
26 views

why I am not copy different directories to another different directories in linux

foreach dir (pavan pavan_kumar) mkdir -p $ward/runs/$dir/1276.31/release/latest/caliber_waiver/$dir_waiver_db cp -r {/nfs/site/disks/ncsg_00518/pmuttinx/...
user avatar
0 votes
0 answers
18 views

How to change the system refresh rate from the command-line?

Projectors appear to typically support 24p playback (incl. 23.976Hz less commonly, it seems) — currently I'm manually toggling between 24Hz and 60Hz in the Gnome settings when switching from film or ...
user avatar
0 votes
0 answers
12 views

Supress spammy discord log

Everytime I open discord (installed using deb package), my log always spammed with these kind of message every second: Jun 25 20:14:20 pop2104 gnome-shell[102661]: [2022-06-25 20:14:20.833] [102901] (...
user avatar
  • 8,071
0 votes
0 answers
14 views

wine32 installation error on ubuntu 22.04 github actions

I'm trying to install wine32 on ubuntu 22.04 (github actions) but I'm getting this error: apt : Depends: libapt-pkg6.0 (>= 2.4.5) but it is not going to be installed Depends: libsystemd0 ...
user avatar
0 votes
1 answer
17 views

No video playback or no sound after launching a game (Minecraft)

Situation I played a little around with Minecraft mods and wanted to do some modding myself. And since Linux runs Minecraft a lot faster on my machine (with the proprietary nVidia driver), why not ...
user avatar
  • 15
0 votes
0 answers
11 views

Unable to connect to rainloop

I am installing Rain Loop but when I want to connect to an account I have this message that appears "Authentication failed" have you ever seen this problem
user avatar
2 votes
1 answer
87 views

Ignore Files when copying using scp

How to ignore certain files when using the scp command? I have the following file structure on the Linux server : Everything > NeedThis NeedThisToo DontNeedThis I want to get NeedThis and ...
user avatar
0 votes
1 answer
15 views

How to remove usb live boot?

I tried the delete partition, delete volume, and formatting the usb but it didn't work. Every time I turn on the PC it makes me choose if I want to use Ubuntu or Windows. How can I delete Ubuntu and ...
user avatar
0 votes
3 answers
38 views

Process the same stdin two time and append the outputs

I have a json file that looks like: [ { "key": "alt+down", "command": "-editor.action.moveLinesDownAction", "when": "...
user avatar
  • 1,319
0 votes
0 answers
6 views

Error With gtk-launch: Unable to find terminal required for application

I tried to use the following command: gtk-launch nvim file.txt But it gave me this error: gtk-launch: error launching application: Unable to find terminal required for application How am I supposed ...
user avatar
  • 113
2 votes
1 answer
79 views

ed does not join lines with ASCII text, with CRLF, LF line terminators

I am currently running Gnu ed version 1.18 in the Debian WSL on Windows. If I edit a file with the following encoding: ASCII text, with CRLF, LF line terminators or ASCII text, with CRLF, then ed ...
user avatar
  • 374
0 votes
1 answer
56 views

How to delete all partitions without using an operating system

How to delete all partitions from my system using only the GNU Grub Terminal and BIOS
user avatar
3 votes
1 answer
21 views

zsh: pass variable by reference, and modify its value (like bash's local -n namerefs)?

Is it possible to pass a variable to a zsh function, and modify its value without using eval? I came across a bash way to do that: local -n: https://stackoverflow.com/a/50281697
user avatar
0 votes
0 answers
19 views

History : For what technical reason(s) GNOME was forced to remove its icons from the desktop by default?

I'm asking a question about GNOME History. I've red on few websites that GNOME developers where forced to remove the ability to put icons on desktop by default, for some technical reasons that I can't ...
user avatar
  • 739
0 votes
1 answer
17 views

Script to find all empty git repositories on a machine

We know an empty git repository only has the .git directory in it. I want to find all git repositories on a machine, which are empty. I thought about this process: Find all directories that are named ...
user avatar
0 votes
1 answer
20 views

Using excess video memory for disk caching?

On newer Ryzen 5000-based laptops, the integrated graphics controller always gets at least 1GB of shared video memory. In the BIOS settings, 1GB is the minimum. For people who don't need 1GB for video ...
user avatar
  • 1
1 vote
0 answers
6 views

systemd-coredump - Invalid argument

I'm trying to force a core dump using systemd-coredump, however, when I check my journal I see the following error: systemd-coredump@7-3897-0.service: Failed at step NETWORK spawning /lib/systemd/...
user avatar
  • 121
0 votes
0 answers
41 views

Why is the /etc directory considered a symbolic link

Why are /etc along with /var considered symbolic links? Since they are symlinks, why is there not an arrow (->) from /etc or /var that points to their target when I run ls -la from the root ...
user avatar
  • 1
0 votes
1 answer
70 views

Why so many users in my own linux pc?

I'm just find out that there are over 40+ users in my pc which running Linux OS. Do they even have password? I'm the only one users here. What is the point of having so many user in my own linux pc? I'...
user avatar
0 votes
1 answer
19 views

Fstab permissions

I created a partition called sdb1 in fat32 and created 3 folders within a main folder however I wanted the 3 folders to have different permissions. I tried to make an ana folder with all permissions, ...
user avatar
0 votes
1 answer
8 views

How to move free space from the middle of a disk with Gnome Disks or blivet-gui

I used to dual boot Windows and Fedora 35, and decided to just run windows in a vm. I deleted the Windows partitions successfully, but now I have free space in the middle that I can't figure out how ...
user avatar
  • 3
0 votes
1 answer
17 views

ssh: why my disabled forward X11 for specific host don't work?

I use an alias for ssh alias ssh alias ssh='ssh -t -K -Y I want to use ssh forwarding X11 except for one host so i did this: vim .ssh/config host myhost port 22 ForwardX11 no ...
user avatar
  • 11k
0 votes
1 answer
15 views

Arch, Gnome - how to change the default terminal?

I want to change my default terminal emulator, that is, the terminal that opens when I Right Click -> Open in terminal So far, I've tried: sudo update-alternatives --config x-terminal-emulator ...
user avatar
0 votes
0 answers
12 views

Can't boot into GRUB (Win 11 and Linux installed on separate drives)

I have a Lenovo P330 Thinkstation. This SSD it shipped with runs Win 11. I wanted to experiment with Linux, so I installed an M.2 SSD and put first Mint and and then Ubuntu on it. I booted via GRUB....
user avatar
  • 1
-1 votes
0 answers
24 views

Intermittently Unable to Connect to Host via SSH

I'm trying to connect to an NVIDIA Jetson AGX Orin DevKit (Ubuntu 20.04) over my local network. I believe that I've set up the SSH server correctly because sometimes I'm able to connect to it. However,...
user avatar
2 votes
1 answer
16 views

My computer shuts off, then instantly turns back on a second later

So I recently got an Alienware desktop computer because there was a big sale on it, and then I instantly installed Linux on it after doing a bios update. Everything works great apart from one thing, I ...
user avatar
  • 21
-3 votes
1 answer
51 views

What are the main differences between the ed and the ex editor?

The ex editor is often touted as an enhancement and simplification of ed. I would like to know what specific enhancements and simplifications it offers. GNU ed, for example, offers extended regular ...
user avatar
  • 374
0 votes
2 answers
24 views

How Can I Store a Wildcard in a Variable

I have the following code: target="file.txt" ls "$target" Output: file.txt This does not work with a wildcard: target="*" ls "$target" Output: ls: cannot ...
user avatar
  • 113

15 30 50 per page
1
2 3 4 5
4378