Latest Ubuntu related questions

Score: 0
Errors when running `apt update`. W: NO PUB_KEY and W:Target package is configured multiple times
za flag

When I try to update my system with sudo apt-get update, I receive the following:

Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://pkg.scaleft.com/deb linux InRelease [4808 B]
Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Err:3 http://pkg.sca ...
Score: 0
Kernel file missing
pk flag

I am using Ubuntu 20.04 with the kernel version 5.13.0-27-generic and when I try to compile the code

#include <linux/gpio.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>

int
main(void) {
    return 0;
}

using the command

g++ main.cpp -o example

the compiler output is

In file included from /usr/include/linux/ktime.h:25,
                  ...
Score: 1
How to downgrade to Linux kernel 4.15.x on ubuntu?
us flag

I'm using ubuntu 18.04 which runs on linux kernel 5.4.0. And i wish to install and use Linux kernel 4.15.x cause that works better on my system. Can anyone please guide me how to do that.

Score: 0
PidgeonsAreA_Scam avatar
Linux host, Windows VM with full GPU passthrough for laptop?
cn flag

Good day to everyone,

I have acquired a laptop for mainly studying purposes and the occasional OTG gaming session. The laptop in questions is an MSI Pulse GL66 with an RTX 3070 (80Watt). To get on with my problem, I've been studying online on how I could run Ubuntu on the laptop as the main (Host) OS and then have a Windows 10 VM so I can run, some specific applications (i.e MATLAB with Simulink, ...

Score: 0
Max avatar
Laptop screen full of snow when waking up, temporally fixed by restarting
cn flag
Max

I have a TUXEDO Pulse 14 Gen1 running 20.04.1-Ubuntu. Since yesterday, every time I wake up my laptop from sleep or hibernation, the laptop screen is full of snow. I have not installed any new drivers or anything, although I cannot rule out if the system has done so in the background.

Even if the laptop screen is full of snow, I can connect an external monitor and work on that just fine. I can al ...

Score: 0
Google Chrome Stable crashing after a min
in flag

I have been using google chrome on my Ubuntu 18.04.6 for a long time. However, yesterday, it suddenly started to close/crash after a min from opening the browser. I do hear the computer fan sound increase just before it crushes. Any help, please?

Score: 0
just_learning avatar
Run older versions of ns-3 code on Ubuntu
kr flag

I am trying to run this: http://mohittahiliani.blogspot.com/2014/12/ns-3-blackhole-attack-simulation-in-ns-3.html on ns-3.29+ vesions...I followed this tutorial: https://www.nsnam.org/wiki/HOWTO_build_old_versions_of_ns-3_on_newer_compilers but they do not run, it raises errors! I also tried to install ns-3.25 and old version but then Ubuntu 21.10 complains... Does anyone know how to run this old versio ...

Score: 1
Adam avatar
Dark mode specific apps on ubuntu?
cn flag

I recently downloaded one note for linux on my ubuntu.

My problem is that there is no option for dark mode in it and it is too bright.

Is there an option to only enable dark mode for specific apps, in my case one note?

Score: 0
Gold avatar
"Canc" and Arrow keys don't work in Ubuntu 18.04
ph flag

I have an HP, the keyboard works well in windows, while when I switch on Ubuntu, these bottoms don't work. In particular, "canc" makes screenshot, Left, Right and Up arrow keys don't do anything, while the Down arrow key works as Enter key.

I found online to put this command on terminal sudo dpkg-reconfigure keyboard-configuration, but after that appears a window and I don't know what I have to sel ...

Score: 0
Firefox: change dropdown keyboard select behavior
in flag

If I visit a webpage, that has a dropdown () with the numbers 00 to 59, when I focus on it and write 2 numbers like "45" on the keyboard, it automaticly selects the option "45". But when I press the same number twice, like entering "55", the first "5" selects 50, and the 2nd selects "51".

I can see the usefulness to be able to select the 2nd row that starts with a specific character, when the lis ...

Score: 0
Dan avatar
USB Camera shows weird colors, need unplug/replug to work
fr flag
Dan

I have this camera - https://www.arducam.com/product/b0196arducam-8mp-1080p-usb-camera-module-1-4-cmos-imx219-mini-uvc-usb2-0-webcam-board-with-1-64ft-0-5m-usb-cable-for-windows-linux-android-and-mac-os/

Running on a PC with fresh ubuntu 20.04. If I start the camera, I get an image that looks like this (tried vlc, webcamoid and others, all show the same):

enter image description here

If I unplug the camera, replug it again, th ...

Score: 1
Minsky avatar
Should the Swap be this large?
mx flag

My computer is a bit old and sometimes it struggles to handle many tabs running small processes etc. I guess this has to do with the ram.

When I check the usage, this is what I get:

free -lhm
              total        used        free      shared  buff/cache   available
Mem:          3.6Gi       2.4Gi       585Mi        24Mi       651Mi       957Mi
Low:          3.6Gi       3.1Gi       585Mi
High:    ...

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.