Firefox leaves old snaps on disk

Firefox leaves old snaps on disk I am using Firefox installed through snap (Ubuntu 23.04, snapd/lunar-updates,lunar-security,now 2.59.1+23.04ubuntu1.1 amd64). I have removed all but latest versions due to lack of disk space. Installed should be only the latest version as reported by snap: sudo snap list –all | grep firefox firefox 117.0.1-2 3131 latest/stable/… mozilla** But …

Total answers: 1

Nautilus open terminal in remote edit command

Nautilus open terminal in remote edit command I regularly use the "right click → open in remote terminal" functionality of Nautilus in Ubuntu 22.04. I don’t know the command, but it seems it is doing ssh blah@host, and I would like to add the -X flag so I can open GUI applications from this terminal. …

Total answers: 1

How to reuse matched value in bash globbing?

How to reuse matched value in bash globbing? I was wondering whether it is possible to reuse whatever was matched in a path with globbing? (Just as it can usually be done with regex substitutions?) I’m aware that there are other solutions for the following example, but I’m just using it as an example for …

Total answers: 1

Sources.list Critical Vulnerability link update

Sources.list Critical Vulnerability link update This question is related to this GitHub post. I just wanted to make sure if I got the link correctly and not made an error I replace the ma.archiveUbuntu links with http://security.ubuntu.com/ubuntu Is this correct, or do I do to do something else? Asked By: Vegeto.T || Source If we …

Total answers: 1

Multiple Ubuntu installations in the same disk but different partitions

Multiple Ubuntu installations in the same disk but different partitions I need to install 3 different Ubuntus in different partititions and each installation shouldn’t be able to read data from the others. I thought this was simple installing multiple versions of Ubuntu in different encrypted partitions but I don’t find how I can do this …

Total answers: 1

How to fade out batch wav files?

How to fade out batch wav files? I need to apply a fade out of 2 seconds on a batch of wav files (with names including spaces like C 0 120-127.wav). The files length varies, but I need a fade out of 2 seconds from the end of each file, regardless of the file length. …

Total answers: 2

Write image to current root-partition

Write image to current root-partition I’m currently playing with building disk images (based on Debian) for a raspberry-like computer. My current workflow looks like: create disk image (about 16GB uncompressed; or 3GB compressed) power-down the target system eject the SDcard on the target system insert the SDcard into the build computer dd the image onto …

Total answers: 3

How to define port forwarding

How to define port forwarding I run a server with a web server running as a rootless podman container. This exposes ports 10080 and 10443 because, as a rootless container, it is not allowed to expose ports 80 and 443. So that my website can be accessed from outside, I use ufw as a firewall …

Total answers: 1

Bash script variable syntax: with some commands it works, with others it does not

Bash script variable syntax: with some commands it works, with others it does not I do not understand the behaviour of this variable: SSH_CONFIG_FILE="~/.ssh/config" echo $SSH_CONFIG_FILE ls -l $SSH_CONFIG_FILE ls -l ~/.ssh/config This is the output: ~/.ssh/config ls: cannot access ‘~/.ssh/config’: No such file or directory -rw——- 1 pm domain^users 1229 Sep 19 10:52 /home/pm/.ssh/config …

Total answers: 1

Docker on Linux (Manjaro), after system update change location of socket from /var/run/docker.sock to /run/docker.soc – docker doesn't work

Docker on Linux (Manjaro), after system update change location of socket from /var/run/docker.sock to /run/docker.soc – docker doesn't work After I made regular update of system and apllication, docker (and docker-compose plugin) doesn’t work: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock If I use sudo ls -la /var/run/docker.sock: /var/run/docker.sock: …

Total answers: 2

Can I extract complete dates from file with grep command?

Can I extract complete dates from file with grep command? I need help using grep to extract a zoned date time from a file on a Linux system. Source file is a XML with the data below: <item start="20231010073000 +0100" stop="20231010100000 +0100">…</item> And I need to extract the complete start date, but with grep I …

Total answers: 4

Ubuntu Chromebok Audio Drivers

Ubuntu Chromebook Audio Drivers Hello Ask Ubuntu users, I installed Ubuntu 22.04.3 LTS on a Levono Ideapad 3 Chromebook. When installing it, I wasn’t able to get the audio to work. I am assuming this is a driver issue. Does anyone have any idea on how to fix this problem? More computer specs (If needed): …

Total answers: 1

Why is the manual of apt incomplete?

Why is the manual of apt incomplete? I would like to see what are the command-line switches of apt list but after 30min of research I don’t manage to find a lot of information about it… I tried to type apt list –help, man apt and man apt-get but didn’t get much information especially about …

Total answers: 1

How to extend sustain in batch wav files?

How to extend sustain in batch wav files? I have a batch of sound samples which are too short (2.15 sec), and I want to extend the sustain to a total of about 10 seconds, meaning stretch the last 0.50 second of the file to 10 seconds. I can do this on each single file …

Total answers: 1

Heap memory allocation in Linux

Heap memory allocation in Linux I’m confused about whether the memory allocated by Linux when a process requests ‘x’ amount of heap is actually contiguous physically or not? Here’s my understanding till now: The unit of memory allocation in Linux is page size. By default, page size = 4KB. The page is physically contiguous in …

Total answers: 1

Delete a whole word from a CSV file that is not part of another word using SED

Delete a whole word from a CSV file that is not part of another word using SED I’ve searched for an answer to this and have come close, but not close enough. We receive a CSV file that contains the text "NULL" which needs to be replaced by nothing. Example: Input 12345,George,MCNULLMAN,NULL,green,NULL Replacement should result …

Total answers: 4

Light program (mini MTA?) for system mail (only sending/relay via external server with unattended-upgrades, cron, smartmontools, etc.)

Light program (mini MTA?) for system mail (only sending/relay via external server with unattended-upgrades, cron, smartmontools, etc.) I’ve come across different names in different places: Light MTA, Remote MTA, Smarthost, etc. Generally, I do not want to install a full-fledged mail server (such as sendmail, postfix, exim), but only send notifications/emails using an existing external …

Total answers: 2

Webcam stoped working after upgrading from 20.04 to 23.04

Webcam stoped working after upgrading from 20.04 to 23.04 I have this USB webcam that was working fine until I upgraded from 20.04 to 23.04. The webcam still works on Ubuntu 22.04 (I’ve just tested it on another machine). UPDATE: I also tested in 23.10 and it doesn’t work When I connect the webcam to …

Total answers: 1