Latest Ubuntu related questions

Score: 0
AMM avatar
External command finished with errors. Command apt-cdrom
eg flag

I'm trying to install lubuntu on an external hd, but get this error:

Command apt-cdrom add -m -d=/media/cdrom/ finished with exit code 100. 
Output: Using CD-ROM mount point /media/cdrom/ Identifying... [346fcdc746deafa9f6c6092b422ab5b3-2] Scanning disc for index files... F
ound 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures 
E: Unable to locate any package files, perha ...
Score: 0
123MilitaryNerd avatar
Alternatives to Editing accels.scm File in Thunar?
nl flag

Since GTK3+ removed editable accelerators, everything I've read online suggests I'm stuck having to edit the ~/.config/Thunar/accels.scm file if I want to assign keyboard shortcuts to actions or folders in Thunar. Is there another option? For instance, say I wanted to assign a keyboard shortcut to open a folder in my current Thunar window. Could I do this with a custom action, or maybe a bash script? ...

Score: 0
Tug avatar
Windows Terminal: "ssh: connect to host port 22: Permission denied"
dz flag

I have an unused PC that I turned into a server for Minecraft. I installed Ubuntu Server 20.04.4 LTS and set it up.

I want to connect to my server with my Windows 10 PC using the Windows Terminal preferably, or PuTTY. It seemed to be as simple as installing OpenSSH Client and running the command ssh username@ However, I immediately get an ssh: connect to host port 22: Permissio ...

Score: 0
Jaden Lorenc avatar
Sign in from browser not working on any application
in flag

I tried nordvpn, slack, and now github from android studio. Whenever I try to use an application that provides me a login link, I click it, log in on the browser, and click 'ok' or 'submit'. Then, either a terminal flashes up and quickly disappears, or nothing happens at all.

I've set both chrome and firefox as default browsers, so it's not that. I thought it was just a problem with the individua ...

Score: 0
UbuntuRe-installed avatar
Frame Rate Problem With second monitor
us flag

Recently I got a second monitor which my parents had been using for some years. Before I plugged it into my computer my main monitor ran at 75 hz with vsync games running at 75 fps. However, when the other monitor is on it caps my games at 60 fps (the other monitor is 60 hz) and my main the monitor seems to run at 60 hz, even though in settings it says that it is running at 75 hz. I have already tried c ...

Score: 0
pasha19 avatar
Running the same code with -u and +u gives different results
cn flag

I have a fairly large set of scripts that is the initial part of creating some debug/logging logic for bash scripts. There is a considerable amount of code in the system. Fortunately I can demonstrate the different results that I cannot explain when the script is run +u and -u. Set variables as tested using +u become unset variables when run with -u. The variabl.e name in this case is $FUNCNAME

Score: 0
Apps Broken after changing Icon Themes?
in flag

Been running Ubuntu 20.04 for five months, and after playing around for the millionth time with icon themes, my system reported "App X will close because of a crash", and Gnome Tweaks, Terminal, File Explorer and others closed, and their icons disappeared and are not able to be opened again. (icons for the top bar also disappeared except for the date, time and calendar?)
On other users other than my ...

Score: 0
123MilitaryNerd avatar
Rename a Tab in Thunar?
nl flag

When I have two or more tabs open in Thunar, I'd like to give each tab a custom name instead of the name of the current directory. Is this possible? If not, is there a way I could implement this using a custom action or bash script?

