Scrolling and typing lag with a 1-2 second delay

Scrolling and typing lag with a 1-2 second delay I have never had any serious problems with great Linux Ubuntu Operating System. It’s just that recently, after a fresh install of Linux Ubuntu 22.04, I stumbled upon this lag problem. I didn’t have this problem before installation. Right after the start-up of Linux Ubuntu OS …

Total answers: 1

How to know what details Ubuntu is using for SSH host?

How to know what details Ubuntu is using for SSH host? On Ubuntu 23.10, when I open a terminal and ssh in to a host I have like this: ssh hostname.here.com It logs me in straight away (even when I’ve first booted up my machine, not just after I’ve logged in for the frist time …

Total answers: 2

Automate deploying a bunch of thin jails

Automate deploying a bunch of thin jails I’m setting up the *ARR suite apps in jails (using the Bastille manager). I used to do this in debian and docker but this time I moved to freeBSD to try out it’s native zfs support. In setting up I need to setup a uniform user, setup external …

Total answers: 1

Aliases working in subjective conditions on Mac

Aliases working in subjective conditions on Mac I’m currently working on a dotfiles configuration (which runs zsh) which I’ve been using on my mini home server and and Linux CLIs on my PC. I’ve also utilised it on my work Macbook which runs MacOS, but noticed I was running into some weird issues. (($+commands[terraform])) && …

Total answers: 1

Linux Mint LMDE – Cortex XDR not working correctly

Linux Mint LMDE – Cortex XDR not working correctly I have fresh install of Linux Mint LMDE 6. I’ve installed Cortex XDR (v8.2.1.120305) but only one service is running, other services are stopped: $|>> sudo /opt/traps/bin/cytool runtime query Name PID User Status Command pmd 1056 root Running /opt/traps/bin/pmd clad N/A N/A STOPPED N/A dypd N/A …

Total answers: 1

Monolingual french offline commandline dictionary?

Monolingual french offline commandline dictionary? As the title says, I’m looking for a monolingual french dictionary that I can query on the commandline, ideally offline. For example to have a low latency way to check the gender of nouns. I looked at the freedict language packs that are available for dictd via apt-get (on Ubuntu), …

Total answers: 1

How to make bc handle explicitly positive numbers?

How to make bc handle explicitly positive numbers? Consider the following: $ echo "-1" | bc -1 $ echo "(1)" | bc 1 $ echo "+1" | bc (standard_in) 1: syntax error Minus sign and round braces are handled correctly but when explicit plus sign is specified bc falls with error. Is it possible to …

Total answers: 3

Lost sudo. Beyond salvation?

Lost sudo. Beyond salvation? I made a mistake and gave a container Homepage access to the docker.sock and briefly after I discovered that sudo is no more. sudo sudo: /etc/sudo.conf is owned by uid 1000, should be 0 sudo: /etc/sudo.conf is owned by uid 1000, should be 0 sudo: /etc/sudoers is owned by uid 1000, …

Total answers: 2

Relaunch a terminal using a terminal command

Relaunch a terminal using a terminal command Today, to convert from Markdown to PDF using Pandoc, it was necessary to install pdflatex. I did brew install basictex and then it was necessary to relaunch Terminal. For this, I simply closed it and opened it again. But is it possible to relaunch it using a command, …

Total answers: 1

how to replace the last n occurences of string using sed

how to replace the last n occurences of string using sed I can replace the third occurrence of a string with: sed ‘s/OLD/NEW/3’ or, with the GNU implementation of sed, all occurrences starting from the third with: sed ‘s/OLD/NEW/3g’ But how do I replace the last 3 (or n) occurrences? Asked By: dhm || Source …

Total answers: 4

change newline with space on certain condition with sed

change newline with space on certain condition with sed I have the following text in a file: #1713251479 sh lowbat.sh #1713251495 nvim lowbat.sh #1713252186 sh lowbat.sh and I want to put the Unix timestamp inline with the command like this: #1713251479 sh lowbat.sh #1713251495 nvim lowbat.sh #1713252186 sh lowbat.sh I tried the following sed command: …

Total answers: 2

What is causing "Thunderbird is already running" error if mailbox on SAMBA mount

What is causing "Thunderbird is already running" error if mailbox on SAMBA mount On Xubuntu 22.04 and 24.04 If a thunderbird mailbox is on a SAMBA controlled Ubuntu mount, starting thunderbird I am getting the error screen which begins: Thunderbird is already running, but is not responding. To use Thunderbird, you must first close the …

Total answers: 1

Firefox: Cannot disable or remove extension

Firefox: Cannot disable or remove extension I have a Firefox extension that cannot be removed or disabled within Firefox (e.g. the controls are greyed out). How can I remove or disable it? Asked By: jaam || Source Launch Firefox Enter in its address bar: about:debugging#/runtime/this-firefox Take note of the "Extension ID" of the extension you …

Total answers: 1

Is it possible to build a Flatpak package using flatpak-builder without FUSE?

Is it possible to build a Flatpak package using flatpak-builder without FUSE? I’m trying to build a Flatpak package with flatpak-builder in an environment where I don’t have access to FUSE. This leads to the following problem: Initializing build dir Committing stage init to cache Starting build of com.example.TestApp fuse: device not found, try ‘modprobe …

Total answers: 1

How to activate maliit on-screen keyboard in KDE Plasma Wayland in Kubuntu 24.04?

How to activate maliit on-screen keyboard in KDE Plasma Wayland in Kubuntu 24.04? I installed maliit-keyboard in Plasma Wayland, and chose it in virtual keyboard. sudo apt install maliit-keyboard But it does not show up when I touch a text area. How to activate it? Asked By: Archisman Panigrahi || Source The solution is to …

Total answers: 1

Error when I log in to desktop

Error when I log in to desktop I think it is something with snaps but I am not sure. How do I know what is the problem? Asked By: jifitailu || Source Press Report problem and follow instructions … It might not tell you the exact error/problem, but developers at least will be notified so …

Total answers: 2

awk inside function causing errors

awk inside function causing errors I’m trying to add the following to my .bashrc: cpu_info() { top -b -n1 | grep Cpu(s) | awk ‘{print $2 + $4}’ } but bash is telling me: bash: .bashrc: line 131: syntax error near unexpected token `(‘ bash: .bashrc: line 131: ` top -b -n1 | grep Cpu(s) …

Total answers: 1

Ubuntu dependencies multi versions

Ubuntu dependencies multi versions I have a problem, i want to install multiple software, each one require specific version of dependencies. Is it possible to install multiple versions? if not, is there any approach or idea to solve the issue? Thank you Asked By: Abderahim || Source Debian-based system are designed to work with a …

Total answers: 1

Theme/Icons changed, 22.04LTS

Theme/Icons changed, 22.04LTS I am using Ubuntu 22.04LTS; I had Pro enabled at the time (disabled now). Yesterday (5/9/2024), I realized that my system icons changed, and some display aspects of stock applications – to some high-contrast "theme" without me doing anything that I know of. I dug around trying to find some automatic update …

Total answers: 1

How to encrypt partition using LUKS-2?

How to encrypt partition using LUKS-2? I have an empty partition (say /dev/sda1) that I want to encrypt with LUKS-2 and be able to open it with passphrase from commonly used file managers (Dolphin, PCManFM-Qt, etc). I prefer a GUI like KDE Partition Manager, but that seems to still use LUKS-1. Is there another GUI …

Total answers: 1