Latest Ubuntu related questions

Score: 0
Black Solis avatar
Ubuntu - run bash script on startup with visible terminal
cn flag

I am wanting to run a bash script on startup in Ubuntu 20.04 with the terminal visible. The test.sh file is located at /usr/bin/test.sh. I can get the test.sh file to run at startup but not in a visible terminal window.

Contents of test.sh:

#! /bin/bash
echo "hello";

I can not get it to work, I have tried (individually):

Crontab (with and without the '&' and with/without "sudo")

@reboot bash te ...
Score: 0
cron doesn't work with playerctl
in flag

"35 04 * * * playerctl --player=vlc stop" doesn't work in cron,but "playerctl --player=vlc stop" does stop vlc,I also checked with crontab -l and my cronjob is there,what am I doing wrong ?

Score: 0
Geoffrey Wheeler avatar
Using different wallpapers on multiple monitors: Lubuntu with LXQt
gh flag

I'm using LXQt on Lubuntu 21.10. How could I get a different desktop background on each monitor without having to create one very wide one and stretch it. That is, how can I specify one photo file for each monitor.

Score: 0
How long should fsck take to scan a drive?
in flag

I woke up one morning to find my Ubuntu 20 laptop unresponsive, so I rebooted, and arrived in a BusyBox "(initramfs)" prompt.

Typing "exit" told me that:

The root filesystem on /dev/sda2 requires a manual fsck

So I ran fsck /dev/sda2 -y.

That was a day ago. It's still printing out a ton of messages like:

Inode <number> ref count is 2, should be 1. Fix? yes
Unattached inode <number>
Conne ...
Score: 0
Abitosh avatar
Wifi authentication failed after suspending
gb flag

I installed Ubuntu 20.04 LTS on this old laptop I had lying around and it brought it back to life and I really like the experience but whenever I suspend the laptop and resume it says network authentication fails and I have to do a full restart.

It does show all the WiFi networks in the area including mine, just that it fails to connect.

I've tried the solutions here but none of them seem to resolve ...

Score: 0
Why are some of my .odt files plain XML while most are ZIP files?
cn flag

It was my understanding that an ODT file was a ZIP file that contains various files that comprise an OpenOffice / LibreOffice document. However, I was running a script to search through these files when I noticed that I was getting an error from some of my ODT files about an end of central directory signature not being found. When I looked at these files I discovered that they were in fact plain XML.

Score: 0
Ronnie avatar
Ubuntu 20.04 LTS - missing folders
in flag

Recently re-installed Ububtu 20.04LTS - and had Desktop, Public and Templates showing some "X" and RED circle with slash. Found that these folders were missing. Recreated them and shortly went ,missing again. I believe the culprit was SSD drive & "DosBox Staging"! Every time I reinstall works ok, install dosbox staging and folders go missing. Installed HST drive and everything ok. Reinstalled S ...

Score: 0
HIMS Sharma avatar
Showing characters on website for data saved in database
us flag

I have upgraded database to version mysql-8.0 8.0.28-0ubuntu0.20.04.3. But its starting showing the invalid characters from database on website. Can you please tell how can we resolve this.

I have tried the following but its not working .

In order to fix the Character Encoding Mismatch Problem in WordPress, Open the ‘wp-config.php’ file in a text editor(the wp-config.php file can be found on  ...

Score: 0
KDE Plasma task manager does not show some apps during loading
ng flag

I have the task manager does not show the loading status with some applications when starting up them such as code. Sometimes I realize that the computer is not responding but I found two instances are opened because I did not informed about its loading. However, after the application loading completed it shows its icon.

Some other applications such as FireFox it displays the loading s ...

Score: 0
ITnewbie avatar
MySQL upgrade from 5.7 to 8.0, run the process automatically
sz flag

I would like to upgrade MySQL from 5.7 to 8.0 on my Ubuntu 18.04

I installed the package with the command :

$ sudo dpkg -i mysql-apt-config_0.8.22-1_all.deb

enter image description here

After I done with this step, I have to run:

apt-get update
apt-get install mysql-server

Then I have another human interaction page pop-up enter image description here

Is that possible to avoid these page to run the upgrade process automatically?

Score: 0
Dual boot ubuntu 20.04 / win10...(bit of a mess)
gs flag
dbt

Attempting to install ubuntu (20.04) dual boot win10 on a newly refurb Dell E6520 i7 8GB DDR3 RAM 128 SSD Win10 Pro 64

Got all the way to installation type & no option to install along side win10

Attempted the something else option however believe this is where the problems started as the partition options quite confusing

Thought I might try to start over however win10 now says "no operating syste ...

Score: 2
Gabriel Staples avatar
How to set up NoMachine in Ubuntu with key based authentication?
cn flag

How do you set up NoMachine on Ubuntu?

Why Nomachine?

On Windows, I love using Chrome Remote Desktop for remote logins, and it works great. But, on Linux, I just have problem after problem with Chrome Remote Desktop, and it's super buggy:

  1. It stops me from mounting and using plugged in USB disks or drives: Automount when clicking on disks in GUI file manager suddenly stopped working in Ubuntu. ("Unable ...
Score: 1
Poppa Bencz avatar
No video output besides with HDMI - No mirror display arrangement
co flag

[Ubuntu 21.10]

I'm having a recurring issue where:

When I boot, there is video output on my machine (boots per usual). After boot sequence, there is no video output on my machine. Only with the use of an external monitor via HDMI am I able to log in. Nvidia x server shows there's no other display to be configured (besides my external monitor via HDMI).

nvidia x server and display settings:

Screenshot 1

After run ...

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.