Latest Ubuntu related questions

Score: 1
ruffin avatar
How do I map caps and control to control
ru flag

I tried the solution here to remap Caps Lock to Control.

Open the following for editing:

sudo vi /etc/default/keyboard

And edit XKBOPTIONS="ctrl:swapcaps"

Then, reconfigure:

sudo dpkg-reconfigure keyboard-configuration

I started with exactly that not to get too crazy. It worked. But now I can't get it to go back.

I edited the keyboard file back to its original contents...

# KEYBOARD CONFIGURATI ...
Score: 0
david avatar
Unable to locate package net-tools in terminal
ba flag

I’m using Ubuntu desktop ver 22.04.1-amd64. I’m using laptop.I can’t ping internet and I use WiFi. When I tried to install net-tools, I faced “unable to locate package net-tools. I already tried ubuntuupdates.org but it also couldn’t help me.

Thanks for your great help.

Score: 1
zUnlxgit0amx avatar
How do I write a start script for my ark server?
gs flag

I am currently trying to install a ARK dedicated server on my Ubuntu server 22.04.1 I followed the entire tutorial from Dedicated_server_setup everything worked so far, until I tried to write the start script.

I opened nano copied the script given on the site,

#! /bin/bash
./ShooterGameServer TheIsland?listen?SessionName=<server_name>?ServerPassword=<join_password>?ServerAdminPassword=<adm ...
Score: 0
WaffleHouse2t2 avatar
how to add a directory to snap mount namespace
cn flag

Snap mount namespace does not contain a specific directory. How do I add /usr/lib/doublecmd/ to snap Firefox's mount namespace without causing problems? Is there a "refresh" command that adjusts for non-snap changes? Or is there a file that determines what appears in a mount namespace? I want to do this system-wide if possible, but others may want to do this at the user level.

Terminal lists the

Score: 0
Aqua1925 avatar
Partitions mounting when not listed in fstab
gl flag

I am using Ubuntu Studio 22.04 and I have three partitions that are mounting automatically on bootup even though they are not included in fstab. One of these partitions is on the same physical HDD as my root partition, and the other two are each on a different physical HDD. These three partitions are being mounted to /media/username. The only online post I have found with a similar question was here: ...

Score: 7
cocomac avatar
How can I have Ubuntu display the output of a commad in the login screen on Ubuntu Server?
cn flag

I've found this question, but it talks about a version of Ubuntu with a GUI. I'm referring to Ubuntu Server, so no GUI. I've also found this question, but it doesn't look like it will display the output of a command, but instead only static text.

The Ubuntu Server login screen looks something like this:

Ubuntu 22.04 LTS mycomputer tty1
mycomputer login:

However, I'd like it to run a command (either as ...

Score: 0
Denny avatar
Unmanaged vlan bridges
mr flag

I am trying to add a few unmanaged bridges to LXD. I have 2 NIC's on the server, one is the main Lan for the server and it's own services and the other is meant to be used by LXD exclusively. I want that additional NIC to have a bridge to 3 vlans, one of which is untagged. Creating a bridge for the untagged vlan was easy enough using the below config:

network:
  version: 2

  ethernets:
    enp5s0: ...
Score: 0
bimal avatar
Power Symbol Does Not Shown Correctly
cn flag

The Problem occurs when I open my laptop that is plugged in. My battery does now shown as charging but it actually is. And If I plug out and again plug in, It works normally. Why can it be happened and how to solve it

Score: 0
Paul_Capo avatar
How to Categorically Relocate Records Using Grep
es flag

I need to parse a file containing records beginning with a keyword and selectively write those records to separate category files. After this is done, the records that were extracted need to be removed from the main file. Using bash, is grepping the best way?

The following function and loop does the extraction part:

declare -a keywords
declare -f extract_records

keywords=(alpha bravo gamma delta)

ex ...
Score: 0
Pratyush avatar
USB bootable MacBook Pro keyboard and mouse
ni flag

I created bootable usb Ubuntu and open it on MacBook Pro 13 inch 2019. For some reason, the keyboard and tackpad isn’t working. There is a way to make it work. I don’t have a wireless or usb keyboard but I have a mouse. The keyboard and mouse on my MacBook Pro not working. Is there way to make it work.

