Latest Ubuntu related questions

Score: 1
Using ubuntustudio-installer to install low-latency audio packages on 20.04, getting error E: Unable to fetch some archives
ru flag

Trying to install packages for low latency audio with JACK on Ubuntu 20.04.4, following the guide linked on the Ubuntu Studio Installer page (this one). I tried the following:

  1. Ran sudo apt update && sudo apt dist-upgrade -y and rebooted.
  2. Installed sudo apt install ubuntustudio-installer on Ubuntu 20.04.4 LTS.
  3. Enabled Backports PPA
  4. Selected packages: linux-lowlatency, ubuntustudio-lowlatency-set ...
Score: 0
HP x360 spectre immediately leaves suspend
bt flag

My daugthers HP x360 spectre has a problem when running Linux. When she closes the lid, it suspends, and shortly after it resumes, and then stays on in the bag.

I can do a "systemctl suspend", and it suspends. But if the lid is closed, then it starts again.

I can see this in the syslog

Feb 19 00:30:12 Spectre-x360-14 kernel: [ 4154.225957] Freezing user space processes ... (elapsed 0.120 seconds) done.
F ...
Score: 0
aijax avatar
modprobe: ERROR: could not insert 'btusb': Operation not permitted
cn flag

I have recently started using a new Ubuntu desktop and it does not come with a Bluetooth adapter. I am using the UB500 from tp-link. After plugging it in I could not see any devices to connect to so I followed Bluetooth scan doesn't detect any device on Ubuntu 21.10. Everything was running fine until suddenly yesterday I unplugged the adapter while the computer was running and from then I am unabl ...

Score: 1
gphoto2 /FFmpeg: Could not write header for output file #0 (incorrect codec parameters ?):
in flag

First question here as I have been finding answers to everything else I had issues with previously, thanks to all who contribute here..

I followed this guide to use gphoto2 and ffmpeg to use my Fuji X-T2 live feed as a webcam:

https://medium.com/nerdery/dslr-webcam-setup-for-linux-9b6d1b79ae22

it works well when I first start the machine and turn on the camera:

 $ pkill -f gphoto2 

(unmount camera as vo ...

Score: 1
luki avatar
Migration python procject from ubuntu to ubuntu server
sd flag

I have few days experience with ubuntu server and apologize for stupid questions.

I wrote python program wich work fine on Ubuntu 18.04LTS. Now i am trying to run the same program on UBUNTU SERVER. Inside the scropt I have subprocess call like that:

subprocess.call(["gnome-terminal", "--", "bash", "-c", string_as_parameters ])

When I am trying to run on Ubuntu server I have error:

[Error2] No such f ...
Score: 0
Cannot compile Ubuntu kernel for AMD64 from GIT source
it flag

I need to test a LKM using several old kernel versions which I have to take from GIT.

Based on the Ubuntu wiki pages BuildYourOwnKernel and KernelGitGuide I'm following the below recipe:

$ git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/<series> <series>
$ cd <series>
$ git tag -l Ubuntu-*
$ git checkout Ubuntu-v.w.x-y.z
$ LANG=C fakeroot debian/rules cle ...
Score: 0
angrato avatar
Mounting (and automounting) internal HDDs
cn flag

I had Ubuntu 20.04.3 LTS installed in my Desktop PC, in my 1tB HDD, and I had an extra 1tb HDD for storing files. I've bought an 250GB SSD and did a fresh install of the same OS in it. Didn't change anything else in my hardware. Everything is working fine except...

Only ONE of my two extra 1tb internal HDDs was auto-mounting (located at /dev/sdc2). That's the one where the old Ubuntu was install ...

Score: 0
P Kumar avatar
How to add private deb packages into custom ISO with their dependencies?
uy flag

I am trying to add some private packages into the ISO (iso-tree/pool/) where also adding the dependency packages in to the ISO, some of the dependencies are from Ubuntu repo.

To achieve this process, I have uploaded the private deb packages to private repo and using apt download to get the private packages and using apt-cache depends -i --recurse package-name to identify the dependencies, using th ...

Score: 0
John L. avatar
OpenMP with GNU Fortran 9 and 10 utilizes only 50% of the CPU on kubuntu 20.04
ph flag

I have a Dell Precision 5820 Workstation with Xeon W-2145 processor and NVIDIA Quadro P2000 graphics card. I compiled a fortran program with GNU Fortran 9.3.0 and 10.3.0 and OpenMP for this machine. After I installed a OS update on my kubuntu 20.04 and made some changes in the code my program utilizes only 50 % of the cpu. All 16 logical cpus are used, but only by 50 %. The OS update installed the nvidi ...

Score: 0
Enable audio output on both HDMI and headphone
ve flag

I found a lot of questions about how to switch between HDMI and headphone outputs. Instead, on my Ubuntu 20.04 I need to output the audio on both of them.

Under Settings > Sound > Output Device I can select one output only per time.

Is there a way to route the audio on both HDMI and analog output?

EDIT:

Following this approach, I enabled the simultaneous output on paprefs and installed pavucontro ...

Score: 0
Tanishq Chaudhary avatar
Could not find a configuration file for package "OpenCV" that is compatible with requested version "3.0"
cn flag

CMake Error at CMakeLists.txt:88 (find_package): Could not find a configuration file for package "OpenCV" that is compatible with requested version "3.0".

The following configuration files were considered but not accepted:

/usr/lib/x86_64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake, version: 4.2.0
/lib/x86_64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake, version: 4.2.0

-- Configuring incomplete, errors occu ...

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.