Latest Ubuntu related questions

Score: 0
JJJohn avatar
How do I get the formatted text as in direct passing a string?
th flag

direct passing a string with $ to echo

$ echo $'#include <iostream>\nint main() {\n  std::cout << \"Hello World!\" << std::endl;\n}'

expands the embedded ANSI escape sequences

#include <iostream>
int main() {
  std::cout << "Hello World!" << std::endl;
}

I assigned the string to a variable

codeStr='#include <iostream>\nint main() {\n  std::cout << \"H ...
Score: 0
Robert Tucci avatar
Ext4-fs error, also file 'var/log/syslog'[7] write error, how to fix
it flag

I love Linux Ubuntu but I am very ignorant to how it fails and about hardware. Could you please look at this jpeg and tell me how to proceed:

My Issue

Is it a hardware or a software problem. It's a Dell Latitude Laptop e7450. The problem started with Ubuntu 18.04, so I changed to 20.04 hoping it would go away, but it didn't. The problem would go away if I rebooted, but now it is more frequent. Once it st ...

Score: 0
Mary S. Ndayambaje avatar
Deleting folders from a Toshiba external hard drive that cannot be accessed
re flag

There are two folders in the folder "Temp" I cut and pasted using Windows 10 to my external hard drive that cause an input/output error whenever I try to view them using the "Files" application on Ubuntu. I then tried to see what files were listed on the folder using terminal command "ls - lh" on the folder "Temp" directory and I found that for two folders, the following were the results:

" d???? ...

Score: 0
DavidJS avatar
This site can’t be reached
ua flag

I am on Ubuntu hosting a .NET 6 web app. If I go to the directory where the publish files are stored and run command dotnet webapp.dll, then I will get something like the output below (Then if I go to the browser and look at the website example.com, the webapp displays fine)

Feb 09 20:52:15 ubuntu dotnet-webapp[2687]:       Now listening on: http://localhost:5000
Feb 09 20:52:15 ubuntu dotnet-webapp[2687] ...
Score: 0
cjfjavier avatar
archive /vmlinuz
in flag

after installing ubuntu 20.04.3 LTS in dual boot with Windows 11 Home Single Languaje 64 bits when I run lynis I get the warning:

Determine why /vmlinuz is missing on this Debian/Ubuntu system. [KRNL-5788] - Details : /vmlinuz https://cisofy.com/controls/KRNL-5788/

is this normal in dual boot ?

HP laptop with PCI NVMe M.2 ssd

when installing select install next to windows boot manager

TPM 2.0 and Secure ...

Score: 0
Alexandre Longo avatar
Flickering screen after lock - started at ubuntu 5.13.0.27, still in 5.13.0.28 - Hard reset required
gb flag

I started having this issue on my HP Probook with 5.13.0.27, the problem happens when I lock my laptop (does NOT restore - flickering screen - had to hard reboot).

Here is what I got on my hw:

*-display
description: VGA compatible controller product: Renoir vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:05:00.0 version: c4 width: 64 bits clock: 33MHz capabilities: pm pcie ...

Score: 0
How to disable or remap ALT key overlay
om flag

The (left) alt key brings up an overlay in Ubuntu 20.04. How do I turn this off, or set it to a different key. It's interfering with some functionality in Path of Exile.

Nothing in the keyboard shortcuts utility refers to the naked ALT key.

Score: 1
quilted computer avatar
How to specify / fix default save location in Firefox?
in flag

Every time I go to save (in Ubuntu 18.04) in Firefox, the default save location is something like: run/user/1001/doc/f6f59daa. So I have to manually click on my home directory or other folder on the left each time I want to save a file.

What I'm expecting inside is for the last used location to be the default, or failing that perhaps a specified downloads folder.

Why am I seeing this strange defa ...

Score: 0
DonP avatar
Printer Issues With Epson Models
cn flag

I have three Epson printers of different models and features and none print properly on Ubuntu. They used to be fine but over time and through system updates, no more. First, If I select two-sided printing, they print only one side (yes, all have the duplex ability) but also, they always spit out an extra blank page before printing. My system has all the latest software to date including Ubuntu 21.10. ...

Score: -2
can't conect ubuntu 18.04 to windows 7
pk flag

I'm unable to get Samba to connect Ubuntu 18.04 to windows 7 Have tried add the line "client min protocol = SMB3" And then tried adding the line "client max protocol = NT1" to my smb.conf .It seems to make no difference.

'

Score: 0
al ness avatar
install printer
pk flag

when my printer quit I purchased a new HP printer and connected it to my computer without even thinking. A message came on the screen saying "Linux not supported". And that's when the fun started. The printer was new in the box but could have been a previous model. Since my old one was about 20 years old I didn't give it a second thought til now. Thinking HP could have developed new drivers I gave them  ...

Score: 1
Z0q avatar
Unable to locate package openal-soft
lb flag
Z0q

I'm trying to install openal-soft on Ubuntu Focal, but without luck.

This is the package I would like to install:

https://packages.ubuntu.com/source/focal/openal-soft

What I tried:

sudo apt update
sudo add-apt-repository universe
sudo apt install openal-soft

Am I missing something?

Score: 0
Ubuntu 20.04.3 Intermittent bluetooth connections
br flag

I'm facing intermittent bluetooth connection issues where I can connect a device on startup and after a while (30mins) the connection will be degraded (skipping/jittery). If I then disconnect the device and attempt to reconnect it from blueman-manager I get the following two cases:

  1. A successful connection, after which the device is not listed as an ouptut in pavucontrol
  2. Connection error: Connection  ...
Score: 0
Schwarz54 avatar
Restore or create a new boot(?) partition
cn flag

I was installing windows in my pc when I deleted(miss click) a partition from the other disk I have in the pc where ubuntu is installed. Now, my pc dont recognise the second disk(where ubuntu is instaled) and only can use the disk where windows is installed. But if I start with a usb booted with ubuntu, I can see the partition of the disk where ubuntu and all my files are stored before reinstall.

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.