Score: 0
Pedro Henrique avatar
Package alsa was not found in the pkg-config search path. Perhaps you should add the directory containing `alsa.pc'
pg flag

im having problems with bevy framework.

sorry im new at this site and idk how to make my question more "readable" Full exit code when i try to run:argo run --example hello_world

  • I tried locate alsa.pc -> return nothing.
  • some code is in the same line because i dont know how to breakline "\n" here :c


Compiling ...

Score: 0
Marvin avatar
No ethernet connection in Ubuntu 18.04.6 after changing motherboard
cn flag

I recently upgraded my PC with new motherboard / memory and ryzen 7 Cpu , I have Ubuntu verison 18.04.6. I have a dual boot with Windows 10 ,after the upgrade the ubuntu side can't see the ethernet connection only the wireless connection. The Windows 10 is able to see and connect to ethernet without an issue.


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet  netma ...
Score: 0
IntegrateThis avatar
Second monitor not shown up in Screen Display in Ubuntu 20.04 with RTX 3090
cn flag

My second monitor is not showing up in the display settings using an RTX 3090 nVidia GPU, see the first screenshot, I am using Ubuntu 20.04. enter image description here

I have tried using all of the drivers shown in the screenshot below,

enter image description here

Running Xandr I see:
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
HDMI-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 3 ...
Score: 0
lukas23 avatar
How to install NVM?
cn flag

I was having problem with permissions after installing Nodejs and npm. I tried removing them, I thought I was successful at first but then terminal showed me these messages.

I ran the command from github in my terminal.

What am I doing wrong / what should I do?

picture here:

enter image description here

Score: 0
A Python Coder avatar
How do I find relative files in python with ubuntu?
gh flag

Basically, I am trying to set the background of ubuntu to a file, and I pretty much need to use relative paths.

I have looked at other people's and tried what they did but it didn't work, it just changes the background to a dark blue colour.

My code: os.system('gsettings set org.gnome.desktop.background picture-uri file:../Installer/Assets/BG.png')

Also, I am using Ubuntu 21.10 and yes, I have added ...

Score: 0
Obaida Na avatar
Battery drain on lenovo legion 5
ve flag

My battery remains for about 2.5 hours on ubuntu, but in Windows it remains for about 7 hours, how to expand battery life on ubuntu ?, or how to turn off Nvidia GPU ?

My laptop: Lenovo Legion 5 15ACH6, AMD Ryzen 7 5800H, NVIDIA RTX 3050 Ti

Score: 0
Deleting files under /etc/sudoer.d
kz flag

I granted another user account sudo privileges for running Docker commands by adding a file with their username directly under /etc/sudoers.d:

username ALL=(root) NOPASSWD:/usr/bin/docker

I now want to revoke these privileges, I assume it is perfectly safe to just delete the file? So just:

sudo rm /etc/sudoers.d/username

I have assumed many things in the past that have turned out to be incorrect... The  ...

Score: 1
Qmails avatar
Audio activation causes webcam to freeze
cn flag

I have purchased a new webcam and I have a problem. When I test audio or video, it all works. However, when I test the video with sound, the web browser (firefox) freezes. Chromium freezes, but the video turns black after a few seconds.

I see an error in the dmesq report: usb 1-1.3: 3:1: cannot get freq at ep 0x84

I ran the usual commands and here are the results:

sudo dmesg | grep uvcvideo

[   83 ...
Score: 0
dm-kiselev avatar
No ping on one device but on another one network is working
in flag

I connect to internet via wi-fi. On my Ubuntu 20.04 computer I have no ping and ERR_ADDRESS_UNREACHABLE at any site in Google Chrome. But on my phone internet works fine. Yesterday internet on my computer was working.

Score: 0
Ubuntu Studio 21.10 freezes at login screen
pl flag

I just freshly installed ubuntu studio ver. 21.10 KDE plasma. No problem installing, updating and using the OS, but what bugging me is sometimes the OS freezes at login screen and I'm forced to restart the pc. The mouse, touchpad or keyboard buttons working fine even when it freezes, but cant type the password to login as it freezes. Some ideas how to fix it? Thanks a lot!

Score: 0
Matt Copperwaite avatar
Enable remote screen sharing from headless server on 21.10
cn flag

I have a VPS running Ubuntu 21.10 that I can SSH in to and doesn't have a video device.

I want to know how to configure it to be able to remote in to the server from my personal machine via VNC or RDP preferably with Gnome Shell or Ubuntu Desktop.

Score: 0
How does dpkg choose to replace or not replace a configuration file?
ph flag

I created a package to install postfix with my own setup files. For example, I want to have my own /etc/postfix/virtual in that package.

That works great and I verified, the file is listed as a configuration file (it is part of the conffiles list). I can update it in my package and the postinst script will run the postmap command to make sure the .db is up to date.

However, while doing some testing, I ch ...

Score: 0
Hotspot Login - - 404 Not Found nginx/118.0
it flag

I am new to linux, maybe someone can help me out with this new challenge.

A white screen randomly pops up with the following info

Hotspot Login

404 Not Found


Will sudo apt-get install nginx solve the issue?

I am an Ubuntu 20.04 user (no sure if this is even related)


Score: 0
Is it OK to add space to a logical volume while it is being used heavily?
mx flag

The existing logical volume on my server is being used extensively (TBs of data being copied to the logical volume) therefore the logical volume is filling up. Soon it will be full, so I want to add new space to it.

Is it OK to do it while the copying in progress?

Score: -1
grafeno30 avatar
ng flag

I have bought some books but I can not read them because I use Linux:


I am absolutely sure that the browser really supports it. It seems to me a very big discrimination.

Any solution?

Score: 0
donna_unsworthcomcastnet avatar
Perl script to compare elements of 2 arrays for match and differences
bt flag

I have 2 arrays formatted as shown here:


56789  filename1
39486  filename2


38394 filename1
39486 filename2

I want to compare the filename in both arrays for match and see if the size matches of not I need to do something.

Score: 0
Rylan Schaeffer avatar
2022: Keyboard Shortcut for Lock Screen just stopped working
sd flag

This is a related, older question that isn't what this post is about: Keyboard shortcut for "Lock screen" not working

My question is different. For the past year or more, I've had no problem locking my screen with Super+L. You can see in my settings that the shortcut is still enabled:

enter image description here

However, I recently installed some Ubuntu-recommended update and the Super+L shortcut now no longer works. I don ...

Score: 0
someonewithacat avatar
keyboard and touchpad not working after going into tablet mode
tj flag

I have a big problem. My keyboard and touchpad are not working on my laptop after going into "tablet mode" even restarting does not fix the issue. I can use an external keyboard if somebody asks. Please help me

Score: 0
Is it possible to update flatpaks with the "Software Updater"?
gb flag

Currently, when I want to update my flatpaks I have to open the gnome software center and look for updates there. My other software (apt, snaps) are updated by the "Software Updater", aka update-manager. Is it possible to also update flatpaks via the Software Updater?

Score: 0
GrapefruitIsAwesome avatar
Monitor Not Sleeping Ubuntu 20.04.4 LTS With Wayland
in flag

I am using Ubuntu 20.04.2 LTS with Wayland for the windowing system. Pretty much everything has been great except the monitor doesn't even go to sleep. The screen locks and blanks when inactive, but I guess never tell the monitor to go off. Any suggestions for what I need to change, look for?

uname -a
Linux woodstock 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10 UTC 2022 x86_64 x86 ...
Score: 0
Kevin avatar
Forward Wireguard traffic to ETH1
gw flag

Forward Wireguard traffic to ETH1

I setup a wireguard server with AWS, setup the wireguard client with a raspberry PI. Now I need to redirect the WG traffic (wg0) to eth1 -- my goal is to get a IP from my WG server when a client is connected to the PI eth1 (Full tunnel) my WG config

Address =
ListenPort = 51820
PrivateKey = ##
PostUp = iptables -t nat -A POSTROUTING -o eth0 -j  ...
Score: 0
user852508 avatar
Granulation problem
vn flag

WHen my notebook enters power saving mode either by time or by closing, the GRANULATION Starts on the screen. What's/where's the problem ? How can I fix it ?

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.