Latest Ubuntu related questions

Score: 0
Antonis Assimacos avatar
Problem with naming range using LibreOffice Basic in Calc
in flag

I am developing an application in Calc that uses the following code to name a range.

Dim Rname As String
Dim s As String
Dim Doc As Object
Dim Ranges As Object
Dim Sheet As Object
Ranges = Doc.NamedRanges
Sheet = Doc.Sheets.getByName("Sheet1")
Rname = "TestRange"
s = "$Sheet1.$C$11"
Ranges.addNewByName(Rname, s, Sheet.getCellByPosition(2, 10).CellAddress, 0)

The problem is that the code works fine in  ...

Score: 1
Software center: "Prepared update not found"
gb flag

So I recently updated to Xubuntu 22.04. Now the software center claims to have some updates which "Requires Restart". However, when I click the "Restart and Update" button, there is a small popup claiming

Unable to install updates:
Prepared update not found: /var/lib/PackageKit/prepared-update

Is that some kind of stale state? How can I solve this? It's pretty annoying that Software Center claims to h ...

Score: 0
antonro avatar
pmd high CPU usage
cd flag

For a couple of days my laptop has been consuming a lot more power than before, noticeable by how fast the battery runs out when not plugged. This is matched by periodic (~20-30s) fan noise spikes typical of high CPU usage. This happens even when I close all applications. I've installed atop to try and find out which process is causing this:

    PID     TID S  CPU COMMAND-LINE (horizontal scroll with < ...
Score: 2
Getting an error when running apt update: ModuleNotFoundError: No module named 'apt_pkg'
in flag

When I run apt update on a Ubuntu 18.04.6 LTS, which is a server my company use for hosting Netbox, I get the following issue:

$ sudo apt update
Hit:1 http://azure.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://azure.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://azure.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu ...
Score: 0
c1gx avatar
About elevation of privilege from the first user creation
pl flag

When installing Ubuntu 22.04.1 LTS with gnome interface, it's asked to create a first user, and we can't override it.

This user account is local to the machine, I don't want to communicate this account to the end user of the machine, because I want this account to be used only for administration by the IT department.

So this machine is joined to the domain, and it's the domain account of the user wh ...

Score: 0
Saksham57 avatar
Error in installed packages
tl flag

what can be done here? as the omsagent has dependency on scx and scx does not like dpkg --configure -a.

enter image description here

Score: -1
yundong zr avatar
Can Not Update/Upgrade After Unregistered 2 versions' Ubuntu and Installed one Ubuntu as WSL
vc flag

Had successfully update and upgrade Ubuntu on WSL succesfully:

enter image description here

then I unregistered the 2 version of Ubuntu and installed one Ubuntu. Got following errors:

enter image description here

Tried ~$ grep -nvr "^#" /etc/apt/ | grep impish, and got the following info:

grep: /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg: binary file matches

grep: /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg: binary file matches
 ...
Score: 0
How to take a screenshot of login screen
us flag

I want to take screenshot of login screen in ubuntu 22.04.1.

Score: 0
Alexei avatar
Can't run Docker from terminal - exec: "com.docker.cli": executable file not found in $PATH
ky flag

Linux Ubuntu 22.04

I installed Docker like this:

sudo dpkg -i docker-desktop-4.16.2-amd64.deb 
[sudo] password for alexeij:               
(Reading database ... 483879 files and directories currently installed.)
Preparing to unpack docker-desktop-4.16.2-amd64.deb ...
Unpacking docker-desktop (4.16.2-95914) over (4.16.2-95914) ...
dpkg: dependency problems prevent configuration of docker-desktop:
 dock ...
Score: 0
Ifeoluwa Adaralegbe avatar
I can't build docker image
bj flag

I try to build this simple dockerfile but its not working:

Dockerfil:

FROM nginx:latest
ADD . /usr/share/nginx/html

Command and output:

ife@ife-HP-ProBook-6560b:~$ docker build -t web:latest .
[+] Building 1.1s (2/2) FINISHED                                                
 => [internal] load build definition from Dockerfile                       0.9s
 => => transferring dockerfile: 2B      ...
Score: 0
Mikelenjilo avatar
How to keep two folders synched?
gb flag

I have a dual boot system (Windows + Ubuntu), I would like to keep two folders synchronized from the two different partitions. I searched and found that It can be made using rsync or robocopy, but I couldn't write a script that works as I expected it to work.

Score: 0
MichaelEff avatar
Can't use Fingerprint Reader on my HP Envy 13
af flag

Recently switched from win11 to Ubuntu and I can't find the option to enable fingerprint reader on my device:

using lsusb bring the following results

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 001 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless interface

Bus 001 Device 002: ID 04ca:7090 Lite-On Technology Corp. HP Wide Vision HD Camera

Bus 001 Device 001: ID 1d6b:0002  ...

Score: 2
IQAndreas avatar
Where is the "scripts" directory in Nautilus 43?
id flag

Where do you put the scripts that appear in the context menu when you right click in a folder or on a file in Nautilus?

Right click menu in nautilus for custom scripts

(Screenshot from a previous version of Nautilus)

My scripts used to work just fine in older versions, but no matter where I place them now, my scripts don't seem to be picked up by Nautilus.

Score: 2
IQAndreas avatar
How do I go up one directory in Nautilus 43?
id flag

I'm really struggling with some of the latest changes to Nautilus' interface.

How do I get to the directory that is the parent of the current directory if the path name is too long? I can't find any way of scrolling or dragging the directory list:

Nautilus window with a bar showing parent directories

The parent directory in the screenshot is not @ST..., I'm like 5 levels deep below that. I've found a workaround, but it's like 4 clicks just to get to a par ...

Score: 0
Otis avatar
dpkg was interrupted - need help to fix
bo flag

dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem

Here is some of the processes I tried:

robterri@system76-pc:~$ sudo apt upgrade
[sudo] password for robterri: 

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
robterri@system76-pc:~$ sudo apt-get install -f

E: dpkg was interrupted, you must manually run 'su ...
Score: 0
How to enable fingerprint for screen unlocking and PolicyKit authentiation in Kubuntu 22.10?
cn flag

I registered 2 fingerprints, but they don't seem to show up or work.

Here's my fingerprint reader according to lsusb of my 4th generation ThinkPad X1 Yoga:

Bus 001 Device 017: ID 06cb:00bd Synaptics, Inc. Prometheus MIS Touch Fingerprint Reader
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  b ...
Score: 0
Plex and Emby Servers not working
cn flag

I just applied an update the other day and did a restart. Now, Plexmediaserver is not reachable, even from the desktop it is running on. Plex was working fine for over a year. So, I thought I would see if Emby would work. Installed it, connected the libraries. Tried connecting some screens in my house to it. Nope, they say the server is not reachable. What happened? Why won't Ubuntu let me serve media i ...

Score: 1
David Alsh avatar
How to force Chrome to use "prefers-color-scheme dark" - not using the emulated dark mode from Chrome flags?
in flag

I would like to turn dark mode on for Chrome however, despite my system being set to dark mode, Chrome does not change websites as per their prefers-color-scheme query.

Suggestions in the previous questions point at using chrome://flags/#enable-force-dark to force dark mode, however this flag emulates dark mode on all websites - overriding and estimating what a dark mode would look like on that site. ...

Score: 1
Pirechi avatar
Front audio jacks not properly working on Ubuntu 22.10
py flag

I recently performed a fresh Ubuntu 22.10 install on my PC. The only issue I'm having so far has to do with two frontal audio jacks that my PC has. They are not being detected by Ubuntu (sort of). One of those frontal audio jacks is for the headphones and the other one is for the microphone. I used to have Windows installed on my PC before switching to Ubuntu and they actually worked, so I don't think i ...

Score: 1
Simon Rex avatar
Installing libglib2.0-dev arm64 package on amd64 machine causes error
xk flag

I am trying to install the libglib2.0-dev arm64 version on my Ubuntu 22.04.1 machine (for cross compilation purposes). I've already setup the repositories for both amd64 and arm64 following the instructions at https://askubuntu.com/a/1323570. However, when I run the command sudo apt-get install libglib2.0-dev:arm64, I get the below errors. How can I fix this?

The following packages have unmet dependencie ...
Score: 0
Doug avatar
Difficulty getting Ubuntu 22.04 to boot
ch flag

I was hoping for a bit of direction on how to get my Ubuntu working, but I'm unsure exactly what information I need to add for anyone who might want to help. The computer is able to boot when I go to the GNU Grub menu -> Advanced options for Ubuntu -> Ubuntu with Linux 5.15.0-58-generic (recovery mode) -> resume normal boot. At this point the desktop appears and everything seems to work just fi ...

Score: 0
Tarlispace avatar
gnome lock screen doesn't work after modification
cx flag

I recently tried changing the background purple color of the gnome login screen. After following primarily this guide: How do I change login screen theme or background in Ubuntu 20.04?

I changed the hex color in the ubuntu.css file, specifically in the option that contained: "loginDialog". I rebooted the system and when it booted back up instead of a login screen I was greeted with first a mouse cursor  ...

Score: 1
WesH avatar
Dying SSD found by LSPCI but not LSBLK - How to mount?
ca flag

Problem Statement

My SSD is clearly dying, and I want to pull off a few things before an RMA.

Observations

When I boot, the drive is detected as present by UEFI. Booting hangs for about 60s while the attempts to mount the drive time out. From dmseg:

[    2.845959] usb 1-4: SerialNumber: 01.00.00
[   62.536052] nvme nvme1: I/O 25 QID 0 timeout, disable controller
[   62.644219] nvme nvme1: Device sh ...
Score: 0
Mat avatar
opening terminal when save as executed inside a given program for instance Texmaker Ubuntu 22.04.1
ba flag
Mat

Is there a way to open terminal instead GUI when saving a given file inside a given program in Ubuntu?

For instance, after editing a latex document inside Texmaker, I will press Ctrl+S and the GUI will appear of the given directory but I want to open terminal instead and save the file with terminal.

Is there a way where I can press Ctrl+S and the terminal will open the given directory instead?

Score: 0
DerRene avatar
Check logs for crash reason
fk flag

i have a Ubuntu 22.04.1 LTS VPS Server running, mainly running some docker containers.

For some reason the server is crashing, after a manual restart everything is starting fine again.

how do i find the reason for these crashes? what logs,... do i have to check?

Score: 0
Chookitypok avatar
Problem with my iptables configuration on reboot
io flag

I tried many times to save the iptables configuration to have it start up automatically when I reboot my Raspberry Pi (Ubuntu 22.04.1 LTS) but when I look with this command:

$ sudo iptables -L

my chain rules are gone after a reboot.

I followed this documentation:

https://help.ubuntu.com/community/IptablesHowTo

Here's the rules with the commands I used in that specific order:

sudo iptables -A INPUT -m  ...
Score: 0
Mahdi Boukhadra avatar
N: Skipping acquire of configured file 'main/binary-i386/Packages'
ie flag

After this command : "# add-apt-repository cloud-archive:yoga" I get this at the end of every apt update:

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/yoga InRelease' doesn't support architecture 'i386'

Can i get help on how to fix it? Thanks in advance

Score: 0
Martin Brown avatar
xRDP login dialog really small
jp flag

My laptop that I'm using has a 3840x2160 13" screen. I'm using a Ubuntu 22.04 image on Hyper-V that I got from Microsoft. When I connect to it everything works fine except for one thing the login page for xRDP is really small. Once logged in I had a similar issue but was able to set the display scale to 300% which looks normal on my screen. Is there a way to scale the login screen up in the same way?

Score: 0
ForDummies avatar
How to debug failure to boot of some partitions (but not others)
pm flag

I have a machine with a lot of partitions, and I've been trying and failing to create alternative root partitions with some variation in software. Don't ask why -- it's for a hobby that I'm doing and it's about as complicated as anything I did in my Comp Sci PhD work.

Two symptoms have emerged on two different partitions. I'm not sure if I should be asking them together, but they're similar eno ...

Score: 1
Brett Holman avatar
US International Keyboard on Ubuntu 22.10
cn flag

I can't figure out how to select the English International Keyboard with dead keys on Ubuntu Kinetic.

This questions has been answered for older releases of Ubuntu (18.04 20.04).

When following the 20.04 instruction, I don't see the US International Keyboard with dead keys available:

English Options

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.