Latest Ubuntu related questions

Score: 3
Pablo Ruiz avatar
How to make a keyboard shorcuts using 'windows/super' + 'alt' + letter
sv flag

I'm trying to make keyboard shortcuts using Super+alt+something, the problem is that Super+alt sometimes behaves as just Super making shorcuts as Super+alt+L same as Super+L. but even worst, when I map it to a new shortcut (using input remapper) the result of the remap inherits behaviors of other shortcuts having same letters.

For instance in my computer: Ctrl+Alt+Arrow and Super+Alt+Arrow and also  ...

Score: 0
Kris avatar
When SSHed into Ubuntu Core how to know which container running from
uz flag

I setup a Ubuntu Core 22 IoT device and I was able to SSH into it.

Since Ubuntu Core is a container operating system ,I wanted to know if I am SSHed into the device which container is my SSH session running out of?

Since Ubuntu Core uses LXD & LXC I thought there might be a command to run to determine this. However, when I run the lxc command I get the following:

user@ubuntu:~$ lxc list
-bash: lxc ...
Score: 0
Christoph Kempkes avatar
Dell G15 with Docking Station (USB-C) doesn't connect to displays over DP
kh flag

I am running a Dell G15 with Ubuntu 22.04. Since I am always using Windows with exactly the same Setup, I can tell, that the displays and the docking-station are working properly.

I just want to connect my two external monitors and display content. The rest of the peripherals that are also connected to the docking station also work fine. xrandr sometimes displays the two Dell monitors. But not al ...

Score: 0
Ali Jahani avatar
Boot error hide.me
hu flag

I upgraded Ubuntu 20.04 to 22.04 and after upgrading and restarting the PC, I've got these two errors while it tries to boot.

[Failed] Failed to start Hide.me CLI connection to server.
[Failed] Failed to start Hide.me CLI connection to nl.

enter image description here

Hide.me is a VPN client that I previously installed. It seems it tries to connect to one of those VPN servers before booting system, but it can't. How can I delete ...

Score: 0
user20656733 avatar
Very weird memory use
ee flag

out of nowhere my ubuntu 22.00 complained that it's memory was full. After some investigation I came across something really, really weird. Potentially worring.

I listed the use of the various dirs in order to try and clean up the system and this is what I found.

cd / sudo du -xhd1

4,0K    ./srv
2,5M    ./root
248K    ./tmp
304M    ./opt
6,3G    ./home
8,0K    ./media
18M ./etc
4,0K    ./mnt
16K ./lost+f ...
Score: 0
TriumphantToil avatar
Ubuntu 22.04.1 WiFi connection no longer available after previously working fine
bh flag

My laptop's (Asus ROG Zephyrus G502DA) WiFi was working just fine, then after a reboot it has disappeared and no longer gives me the ability to even search for nearby networks.

sudo lshw -class network

shows this

And if I go into "Software and Updates" it shows the WiFi adapter and it's using;

DKMS source for the Realtek 8821C PCIe Wi-Fi driver from rtl8821ce-dkms (open source)

Edit: I have tried ...

Score: 0
Sven avatar
Newbie in VNC Remote Desktop Access - I needs help to set it up
rw flag

I'd be a great help if I could access my mom's (I think windows) computer via Remote Desktop Access. I've been at the other end at my work, but how do I do it myself?

I have Remmina, I'm on Ubuntu 22.04.1 LTS - it asks for a server when following this guide. How can I set that up for free/the cheapest and easiest way, that is still safe?

Score: 0
Spaghetti avatar
Can't open "Additional Drivers", "Software Updater", "Software&Updates" and there is a red circle with a white line
uz flag

Ever since I updated my python version from 3.10 to 3.11 I noticed that I can't open Additional Drivers, Software Updater, Software & Updates and there is a red circle with a white line that says A problem occurred when checking for the updates.

I believe I've tried every solution possible that I could find similar to my problem, but still nothing. I really hope that I don't have to reinstall Ubunt ...

Score: 0
lennart avatar
Run Python script from Desktop icon, ModuleNotFoundError
nz flag

