Latest Ubuntu related questions

Score: 0
Accidentally deleted everything in home directory along with other important files
jp flag

Might be the worst mistake I've made in Ubuntu. To give some context: I created a directory named "~" by accident in the home directory. Didn't want it so I recursively deleted the directory. Next thing I know is that all my files in the home directory are gone, and I can't used commands such as gcc and apt. Is there a way I can recover from this, or should I just take the L and move on? Also might be g ...

Score: 0
Techno Teerth avatar
First argument should convert to a variable and execute
cn flag

I have declared arg="echo demo"

When we execute the command my_command arg, then arg should be converted to $arg and should be executed like

my_command () {
    $arg
}

How do I call $1 as a variable?

Score: 0
Jobesmor avatar
Run part of a script as root, but not the whole script
cn flag

I have this script with some commands in it than I want to be able to run as root, without authentication being asked, so I added this to sudoers:

all ALL = (root) NOPASSWD: /usr/bin/usblock

It allows all the users to run those commands without a problem. But there is this issue, I do not want that the regular user can do this:

sudo /usr/bin/usblock

I want all users to execute some lines, not the wh ...

Score: -1
Emiliano Balderas Ramírez avatar
Compatibility problems with Lenovo ideapad 3 14alc6
cn flag

I recently bought a new laptop (Lenovo ideapad 3 14alc6). When I tried to install Ubuntu Desktop 20.04.3 LTS, i found that the wifi card and the fingerprint reader aren't recognized.

Is someone in the same situation? I need help. Thx.

Score: 0
alchemy avatar
Where can I store an environental variable only for utilites or scripts that run as root?
in flag

I've tried using the gnome-keyring in a headless server, but have an error, so am back to envirnmental variables. https://unix.stackexchange.com/questions/690295/error-secret-tool-cannot-create-an-item-in-a-locked-collection

I tried using .env and .profile, but the latter is not called by Bash, but .bash_profile is used. Setting PATH variable in /etc/environment vs .profile

I'm not sure that will  ...

Score: 0
Juan Lluna avatar
Disabling the ability to add person in Google Chrome
it flag

I have added many filters and extensions to my child's Google Chrome account, but they can get around these by opening a user browser window. I found a way to disable this in Ubuntu by modifying the policies.json file but they are still able to get the same result simply by adding a new person to Google Chrome. Is there a way to disable this?

Score: 0
user1570278 avatar
Kubuntu installation stuck
br flag

Good night. I'm trying to make my laptop dual boot. I already have Window 10 installed and I'm doing the install by a usb drive and the most recent ISO from the Kubuntu site. The problem is, when I get to the software part, it gets stuck and endelessly loads.

Score: 5
Kyle Carow avatar
Chrome, Firefox, Chromium all freezing and crashing Ubuntu 20.04
ro flag

Chrome, Firefox, and Chromium all have the same issue: sometimes a tab will lock up and need to be closed. Sometimes it shows an "Aw, snap" error SIGSEGV. Sometimes it totally freezes Ubuntu requiring a computer power reset. It usually happens when I interact with a webpage, no matter the website.

I just switched over my PC from Windows 10 Home 64bit to Ubuntu 20.04 and have been having this prob ...

Score: 0
Ph Sei avatar
Laptop touchpad and keyboard not working in wayland / gdm3
jp flag

I recently upgraded to ubuntu 21.10 from 20.10 (it was a bit painful because of End Of Life) on my ASUS laptop. After the upgrade, I realised that I could no longer use my keyboard and touchpad in the login screen of GDM3. I needed to plug in an external mous and keyboard to be able to log in. Everything was back to normal once logged in.

I figured out that my normal session is in fact an X sessi ...

Score: 0
Cannot remote login when removing xfce
cn flag

I have Windows 10 machine that I want to use to remote login to my Ubuntu laptop. I installed xrdp on the laptop and when I try to connect to it through Remote Desktop Connection on Windows I get a black screen for about a second and then the a Remote Desktop Connection shuts down and I'm back on my Windows desktop, not on the Ubuntu.

If I install xfce on the laptop I can use the Remote Desktop C ...

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.