Latest Ubuntu related questions

Score: 1
Lucastegano X avatar
Lightdm can't start xserver
cn flag

First things first, hello :)

I ran systemctl disable lightdm.service from recovery mode.

After that i reboot my pc and typed sudo lightdm start ; startx. I started a graphical section but when i tryed to launch a gtk program from terminal i got this error:

 Unable to init server: No se pudo conectar: Conexión rehusada

(nautilus:14383): Gtk-WARNING **: 10:27:51.240: cannot open display: :1 

and when ...

Score: 0
Akshat avatar
Bluetooth not working on ubuntu 18.04 (Dell inspirion 11 3148)
in flag

Recently I did a dual boot with Windows 10 and Ubuntu 18.04, but I am having issues with Bluetooth not discovering devices. It just keeps on searching for devices. However, the Bluetooth is visible in other devices.

I tried pretty much everything I found. I tried these:

  1. ubuntu 18.04 LTS bluetooth [0cf3:3004] discovery not working
  2. https://www.devmanuals.net/install/ubuntu/ubuntu-16-04-LTS-Xenial-Xerus/h ...
Score: 0
shiva avatar
Error: Could not find or load main class org.apache.sqoop.Sqoop
sa flag

Could not find or load main class org.apache.sqoop.Sqoop

While installing sqoop-1.4.7.bin__hadoop-2.6.0 pseudo mode my bashrc is :

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
#export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/
#export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
export PATH=$PATH:$JAVA_HOME/bin
export HADOOP_HOME=/home/hadoop/hadoop
export HADOOP_INSTALL=$HADOOP_HOME
ex ...
Score: 0
Hendré avatar
How do I restore the Grub menu?
cn flag

I lost my password and booted into the command line from the Grub menu. Now my PC does not want to boot into Ubuntu. Every time I reboot, I end up at the Grub command line. Is there any way to restore the Grub menu? I can boot into Ubuntu using Grub command line commands.

Score: 1
flo avatar
Apps become transparent when the desktop is directly behind them
jp flag
flo

I'm new to Ubuntu and installed some well-known apps, but now my file explorer becomes transparent when I hover over it if the desktop is directly behind. The same happens with WPS office.

However, if I go full screen, the problem disappears. The problem also disappears if there is another window opened behind it.

Here is a screenshot of the issue:

file manager with transparent patches

I tried to grab a screenshot, but the problem disappe ...

Score: 1
hyhno01 avatar
Resize image to specific size
cn flag

I know there are several ways to resize an image via the command line. Some of them are specified here. However, I was wondering whether there is a way to specify the size of the resized image, e.g. I want to resize an image that is 8.5 MB big to an image that is 2.5 MB. Preferably, the solution uses imagemagick.

Score: 0
rodrigo machado avatar
Ubuntu not detecting my HDMI monitor
cn flag

My computer has ubuntu 21.04, it is not detecting my HDMI monitor. I've already tried the following solutions:

  1. sudo dpkg-reconfigure gdm && sudo systemctl start gdm3

  2. sudo apt-get purge 'nvidia*' &&sudo add-apt-repository ppa:graphics-drivers && sudo apt-get update

  3. sudo ubuntu-drivers autoinstall

  4. sudo apt install gnome && sudo service gdm3 restart && sudo re ...

Score: 0
Tallys Assis avatar
Keyboard with weird commands
jp flag

It happened before with other systems, and I even tested changing some parts of the input driver. The problem is: My system sometimes decide to mess with my keyboard and some keys stop working (and then start working again). The keys: z, x, c, v, m, right shift, enter, ,, . and ;. The capitalized versions of them are even worse to type in. I thought that my keyboard was broken, but then I tried to type: ...

Score: 1
Ida Bagus Satriya Wibawa  avatar
How to clean icon home file from my desktop ? ubuntu 20.04 lts
cn flag

How to clean my desktop?

my desktop

I tried to install pspp for my statistic exam. After rebooting, my desktop has many files like that. How to fix that? I have used Tweaks but cannot do it.

Score: 0
Navya Jain avatar
Hash Sum mismatch when trying to download package
it flag
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/main/binary-i386/by-hash/SHA256/a94eda4aa2d3ef5591bfc752e3446df9449aeaeef37cddda99c5a5089b9fb665 Hash Sum mismatch    Hashes of expected file:
    - Filesize:489712 [weak]
    - SHA256:a94eda4aa2d3ef5591bfc752e3446df9449aeaeef37cddda99c5a5089b9fb665
    - SHA1:4783af61fdabef822421f227c2a968540608bb34 [weak]
    - MD5Sum:1fe09da1647b45 ...
Score: -1
SAUL BLANCO LANZA avatar
Batch ffmpeg conversion: windows to linux
cn flag

I have a windows .bat file that converts all the .mp4 files of a certain folder (increases speed in a 1.5X ratio), places all the transformed files in an "out" subfolder, and finally deletes all original files. As follows:

for %%a in ("*.*") do ffmpeg -i "%%a" -filter_complex "[0:v]setpts=PTS/1.5[v];[0:a]atempo=1.5[a]" -map "[v]" -map "[a]" "out\%%~na.mp4"
for %%f in (*.mp4) do (del "%%~f")

Could some ...

Score: 0
Sneakatoo avatar
Bash from scratch
cn flag

I know this may sound ridiculous, but in my defence I'll say I'm at the very beginning of messing around with coding and bash in particular, so don't judge me too harshly...

I just dipped into this:

#!/bin/bash

echo -n "Enter a number: "
read VAR

if [[ $VAR -gt 10 ]]
then
  echo "The variable is greater than 10."
fi

Thing is any number I write up doesn't change a thing. Even 2 will be greater than

Score: 1
Geany - how to disable mark option in find function?
gi flag

I pressed mark but now I have no idea how to disable it. And I can not google this. Just closing the window doesn't help.

enter image description here

Score: 0
luis.ap.uyen avatar
Automatically enter user input several times to command stdin
us flag

I need to perform a conversion of digital certificates from pfx to pem on an external application from which I can run system commands. I can do this from CLI by using the command:

openssl pkcs12 -in path/to/cert.pfx -out path/to/cert.pem 

This will prompt the user for the certificate password, and secondly, for a passphrase.

I've tried the solution provided here: Automatically enter input in comm ...

Score: 1
100lemons avatar
Ubuntu 20.04 Dell Inspiron 3000 on-board audio not being detected
ru flag

This is a fresh install of 20.04 on a Dell Inspiron 3000.

The system will detect an external headset and hdmi as an output/input, however, it will not detect the internal speakers/mic.

Kernal - 5.12.10-051210-generic

Sound driver - Advanced Linux Sound Architecture Driver Version k5.12.10-051210-generic.

    Subsystem: Dell Raven/Raven2/Fenghuang HDMI/DP Audio Controller
    Flags: bus master, fast de ...
Score: 2
Elvin Jafarov avatar
Sorry,there was a problem completing the installaion
ie flag

I am installing ubuntu server on VM (in Ubuntu). However, I tried Virt-Manager and VMbox both show same error I have tried some solutions on the internet they did not work for me.

Please, help if you can

I have spent 2-3 days on this.

enter image description here

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.