My Plan is to run a Python script which is a GUI trough clicking on an desktop icon. Im working on a Raspberry Pi 4B with Ubuntu 22.04. It works well with a basic GUI without further functionalities (tutorial: https://linuxhint.com/run-python-script-desktop-icon-linux/ ) . If im trying to import something like opencv in the script, i get a „ModulNotFoundError“. The script works fine in my norm ...

Score: -1
Sergey avatar
What just screwed up my Ubuntu, and how do I avoid it in future and/or disable absolutely all updates?
us flag

Note that this is one of those specific questions where I'm not looking for helpful advice that tries to figure out why I'm asking this question and what I actually want to do. I'm asking a very specific question...

I had an Ubuntu 18.XX mini-pc; I set this up years ago. Recently I pretty much only used Firefox, Chrome, and LibreOffice on it. The machine became sluggish, and top showed "snapd" us ...

Score: 0
drMAIN avatar
forgot ubuntu password of instance
vi flag

i have an oracle instance with ubuntu i don't remember having set a password for ubuntu but when i run the following command

systemctl enable emperor.uwsgi.service

it's required a password

Authentication is required to manage system service or unit files.
Authenticating as: Ubuntu (ubuntu)
Password: 

now i don't understand what's this password came from i have tried the password of oracle cloud acco ...

Score: 0
PurpleSodaCan avatar
How can I stop Ubuntu (using KDE) from saving my last sessions after a shut down?
ki flag

The question might be weirdly worded but I don't know how else to describe it.

I am using Ubuntu with KDE as a display manager and Whenever I shut down my system via the shut down button a few windows will instantly be open whenever I start my PC again. Despite being open I still have to close them since the windows are will be filled solid black and display a cog in the middle. It'll usually be  ...

Score: 0
ManOfKa avatar
.NET CORE as a cron job is failing
dj flag

I've gotten this working (different .NET core app but also .net 6.0). However deploying a new app to a new server and... problems are as follows:

I can run app: ./ApplicationName

I can put the app in a bash script and execute the script. I.e. /var/apps/scripts/runmyapp.sh

Running either of these manually is not a problem. However when I schedule them in crontab (either sudo or my user) they do not r ...

Score: 0
clem.one avatar
Storage setup (moved from windows)
hr flag

I recently moved from Windows to Ubuntu Server 22.04. The server was installed by the VPS provider.

The Server has 2 SSD and 1 HDD. I discovered that all 3 drives are used for two data systems.

Is it possible to remove the HDD and exchange it with another SSD without data loss?

If so, how would it be done?

Regarding storage I have really no clue and all help is appreciated.

Screenshot 1

Screenshot 2

Screenshot 3

Score: 0
nitai amir avatar
groups and groups are different even after restart
kp flag

Hi there I'm new to Linux and I'm very confused. I tried to add my user to docker group to run the docker without sudo as follow: https://docs.docker.com/engine/install/linux-postinstall/ and It worked (even when I closed the terminal or with my vs-code). Yesterday after I restart my computer It's looks like my user doesn't have any groups when I enter:

nitai@nitai-IdeaPad-5 ~ % id
uid=1000(nitai) gid=0 ...
Score: 1
alandefreitas avatar
Unable to set refresh rate to 60Hz on Ubuntu 22.04
bg flag

Update

I recently had to update the NVIDIA drivers for some other reason and the issue seems to have fixed itself in the new version.

The problem

I am unable to set the refresh rate above 30Hz on my display.

Specs

Backgro ...

Score: 0
Bilal avatar
How to remove a PubKey
il flag

I'm getting the error:

GPG error: file:/var/cudnn-local-repo-ubuntu2004-8.8.0.121 InRelease: 
The following signatures couldn't be verified because the public key is not available: 
NO_PUBKEY 6A4AA528B70907B4

and I have tried this solution, but I'm getting: gpg: keyserver receive failed: Connection timed out.

Can you please tell me how can I remove that Pub-Key please? thanks in advance.

Score: 0
pierp avatar
usb not detected
ug flag

it's my first post and I am new to ubuntu. My pc is an Hp pavilion x2 and I am trying to build a live Kubuntu 20.04 and a complete install on usb, before deciding to install it on computer. I used Sandisk Flair, Transcend and Samsung usb and sd cards. What happens is that sd cards work (a live with persistence working and booting perfectly and a full install very slow and freezing at times), while usb a ...

Score: 1
wasimoto_ avatar
Ubuntu 22.10 MT7622 wireless device doesn't work
la flag

I have a problem that has been mentioned many times before, but all the solutions simply won't help... Please someone help me to finally get my Wifi working on my newly installed System.

I installed only Ubuntu 22.10, no other OS. Motherboard is ASRock X670E Pro with Mediatek MT7922 Wifi adapter.

I have no Wifi settings.

"~$ lspci -knn | grep Net -A3 0d:00.0 Network controller [0280]: MEDIATEK Corp. MT ...

Score: 0
Eliseo Di Folco avatar
Cannot add PPA deadsnakes to ubuntu 18.04 behind company proxy
to flag

When I try to add ppa repository to Ubuntu within my company network

sudo add-apt-repository ppa:deadsnakes/ppa 

I get

Cannot add PPA: 'ppa:~deadsnakes/ubuntu/ppa'.
ERROR: '~deadsnakes' user or team does not exist

the same command works outside the company network so I suppose it is a matter of proxy settings. For apt get I set up a config file with

Acquire {
  HTTP::proxy "http://123.456.789.1 ...
Score: 0
TomL12953 avatar
Ubuntu 22.10 on 8GB Raspberry Pi 4 Memory Wrong
ru flag

Ubuntu 22.10 on 8GB Raspberry Pi 4 only shows 3.7 Gib free. Is there a configuration setting that needs changing?

Raspberry Pi OS shows all 8 Gib

Score: 0
Luis Jacinto avatar
Problem while installing MySQL
fi flag

Ubuntu 22.04

While installing MySQL this information come up

luis@l-System-luisj:~$ sudo apt-get install mysql-server
[sudo] password for luis: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some requir ...
Score: 1
Don Joe avatar
Does booting "persistent live to RAM" achieve the absolute lowest USB flash wear from a Ubuntu Live install with persistence?
cn flag

Does booting "persistent live to RAM" achieve the absolute lowest USB flash wear from a Ubuntu Live install with persistence, or are there additional tweaks that can be made to reduce flash writes even further? When I say 'live install with persistence' I mean the mkusb solution specifically, I'm not hacking some original solution manually.

From what I understand so far, the "persistent live to RAM" opt ...

Score: 0
E.rick avatar
I can't run an audio with crontab
us flag

I wanted to create a "radio alarm clock" with an old notebook. The first step was to have it play audio at a specific time, so I created this script:

#!/bin/bash
echo "ideas for practice"
PATH=/home/rick/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
mpg123 -v /home/rick/Music/mala.mp3

And then added it to my crontab:
* * * * * ./musicCron. ...

Score: 0
Chookitypok avatar
The prompt on my Bash bug when I enter too long command line
io flag

I am using Bash and I installed Linux RasPi 5.15.0-1024-raspi #26-Ubuntu on my Raspberry Pi.

When I type a too long command on my bash the cursor goes at the beginning of the line and replace my username and hostname like this:

enter image description here

I am losing my focus and it seems to create other issues when the command line is too long.

What should I do? I presently use my raspberry pi to practice for a linux course. S ...

Score: 0
madwill5034 avatar
Booting Windows 11 breaks wifi (RTL8822CE) on 22.04
cr flag

I have a W11 partition that I rarely use, I only use it to update the BIOS.

Every time I use Windows, when I reboot (or shutdown) and go back to Ubuntu, the wifi chip is not detected:

rtw_8822ce 0000:03:00.0: failed to setup chip information
rtw_8822ce 0000:03:00.0: failed to setup chip efuse info
rtw_8822ce 0000:03:00.0: failed to download firmware

Last time it happened to me the issue went away after s ...

Score: 0
retrodans avatar
Updating ubuntu 22.04 broke updates due to nvidia drivers
jp flag

A month or so ago I updated Ubuntu to 22.04, and since then have realised that whenever I try to install anything with something like sudo apt update && sudo apt install signal-desktop I get errors along the lines of:

Setting up nvidia-dkms-470 (470.161.03-0ubuntu0.22.04.1) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/ ...
Score: 0
Alex Apger avatar
Purple Screen with Ubuntu 20
vi flag

I am trying to install Ubuntu 20.04 onto rack Workstations at work, and whenever I finish the install using CD I get a purple screen with these black lines running through them (as shown in the nice paint picture I made).

I have tried changing cables, ports I am plugged into, changed monitor, and also changed the GPU from AMD to Nvidea and I still get this issue! The thing is, this never use to h ...

Score: 0
Stephen Lawrence avatar
"document scanner" doesn't work with 22.04: cannot find any scanners, then crashes
mx flag

I've not had a problem before with 22.04 - I have a Brother printer-scanner (MFC-J5320DW at least 5 years old), and printing works. It connects via USB. (I am using X11 windowing system.) Document Scanner v42.0 Prints "searching for scanners", then doesn't find any, and won't quit when asked to. "Force quit" usually doesn't work (or takes ages >30sec) OCR v 3.4.0 () - gImageReader can't find the sca ...

Score: 0
RobinHoodRKA avatar
I want to share and control Android phones screen through Ubuntu
ai flag

Actually I want to play Android games on my Ubuntu 22.04. I tried anbox and Wayland but both don't work in my system. I tried scrcpy but I can only see my phone(POCO m4 pro 4g) and cannot control it.Scrcpy also does not support screen key mapping for playing games.

I want a solution with screen key mapping for playing games. Either one software like scrcpy for screen mirror and one another softwa ...

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.