Latest Ubuntu related questions

Score: 1
ITW avatar
Top of Nautilus window hidden in dual monitor
ng flag
ITW

Recently have this issue when trying to download document using browser (Chrome, Firefox), the nautilus window opened for me to specified the download location. However it got over stretch and the top part is partially hidden when it is opened in one of my monitor screen.

nautilus over-stretch to the top of monitor, the top got partially hidden/blocked img

It should look like this img

Any idea how  ...

Score: -1
Iosef avatar
How can select data from mysql using bash script and pass it to php?
in flag

This is what Im trying now

In PHP Im running the following sript:

exec('/home/user1/createinstanceinfolder.sh', $output, $return_var);

print_r($output);

Which is calling the following Bash script:

declare -A arr == $(sudo mysql -u root -h localhost -e "USE mydb;SELECT * FROM users")

for i in "${arr[@]}"
do
echo "$i"
done

Php is printing a empty array, what is wrong here?

Score: 0
Kelvinator avatar
Error installing evolution-rss plugins
in flag

Multiple websites say I can install the Evolution RSS plugin with the command sudo apt install evolution-rss.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  adwaita-qt aria2 libaria2-0 python3-psutil python3-pyxattr python3-setproctitle rtmpdump
Use 'sudo apt autoremove' to re ...
Score: 3
lampShadesDrifter avatar
How to check if a package is essential / part of base OS install?
fr flag

How to check if a package is essential / part of base Ubuntu (v18.04.5) install?

Eg. I keep seeing Ceph and RADOS updates in my weekly software updater GUI, ie...

➜  ~ apt list --upgradable
Listing... Done
libcephfs2/bionic-updates 12.2.13-0ubuntu0.18.04.8 amd64 [upgradable from: 12.2.13-0ubuntu0.18.04.7]
librados2/bionic-updates 12.2.13-0ubuntu0.18.04.8 amd64 [upgradable from: 12.2.13-0ubuntu0.18. ...
Score: 0
vaskark avatar
Lemonbar uses lots of cpu
gb flag

My script for lemonbar works just fine but uses lots of cpu. I know it's due to the sleep command:

while true; do
    echo -e "\
    %{l}$(Uptime) $(Window) \
    %{c}$(Mpc) \
    %{r}$(Wifi) $(Cpu) $(Memory) $(Battery) $(Volume) $(Time)"
    sleep 0.1
done

But if I use a greater number then the bar is not as reactive to updates. Is there another way around this? My 4 cpu cores seems to reach 24% when ...

Score: 0
Mohammed Ali avatar
gemini lake n4020 dummy output
cn flag

My laptop has no audio output after installing Ubuntu. HDMI and Bluetooth headphones work, but the in-built speaker and headphone/microphone jack does not.

Here are the playback hardware devices for my laptop:

card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: sub ...
Score: 1
Shahin Shirazi avatar
"us.archive.ubuntu.com: no server could be reached" after upgrading to Ubuntu 20.04
cn flag

After I upgraded my Ubuntu from 18 to Ubuntu 20.04.2 LTS (linux-image-5.4.0-81-generic) I was not able reboot my computer back to Ubuntu. I was getting Dell black screen and had to hard reboot to get back to the menu to select my OS (I have both Ubuntu and Windows 10).

The only way that I could get to Ubuntu was to go through recovery mode. After digging through different forums I noticed that th ...

Score: 1
Ajaib Singh avatar
nmcli: Proper way of scanning WiFi networks
ru flag

I am writing a script where I need to switch WiFi networks. How should I scan if the WiFi I want to connect is available or not?

I tried the following:

  1. nmcli dev wifi list

    Issue: It lists previously scanned networks, which includes available and non-available networks.

  2. nmcli dev wifi rescan; sleep 10; nmcli dev wifi list;

    Issue 1: It just starts the scan and exits while the scan is running in the ba ...

Score: 0
Begiubu avatar
Make the OS use all the space from 2 logical volumes on the same VG
cn flag

When I installed Ubuntu 20.04 LTE headless, I used a NVME and for the OS I created a LV with only 20G, and the rest of the space was assigned to another LV that is mounted as /home... (because I am new to Linux). Now I'm running out of space on root (LV mounted on /) and I'm looking for a way to either remove the second LV and add the space to the root or any other solution that would avoid OS erase and ...

Score: 0
Dagobert II avatar
How Much Size Required to Write Xubuntu ISO into USB?
br flag

I have a 4 GB USB stick and I am going to write the Xubuntu iso file into it. Will 4 GB be enough?

Score: 0
user493545 avatar
Ubuntu Server 20.04 Removes RTL8125 driver after certain upgrades, how to prevent this?
jp flag

Apologies if this has been answered already somewhere, I was having trouble sorting this issue out.

I have an MSI X570 MEG Unify motherboard with 2 NICs, one of which is a 2.5Gbps Realtek RTL8125 Ethernet port. I am able to successfully install the driver both using the driver from Realtek's site, as well as the DKMS package here:

https://github.com/awesometic/realtek-r8125-dkms

It is my understan ...

Score: 0
Trouble assembling raid1 array after replacing failed disk
in flag

I have a weird mdadm situation.

I had a drive in a raid1 array go bad. I shut the machine down, and replaced the disk, did ddrescue (which succeeded without error) from the old non-failed drive to the new drive.

Now when I attempt to assemble, I get:

% sudo mdadm --verbose --assemble /dev/md3 /dev/sdg1 /dev/sdf1
mdadm: looking for devices for /dev/md3                       
mdadm: /dev/sdg1 is identifi ...
Score: 0
Lexible avatar
Is there a published implementation of QubesOS "Convert to Trusted PDF" on Ubuntu?
tn flag

The title pretty much says it. Convert to Trusted PDF is a valuable tool, and it would be great to implement it in the Ubuntu ecosystem.

Score: 0
Cami-Brick avatar
Error running steam on Ubuntu 20.04 64 bit
ve flag

EDIT: I managed to fix the issue myself. What I had to do was:

sudo dpkg --add-architecture i386 and sudo ubuntu-drivers install

Original Post: I'm new to Ubuntu and Linux, so I don't really know what I'm doing. I'm using Ubuntu 20.04 LTS 64-bit. I've installed steam but now I cannot run it. When I put steam in the terminal I see the "Updating Steam" window for a split second before it closes. Th ...

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.