Latest Ubuntu related questions

Score: 0
Accidently deleted wchar.h in ubuntu
cn flag

I was working with some files in usr/lib and usr/include where I accidently deleted wchar.h header file of ubuntu. Is there any way by which I can retrieve the file back or get the file online?

Score: 0
1nfern0 avatar
Multiple instances of process for same apps
my flag

I have recently seen a spike in my RAM usage and when I checked in System monitor, I see that there are a lot of instances of process for Google chrome and Visual studio code. I had only opened 1 window of each of them but still it shows a lot of instances and all of them add up to consume big amount of RAM. Can someone help why is this happening?

Multiple chrome and code instances

Thanks!

Score: 0
How to enable sound on remote machine with xrdp server?
vn flag
BPS

I have this setup:

  1. Main computer (Ubuntu 20)

    • monitor
    • mouse
    • keyboard
  2. Remote computer (Ubuntu 20)

    • xrdp server
    • internet camera
    • headphones with microphone

Everything is lying on one desk, I want to control two computers with one keyboard, mouse and monitor.

When I log in to my "remote computer" normally everything is working (camera, headphones) but when i log in through xdrp connection my ca ...

Score: 3
Laptop screen flickering
cn flag
tom

I'm having problems with my laptop screen glitching on Ubuntu 20.04. I had this issue while back, reinstalling graphics card drivers didn't help and I ended up reinstalling the whole system. Unfortunately, the problem is back and I really do not want to reinstall my system again.

The problem is only with laptop's screen. External screen is fine and not affected by this issue. Interestingly the fr ...

Score: 0
An apt-get command to install libgdbm5 OR libgdbm6
ng flag

I wrote some install instructions involving the command

apt-get install libgdbm5

...but newer ubuntu versions only have libgdbm6 (focal onwards I think)

Clearly I could write out different instructions for different versions, but is there easy way to write this command so that it would run on either ubuntu version and install whichever of the two packages is available?

I wondered if apt-get install libg ...

Score: 1
Iam avatar
No-IP doesn't work in my raspberry yet
cn flag
Iam

I have a Raspberry Pi 3 with OSMC and a Nextcloud server that I usually used outside home using No-IP. I had to reinstall apache2 one month ago, and I can't acess anymore from outside to it. If I try my No-IP adress at home in my browser it enters to the rooter cofiguration web, and when I try to access via ssh I get (or http): connect to host xxx.xxx.xxx port 22: Connection refused

I don't know  ...

Score: 1
BastienSander avatar
Ubuntu 20.04 becomes super slow
eg flag

My Ubuntu becomes extremely slow suddenly. When I reboot it works for a while and then it becomes super slow again.

I have a Dell lattitude 7400 connected to a DisplayLink D6000

It happens mostly when the Dock is plugged but not only.

For example, during the indexing of files in PHPStorm, my computer is unusable. Here is the htop during ex htop htop

Here are some logs I could find when it starts to be slow :

Score: 2
Shutter screenshot application is broken since upgrade to Ubuntu 21.04 Hirsute Hippo
gb flag

Since upgrading to 21.04, the Shutter screenshot tool stopped working. I installed it from the PPA http://ppa.launchpad.net/linuxuprising/shutter/ubuntu, it is at Version 0.95, Rev.1450

Let's say, I start in this configuration: Starting setup

When I now try to screenshot a selection, instead of showing the screen contents, it tiles it's own window content: Tiled window content

I would assume this has something to do with permissions, si ...

Score: 0
HELLBOY avatar
Unattended Installation ubuntu server 20.4 failure after installaion
cn flag

I am trying to create an unattended installation with UEFI and a LVM partition, but I am getting an error after the installation finishes.

Here is the error:

screenshot of the error

And here is the preseed file:

# Unmount drives with active partitions. Without this command all the installation process would stop and require confirmation to unmount drives that are already mounted.
d-i preseed/early_command string umount / ...
Score: 2
Pallav Jha avatar
Alt -Tab - Changing the location of window name from the middle area to just below the Window image
cn flag

How can I change the location of the window name presented in the middle section of the Alt-Tab box to just below the window itself?

enter image description here

The problem I'm facing is that there are multiple windows for the same application and to find the correct one I've to press Tab and then look at the name shown in the middle. This does not seem to be a good experience as I've to change the focus area multiple times. If  ...

Score: 1
dushkin avatar
Ubuntu Terminal on Windows 10: how to fix "kubectl: command not found"?
tn flag

I installed "Ubuntu Terminal on Windows 10" and tried to execute kubectl commands.

The problem is that I must add the .exe file extension to the command in order to operate it.

If I don't I get:

 kubectl: command not found

For example:

tal@shell130:~$ kubectl.exe version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.0", GitCommit:"cb303e613a121a29364f75cc67d3d580833a7479", GitTr ...
Score: 0
Setting permissions on a Ubuntu file server accessed by Windows and Mac machines
in flag

In our office we have a simple Samba file server running Ubuntu, which we access from Windows and Mac machines. We are going through a cybersecurity certification process in which we have to describe how we would prevent a given user from accessing given files if they changed job roles. In reality this wouldn't happen as we are a tiny company (3 people) who all need access to all the files, but we have  ...

Score: 1
AtomX avatar
Any way to flash unpacked firmware into MiFi?
cn flag

I bought Alcatel Linkzone MW40V from Vodafone store, but I can't access USSD codes from "More" option

enter image description here

It simply doesn't appear/exist and it's difficult to me remove my SIM card every time I need to check my balance or do other operations.

I discovered that firmware of others similar or little newer devices has access to USSD codes, so I need to flash the firmware in my MiFi in order to solve the i ...

Score: 5
user15907922 avatar
how to use command line argument to find .txt file that have common name
us flag

I have multiple files in a directory called files. I have to read each .txt file from this directory:

abc123.txt
abc234.txt
abc345.txt
abc.txt
def123.txt
def234.txt
def345.txt

For example, when I type ./filter.sh abc in the terminal, it will search for the .txt file whose name contains abc.

#!/bin/bash
 
input1=$1


find ./files -type f -name "*$input1*.txt" 

my output look like this

./files/abc345.txt ...
Score: 0
I can't install packages with conda, even so anaconda was correctly installed? (Fresh Ubuntu 20.04 LTS Setup)
ph flag

I wanted to install pandas on my fresh installation of Ubuntu 20.04 LTS (updated it first).

What i did: I followed the installation instructions on:

https://docs.anaconda.com/anaconda/install/linux/ (debian version, but with 'sudo apt' instead of 'apt-get')

The installation went through nicely. The sha256 were identical as well. I followed every recommended step and even verified my installation  ...

Score: 3
RishiC avatar
SD Card Reader Not working - Ubuntu 20.04
cn flag

I have Ubuntu 20.04, freshly installed. It is not able to access any SD Cards if used with the SD Card Adapter. I tried multiple adapters, and tested the same with other computers as well. The SD Card or the adapter is working perfectly on other systems, but on mine it doesn't recognise it.

I can access the SD Card if I use a USB adapter for it.

It is definetly not a hardware problem as I am able to ...

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.