Latest Ubuntu related questions

Score: 0
secops1 avatar
Nginx IP to Domain Redirect
za flag

I've got a new server that redirects from all DNS requests to https to the domain name. I was having an issue with redirecting from the IP address and I added return 301 https://$host$request_uri; below.

Is return 301 https://$host$request_uri; the correct way to redirect from the IP to the domain?

server {
    if ($host = www.example.ext) {
        return 301 https://$host$request_uri;
    } 


    if ($ ...
Score: 0
Will avatar
How to troubleshoot a trackpad/touchpad?
id flag

Note:

This is an attempt to create a canonical question that covers all instances of "not-working trackpad" issues.

If you are experiencing a not-working touchpad, but none of the following answers work for you, please do ask a new question and then update the answers for this canonical question when your new question gets answered.

What’s the best way to troubleshoot a non-functional trackpad?

 ...
Score: 1
Hoops avatar
apache2 failed exit code 18.04 to 20.04 with php8
gb flag

Almost the same exact question as another here, but none of the answers helped me..

I upgraded ubuntu 18.04 to 20.04. Running systemctl restart apache2 gives me,

● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2021-10-07 19:54:59 EDT; 28s ago
       Docs: https://ht ...
Score: 0
Srijan Mukherjee avatar
How to install DNS over TLS profile in Ubuntu 20.04?
ae flag

I have been using Ahadns for quite some time now and on Android I set my private DNS to dot.in.ahadns.net simply and it works. Can anyone guide me on how to apply this DNS on my Ubuntu 20.04 installation? I am quite new to these stuff and would like to simply use this dns as a common user for enjoying its ad blocking and good ping.

Score: 2
Matthew Pritchard avatar
Having my applications open on startup
es flag

Hello I am running Ubuntu Mate and what is anoying is when I have all my apps open and power off at the end of the day. The next mornining I have a blank screen and have to open up all the apps I use for the day. Is their a way to have that apps I want to use open when I power on?

Score: 0
vesoljc avatar
Constant & rhythmic disk scratching
cn flag

I'm building a ubuntu (20.04 LTS) server box. OS is installed on nvme disk, for storage I'm using LVM. I got 2 wd reds in mirror, and 2 ssds also in mirror, which are used as read cache (lvconvert --type cache-pool --cachemode writethrough). Setup works and I'm getting nice read speeds.

Due to the limited sata connectors on board, I decided to add an extra sata controller card (asmedia asm1064/11 ...

Score: 0
Jvac avatar
CH340G USB/Serial converter stop communicating with Espressif esptool after upgrading kernel to 5.4.0-88-generic
cn flag

After upgrading to new kernel 5.4.0-88-generic, ESP266 development boards using chip CH340G (usb-serial converter) stop communicating with Espressif flashing tool "esptool" on my ubuntu 20.04 Dell laptop. The tool is written in python and is designed to be run on command line. I solved temporarily the issue by changing grub to boot on 5.4.0-86, but it would be a problem if this failure continues on next ...

Score: 1
Gurseerit avatar
Python file not working in terminal, only in pycharm
cn flag

The program takes a picture and saves it to a directory named images.

#!/usr/bin/env/python
import cv2
import datetime
filename = datetime.datetime.now()
cam = cv2.VideoCapture(0)
s, img = cam.read()
if s:
    cv2.imwrite("images/" + str(filename) + ".jpg",img)
    

Running it from pycharm works like a charm (pun not intended) , but running it from terminal fails. The light for the camera flashes, but ...

Score: 0
Jordan Blunsdon avatar
Couldn't start the machine due to Network Adapter not found. Can't click okay to save settings
es flag

I know this question has been answered many times before but my issue seems to be unique as all the solutions that have worked for many people do not seem to work for me. When I try and start Ubuntu in Virtual Box it comes up with the same error many people have been reporting

One of the solutions to this I did find was to make sure the MAC Address was the same as the one on the host OS. I changed it to  ...

Score: 0
danix avatar
Ubuntu no response from keyboard+mouse
ps flag

I recently installed nvidia driver 470 from additional drivers provided in the update software menu on my linux ubuntu 18.04 lts. It was working fine but I needed later to work with carla (self driving car simulator) which requires vulkan compatible driver, so I installed one (I don't remember the link) but when I reboot my laptop it get stucked in the splash screen (ubuntu with the dots underneath but  ...

Score: 0
AVarf avatar
Why does YouTube consume one vCPU?
ca flag

I am using Ubuntu 18.04. Recently, almost for one month, every time I go to YouTube, Google Chrome consumes one full vCPU 100%, which causes my laptop's fans to start spinning as fast as they can. This happens only when I go to YouTube, even if I just go to youtube.com and do not play any video.

I updated Chrome to the latest version (Version 94.0.4606.61 (Official Build) (64-bit)) but that didn' ...

Score: 2
Chris Nicholls avatar
Picture Location Data
sa flag

When I upload photos from my android phone to a Windows machine the location details are shown under the 'info' or 'details' tab on each picture. When I do this on my Ubuntu 21.04 machine the location detail is missing. I have tried copying the photos from Windows to Ubuntu using a USB stick and location is still missing. Am I missing something obvious here or is Ubuntu just not equipped to deal with lo ...

Score: 1
Unknown Windows 10 option in GRUB menu
es flag

I have Ubuntu Server 20.04.3 LTS with KDE installed on an old PC with 2 SSDs: 1x128GB (with / and swap partitions on it) + 1x256GB exFat formated.

At some point I had Windows 7 installed on the 128GBSSD but I decided to go for Ubuntu so I cleaned up both drives using GParted.

First time I booted into the system, after installation, I noticed the Windows 10 GRUB option. I installed Grub Customizer an ...

Score: 2
fontconfig that survives Firefox snap updates?
cn flag

Is there some way to have a custom fontconfig for the Snap-distributed Firefox that survives Firefox updates?

Background

I have a custom fontconfig at ~/.config/fontconfig/fonts.conf which worked fine when Firefox was installed via apt. With 21.10 distributing Firefox via Snap, it doesn't register my custom config unless it's in ~/snap/firefox/<somenumber>/.config/fontconfig/fonts.conf.

The problem ...

Score: 0
How does google-drive-ocamlfuse start its service during system startup?
uz flag

When logging to my profile, I have noticed that google-drive is present in Files. I checked startup programs - no google-drive on list. I also checked fstab - not found it. Checked also sysv-rc-conf - nothing. After reboot it is still visible and present in mtab. My question is: how does the system start it during startup? Where from? How can I block it and start it only manually via terminal when neede ...

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.