Latest Ubuntu related questions

Score: 0
tscizzle avatar
How to remap Caps Lock to letter key, such as "a"
ao flag

There are many questions on here about remapping Caps Lock to another special key, such as Ctrl or Esc. However, I want to map Caps Lock to the A key. (My keyboard's physical A key broke, so when I don't have an external keyboard plugged in, to type A I have to use an on-screen keyboard which is not as convenient, and sometimes very difficult like on certain login screens.)

As mentioned, many existing ans ...

Score: 0
ubuntu noob avatar
I have a 2.1 Insignia speakers with subwoofer that connects to the headphone jack. How do I get Ubuntu to recognize my subwoofer?
gm flag

I have a 2.1 Insignia speakers with subwoofer that connects to the headphone jack. How do I get Ubuntu to recognize my subwoofer?

Score: 2
Phase Change avatar
Install USB D-Link WIFI - disable onboard also
za flag

Trying to setup a USB Wifi device on a fresh install of Ubuntu 22.04.1 LTS

PN:CWA181CA.. ...A1

Driver pack downloaded from D-links site. "RTL88x2BU_WiFi_linux_v5.8.7.1_35809.20191129_COEX20191120-7777"

~$ lspci |grep Network
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)

$ lsusb
Bus 002 Device 005: ID 064e:a103 Suyin Corp. Acer/HP Integrated Webcam [CN0314]
Bus 002 Device 001: ID 1 ...
Score: 3
Pufferfish avatar
Will installing Ubuntu over Windows 11 with BitLocker affect booting?
co flag

I want to wipe out Windows 11 on a laptop because it doesn't really give me the option to install alongside Windows without disabling bitlocker. I have not used Windows on this laptop and do not want to make a Microsoft account to disable something on a operating system I won't use.

Will this affect or interrupt my boot into Ubuntu after install?

This page I found says:

BitLocker uses the enhanced secur ...

Score: 2
The Brain avatar
System fail to sleep
lk flag

My Dell XPS 9550 fails to sleep.

I can see errors like these in logs after a failed sleep attempt

dpm_run_callback() returns -5
brcmfmac 0000:02:00.0 PM: failed to suspend async: error -5
brcmfmac 0000:02:00.0: brcmf_pcie_pm_enter_D3: Timeout on response for entering D3 substate
ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52

I am on Ubuntu 22.04.1 LTS and uname -a produces th ...

Score: 1
Alkadir avatar
modprobe: FATAL: Module snd-aloop not found / linstall inux-modules-extra-5.4.0?
pw flag

Hey I'm trying to run "modprobe snd-aloop pcm_substreams=1", unfortunately I keep getting an error and can't get any further. I tried it on my local Linux as well as on my Ubuntu server where I want to get it to work. Can someone help?

(Ubuntu 20.04.5 LTS):

modprobe: FATAL: snd-aloop module not found in /lib/modules/5.4.0 directory

I read snd-aloop is in linux-image-extra and tried to install it too:

 ...
Score: 1
s.k avatar
What can actually trigger the Active status of a systemd target unit, such as suspend.target?
cn flag
s.k

I'm having a server that apparently randomly goes to sleep and I cannot figure out what actually triggers that state in the system logs.

Hence my question: what process(es) or event(s) are able to actually trigger the status of the following systemd target into an active state (e.g. putting the system into sleep) on Ubuntu 22.04?

$ systemctl status suspend.target 
○ suspend.target - Suspend
      ...
Score: 1
user66638 avatar
mysql-server error after upgrading to 22.04
bg flag

Recently I upgraded my Ubuntu server to 22.04, but in apt I get error:

ERROR: Unable to start MySQL server:
mysqld: error while loading shared libraries: libevent_core-2.1.so.7: failed to map segment from shared object
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: ...
Score: 1
Metin Bulak avatar
How to create subdomain using BIND and domain name server
ng flag

I want to understand the dns and configuration domain. It is simple to configure using cpanel but I want to configure on server using BIND tool. How to bind subdomain using name server like test.domain.com

ERR_NAME_NOT_RESOLVED

I bought a domain from a hosting firm.

ns1.xxxxx.com  
ns2.xxxxx.com

Contents of File: /etc/named.conf

