Latest Ubuntu related questions

Score: 0
Vikas Goel avatar
Sony Noise-Cancelling Headphones (WH-1000XM4) on Ubuntu 22.04 gets reset to HFP (Hands Free Head Unit)
my flag

When I try to connect my Sony WH-1000MX4 headphones to my laptop - running Ubuntu 22.04, it connects as Handsfree Head Unit (HFP) mode and if I click the Test Sound option - it is in mono mode. The sound quality is pretty bad.

On manually switching to the "High Fidelity Playback (A2DP Sink)", it gets reset to HFP mode. I have tried resetting the connection/ completely unlinking the Bluetooth devi ...

Score: 0
Diego Manzanares avatar
Creating a similar approach to Intune deployment system based on MAC addresses
jp flag

I have an Ubuntu 20.04 server running under Google Cloud with a static public IP assigned and a bunch of clients which have to be configured using a common image for all of them. I want to configure the server for it to become a deployment profile system (kind of similar to Intune with Autopilot) but based in the client MAC addresses (as they are known by me) for the clients to connect to this server an ...

Score: 0
Brian Tracy avatar
How to recover Ubuntu 20.04 login password?
ls flag

I've seen the post below, and I've reset the root psw, but I'm still unable to login via RDP. I use mRemoteNG to login, not sure why I'm unable to login. At Ubuntu login page I get:

