Latest Ubuntu related questions

Score: -5
Mahmoud Ahmed avatar
Coding on VS code
it flag

Hello this is my first time to learn C by a book But The code doesn't give output I installed build essential What should I do ?

int main()
{
printf("Hello World!");
}
Score: 0
Gerardo Zinno avatar
Bluetooth disappears when I suspend the pc or close the lid
cn flag

My bluetooth disappears when I suspend the pc. I heard it's a pretty common problem. On all questions on this website, the answer was always to upgrade bluez because the version 5.28 was buggy. On my machine running Ubuntu 21.04 the version of bluez is Version: 5.60-0ubuntu2.1, the latest one.

After I resume my pc, is seems like there's no bluetooth card in my pc. I get the following screen:

I tr ...

Score: 1
Mahmoud Ahmed avatar
AMD error when I am installing build essential
it flag

I am facing this error on a Dell Latitude E6540:

dpkg: error processing package amdgpu (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.

Errors were encountered while processing:
 amdgpu-dkms
 amdgpu
E: Sub-process /usr/bin/dpkg returned an error code (1)

How can I fix this?

Score: 6
What is the difference between a OEM kernel and a HWE kernel?
cn flag

Both kernels seems to include latest drivers, but I can't find why both are needed or what are their differences. It's confusing!

Score: 0
NdB avatar
Safely start a KDE program from Yakuake terminal
in flag
NdB

I'm using the latest Kubuntu version, 21.10. While running Yakuake (drop down terminal) I would like to safely start Kate and Konsole. Safely meaning without any console output in Yakuake.

First some bash code, included in my ~/.basrc as a function (shortcut):

konsole --profile profile-test \
    --layout /path/to/view.json \
    --tabs-from-file /path/to/tab.cfg \
    --workdir `pwd` &

kate $fil ...
Score: 0
Using sed or awk to remove near-duplicates
us flag

I currently use the following to get as close as I can do to a file

cut -d ' ' -f 3- /var/log/issues.log | sed -E 's/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}//g' | sort -u

So far it gets rid of the timestamp at the start of each line and removes the IP address.

However I'm still left with dozens of line of the format(s)

Failed login from for A
Failed login from for B
Failed login from for C
Fa ...
Score: 16
How do I handle windows that are too tall?
bd flag

Sometimes, I open an application and it opens a window that is too tall for my display. It also doesn't let me resize the window to make it less tall, and it doesn't have a maximize button. In Ubuntu (GNOME Shell), I can drag and drop the title bar to move the window, but I can't move the window higher than the top edge of the screen, which would have been useful to see the lower part of the window.

 ...
Score: 0
0x90 avatar
How to config/install `tkinter` (the python-tk module) to work with linuxbrew's python3.7?
co flag

I have a python3.7 installed via brew on my Ubuntu 18.04. I can't make tkinter to work:

~ python3.7 -c "import tkinter"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/homes/0x90/.linuxbrew/opt/python@3.7/lib/python3.7/tkinter/__init__.py", line 36, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoun ...
Score: 0
AsmitTheCoder avatar
Can I dual boot lubuntu 21.10 and windows 7 64 bit,32 bit
in flag

I am currently running windows 7 32 bit on HP Mini 200 4301tu with intel atom n2600 processor, 2 gb ram.

My first question is, Is my cpu x64? as on the command echo %PROCESSOR_ARCHITECTURE% returns x86

According to Performance Information and Tools my pc is 64 bit capable.

My second question is, can i dual boot lubuntu 21.10 and windows 7 32 bit?

thanks in advance

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.