Score: 0
Michi Snipes avatar
Touchpad on Lenovo 300e 2nd gen not working (Ubuntu 22.04 LTS)
ao flag

I feel like I've tried everything and I'm at a loss. Seems to work completely fine on Windows, doesn't work on Ubuntu.

Keyboard and touchscreen work, mouse cursor is also present. Also, nothing shows up in Settings > Mouse & Touchpad.

I ran "xinput list" and this was the output:

Virtual core pointer
⎜ ↳ Virtual core XTEST pointer
⎜ ↳ ELAN238E:00 04F3:2DB5

Tried updating firmware ...

Score: 0
William Dobrinin avatar
How do I manually run 'sudo dpkg --configure-a'?
cd flag

I am trying to install CrossOver using the Terminal app. I typed in the following command line 'sudo apt install //crossover_22.1.0-1.deb'. I received two (2) error messages. The first was 'unsupported file given on command line. The second was dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

Score: 0
user3041883 avatar
How much of my root space (19.5GB) should be used up in an installation?
ca flag

I have a root partition and a home partition, on a dual boot system (windows)

I currently have 4.9GB available in my Ubuntu Desktop 22.04.2 LTS system after limiting my journal/ folder (Big /var/log/journal? following the information from Robert Pollak) to 200MB and also clearing out my snapd/ folder from unnecessary snaps.

I'm not certain if only having 4.9 GBs left over is what is expected or whet ...

Score: 0
Casemod avatar
Idle time detection for Dashboard screensaver (changing to another website)
bv flag

I would like to create a dashboard which changes the web page after a certain idle time and after activity jumps back to the original page.

Unfortunately I have absolutely no idea of programming and have already spent for a few lines many hours :D.I would like to integrate a code that i found but I have absolutely no idea how to do it

my code:

  /etc/xdg/openbox/autostart *                               ...
Score: 0
Tiny font in Libre Writer
us flag

I'm running Kubuntu 22.04, and I've set my font to Liberation 12 pt. Everything on my screen is in a large font -- except for the text I'm trying to create, which appears in a tiny font. I've used Writer without incident for many years. What might be going on?

Score: 0
oraclewoes avatar
Can't transfer tarball from VM to local machine
ch flag

I am attempting to transfer a tarball from my Oracle Cloud VM to my local machine, when I try it says:

remote_username@ip_address: Permission denied(publickey)

Since I guessed this was my publickey refusing to allow this due to an issue with permissions I located the authorised_keys file in my VM on the assumption this would hold my public key but when I try to change the permissions it says:

chmod: ca ...

Score: 0
G_Yahia avatar
PlayonLinux not showing all options
hu flag

I have used playonlinux before and never encountered this issue. I have Kubuntu Jammy 22.04 using PlayOnLinux 4.3.4. I was able to useit to install a game already but it is not showing all the possibilities in its bar menu (see below the screenshot) Any reason for that? How could I possibly fix it?

Screenshot of the display of PoL

Score: 0
Boris Bahes avatar
Apache Ambari install problem
sd flag

I'm trying to install Ambari from Apache BigTop repo, but I'm getting error regarding python dependency:

vagrant@vagrant:~$ sudo apt install ambari\*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'ambari-server' for glob 'ambari*'
Note, selecting 'ambari-agent' for glob 'ambari*'
Some packages could not be installed. This may mean t ...
Score: 0
Charlie DinAlt avatar
How do I force eth0 as default?
es flag

So I have a headless Raspberry Pi 4B running Ubuntu 22.04.2 LTS, configured with static IPs in /etc/netplan/50-cloud-init.yaml... eth0:192.168.1.230 and wlan0:192.168.1.231. Generally I tend to watch performance with btop running in a terminal on my main desktop. Following a reboot I noticed that when I ssh to eth0 from another wired host on the same network the return traffic come from wlan0. Howev ...

Score: 0
oraclewoes avatar
Can no longer use private key to SSH into Oracle Cloud server
ch flag

