Latest Ubuntu related questions

Score: 0
sudo /opt/lampp/lampp start not working
cn flag

error showing

Starting XAMPP for Linux 8.0.8-0...
XAMPP: Starting Apache.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
/opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
fail.
XAMPP:  Starting diagnose... 
XAMPP:  Sorry, I've no idea what's going wrong. 
XAMPP:  Please contact our forum http://www.apachefriends.org/f/ 
Last 10 lines of "/opt/lampp/logs/err ...
Score: 2
Šimon Tóth avatar
Can't add Google account, the browser window is corrupted
kr flag

I just installed Ubuntu on my Raspberry Pi 4 from the official image (for rPi). Everything seems to work just fine, except for the Google login window (and the other online accounts as well).

Any idea how to fix this / work around this?

Corrupted login window

EDIT: There is a warning in the console: "GDK is not able to create a GL context, falling back to glReadPixels (slow!)"

Score: 0
m.k avatar
Install ubuntu on second drive when PC only has legacy BIOS
cn flag
m.k
  1. My PC supports only legacy bios.
  2. On the first drive I run windows 10 .

My questions are:

  • How to install Ubuntu (I flashed Ubuntu on a USB Drive)?
  • Do I need to manually install grub or will it be installed automatically ,so i can select which operation systems will be booted?
Score: 0
hra1234 avatar
Opening a terminal in a shell script, running a command on it, and keeping it open
cn flag

I want to open a gnome-terminal from a shell script, run a command on it, and keep it open when the command's execution is over.

This is what I tried:

#!/bin/sh
gnome-terminal -- bash -c 'echo "test"; sleep 5'

This opens a terminal window showing only the output of the echo test and it closes after the sleep is over. I want it to prompt a new line when the execution is over. How can I do that?

Score: 0
Pritam Banerjee avatar
Keyboard is not working in ubuntu 20.04 LTS
cn flag

I dual booted Ubuntu 20.04 LTS along with windows 10 in my ASUS laptop with Ryzen amd graphics. After installing I found that my laptop keyboard is not working in Ubuntu. I searched for the problem and found the solution sudo apt install xserver-xorg-input-all followed by restarting the laptop. However, this temporarily enable the keyboard. If I power off and then power on the laptop the keyboard doe ...

Score: 0
Rory Schram avatar
How do you make a script that will automatically shutdown all the services running on my home server properly when the power goes out?
id flag

I am new to Linux and I am having a lot of fun with Ubuntu 20.04.2 installed on a very old MacBook Pro. Currently my little home server has a Samba share to share some movies and the like. It has a vnc server installed so that I can access the GUI as I am not fully comfortable with pure command line stuff just yet. The server also runs an instance of Pi Hole to block ads on our local network. I know how ...

Score: 2
Install Ubuntu 20.04 on Asus G15
br flag

I'm a frequent user of Ubuntu since 14.04. I have a hard time installing Ubuntu 20.04 on my new laptop. I have done the following.

  • Disable Fast Boot in BIOS
  • Disable Secure Boot in BIOS
  • Make sure SATA connection is selected with the PCIe NVMe SSD
  • Install Ubuntu 20.04 LTS on a USB drive via Rufus

A few specs about my laptop:

  • Asus G15
  • AMD R7-5800H
  • NVIDIA GeForce RTX 3050 Ti
  • SSD

In the Grub menu, pr ...

Score: 0
How to enable control keyboard backlight in xmonad?
ma flag

I'm using xmonad -tiling window manager- and lux to control backlight but keyboard backlight via fn doesn't work. Does anyone know a solution?

Thanks for help.

Score: 0
FinleyGibson avatar
USB microphone too quiet even at 100 in alsamixer
in flag

I have purchased a USB microphone, but the volume is very quiet, even when set to max. I can view the device in alsamixer and set the "Capture" bar to 100, but even so it is very quiet and unusable. Much quieter than the poor quality inbuilt mic from my computer.

Is there a way to increase the volume further?

Edit: This image shows the inbuilt mic on the left and the USB on the right, recorded in aud ...

Score: 0
Bermar avatar
You can modify user data with chfn (e.g. phone, room) but how can you just display that organisational data?
am flag

Edit: @steeldriver provided the answer I believe. I think I found the reason why I did not get the output that I wanted in the first place. When I created the user I entered Full Name, Room Number, Work Phone, Home Phone and Other. But I overlooked an error message. Even though the organisational information (aka GECOS information as @muru made me aware of) is missing the user was created successfully i ...

Score: 0
Ubuntu 20.04.2 does not recognize 4k resolution on Samsung 28" 4K UE590 monitor
ru flag

Ubuntu 20.04.2 does not recognize 4k resolution on Samsung 28" 4K UE590 monitor. The monitor has the HDMI1 and HDMI2 input, the HDMI1 input ubuntu works 4k but with only 30fps, standard, as the manufacturer itself informs that it is a maximum of 30fps. On HDMI2 the manufacturer says it's 60fps, but when I connect to the monitor on HDMI2 with a rx570 4gb, ubuntu does not recognize and only has a resoluti ...

Score: 0
VitandinBalulo avatar
Can't use a second screen in my Thinkpad P1 Gen3
ru flag

I just installed Ubuntu 20.04 with the proprietary drivers on my new Thinkpad P1 Gen3 and I can not use the second screen. Ubuntu doesn't recognize it. It is strange, because when I was trying the LiveUSB, I could use both of them.

I've been googling to fix the problem, but the only similar issue was in this post: External monitor no signal ThinkPad P1, with no useful answers. The difference is t ...

Score: 0
Programmer avatar
Can you please tell me which nVidia graphics drivers I should install on my Acer TravelMate?
us flag

I have already tried multiple versions of nvidia-driver (360, 390, 460) - but with all of them I get following when I run nvidia-smi:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Here are my hardware and software details:

~$ dkms status
nvidia, 460.80, 5.8.0-59-lowlatency, x86_64: installed

~$ cat  ...
Score: 0
Prem Kishan avatar
How to check the current the logs in Zabbix Web console?
za flag

I have installed Zabbix Server and Zabbix Agent in two different servers containing Ubuntu OS. I have both the services running on my system (Zabbix Server and Zabbix Agent). I use Apache2 web server. How do I view the current logs of the Zabbix Agent using the Zabbix Web GUI or even in the CLI? I tried to view the logs by entering the path as mentioned in the zabbix_agent.conf file but I didn't find an ...

Score: 0
Braden Coates avatar
How to start up qpaeq on boot without gui
br flag

I recently installed pulse audio eq but when I start up my system the eq doesn't start as well and I have to run qpaeq for it to show up in my audio outputs. I could just add qpaeq to startup but I don't want the gui to open whenever I log in so is there a different solution?

Score: 0
blueray avatar
alias not working as expected
ph flag

I am trying to get file types using an alias. I am using:

alias file-types="find . -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u"

However, it is not working:

When I type the command in the terminal it shows (which is exactly what I want):

azw
azw3
bz2
chm
epub
pdf

but when I use the alias, it shows something like:

./x.epub
./y.pdf
./z.pdf
.....

What can I do to make this command an a ...

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.