options {
    listen-on port 53 { any; };
    listen-on-v6 port 53 { ::1; ...
Score: 5
Copy file names / file paths to clipboard in Krusader like in Total Commander
it flag

How to configure file manager Krusader to copy names or full paths for selected files / directories like in Total Commander?

Related question: Shortcut to select / copy current directory in Krusader file manager

Score: 0
Firoz avatar
Mounting network storage
ph flag

I want to mount network storage on my Ubuntu servers via fstab by adding all the domain credentials. But we want to secure credentials from fstab and it should still be mounted on the host always and also get auto-mounted whenever we reboot the host. This flow works fine if I enter password in a plain text file or credentials directly in fstab file.

Format of /etc/fstab file-

//<network source path ...
Score: 0
mr 2aaj avatar
no internet connection after disconnected form cisco in terminal Ubuntu 20.04LTS
US flag

when I disconnected from cisco vpn in terminal cant access to internet anymore until reboot the system

I also use

sudo service network-manager reload



sudo killall vpn



systemctl restart NetworkManager

sudo service network-manager restart

but don't work for me and I must reboot the system to connect internet again . . .

Score: 2
Dareth avatar
Trouble installing AMD drivers on Ubuntu Studio
mk flag

I am trying out Ubuntu Studio 22.04.01 and was trying to install the latest AMD GPU drivers. My card is a 5700XT, and I downloaded the drivers here.

After following their instructions to install the package, and then following the instructions to use amdgpu-install --vulkan=amdvlk,pro, I keep receiving this error message here:

Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://securit ...
Score: 2
MatthewSan avatar
Unable to locate package ncurses
hu flag

I was trying to install ncurses on Ubuntu 22.04.1 LTS with the following line:

sudo apt-get install libncurses6-dev libncursesw6-dev

I get this output:

Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libncurses6-dev
E: Unable to locate package libncursesw6-dev

Any idea how I can fix this?

Score: 1
Joseph avatar
Error trying to shrink a LUKS container with KDE Partition Manager
ro flag

In order to make space for an additional unencrypted FAT32 partition on my SSD, I am trying to shrink an existing LUKS Container.

To this end booted on a LUBUNTU Live USB 22.04.1, launched KDE Partition Manager, unlocked the LUKS Container, successfully downsized the logical volumes inside and in a final step tried to apply a resize/shrink to the container.

this produced the following error:

Date:   8 O ...
Score: 0
jwk avatar
Sonos music library on 22.04
ru flag
jwk

I have been sharing a music directory through Samba on several versions of Ubuntu, going back at least to 18.04, perhaps further, and before that on numerous releases of Red Hat. I use this shared directory for the music library on Sonos.

This has all worked flawlessly, until I upgraded to 22.04, and then the share was no longer available to Sonos, although it is still accessible through Windows  ...

Score: 1
Peter Baker avatar
How to disable the shortcut "press super key twice" in 22.04
md flag

The system shortcut has be added from 22.04:

Super or Super + S to get into Activities overview.
Hit Super twice or Super + A for ‘Show Applications’ (app grid) screen.

How do I disable the shortcut for "press super key twice"? I don't need it because simply pressing Super + A brings me to the 'Show Applications' screen.

Score: -1
BiggestUbuntuNoobie avatar
How to get rid of skype completely and for good? GPG error
ng flag

I got big problems with Skype application on ubuntu 22.04. There was a lot of bugs and I finally decided to remove this app and switch to web version. I uninstalled this but skype still hold to something in my system.

When I am trying to execute: sudo apt update I get this:

$ sudo apt update
Hit:1 http://pl.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://pl.archive.ubuntu.com/ubuntu jammy-u ...
Score: 1
x300n avatar
Google chrome won't open after upgrading Ubuntu to 22.04
gq flag

Rebooted multiple times. Removed all ~/.cache/ ~/.config /opt/google/chrome folders. Installed latest stable version from Google website.

It launches with with a new tab that's loading forever, I can't access settings or nothing.

If I run it from the terminal, it launches and throws this error:

dri3 extension not supported

I couldn't find a solution for this error, could this be related to the Nvidi ...

Score: 2
xbindkeys in ubuntu loses mouse button presses on some windows
ec flag

I'd like to assign my forward and back buttons to switch workspaces. I've made scripts called "goleft" and "goright"

and added this to my xbindkeysrc

"~/bin/goleft"
  b:8 + Release

"~/bin/goright"
  b:9 + Release

it ALMOST works. The back and forward buttons run the commands, but only when I click on some windows, like chrome. not when i click on a terminal, or the ubuntu desktop. there the button press ...

Score: -1
ajcky avatar
How to make xinput change permanent?
sc flag

My Laptop's touchpad was not clicking on taping. so i searched for google, and found that on running this

xinput --set-prop "ETPS/2 Elantech Touchpad" 272 1

(272 is "Tapping Enabled") it started working. But the article which i was reading said that it won't be parmanent. So i created this file named 99-libinput.conf and puted it in /etc/X11/xorg.conf.d/ , saved it and rebooted my laptop but it still d ...

Score: 1
user2342558 avatar
Ubuntu 22.04 evince "Save Current Settings as Default" not working
co flag

I just installed Ubuntu 22.04 and already tried the option "Save Current Settings as Default" in Evince.

This setting seems to work only for the already opened pdf files, not for the new ones.

Steps:

  • open a pdf with evince
  • maximize the window
  • set "Save Current Settings as Default"
  • reopen it: it opens maximized
  • open a different pdf: the window isn't maximized

Evince has had this problem for at lea ...

Score: 1
How to have Alt+Shift shortcut for language switching and be able to use other shortcuts that contain Alt+Shift combination keys?
it flag

I configured language switching by Alt + Shift combination by means of Ubuntu Tweeks. But after that other shortcuts that include Alt and Shift keys stopped working. For example, Ctrl + Alt + Shift + T in PyCharm IDE.

As work around I configured Left Alt + Left Shift for switching language. For it to work standard shortcut Win + space and all other language switching shortcuts must be disabled. Aft ...

Score: 1
Thunderbird retains access to old DNS entries, how to purge them?
in flag

So, I have a pihole and I'd blocked an address in the pihole (www.tm.ak.prd.aadg.trafficmanager_net [address munged on purpose]) which caused login to login.microsoftonline.com from a browser to fail, and also caused Thunderbird to fail to login to outlook.office365.com to use IMAP. I've removed that address from my pihole blacklist and now nslookup/mtr return expected results (whilst they didn't before), ...

Score: 2
user2342558 avatar
Ubuntu 22.04 dock with extra space between the left edge of the screen and icons
co flag

I just installed Ubuntu 22.04.

The application icons on the dock are left-padded from the left edge of the screen.

This setting does not let me open an application by clicking it by passing easily the mouse through the left edge of the screen, as I done in the previous Ubuntu versions.

How to remove that extra space?

I already searched inside dconf-editor.

Thanks a lot

enter image description here

Score: 0
5a01d01P avatar
Dual Boot with SSD and HDD
ua flag

I have SSD in that I have installed a Ubuntu 20.04 and HDD in that I have installed WINDOWS os. I am using HP laptop with 12 GB RAM. So I would like know How can I manage dual boot like when needed I can switch OS for my use? Mainly I am using Ubuntu but sometime needed windows. SSD size is 240 GB, So I don't want to install windows in that.

Thanks

Score: 0
onedumbquestion avatar
ddclient not working with namecheap on ubuntu 22.04
ph flag

This is my /etc/ddclient.conf:

daemon=300
ssl=yes
use=web
web=dynamicdns.park-your-domain.com/getip
protocol=namecheap
server=dynamicdns.park-your-domain.com
# First Domain
login=firstdomain.com
password='password'
@.firstdomain.com, *.firstdomain.com
# Second Domain
login=seconddomain.com
password='password'
@.seconddomain.com, *.seconddomain.com
Score: 0
Ishfaq Rather avatar
Unable to find /home/username
fr flag

I was installing a software app on Ubuntu 22.04. After installation was complete, my system shows this:

screenshot

I can't find my home, document, desktop folders. I think while installing the software, I choose the path to /home and it overwrote everything. What should I do now? Any solutions please

I was installing mathematica software via the terminal. It showed that the default path /usr/local/wolfram/mathem ...

Score: 1
s.k avatar
Dell server is no more accessible after entering sleep state: kernel: PM: suspend entry (s2idle)
cn flag
s.k

[Original post title: "Ubuntu regularly shut down on a SSD NVME disk (LVM) on a physical server"

The beginning of the post is kept for historical reasons, but the edits hereunder tends to show this is an issue with a suspend state being triggered, and the system not able to wake up afterwards]

I am using an Ubuntu physical server (Dell Precision 7920 Rack) (I do have a physical access to it) which r ...

Score: 0
sudoer avatar
Adwaita on Xfce
kh flag

I like the default theme of Ubuntu but want to keep Xubuntu because it is lightweight. Is it possible to install Adwaita theme on Xfce?

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.