Latest Ubuntu related questions

Score: 0
AlexFullinator avatar
Check state of Bluetooth before shutdown/reboot?
ar flag

I am writing a shell script and I would like for it to write to a file to save the current bluetooth state (on/off. I already know how to track bluetooth state) right before the computer shuts down. How do I make the script run before shutdown so it can write to a file?

Score: 1
J. Scott Elblein avatar
Timezone getting set wrong in WSL?
cn flag

Running Ubuntu in WSL2 my clock is getting screwed up somehow. And when I try to set it again using:

sudo dpkg-reconfigure tzdata

It still gets set about an hour behind the real time.

The screenshot shows the real current time in Windows, and also Windows via an RDP connection to the machine running WSL2/Ubuntu.

The purple terminal window is the Ubuntu having trouble.

Not super-great with Linux; any idea  ...

Score: 1
Tirafesi avatar
Can't disable touchpad while typing
br flag

I want to disable the touchpad while typing, but can't seem to do it. The gnome setting is set to true, but it does nothing.

$ gsettings get org.gnome.desktop.peripherals.touchpad disable-while-typing
true

$ cat /proc/bus/input/devices | grep -i touchpad
N: Name="ELAN1201:00 0 4F3:3098 Touchpad"
Score: 1
GovernorDynamic avatar
Unable to Boot into SSD
ru flag

For the longest time, I was running a dual-boot on a PC I bought several years ago. It came with a 1tb HDD w/ Windows 10 on it. I installed a M.2 SSD on it and ran Ubuntu on it for the longest time.

Long story short, I was trying to swap the HDD for a new SSD and I managed to fry the motherboard of the PC. I made a very foolish mistake and I'm not really happy with myself for it.

Anyways, I order ...

Score: 2
AlexFullinator avatar
What does it mean to "process triggers"?
ar flag

When I update things with apt (sudo apt update etc), I notice that a lot of lines start with "processing triggers..." and I'd like to know what it means or what it does.

Score: 0
Ramiro avatar
Add Macro keys to keyboard layout
us flag

Keyboard: Redragon Yama k550

Ubuntu: 20.04.3

Kernel: 5.15.13

Motherboard: MSI Pro Z690-A WIFI (MS-7D25)

Processor: I9 12900k

Natively the keyboard recognizes it to me quite well. The only drawback I have is that the macro keys (G1-G12) are recognized as F1-F12.

Is there a way that this is not the case and you can identify them as separate keys from the F?

I ask this too, because beyond the macro, I am us ...

Score: 0
AlexFullinator avatar
What is libc-bin?
ar flag

When updating some packages with sudo apt update, I've noticed a line that appears every time:

Processing triggers for libc-bin (2.31-0ubuntu9.3) ...

...And I'd like to know what libc-bin is and what it does.

Score: 0
GC 13 avatar
How to give general user access to specific programs that required root access?
us flag

I have installed few programs as root (lets say program A, B and C). In order to run them, it will require root access. I understand that by adding those users or the user group to sudoers list, it will allow access to those specific programs.

I would like to limit access to programs A, B and C only and not give full sudo access to general users. How can I achieve it?

Can I give select sudo access t ...

Score: 1
mrdolichenus avatar
Which package installed postfix as a dependency?
cn flag

I have a script that has lots "sudo apt install ..." commands. While running the script I realized that it also installs postfix which I didn't specify. Is there an easy way to identify which package installs postfix?

Edit: OK. In my situation the "mailutils" package installs postfix as a virtual package with the name default-mta. aptitude why postfix gives the clue. Now I'm gonna use sudo apt instal ...

Score: 1
DeveDeNG crashes on Ubuntu 20.04
kr flag

I'm trying to create an .iso image (for burning to a video DVD) on Ubuntu Focal from an .mp4 file. DeVeDeNG crashes without any message. I never had a problem with Ubuntu 18.04. Any ideas? Alternatively, is there another app which has this functionality?

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.