Latest Ubuntu related questions

Score: 0
led3zma avatar
Error while trying to upgrade with apt
bg flag

I'm using Xubuntu 22.04.1, originally used 20.04 some months ago and then performed a dist-upgrade with no major errors. Yesterday, after updating and upgrading with apt, the following messages show:

Preparing to unpack .../archives/apt_2.4.8_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: 4: dpkg-maintscript-helper: not found
dpkg: error processing archive /var/cache/apt/archives/apt_2.4.8_amd64.deb ( ...
Score: 0
WalterBlack1 avatar
Keyboard shortcut to swap programs displayed on principal and secondary screens
cr flag

I'm running Ubuntu 22.04 and I'm quite new to it.

I'm using two screens and I was just wondering if there was a keyboard shortcut that allows this kind of swap.

I assume there is a way to set up a custom shortcut that does such a thing but I'm just as new to coding and think this might be beyond my skills.

Thanks !

Score: 2
johnsf2000 avatar
Simple Screen Recorder recordes only audio
eg flag

I have been using Simple Screen Recorder for several months. Installed on PC from Ubuntu list. Worked great until suddenly it recorded only the audio. Video sources have been camera (AVI), youtube, FsTV.org (live news). Now all theses sources record just the audio. Always used default settings.

System is desktop Ubuntu 20.04. echo $XDG_SESSION_TYPE says I'm using wayland. I've search for how to c ...

Score: 0
Stijn avatar
Mysql connection problem with php
tj flag

I'm trying to install a new lamp test system on ubuntu 22.04, but I'm having troubles with php 8 connecting to the mysql database.

It gives an connection denied error on all scripts I use. However the strange thing is that phpmyadmin works with the same login credentials.

The error I get: Access to database is denied for databasenameremoved: SQLSTATE[HY000] [2002] (trying to connect via (null))

This ...

Score: 1
Ismael Garrido Gomez avatar
AMD Ryzen 7 5700u CPU capped at 400 MHz in Ubuntu
cx flag

Recently I was doing some benchmarks in Ubuntu 22.04.1 LTS and I realized that even though my CPU is supposed to work at a base frequency of 1.8 GHz it only works at 400 MHz, the baseline for battery saver. I have a dual boot and tried to check on the frequency on Windows 11 and it works just fine. Any idea why this may be?

For specs my laptop is the MSI Modern 15 A5M-009XES

Score: 1
Kobodjo avatar
isakmp / ike not listening on port 500
sn flag

I just updated to 20.04 LTS, and installed the strongswan things. I copied a configuration that works on a Debian 10 system (and made some changes to reflect this system).

When I do "ipsec restart" and then "netstat - u -l -n" I don"t see anything listening on port 500 and port 4500. On the Debian 10 system, there is clearly something listening on these ports.

Also, I have no idea where I can find a ...

Score: -3
Hiran Chaudhuri avatar
Does Java Binary Kernel Support work already?
in flag

Is this already available in Ubuntu? https://docs.kernel.org/admin-guide/java.html

Has someone tried it or is it still just a theory?

Score: 0
willfire 03 avatar
How do I connect a VMware ubuntu virtual machine to my Wi-Fi?
pm flag

So, I'm trying to run ubuntu as a virtual machine on my windows laptop so I can run ROS. However, I can't install ROS and activate it in ubuntu without the internet. The device says it has a connection; however, whenever I try to open Firefox, it always gives me a connection error. I'm using VMware.

Score: 0
janeden avatar
WiFi working, but not available/visible in Gnome
so flag

I recently installed Ubuntu 22.04 on a Lenovo ThinkPad. The system uses the local WiFi connection configured during setup (I can access the Internet just fine), but the WiFi adapter is shown as "unavailable" in all GUI/Gnome settings. iwconfig displays the WiFi interface (wlp4s0) along with WiFi SSID:

lo        no wireless extensions.

enp0s31f6  no wireless extensions.

wlp4s0    IEEE 802.11  ESSID:"M ...
Score: 0
SteveR avatar
My Android phone doesn't connect to my server with a HID profile
vu flag

I've been using my Android phone as a mouse and keyboard to my Ubuntu server (originally running 20.04LTS). At some point, after an update, the app I use no longer worked - it just sits there saying "Connectiing..". I searched but found no solution and then gave up trying but now it's becoming a bit of a pain again so I'm hoping for some insight.

I was hoping updating to 22.04LTS would fix this b ...

Score: 1
Tarlispace avatar
windows of apps opened with wine are very small and some barely visible
cx flag

when trying to open itunes with wine 5.0 the window is very small and text can be barely seen because the window is almost fully black. other wine windows such as prompts from itunes and wine configuragtion windows are also small, but colors are displayed as usual. my system scaling is set to 125%, and I have tried cchamging the system theme to light to see if that would fix the color problems but that  ...

Score: 0
Hassan Mehboob avatar
When I enable "WaylandEnable=false" option in /etc/gdm3/custom.conf file to enable screen sharing 3 fingers gestures on track pad stop working 22LTS?
mt flag

When I enable "WaylandEnable=false" option to enable screen sharing in google meet my touch pad's 3 fingure gestures stop working.

Score: 0
AVAHI: Troubles with avahi-daemon's CPU and memory usage profile on Ubuntu 20.04 and 22.04; how to tighten up settings?
bd flag

I am finding that avahi-daemon is a "necessary evil" sometimes. It chews some CPU and memory up that I really don't want it to. Sometimes it's significant and runs well over 20-90%, but even when it runs under 10% it's still too much to have going when an Ubuntu instance is running in the background as a headless VM, for example.

What /etc/avahi/avahi-daemon.conf settings could be changed to reduce r ...

Score: 0
Naeem Navjivan avatar
Failed to install Mongodb-org in Ubuntu 22.04
cn flag

tried installing mongodb-org several times in my ubuntu 22.04 and followed many youtube videos as well as document tutorials but failed to install it.

{"t":{"$date":"2022-10-14T23:57:58.874+05:30"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"-","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} {"t":{"$date":"2022-10-14T23:57:58.879+05:30"},"s": ...

Score: 2
richard coleman avatar
postgresql-contrib-14 missing
pf flag

Now that postgresql 15 is newly released, I'm scrambling to lock my many servers at 14.

Does anyone know where the postgresql-contrib-14 package may be (Ubuntu Server 22.04)?

There's a postgresql-contrib, but it wants to upgrade/install postgresql 15.

Thanks, rik.

Score: -2
Bryson Cotton avatar
How to correctly open and edit .lua scripts on ubuntu
bv flag

I'm making a mod for a game, and all the major program files are written in Lua, however when I go to edit them all I see is a bunch of mumbo jumbo. Any ideas on what I'm doing wrong?

https://i.stack.imgur.com/mnW4E.png

Score: 0
Newbie avatar
Cannot connect to home ubuntu server using public static IP address outside of LAN
cr flag

Running ubuntu 22.04

I have a test express.js app running and I can connect to it via 192.168.1.6:3000 as local ip and also as (static public IP):3000 but only from devices connected to my WiFi.

As soon as I try to access the (static public IP):3000 with mobile data, I receive an error CONNECTION_REFUSED with an HTTP error code of 102

root@server:~# ss -lntu
Netid           State            Recv-Q        ...
Score: 1
dummyuser avatar
ap with iwd at boot - ubuntu 22.04
uy flag

Environment: Ubuntu 22.04 on apu2 (pcengines) HW with 2 miniPCI express – WLAN Cards One of the WLAN interfaces should be an AP, the other one is a WLAN Client, connected toward a different AP. I’m trying to switch from wpasupplicant and hostapd towards iwd. In general this solution does work, but it does not survive a reboot. I need to enter the following instructions to enable the AP again

Score: 0
Thomas White avatar
Unable to Install Ubuntu 20.04 on HP Envy 13-ah0001na
ky flag

When attempting to start the live USB for Ubuntu 22.04.1 LTS or Ubuntu 20.04.5 LTS, the system gets stuck waiting for the start jobs ' Userspace Out-of-memory (OOM) Killer', 'Network Name Resolution' and 'Userspace Out-of-memory (OOM) Killer', with a wait time that grows whenever it is met. Ubuntu 21.10 has no issues and boots fine.

Secure Boot is disabled, and nomodeset has been used. Is there a ...

Score: 0
phanaz avatar
Gray screen instead of KDE's lock screen
ba flag

What is kscreenlocker_greet?

Through this process, the entire screen is a gray area, with mouse pointer. This gray overlay cannot be removed or closed by any keystroke or mouse click. Only by running killall kscreenlocker_greet in another tty, I was able to see the normal lock screen with the password input field on tty1 again.

The running command was:

/usr/lib/x86_64-linux-gnu/libexec/kscreenlocke ...
Score: 0
Mikedobairro avatar
keyboard not recognised
jp flag

I have dual system, windows 11 and ubuntu 22.04 and my microsoft keyboard works properly with windows and doesn't work when switched to ubuntu 22.04. I already tried to install:

sudo apt install git

git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

sudo cp linux-firmware/ar3k/AthrBT_0x11020000.dfu /lib/firmware/ar3k

sudo modprobe -r btusb

sudo modprobe btusb

sudo apt  ...

Score: 1
Andreas avatar
No Wifi adapter found on Lenovo ThinkPad E14 Gen 4 with Ubuntu 22.04.1 LTS
hn flag

"No Wifi Adapter found". It's a new laptop and a complete new fresh installation.

i attached the output of the script "wireless-info", hopefully this helps.

Any help is highly appreciated!

Andreas


########## wireless info START ##########

Report from: 14 Oct 2022 13:14 EDT -0400

Booted last: 14 Oct 2022 00:00 EDT -0400

Script from: 25 Jan 2020 03:34 UTC +0000

##### release ################### ...
Score: 0
samiri avatar
Cannot install JDK 11 on Ubuntu 20.04
lt flag

I cannot install JDK 11 on Ubuntu 20.04. I always get the same connection error:

Ign:1 http://mirror.it.ubc.ca/ubuntu focal-updates/main amd64 openjdk-11-jdk-headless amd64 11.0.16+8-0ubuntu1~20.04
Err:1 http://mirror.it.ubc.ca/ubuntu focal-updates/main amd64 openjdk-11-jdk-headless amd64 11.0.16+8-0ubuntu1~20.04
Connection failed [IP: 137.82.116.21 80]
E: Failed to fetch http://mirror.it.ubc.ca/ub ...
Score: 0
ThatDataGuy avatar
How to configure Energy Efficient Ethernet (EEE) permanently off using netplan?
gb flag

I have a raspberry pi 4, with 22.04 installed. I keep getting drop outs from the network with errors in dmseg like

bcmgenet_xmit: tx ring 1 full when queue 2 awake

Another post suggested that this may be due to the EEE setting being on for the eth0. While I can set it off using

sudo ethtool --set-eee eth0 eee off

However, this doesn't persist over reboots.

How do I do this using netplan?

Score: 2
Artemis-a avatar
Ubuntu 22.04, HDMI works, but display port fails
cn flag

There are three external monitors connecting to Dell latitude 7430 using a docking station with an onboard intel GPU. The monitors can connect with HDMI cables, but fail when using the Display port. The issue is that the dock station only supports one HDMI cable port, and I have to connect other monitors using the display ports.

Any idea why and how to fix this?

GPU INFO

sudo lshw -C display
  *-display  ...
Score: 0
GoldenAJF Of The Invosde' Clan avatar
Where is Soundcard Directory for Kubuntu?
gu flag

I'm still kind of newish to linux, and I installed panon to find that it's not working. I found a command that fixes it, but I need to run sed -i 's/collections.Iterable/collections.abc.Iterable/g' *.py in the directory with my soundcard, and I don't know where that is.

Score: 1
alle_meije avatar
No cable or WiFi internet after upgrade to 22.04
in flag

I have just upgraded from Ubuntu 20.04 to 22.04 and found that I have no internet access.

My computer is a RoG Strix Scar II, with pretty standard specifications, and upgrading has never been a problem.

I'm not really sure where to look, the output of ip a shows the ethernet card and the wireless card as eno2 with altname enp3s0 and wlo1 with altname wlp0s20f3, respectively but they don't have a line tha ...

Score: 0
captain_majid avatar
How to generate thumbnails in Nautilus on remote locations?
ht flag

Is it possible to do it for like VirtualBox shared folder or USB drive ?

Score: 0
Kate 21.12.3: how to remove a keyboard shortcut?
in flag

Plenty of posts about how to create, but I want to remove a duplicate shortcut on the same command. I've clicked just about everything I can click on and can't figure it out.

enter image description here

Score: 2
fny avatar
How can I tile windows to the top and bottom half of my screen using keyboard shortcuts?
cn flag
fny

I have my screen rotated by 90 degrees (vertical orientation). The default Ubuntu keybindings only support left and right half tiling. I tried compiz, but it didn't work.

How can I configure Ubuntu to allow me to retile my windows to the top and bottom half of my screen with a keyboard shortcut?

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.