User: root (can't change it) Then I type the password that I use to SSH

SSH works fine, but Ubuntu doesn't login via Remote Desktop
A month ago I was able to login, but now I'm not sure why the password doesn't work anymore..

Score: 0
Marcus avatar
Where is the current development repository of the Ubuntu Mainline kernel?
jo flag

For (I believe) a long time, the development repository of the Ubuntu Mainline kernel has been git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack.

However, this repository hasn't been updated for a while. The latest published Mainline kernel is 6.2-rc5, while the latest kernel in the repository is 6.1-rc5.

What happened? Is there a new repository, or is the mainline ...

Score: 0
How do you uninstall an app on Ubuntu Linux that displays in Show Applications, but is not "installed"
vn flag

Checked /bin, /usr/bin, the name of the program was not there. I grepped for it in my systemwide and there is a .py file with the name of the app, so [app].py. I had two versions installed and one was uninstalled easily with apt-get remove. The other is not listed in apt-cache nor in snap.

So, I don't know where these [app] files are, but I would like to remove them.

whereis [app].py returns empty.

 ...
Score: 1
Mahler avatar
After reboot sound goes through loudspeaker, not through wire headphones
in flag

There is Ubuntu 22.04 Jammy on the Dell laptop. When I attach wire headphones they work normally. However, the sound goes through loudspeaker after rebooting the computer. I think it is a small bug. I fix it reinserting the headphones. Is there a way to force the computer remembering that headphones are plugged?

Score: 1
npsr avatar
MadDog GM302 not working well on ubuntu 22.04 and external sounblaster x5
pf flag

card: SoundBlaster X5 (via USB 3.0) mic: MadDog GM302 os: Ubuntu 22.04

I've tried solution from: this topic

It works ... semi works. Mic in apps like skype working "fine", but audacity and the others getting a very silent signal. After amplify effect I hear my cooling system and other noise.

Any idease, whats wrong?

Score: 0
muaaz avatar
Headset mic is not shown
fi flag

I know this is a very known problem but I did not find any answer that solves my problem
I have Ubuntu 22.04 (Jammy) newly installed on my lenovo-ideapad-330 machine.
My Headset have one jack for input & output.
Also tried some solutions which I found on several websites

First: editing /etc/modprobe.d/alsa-base.conf and I did not complete this step because I Cannot find ALC236 in this link https://w ...

Score: 0
Carlo avatar
How do I create a local server instance from a vhd downloaded from Azure?
cx flag

I'm using Ubuntu 18.04. I need to create a local server instance from a vhd downloaded from azure. So far I have downloaded the disk image and created a local vm. I can log in normally, but the main problem is that the internet is not working, and it should get an address from dhcp. I assume it's the drivers.

What is the procedure to get this working? I would like to avoid any work on the product ...

Score: 3
How to make Ubuntu 22.04 work with a Radeon RX 7900 XTX?
de flag

I know that for such new hardware would be better to use a rolling release distro or at least the latest 22.10, but I was wondering if with some tinkering it is still possible to get the latest LTS to work.

As far as I know, to get a 7900 XTX to work on linux you need at least these:

  1. Kernel 6.x+
  2. LLVM 15+
  3. Mesa 22.3+
  4. latest linux-firmware for /lib/firmware/amdgpu/ (and rebuild initramfs)

Is it poss ...

Score: 0
Nital avatar
How to enable a specific port on Ubuntu version 22 so that it is accessible to outside world?
in flag

How to enable a specific port on Ubuntu version 22 so that it is accessible to outside world?

I am already logged into the server through ssh using port 22 and able to successfully execute all the commands.

I have enabled the ufw firewall and also enabled ports 22, 80 and 22786.

Both 22 and 80 are fine and accessible but not able to access 22786 from outside world.

Do I need to change some other firewall  ...

Score: 0
Lalla Andersson avatar
Alsa creates driver with 32 bit sampleformat. I need 24 bit
hr flag

I have Asus Vivobook Pro 15 oled,with Ubuntu 22.04 in dual install with Windows 11. I have installed Ubuntu studio audio including lowlatency kernel. My sound card is PreSonus audiobox 1818vsl. In Studio Controls and Qjackctl I set realtime mode with performance. But I don't get lowlatency result. I could not get lower buffer size than 128 with 48 khz sample rate and 2 periods, same as with generic k ...

Score: 1
pavan sai avatar
Ubuntu keeps switching back to light theme
eu flag

I am using Ubuntu 22.10 and it keeps switching back to light theme even though the dark theme option has been selected. My System Snap

Please let me know how I can fix this. Thank you

Score: 0
Danyil Rozumnyi avatar
How to create periodic automatic reboot with jobs prior and after reboot?
mg flag

Currently I have a Minecraft server running on a remote PC with Ubuntu server 22.04.1. I would like to create a job which would restart the PC itself while properly shutting down Minecraft server prior to reboot afterwards it should execute /opt/minecraft/run.sh inside a newly created screen session. I am very fresh into Linux and it was my first project with it.

Score: 0
aydunno avatar
Distortions with external microphone
jp flag

Im having frequent noise in every recording which lasts about 1 minute and occures every 2 minutes.

Duration and time beween the noise is always the same. I suspect its a problem with the driver or the pulseaudio config.

See this screenshot for details: https://i.stack.imgur.com/C2SJT.jpg

What can I do?

Thanks

Score: 0
Brian avatar
Changing back to 1920x1080 not working after switching to 1280x1024
gh flag

I went to displays in settings and switched by resolution to 1280x1024. Now I can't switch out of it. I was in resolution 1920x1080 but I can't go back. If I plug it into another HDMI slot it goes back to 1920x1080 but now this HDMI slot is stuck in 1280x1024.

I've also tried via the command line. When I type xrand -q I get the below

Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 16384 x 16 ...
Score: -1
Ayaan avatar
ns3 installation error
tf flag
NS3_MODULE_PATH = ['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/usr/lib/wsl/lib', '/mnt/c/Program Files/Common Files/Oracle/Java/javapath', '/mnt/c/Windows/system32', '/mnt/c/Windows', '/mnt/c/Windows/System32/Wbem', '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/', '/mnt/c/Windows/System32/OpenSSH/', '/mnt/c/Program Files (x8 ...
Score: 1
Jorn avatar
Missing desktop icons after upgrade to 22.04
mx flag

While on 20.04, I had some *.desktop files in ~/Desktop. Those worked and properly displayed an icon on my desktop.

After the upgrade to 22.04, the icons are gone. Google told me the files should be in ~/.local/share/applications, so I moved them there, but that hasn't helped.

desktop-file-validate (from desktop-file-utils package) says the files are valid.

How do I get my desktop icons back?

Score: 0
VELFR avatar
How to enable Dock to show custom app Actions?
gf flag

For some pre-installed apps (e.g. Firefox) Dock icons, be it favorite or opened, are able to show additional Actions specified in their .desktop files (e.g. as [Desktop Action open-profiles] with Name=Open Profile Manager and Exec=firefox -P in ~/.local/share/applications/firefox.desktop).

Exact same config, however, doesn't allow another Firefox-based browser .desktop launcher to show custom actio ...

Score: 2
Anurag Srivastava avatar
Ubuntu 22.04.1 LTS - Hibernate does not work with certain programs open
at flag

Linux newbie here! I recently installed Ubuntu 22.04.1 LTS on my system.

Now I'm aware that hibernate is not enabled by default, so I followed these steps to enable the hibernate option. Some answers on this site also suggested increasing the swap file size, so I increased it to 15.0 GB. My system has 8.0 GB of RAM

The Situation:

After the above steps, normally I'm able to hibernate if I have only a f ...

Score: 0
Kevin O. avatar
Bash script to get the variable expansion within a section of code that requires single quotes around it
ch flag

I have a command (snmptrap) that requires input strings to be in single quotes. Within a bash script, run this command which I need to insert a variable and expand it. I have tried numerous variation but to no avail. I have also search several web sites to find a similar situation, but no help.

DT=`date '+%a %b %d, %Y at %H:%M:%S'`

Dev="1#.##.##.147"  

DESTINATION=$Dev

VAR3="DATA_TRANSFER_NAV ...
Score: 0
sekthor avatar
Getting the dark window bar back; Folder path in file manager still white
kg flag

The default themes on ubuntu 22.04 have retired the dark window bar with a light theme. I do however enjoy that combination and wish for it to be back. With Gnome Tweaks and the yaru-bark theme, I managed to to so.

However, in the default filemanager, the file path is still light and unreadable. It changes to dark when I hover the cursor over it, but I would like it to always be dark.

How can I achieve  ...

Score: 0
Bob Barrett avatar
using make command
lu flag

I'm following the author's instructions on getting started with c++20 for lazy programmers.The instructions were go into external/SSDL/unix then type make. I did that but got error message. here is what i saw in the terminal.

/Desktop/lazy/cpp20/external/SSDL/unix$ make
make -C bin/shared
make[1]: Entering directory '/home/michael/Desktop/lazy/cpp20/external/SSDL/unix/bin/shared'
g++ -c -fPIC `sdl ...
Score: 0
Zeynel Gökçek avatar
Ubuntu 18.04.6 Intel Irıs XE
cy flag

I have installed Ubuntu 18.04 recently.Then I assumed that it is not working properly. So ı have started using 22.04 version. But ı have to use 18.04 cause of ROS melodic. (I have a project to modify). Ubuntu 18.04 can not detect my GPU Irıs XE so it works really bad and I cant adjust the brightness so everyone is a little dark to me :) If anyone can help ı am open to suggestions. Thanks anyway Zeyn ...

Score: 0
simon avatar
i have a problem with my bluetooth on ubuntu 22.04 not searching
mz flag

My laptop Dell Latitude e5400 is not searching Bluetooth devices and yet it shows it has in built Bluetooth module.

I updated Blueman and Bluez but it still shows connection to Bluez failed. I will be glad to be supported because am new to ubuntu (xubuntu).

This is the error it shows after opening Bluetooth manager:

Score: 0
elliott bellamy avatar
Keep getting logged out
US flag

I recently created a fresh install of Ubuntu 20.04 (20gb root, 50gb home, 64gb swap), and installed KDE-plasma desktop. After being on the KDE desktop, when installing some new bits of software (tested with apt and pip3), or moving relatively large files (> 20mb), both monitors black out and I'm kicked back to the login page with all the windows closed. Any idea what could be causing this? I've teste ...

Score: 0
Avishek avatar
Make port 80 globally accessible
tj flag

I am trying to set up a VPS server (Ubuntu 22.04 LTS) bought from Microsoft. I am able to set up NGINX on my own by watching this tutorial. After setting up all the configs stated in the video I ran nginx -t to confirm if all the setup was correct. It ran without any error. Now the main concern is in the tutorial it is using Hostinger provider which by default made port 80 public but in my VPS it is  ...

Score: 0
Edward Newgate avatar
Installing ubuntu 20.04 with dell inspiron dt5410 gives blank screen
sz flag

As soon as i press install, i get blank screen.Tried also with ubuntu 22.04 but same result

Score: 1
How to correct bad auto netplan configuration of wpa_supplicant Ubuntu 20:04
cn flag

I use Ubuntu 20.04 desktop on a Raspberry Pi 4 and I am trying to configure netplan. I have seen How to configure wpa_supplicant in Ubuntu server 20.04. I configured netplan to connect to wlan0 and it worked. I also configured /etc/default/crda by putting REGDOMAIN=IT,
but on the wpa_supplicant log I see:

wpa_supplicant[910]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=DE
Score: 0
Shaig Hamzaliyev avatar
Cannot install anything in command prompt
to flag

I was trying to install pcl library like this : sudo apt install libpcl-dev. sudo apt-get -f install this command wasnot running too I tried install something couple of days back it did not work either

Tried googling and tried some solutions but still nothing (even some of the solutions did not work):

'Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 622 not  ...

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.