Latest Ubuntu related questions

Score: 2
dfv avatar
Custom xkb layout on Ubuntu 21.04 Wayland
tr flag
dfv

I have googled various guides on creating a custom keyboard layout using xkb. I want the left alt key to send a control key event. After lots of trial and error I came up with this (based on Estonian keyboard layout):

partial alphanumeric_keys modifier_keys
xkb_symbols "ee_dfv" {
    include "ee(basic)"

    name[Group1]="Estonian (DFV)";

    key <LALT> {
        type[Group1]="ONE_LEVEL",
   ...
Score: 0
How can I solve this problem?
id flag

I bought a new laptop with Ubuntu operating system. I started to configure the system and then I got the following error:

tail: can't open '/var/log/installer/debug': Premission denied
tail can't open '/var/log/syslog': No such file or directory
tail: no files

enter image description here

I can't close the system settings window now and the skip button isn't available.

Translation of the text on the screenshot:

The title ba ...

Score: 1
Ryan Laurenciana avatar
hostname: No address associated with hostname
ke flag

Good day! I am using 20.04.3 Ubuntu server on my Raspberry Pi 4,

I am using my Rp4 as Pi-hole w/ unbound as well as a docker, everything went fine except for 1 which is the the title of my post

I did try the following

  1. removing the resolv.conf sudo rm /etc/resolv.conf and then create a new one sudo nano /etc/resovl.conf

    RESULT: nothing happend

  2. I put this in my /etc/host

    10.124.10.20 homelab-ubunt ...
Score: 0
Teresa avatar
How to run gnome-terminal -- 'npm run start' without the error 'Permission denied'?
in flag

In a bash script, my command gnome-terminal --working-directory=/path/to/my/working/folder -- 'npm run start' gives me the error Failed to execute child process “npm run start” (Permission denied)

Similar commands such as gnome-terminal --working-directory=/path/to/my/working/folder -- '/some_file.sh' work fine.

Does anyone know a fix?

Score: 1
mpromonet avatar
How to install runtime package corresponding to a development package
it flag

Using for build an application libjpeg-dev package that is installed using

apt install libjpeg-dev

This command depending on ubuntu release install libjpeg8, or libjpeg62, or another one.

I was looking for a way to install the corresponding runtime package. I made some tries with apt rdepends but it does not seems to give a solution.
Is there a way to query recursively dependencies of libjpeg-dev

Score: 0
Tomas.R avatar
Can't reinstall apache2 - Ubuntu 20.04 Server
in flag

I have uninstalled apache2 with these commands :

sudo service apache2 stop
sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
sudo apt-get autoremove --purge

I have found what is left with this command :

whereis apache2

And then deleted all of these files and directories.

Now when I tried to install apache2 and run it I got an error :

sudo apt install apache2
sudo systemctl start apa ...
Score: 2
Asmit avatar
How to access files of my First Ubuntu from my Second Ubuntu
sg flag

Edit: Ubuntu version is 20.04 LTS

Sorry for the bad Title, I don't know actually how to say it or what terms to use .

So I broke my ubuntu while just playing around. I was unable to boot.

Then I installed Ubuntu in side of previous Ubuntu by making another partition in my hard drive.

So my main Question is How can I use my newly installed Ubuntu to access files in my previous Ubuntu. When I tried opening  ...

Score: 0
No network connection on Ubuntu 21.04
tr flag

I have problems with my network connection on my Ubuntu 21.04. I can't ping my router. I've reinstalled Ubuntu three times, but the same error always appears. When I start Windows 10, the network is running fine.

Here are some useful outputs:

$ ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::b2de:63a1:f69f:e33b  prefixlen 64  scopeid 0x20<link>
    ...
Score: 0
deepblue avatar
removing lines include values higher than the determined threshold
in flag

I have a data file such as:

data:

arht    -0.1006 0.0001  0.0147  100     arht    0.0012  -0.0002 0.0182  100
arht    -0.0006 1.0006  0.0133  100     arht    0.1011  0.0003  0.0175  100
bcmn     0.0005 0.0011  0.0165  100     bcmn    0.0015  0.0007  0.0197  100
ffgf    -0.0009 0.0012  0.0121  100     ffgf    0.0007  0.0010  0.0150  100
ffgf    -0.0004 0.0009  0.0105  100     ffgf    0.1008  0.0006  0. ...
Score: 0
julian bechtold avatar
apt-get upgrade auto restart services
cn flag

I have an unattended script for installing servers. At the beginning of the script there is a sudo apt-get dist-upgrade --yes. The dist upgrade has a nasty user input screen at its end asking to restart services:
enter image description here

Is it possible to autoaccept service restarts or disable this screen? It breaks my whole script. Also Im afraid it might leave my server stuck at some point when updating...

same result w ...

Score: 0
Chen Guanhong avatar
How to fix problem after deleting ubuntu?
us flag

I used Windows to delete Ubuntu partition already. After restart, I can only see the grub booter, but I can't boot into Windows anymore because I can only see 'Minimal BASH-like lime editing is supported. For the first word, TAB lists possible command completion. Anywhere else TAB lists possible device or file completions.'

I'm still in grub booter, but can't boot into any OS

Please help!

Score: 0
julian bechtold avatar
automatic (user) input for command in shell script
cn flag

Issue:
I am writing an install script for setting up a machine.
At some point there is a user input required, like so:

chia keys add
# echo comes back: please enter 24 word mnemonic passphrase
hello this is an example mnemonic passphrase ... ... ... ... ...

likewise, another command requires userinput as well

chia wallet show
# echo comes back: No wallet file was found. To generate wallet, enter S
 ...
Score: 0
Audio crackling issues on ubuntu, tried pulseaudio fix it didn't work
in flag

I'm running Ubuntu 20.04 on my vm. The issue is that I am having a lot of audio crackling issues on both youtube, or any other site on browser, and along with that also on music players. I tried doing the pulseaudio fix from arch wiki but it didn't work. Help is greatly appreciated.

Score: 0
Performance Issues? (First time install Ubuntu 20.04.3)
ke flag

Laptop Specs

  • Model: Lenovo ThinkPad X1 Extreme Gen 2
  • CPU: Intel® Core™ i7-9750H CPU @ 2.60GHz × 12
  • GPU: NVIDIA® GeForce® GTX 1650 Max-Q 4GB GDDR5
  • RAM: 16GB 2666 MHz
  • Storage: 500GB SSD

So I decided to go ahead and install ubuntu after using it for an assignment I had to do for a class--virtualmachine. I finished the install and after a couple hours and installing some apps--Discord, Google ...

Score: 0
karan duggal avatar
Is it possible to use Android TV as a second monitor wirelessly with Ubuntu?
ar flag

I have a motorola zx pro Android TV with version 10.

I want to use it as second monitor.

Is it possible in Ubuntu?

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.