Latest Ubuntu related questions

Score: 0
anurag avatar
Missing dependencies for Discord
co flag

I wanted to download Discord for my Ubuntu, so I downloaded the file from Discord's website. However, when I tried to install it, I got the following missing dependencies error:

dpkg: dependency problems prevent configuration of discord:
 discord depends on libatomic1; however:
  Package libatomic1 is not installed.
 discord depends on libgconf-2-4; however:
  Package libgconf-2-4 is not installed. ...
Score: 0
Kevin john avatar
Static ip address issue
cf flag

I gave a static IP address using following command

network:
        version : 2
        renderer: networkd   ethernets:
    enp0s3:
            dhcp4 : false
            addresses : 192.168.3.244/24
            gateway4 : 192.168.3.1/24   nameservers :   addresses : [ 1.1.1.1, 8.8.4.4]*

when i run the following command "sudo netplan apply"

some sort of error poping up , mentioning below

etc/netplan/00- ...

Score: 0
George avatar
Connecting to Lubuntu desktop via vnc
my flag

I have installed Lubuntu desktop on a Ubuntu 20.03 LTS server. The desktop works fine when I log on to it locally. I can see the SDDM and I can chose between various sessions for the desktop (Lubuntu, LXDE, LXQt).

However, I set up a vnc server and I configured (as per the instructions I found online) the ~/.vnc/xstartup fileto looks like this:

#!/bin/sh
xsetroot -solid grey
export XKL_XMODMAP_DISABLE ...
Score: 0
WestMD avatar
Wrong Shell for user and $SHELL value
cn flag

The default shell of my user somehow changed to /bin/sh even though it's set in /etc/passwd to /bin/bash.

I can't seem to be able to change it to any other value, I mean I can change it but the set value is not taken into account.

Changing it with chsh makes no difference.

$ echo $BASH $SHELL
/bin/sh
$ grep user /etc/passwd
user:x:1000:1000:User,,,:/home/user:/bin/bash
$ chsh
Password: 
Changing the login ...
Score: 0
Gopi Manohar Tatiraju avatar
Fan speed issues in ASUS ROG-GL553VE
cn flag

I am using Ubuntu 20.04 on my ASUS ROG-GL553VE with i7-7700HQ 8GB RAM and GTX 1050Ti. Before this, I had it dual booted with windows and fedora and it was working mostly fine, but when I installed Ubuntu in place of fedora my fans are always running on high speed and are very noisy.

I think this is due to GPU but not sure. Also another thing not sure if it's related but since I installed CUDA on  ...

Score: 2
WiFi networks not showing in Ubuntu 20.04 LTS
es flag

I tried to fix my broken grub from a Manjaro live USB using grub-install following which I couldn't connect to wifi networks. I can however use Bluetooth tethering to access internet. Wifi works normally in my Windows installation and in Manjaro live disk. I tired to uninstall network manager and reinstall it. Now it shows no wifi networks.

I have tried to configure using netplan but none of the of the  ...

Score: -3
Black Chase avatar
Errors were encountered while processing: mercurial-common
sg flag

I accidentally removed python from /usr/bin as it was conflicting with /usr/local/bin. (rm -rf /usr/bin/python*)

After realising my mistake i reinstall python3.8 and python2.7 from source. Python is now working.

I took some of the help from here.

OS: Ubuntu 20.04, with KDE, ZSH

But whenever i try to install any other package via apt this happens:

Setting up mercurial-common (5.3.1-1ubuntu1) ...
/va ...
Score: 0
Pulkit Jain avatar
Can't change SATA mode to AHCI in Acer dual boot Ubuntu with windows
ph flag

I ran into some trouble in my Acer laptop which is Ubuntu dual boot with windows. For that I needed to change Sata mode to AHCI from RST OPAN but SATA mode in BIOS Information menu had become inaccessible. I am unable to access both ubuntu and windows. My laptop is Acer A515-54G. What should I do?

Score: 0
How to use bash/sed to extract XML attribute value
in flag

I have the following grep command piped into sed to find an element name attribute and store the sed result into a name variable.

 name=$(grep -E "<element.*name=.*/>" "$F" | sed -e "s/.*<element.*name=\(.*\)\/>.*?/\1/")

Sample Data -

<element name="Barium"/>

Desired Output -

Barium

Actual Output -

<element name="Barium"/>

I'm a little confused on how to get the sed comma ...

Score: 2
Arzybek avatar
Add free space available on disk to partition
id flag

I'm trying to add free 8gb available that I left when I was installing Ubuntu. I downloaded GParted iso and used Unetbootin to create USB. When I boot from USB, I can't resize dev/sda5 to add free 8gb available, it's colored gray and I can't move it to the right, to add more space. How do I do that, what am I missing?

UPD: I screened it from my Ubuntu because I can't screen it from the USB, but I'm boot ...

Score: 0
bkumar avatar
Ubuntu file system is getting crash when trying to install any package
us flag

When I used to install any linux package using apt-get install command then I used to get below message-

user@GGN:~$ sudo apt-get install vim 
[sudo] password for vvdn: 
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 

When I run suggested command sudo dpkg --configure -a then file system get crash i.e all files will be read only, after reboot bo ...

Score: 0
Setting up a reverse SSH tunnel to access remote ubuntu pc from windows
mx flag

My work desktop is an Ubuntu, and I'm trying to access it from home through a Windows laptop. Something like TeamViewer doesn't work, since these kinds of remote access options are blocked by the firewall. My organization is using Zscaler VPN software to allow remote access, but unfortunately that seems to be incompatible with Linux. And I know that reverse tunnel should be possible from giving someone  ...

Score: 2
starkruzr avatar
Ubuntu 21.10 on GPD Win Max 2021: touchpad click/hold/drag with second finger
cn flag

I have a new Win Max 2021 (Intel edition) from GPD. In Windows, as shipped, the touchpad lets you point at something, hold down to click and drag, and then with a second finger drag to whatever you want the new location to be. In Ubuntu I can't figure out how to enable this behavior. ETA: according to the Windows driver, this is a device from "Goodix," if that helps.

This is what I get from lsusb

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.