This started yesterday after I attempted to execute an SCP command to send a tarball file I had created on my VM to my local machine, it came up with a text block informing me that the address was unknown along with the ECDSA fingerprint for the server followed by asking me if I wanted to continue with 3 options it wished for me to enter, yes, no, the fingerprint, I entered in yes, it added the IP addre ...

Score: 0
kuhi avatar
How can I create a certificate for my new domain?
ie flag

I'm trying to change my domain in my raspberry as it was configured for an old domain with an old certificate

The problem is that when I try to run the installer or make anything I only find this error:

Error while running apache2ctl configtest.
Action 'configtest' failed.
The Apache error log may have more information.

AH00526: Syntax error on line 33 of /etc/apache2/sites-enabled/000-default-le-ssl ...
Score: 1
Makk Claire avatar
22.04 unstable wifi Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01) kernel 5.19
td flag

My wifi connection keeps disconnecting frequently. It's pretty exhausting during meetings. I've searched how to resolve this bug and I found that it can be related to the kernel version (22-04-wifi-keeps-disconnecting-for-a-few-seconds-frequently). The actual kernel version is 5.19.0 :

(base) claire@claire:~$ uname -r
5.19.0-32-generic

I keep trying to downgrade the kernel (5.17.5 ?) with Ubuntu Mainl ...

Score: 0
applephx avatar
Ubuntu 22.04 VirtualBox occasionally becomes unresponsive and I have to Reset
ng flag

I have Ubuntu 22.04 installed on a windows 10 machine using VirtualBox. Occassionally it will freeze (once while using it but mostly I find it frozen after walking away from the PC when I return.

Has anyone suggestions on where to look for logs or how to troubleshoot (or even better solve) this issue?

Update 1 error found after running journalctl:

kernel: [Firmware Bug]: TSC doesn't count with P0 ...
Score: 0
memegodt avatar
I try to install wine after deleted it once and when i try to install it again it said this. I don't know what to do i try everything already
it flag

Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages h ...

Score: 0
Salden avatar
Ubuntu / Python support lifecycle
iq flag

I am wondering what the official support stance is for Python with Ubtuntu. For example, Ubuntu 20 LTS ships with Python 3.8 and standard support will last through April 2025 but Python 3.8 support ends October 14, 2024. Is Canonical on the hook for any security patches after 10/14/2024 until standard support ends or even for five years after with paid support? Is it possible to upgrade to something  ...

Score: 0
jdnmchn avatar
Unable to Download Latest Version of DBX
mp flag

I'm running 22.04.2 LTS, and I have a message in the Software Update tool it says I have a firmware upgrade to install: "Secure Boot dbx Configuration Update" (Version 77 -> 217).

Whenever I try and do this using the GUI, it hangs and I'm then unable to shut down my machine. I have tried some basic terminal instructions, with similar effect.

Why am I unable to update the "Secure Boot dbx Configur ...

Score: 0
m b3nczk avatar
WPS apps, KDE apps, locate, remove
hu flag

i have Ubuntu 22.04.2 LTS

and there are some apps seen in the Show Applications window that I'd like to remove, of WPS there are four apps: pdf, presentation, spreadsheets, writer and of KDE there are also four: KDE connect, indicator, setting, sms

What are those KDE's for? How can i located where those files are installed? how to delete them if i'd choose to?


edit: i think it has to do with snap

Score: 0
Nokes avatar
Ubunto Core 22.04 Raspberry pi - linux-modules-extra-raspi
ga flag

I have Ubuntu Core on a raspberry pi 4 and installed microk8s via snap. I see regular errors in calico: "panic: runtime error: invalid memory address or nil pointer dereference"

A bit of googling leads me to believe that I need to install: "linux-modules-extra-raspi" in order to resolve the error.

Of course, no snap exists for that package and I can't use apt.

How do you resolve this type of issue wher ...

Score: 0
Андрон Макарон avatar
Where is efi files after installation without EPS partition?
mm flag

I have it to fast and the default ubuntu-22.04.1-server installed. Booting is good. I've read before that ESP is required as standard. Now, i will try to found efi's files...

Does anyone have any ideas about this?

sda                         8:0    0    20G  0 disk 
├─sda1                      8:1    0     1M  0 part 
├─sda2                      8:2    0   1.8G  0 part /boot
└─sda3            ...

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.