Latest Ubuntu related questions

Score: 0
mLstudent33 avatar
Ubuntu 22.04 how to install Nvidia drivers and Cuda for GeForce GTX 1650 Mobile
ph flag

everything greyed out

Edit: This is a lower grade GPU than GeForce GTX so I had to go with an older Nvidia driver. See my answer for the answer but the question shows some problems along the way.

Everything else is greyed out except Continue using manually installed driver's radio button is selected.

Steps I took:

Followed the download from Nvidia way from here: https://linuxconfig.org/how-to-install-the-nvidia-drivers-o ...

Score: 0
Lifezcubing avatar
GNOME dash has a black outline
cn flag

I have been using Ubuntu 22.04 with the Ubuntu dock disabled. The dash has a black outline. Disabling the just perfection extension makes it huge. Is there a way to fix it?

Here's a screenshot of the issue:

The dock with the black border

Score: 1
no iam avatar
Error while upgrading from Ubuntu 20.04 LTS
us flag

This is the error when running sudo do-release-upgrade

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

 This was likely caused by:
 * Unofficial software packages not provided by Ubuntu
Please use the tool 'ppa-purge' from the ppa-purge 
package to remove the software from a Launchpad PPA and 
try the upgrade again.

If none of this applies, then please re ...
Score: -1
Max Simbiot avatar
Is it even possible to set default display settings
mm flag

I'm using a second display. Everything works fine, until I have unstable electricity, resulting in the second monitor turning off and back on.
With a problem - after said reboot, it sets itself at the highest possible resolution, with me forced to readjust it each time. Is it even possible to set the default resolution to the desired one, so that after unexpected electricity reboots it just sets it ...

Score: 2
Larry Golade avatar
Why is my computer so slow?
id flag

I had 16.04 installed until the summer, but it started getting slow to the point that I had to restart it several times a day.

I installed 22.04, but things have not improved.

Is my system too feeble to handle 22.04? It consists of:

  • Intel® Celeron(R) CPU N3060 @ 1.60GHz
  • 4GB memory
  • 31,3GB of disk capacity

On the other hand, it started getting slow already a few months before I switched to 22.0 ...

Score: 0
XCodeMonkey avatar
QEMU not installing
kr flag

So I wanted to install QEMU on my Windows laptop running Ubuntu 20.04 using:

sudo apt-get install qemu-system-i86 -y

and I got this error.

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package qemu-system-i86

I tried lots of different versions such as qemu, qemu-system, qemu-system-x86_64 and guess what? NONE OF THEM WORKED So, how can I f ...

Score: 0
Elbow Jeans avatar
Where'd My Desktop Go?
ar flag

I just upgraded from Ubuntu Studio 20.04 (maybe .10, both LTS, as I usually keep everything updated) to Jammy Jellyfish 22.04.

I, certainly naively, assumed that all the files, folders, and shortcuts normally visible from my previous desktop on Studio 20.04/.10 would still be there, albeit under a new o.s.

Can you assist me in "re-building" my previous desktop view, please?

It's probably simple, but I  ...

Score: 0
antonro avatar
Cannot update maven on Ubuntu 20.04
cd flag

I'm not able to update maven to the latest version, which as of time of writing is 3.8.6:

$ mvn --version
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 17.0.5, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-53-generic", arch: "amd64", family: "unix" 
$ sudo apt-get update
Hit:1 htt ...
Score: 0
Danny avatar
Ubuntu 22.04, I just noticed in the settings "Connectivity Checking" should I turn it off? I'm concerned about my privacy
us flag

I don't want Canonical stealing information from my computer so should I disable it or leave it alone?

Score: 0
Qmails avatar
Apt-Mirror Error
cn flag

Trying to create a local copy of the repository for Ubuntu 22.10.

Here is the file mirror.list:

set base_path    /mnt/ExternalSSD/apt-mirror
#
set mirror_path  $base_path/mirror
set skel_path    $base_path/skel
set var_path     $base_path/var
set cleanscript $base_path/var/clean.sh
# set defaultarch  <running host architecture>
set postmirror_script $base_path/var/postmirror.sh
# set run_postmirr ...
Score: 1
brisssou avatar
How to decorate Always-on-top windows?
cn flag

