Latest Ubuntu related questions

Score: 1
Knut avatar
Webcam not working, but works on Windows
ge flag

Hello dear Ubuntu community

My webcam is not working. On Windows 10 it works fine, no problems. lsusb shows no webcam. Cheese says there is an error.

I am running Ubuntu 20.04 LTS. I am new to Ubuntu so my webcam has never worked, as far as I know.

This is a laptop, model ThinkPad X1 Tablet G2. It is an integrated webcam.

Output of ls -lah /dev/video*:

crw-rw----+ 1 root video 81,  0 nov.   1 21:00 /d ...
Score: 0
Andrei Jiroh Eugenio Halili avatar
Getting the latest LTS codename through cURL
ng flag

I want to get the latest LTS version's code-name for my Docker build CI programmatically through cURL. Is there any API-friendly way to query this or do I need to handle the scraping stuff and math logic from https://cdimage.ubuntu.com/releases/ index (not necessarily Ubuntu-dependent but can be used on any distro)?

Score: 0
AinulBedjo avatar
can not open grub menu
us flag

I'm running ubuntu 20.04 on ryzen 5500U & integrated GPU.

I can't open grub menu even though I already pressed Shift / Esc button when boot up. I want to downgrade My kernel version since I can't login after suspend, it shows unresponsive black screen.

Kernel version : 5.14.10-051410-generic

/etc/default/grub file :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/g ...
Score: 1
usernumber avatar
How to install Cosmographia?
us flag

I am trying to install Cosmographia. On the JPL website, there is an installer file, but once I downloaded it, I don't know what to do with it.

How can I install Cosmographia?

Score: 1
ali HOZA avatar
why ubuntu does not show wifi icon correctly?
ua flag

i had this issue in ubuntu 20.04 and 21.04 and now i have the same problem in ubuntu 21.10. why ubuntu does not show wifi icon correctly? please look at the screenshot i have attached, i have connected to the wifi but the icon does not display it correctly.

enter image description here

Score: 0
Randomize avatar
Sound output default not changeable
ph flag

I am using Ubuntu 21.10 (but the same problem was present in previous versions of it) and everytime I restart the system I have to switch back the output device from "Digital Output" to "HDMI/DisplayPort2" manually as per image. Is there a way to keep the default choice set to "HDMI/DisplayPort2"? I tried different solution but nothing seems to work.

Sound output

Score: 0
toydotgame avatar
Run Command When USB Device Connected
in flag

I have a USB flash drive plugged in to my Ubuntu Server machine most of the time. It has an entry in /etc/fstab which mounts it to /mnt/foo after being identified by UUID. It mounts fine on boot and when

sudo mount -a

is run. But, if I disconnect and reconnect the device [physically], it'll be recognised (as in shown in lsblk), but not mounted.

I have a backup script that copies files to /mnt/foo

Score: 0
awesomenathan43 avatar
Linux Ubuntu stuck on purple screen after installing with no error messages
in flag

I have decided to try installing Linux Ubuntu 20.04 with Windows 10 file's still in the drive, after installing and checking the disk, it just went into a purple screen with a cursor (yes the cursor is free to move around),i am in confusion. If someone could help me, please do, thanks!. (the specs of my old laptop is as listed: ATI Radeon HD4500 Intel Pentium Dual-Core T4500 @ 2.3 GHz 4 GB of ram.)

 ...
Score: 5
Juan Antonio avatar
Changing screenshot directory in Ubuntu 21.10
cn flag

I am trying to change the default folder where the screenshots are saved. Currently, they are saved in /home/USERNAME/Pictures while I would like for this to be something like /home/USERNAME/OTHER_FOLDER. I have already tried

  • Tweaks (could not find the spot)
  • dconf-editor then org/gnome/gnome-screenshot/auto-save-directory
  • Which is the same as from terminal: gsettings set org.gnome.gnome-screenshot a ...
Score: 0
Tape Dispenser avatar
anything related to amdgpu dkms freezes my pc until a hard reboot
ph flag

anything related to amdgpu-dkms will crash my system, the first time i tried installing amdgpu it froze at 97% while "loading new amdgpu DKMS files...", i waited a while then gave up and hard rebooted my system, which broke it, making me reinstall lubuntu, the second time i let it run overnight and it froze at the same place, this time when i rebooted it seemed to work though, however while installing s ...

Score: 0
P. B. Edwards avatar
Boot order with crashed Windows
bt flag

I have a Pavilion g6 notebook with an apparently damaged hdd. I could not repair Windows after many, many different sorts of attempts. However, booting Ubuntu from a USB worked fine and I can see all folders. I installed the OS successfully, setting it as the primary and booting partition but on restart it will only attempt a boot to Windows (whereupon in goes bsod invoking repair) with no dual boot o ...

Score: 1
hanan avatar
ERROR: Failed to build gem native extension "mysql" on wsl2 with ubuntu 20.04
au flag

I have tried to install gem install mysql on wsl2 but I got the error.

Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
        ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-1.8.7-head/bin/ruby extconf.rb
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
 ...
Score: 3
Yan Tavares avatar
Right click from mouse immediately clicks on release - 20.04
us flag

So I’ve seen some very old forum questions about this issue, but could not find any known workaround that works in Ubuntu 20.04.

The issue:

When I right click I see the context menu, but it automatically clicks the first option and disappears. I first noticed this issue on VScode but have noticed that it also happens on various applications.

Apparently the normal behaviour in newer Ubuntu versions is to ...

Score: 0
Lei avatar
cannot excute shell script with permission denied
rs flag
Lei

I tried to run shell script file

fin.sh: 1: fin.sh: cannot create fin.log: Permission denied

I tried to sudo chmod u+x fin.sh but still got the same error

Score: 2
Gnome notifications and multiple monitors
cn flag
Ray

I have dual monitors on an Ubuntu 21.10 system with Gnome version 40.4.0. One monitor is directly in front of me and the other is to the side, which I rarely look at. Gnome notifications like a new e-mail in Thunderbird or a message from Whatsapp Web appears on the other monitor and not the one in front of me.

Is there a way to make the notifications appear on the monitor in front of me. What  ...

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.