Latest Ubuntu related questions

Score: 0
Laptop doesn't wake from sleep Ubuntu 21.10
tr flag

A few months ago I installed Ubuntu 21.10 on a Lenovo Yoga 6. Within the last couple weeks the laptop no longer wakes from sleep and I have to hold the power button to shut it down and reboot.

How can I troubleshoot this issue?

Are there specific configs to look at that may have changed with recent OS updates? Could recent Windows updates have made hardware tweaks that are causing this? (I've seen issu ...

Score: 0
Abanoub Asaad avatar
A bash script to rename files from different directories at once
us flag

If I have a directory named /all_images, and inside this directory there's a ton of directories, all the directories named as dish_num as shown below. and inside each dish directory, there's one image named rgb.png. How can i rename all the image files to be the name of its directory.

Before

|
├── dish_1
│   └── rgb.png
├── dish_2
│   └── rgb.png
├── dish_3
│   └ ...
Score: 1
user2692663 avatar
Space from the disk not used, how can I extend it?
ro flag

Ubuntu Server and here is what I have:

When running lsblk I get this

fd0                   2:0    1     4K  0 disk
sda                   8:0    0  1000G  0 disk
├─sda1                8:1    0   487M  0 part /boot
├─sda2                8:2    0     1K  0 part
└─sda5                8:5    0 199.5G  0 part
  ├─mail03--vg-root 252:0    0 126.3G  0 lvm  /
  └─mail03--vg-swap 252:1    ...
Score: 0
Jobesmor avatar
How to get device information only from location
cn flag

Is there a way to get the information of a device in the terminal, providing only his location?

For example I whant to get /dev/sca product information, such as fabricant and model.

Usually i just go to /dev/by-id/ but i am working with some old ubuntu versions.

Score: 0
mortee avatar
how to replace default console remote access server
vn flag

I used to access a headless machine running 20.04 over the LAN by the built-in screen sharing function, using RealVNC on my desktop.

However, since I upgraded to 21.10, I ran into that weird problem where the VNC server misinterprets something about the screen resolution and the scaling factor, and only the top left quadrant of the screen shows up on the client.

Apparently this can only be worked a ...

Score: 0
Sunshroom avatar
Microphone doesn't work when adapter is plugged in anymore
sd flag

A few days ago the microphone on my headset had stopped working, when I try to use it via the adapter. It was working fine, then suddenly it stopped detecting my voice when I turned it on the next day. It can still receive audio fine. Pulseaudio does detect the microphone, but the bar showing the input seems to stay at the lowest level as seen in the image here.

When I try to connect with the cable, the  ...

Score: 0
How to diagnose/fix timeouts on file dialogs
bt flag

My Ubuntu regularly gets in a pickle with opening file dialogues/dialogs for some reason - e.g. "Open File..." or "Save as..." or just trying to open a Nautilus window.

It causes the app that wanted to use the dialog to freeze up for minutes, giving me the "xxxx app is not responding, Force Quit/Wait?" If I wait long enough it will come up, but this can be several minutes.

top says nothing, syslo ...

Score: 0
Kernel Module exit message get printed next time when inserting the module
co flag

I have written simple kernel module to print Hello kernel msg.

my_module.c

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

/* Meta Information */
MODULE_LICENSE("GPL");
MODULE_AUTHOR("BHAGWAT");
MODULE_DESCRIPTION("A HELLO WORLD MODULE");

/*this function is called when module is loaded into the kernel*/

static int __init ModuleInit(void)
{
    printk("Hello, kernel!\n");
    return 0; ...
Score: 0
Yogendramummaneni Prasad avatar
Non-live Ubuntu Server 20.04.3 release
us flag

I am looking for a non "live" ISO for 20.04.3, here I can only find 20.04.1 non-live server(legacy-server), I can't install live server with packer.

Score: 0
Omeed Totakhel avatar
Set default interface for Internet Access
cg flag

I have 4 Huawei USB modems one ethernet interface. ethernet port has internet access and the modem is only used for its SIM. This created problems while accessing the internet. ubuntu is trying to access the internet using USB modems instead of ethernet ports.

What I tried before

bridging connection using bridge-utils

manually setting metrics to interface

route del default gw route add default gw

 ...

Score: 1
Saravanan avatar
Headset microphone not working while internal built-in microphone works in Dell inspiron 5759 running Ubuntu 20.04.3 LTS
cn flag

I have a Dell Inspiron 5759 laptop running Ubuntu 20.04.3 LTS. My laptop's internal in-built speakers and microphone works well. But when I plug in my headset(3.5 mm 4-pole [TRRS]), headset output audio works fine, but headset microphone is not working.

Sound settings

As you can see in my sound setting, where there is some response in headset microphone, but it's actually a static noise when I tried to record it. ...

Score: 0
Raul Bartolomeu avatar
How to fix broken OS installation in a RAID 0 array?
us flag

I had Ubuntu server 16.04 installed to run a media server in my house in a RAID 0 array (3 hdd). After upgrading to Ubuntu 20.04 many problems occured in the OS and some ofthe features I installed just stopped working. I want to install Ubuntu 20.04 from scratch but cannot lose the array (lots of TB of data I cannot relocate temporarily). So I was wondering about two possible solutions: 1- reinstall Ubu ...

Score: 0
BKBN avatar
My server's disk space is full but I can't see where it comes from
us flag

today my server crashed and I realized that it was because there was no more space available on my disk

When I enter df -H I've got this :

udev            997M     0  997M   0% /dev
tmpfs           203M  1.1M  202M   1% /run
/dev/sda1        21G   21G   76M 100% /

So the files that takes a lot of space is in /

but when I type ls -a -Ssl --block-size=k / I've got this :

16K drwx------   2 root roo ...

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.