The idea is exactly as in the title. Coming back to Ubuntu after a couple of years using Windows, I really enjoyed the way Always on top PowerToy emphasizes said windows.

image showing always on top window decorated

Is there a way to achieve this with Ubuntu? My search has been unfruitful so far.

Score: 1
Alien avatar
How do I remove password from a PDF using ghostscript, when password is known?
jp flag

I have an encrypted pdf, and I am aware of the password, and I would like to use the Ghostscript to make them unencrypted, so they don't require any password to be opened.

I tried using the following, But it seems I'm doing something wrong

gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=OUTPUT.pdf -c .setpdfwrite -f -sUserPassword=mypassword encrypted.pdf
Score: 0
prashant kandel avatar
Download from multiple backup apt repository in ubuntu
mm flag

I have AWS auto scaling group which scales out in peak hours. I'm facing unhealthy instances due to do AWS's apt servers being unresponsive sometimes.

 Err:68 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 python-apt-common all 2.0.0ubuntu0.20.04.7
  503  Service Unavailable 
Err:69 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-ap ...
Score: -1
SEOSatu avatar
Automatic backups of MySQL database with Cronjob
eg flag

I would like to backup my MySQL database with a cron job, but I cannot make it work.

This is the code that I am using:

0 2 * * * mysqldump -u root toko_db | gzip > /var/backup/toko_db_`date '+%Y-%m-%d'`.sql.gz
Score: 1
user52366 avatar
empty XXXXX.html.part files remaining on desktop - can't find their origin
br flag

For a while, some application/system part leaves files with names such as 2F__qbBz.html.part on the desktop. At least when I discover and inspect these, they all are empty (size 0).

I am using Kubuntu 22.04, and this behavior certainly did not occur in the past. However, so far I have not been able to find the source of the problem.

What application may generate these files? It looks like some in ...

Score: 0
Philip Mair avatar
Upgraded Ubuntu 22.04 RDP remote desktop screen update lag
ai flag

I'm running three Ubuntu Systems, two where installed directly with Ubuntu 22.04. With them the RDP is running fine.

The third machine was recently upgraded from Ubuntu 20.04. But with this installation the Gnome remote desktop is very very laggy.

All of the three Systems are running Gnome 42.5 with wayland, here is the system info about the laggy one:

SystemInfoOfLaggySystem

All of them are connected v ...

Score: 0
howtouselinux avatar
how to get the ip of my Ubuntu instance in AWS
lu flag

How can I see the public IP address assigned to an EC2 instance, from within (i.e. after connecting) the EC2 instance? I can see the public IP address that is assigned to it, simply by looking in the Management Console.

From AWS document, we can get the public ip address using the following curl command.

$ TOKEN=`curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl- ...
Score: 0
Unable to install gcc-8 g++-8 in Ubuntu 20.04
jp flag
Tak

I am trying to install gcc-8 g++-8 on my Ubunutu 20.04 but I cannot as shown below. Any advice?

sudo apt install gcc-8 g++-8
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'clang-8-doc' for regex 'g++-8'
Note, selecting 'python-clang-8' for regex 'g++-8'
Note, selecting 'clang-8' for regex 'g++-8'
Note, selecting 'clang-8-examples' fo ...
Score: 0
morozig avatar
AnyDesk keeps changing id after reboot on Ubuntu 22.04 LTS
nr flag

After upgrading a system to Ubuntu 22.04 LTS I can't automatically connect to the station via AnyDesk because it keeps changing id on each reboot. Manual connection works fine and it allows unattended connection as well but only until reboot. Then it will assign a new id and default settings. I tried looking into ~/.anydesk/ or /etc/anydesk/ as pointed in the manual but it has no effect, first time new ...

Score: 0
shinigamishredding94 avatar
Ubuntu 22.04.1 LTS boot aborted (initramfs)
tz flag

updated pic hereI am pretty new on Ubuntu and at first my disk drives were too full to even plug in a USB with a small item and files wouldn't let me even see the contents. Now after turning it off and back on (thinking I should find a way to clear the whole drive, and find a way to reinstall it) I get to the Grub menu and clicked on the first one, not the advanced option, and when it started booting  ...

Score: 0
potatoes avatar
How to install wifi drivers without internet?
tg flag

I have a laptop that uses a RTL8723DU wifi chipset (driver: https://github.com/lwfinger/rtl8723du). I couldn't find the driver in the installer, and the laptop does not have an ethernet port. The instructions in the driver say that I need to install gcc, make, and build-essential, but I don't know how to do that without internet.

I have a 16GB usb where I have cloned the repository (I think). I tried d ...

Score: 0
fixit7 avatar
Time to execute a backup script to determine efficiency
kp flag

Creating the tar file seems slow to me. ( I learned 2 days ago that files in zip files do not retain file permissions.)

The tar file is 15 Mb in size.

It spends around 2 seconds to create the tar file.

It is copying from a 2 Tb drive to an old Maxtor drive. (300 Mb)

Should I include some timing code with a starting time and ending time and subtract the difference?

Or I could use time.

It would tell me ...

Score: 0
Catto avatar
Multiple error when booting kubuntu 22.04
it flag

I just installed Kubuntu and whenever I boot up, I always got error message even though the boot process is success (I can access my Kubuntu without problem).

But when I check the error logs using

journalctl -b -xep err

I got this error:

Nov 30 09:23:23 Swift-X kernel: integrity: Problem loading X.509 certificate -65
Nov 30 09:23:23 Swift-X kernel: integrity: Problem loading X.509 certificate -65
No ...
Score: 0
iswaterbad avatar
Why do I have a Thunderbolt 4 controller but no port
gt flag

I have a Lenovo IdeaPad 3 15IAU7 laptop, and have only used Ubuntu for a month, so sorry if I ask something stupid. My computer has a usbc 3.2 port, but no thunderbolt 4 ports. However, if I run lspci this is in the list:

00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 04)

Does this mean I could somehow install a thunderbolt 4 port on my computer? If not, why d ...

Score: 0
user5151477 avatar
how to open a folder in terminal in nautilus (with root privilege) ubuntu 22.04
cr flag

Under the nautilus without root privilege, we can press Ctrl+F10 or right click to bring the popup manual to open a specific folder in terminal.

However, it is troublesome to get sudo in the terminal every time to access the files in the folder. So, I just open the nautilus with root privilege but I find the 'open in terminal' option just disappears in the pop up manual by right click on the folder.

 ...
Score: 2
tootitalian avatar
Cannot boot fresh install Kubuntu 22.10 on Acer TravelMate P648-G2-M
cx flag

I am trying to install Kubuntu 22.10 onto an Acer TravelMate P648-G2-M laptop. It previously had a 64-bit Windows 10 installation.

Problem

I have tried to do several fresh installs of Kubuntu 22.10, overwriting the hard drive every time.

The installation always completes without any visible error messages. When I click the dialogue box at the end of the installation to restart, I get the Acer logo fo ...

Score: 1
BasicJE avatar
Is there a time limit for the remove media screen after installing Ubuntu with ISO?
cv flag

When you are done installing ISO using USB, remove usb from the screen and press Enter I can see the screen, but if I keep it on this screen, will the ISO be reinstalled?

If reinstalled, how many hours does it take to reinstall?

Score: 1
Defcon97 avatar
Forced shutdown destroyed network ability
pg flag

Hi I come to you for help as I did something kind of stupid on a pc that's very important to me and that I would like not to have to format completely.

Yesterday, as I was about to shutdown everything and go to bed, I was watching a YouTube video with my headset on. When I go to shutdown, my finger slips and I accidentally press the "suspend" button instead. In the Suspension procedure my headset ...

Score: 4
cocomac avatar
How can I rejoin my existing tmux session - but if I don't have a session running, create a new one
cn flag

I use tmux quite a bit, especially on remote servers that I connect to via SSH. I can start a new tmux session by simply running tmux, and I can re-connect to an existing session with tmux a. But, if I run tmux a, and I don't have a session running, it just says this:

$ tmux a
no sessions

That makes sense, as I don't have one running. Is there a way to detect if a session is running, and if ther ...

Score: 1
Henry avatar
error after upgrading, how do i fix this
eu flag
dpkg: error processing package libfwupdplugin5:amd64 (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of fwupd:
 fwupd depends on libfwupdplugin5 (= 1.7.9-1~22.04.1); however:
  Package libfwupdplugin5:amd64 is not configured yet.

dpkg: error processing package fwupd (--configure):
 depend ...

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.