Latest Ubuntu related questions

Score: 2
njlarsson avatar
Set default audio output when there's only one sink
in flag

I fresh-installed Ubuntu 22.04.1 LTS (after previously using 18.04). The sound configuration menu has these output choices, of which the second choice (the S/PDIF) is the one I use, and choosing it makes the audio work just fine.

audio output menu

But after each reboot, the audio output is reset to the HDMI output, and I need it to default to the S/PDIF. The solutions I've found (and used on previous installation ...

Score: 2
Sit399 avatar
Apache virtualhost port 443 serves content from port 80 configuration
ng flag

I'm running Apache 2.4.52 on Ubuntu Server 22.04. I'm trying to run https through port 443, eventually aiming to have a redirect from port 80 to force content on https. However, Apache seems to be using the DocumentRoot from the port 80 config, despite the browser connecting to the https url and being served the right SSL certificate.

For example:

<VirtualHost *:80>

        ServerName [mydomain ...
Score: 0
CRASH /duplicity-full.20230105T083600Z.manifest /duplicity-full.20230105T083600Z.vol20.difftar.gz
jo flag

I had a major crash of files shown above multiplying. could not get in laptop for days. running latest ubuntu jelly which not as satisfied with as 20.04. planning on running a virus scan.?

Any one have idea why files from internet would accumulate like this? There were rows and rows of the duplicity. they were all over my desktop and could not delete at first. also, having trouble in command line ...

Score: 1
Sun Bear avatar
How to install PIL or Pillow in Ubuntu 22.04?
cn flag

In Ubuntu 22.04, I discovered that the Python Image Library (PIL) or (Pillow) is preinstalled

$ pip3 list -v | grep Pillow
Pillow                  9.0.1           /usr/lib/python3/dist-packages

However, its latest version is 9.4.0 and I want to use that.

Should I do (1) or (2)?

  1. python3 -m pip install --upgrade Pillow
    
  2. python3 -m pip install --user Pillow
    

If --upgrade is used, it will upgrade Pilo ...

Score: 0
Florian107 avatar
UEFI BIOS does not list nvme
ca flag

I currently run Ubuntu 22.04 on a small ssd (sdc). I would now like to move to larger drive. Therefore I connected a nvme to the M2 port of the motherboard (Gigabyte ga-h97-d3h_f7) and installed 22.04. Problem: the BIOS doesn’t list the nvme and I cannot boot from it.

Additional information:

  • Board supports M2
  • SATA Port enabled in BIOS
  • SATA Mode Selection set to AHCI
  • BIOS upstated to latest vers ...
Score: 0
Anton Wessel avatar
bash handles comments sometimes as commands in regards to writing to history list, what can I do?
ws flag

I have now by updating got a new version of bash, instead of v590 now v5.2.15(1) (i681-pc-linux-gnu) in Kubuntu 20.04 and KNOPPIX 9.1.

But in this respect the behavior is the same.

Bash manpage says, that words beginning with a hash "#" and all remaining characters on the line are ignored.

But in contrast, bash comes into a condition that it writes out-commented lines into the history list as if they w ...

Score: 0
DealTime444 avatar
Is there any way to make game controller input prevent screen blanking on 22.04? (GNOME 42 / Wayland / Mutter)
gi flag

Ubuntu does not seem to recognize input from a Sony DS3 controller as able to prevent screen blanking. The controller itself works, but this problem can be replicated when trying to play games on certain emulators that don't support gnome idle-inhibit, namely the Flatpak versions of Duckstation and PCSX2 (there are no snaps for these).

I found this: https://github.com/foresto/joystickwake

It has a PPA,  ...

Score: 0
Ram avatar
Installing hyperledger fabric binaries
hm flag
Ram

While installing fabric binaries using this "curl -sSL https://bit.ly/2ysbOFE | bash -s" getting error "curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to raw.githubusercontent.com:443"

Why ?

Score: 0
Gnome Disks - "ATA Enchanced Secure Erase" disabled
sc flag

The "ATA Enchanced Secure Erase" option for my SSD is disabled in the Gnome Disks utility on Ubuntu 22.04 - how to enable it?

Score: 0
trisct avatar
Difference between pip wheels tagged manylinux2014 and manylinux_2_27?
er flag

I am trying to install the taichi package on two computers. I did as follows:

pip install taichi

However, on computer A the downloaded pip wheel is tagged manylinux2014 and on computer B it is tagged manylinux_2_27. The former wheel lacks one functionality I need. So I need to install the latter on computer A. However, when I manually download the wheel tagged manylinux_2_27 and pip install it, I ge ...

Score: 1
Trying to create a custom RAM-backed Ubuntu Live USB with optional persistence
jp flag

I've been racking my brain trying to figure out the best way to do this. It might sound a bit confusing, so let me explain the "why" first.

I already have a Linux live USB stick (on a high-end 256GB Samsung USB stick that's as fast as an SSD, it works great!) But what I want is to create a different Linux USB stick(s) only for performing basic bulk tasks like cloud restores or running the same mai ...

Score: 1
splaytreez avatar
Customizing shortcuts and keyboard layering (not with regular settings, they're too limited)
am flag

I'm trying to create these shortcuts:

  • Remap ctrl+c,v,x to ctrl+j,k,q because I'm using Dvorak layout.
  • alt+i,j,k,l to arrow keys. And it must work with the other modifiers, like shift+alt+l -> shift+right.

I used to have this on Windows, configured with a really great app AutoHotKey. But on Linux, surprisingly, there are no such straightforward options.

What doesn't work:

  • Regular settings. I can't ev ...
Score: 1
Marca85 avatar
How to create a Multipass instance with custom installed softwares and share it with others
gy flag

I would like my students to use a specific version of Ubuntu with custom-installed software (ROS and Gazebo, software for robotic applications). In addition, my students might be running Windows, Mac OS, or Linux.

To simplify the installation on their side, I am thinking of using Multipass and sharing with them a pre-installed instance of Ubuntu with Gazebo and ROS already installed. Is it possib ...

Score: 0
Obsidian avatar
What does -t do in the sshd daemon?
sz flag

I had a bug where sshd would not honor sshd_config, so sshd would listen on the default address and port, instead of the port and listen address I wrote in /etc/ssh/sshd_config. After a few days of troubleshooting, it fixed itself when I removed the -t option from the ExecStartPre line in the service /lib/systemd/system/ssh.service.

I've read the man page for sshd and the -t option but I don't ful ...

Score: 0
Raúl avatar
Ubuntu 22.04 wifi hotspot and associated ip addresses on mac
fi flag

I have an installation of Ubuntu Desktop 22.04 on a NUC without connecting to any displays. The NUC is connected to the internet via ethernet and I want to use the Wifi adapter to create an access point for home automation devices. I want to be able to manage everything from SSH since I don't have a screen connected. I have created an access point with netplan and it works correctly but I cannot assign  ...

Score: 0
Yu Chen avatar
Can't run abaqus in ubuntu Ubuntu 22.04.1 LTS with GPU(CUDA) accelerator. Initializing the CUDA Driver NO_DEVICE
nu flag

When I run run abaqus2022 with abaqus job=jobname cpus=4 gpus=1 int. The following error message will appear.

USING ACCELERATOR PLATFORM_CUDA
Error initializing the CUDA Driver NO_DEVICE
WARNING: GPUAcceleration disabled

Here is the environment of my computer

NVIDIA-SMI 525.60.11    Driver Version: 525.60.11    CUDA Version: 12.0   
NVIDIA Corporation GA100GL [A30 PCIe]

i use nvidia-driver-525-o ...

Score: 0
Mj Ebrahimzadeh avatar
How should I limit active ssh connections
ao flag

I have added this myuser hard maxlogins 1 to /etc/security/limits.conf and it works ok if I run ssh myuser@xxx.xxx.xxx.xxx in command line. but if I run ssh -p 22 -N -D 5060 myuser@xxx.xxx.xxx.xxx, I can run unlimited concurrent connections. Is there anyway to limit this type of ssh?

Score: 0
ali avatar
Ubuntu 20.04 screen green flickering Lenovo IdeaPad S145-15AST
ec flag
ali

i did use ubuntu for more than a year on this laptop last a few days i used HDMI cable, today for a few hours i did use a new cable "longer one" now suddenly my laptop display went green as you can see https://launchpadlibrarian.net/644322972/20230104_215719.jpg

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2001721

Score: 0
jamshark70 avatar
Lenovo Thinkbook 14 vs Ubuntu Studio 22.04: Trackpad problem
ee flag

Using Ubuntu Studio 22.04 on a Lenovo Thinkbook 14. KDE Plasma 5.24.7.

When I boot up the system, everything is fine for awhile.

After some time, the trackpad becomes unreliable: slow, jittery movement, maybe it gets stuck in scroll mode. Nothing fixes it except a reboot. I don't like to reboot.

I have been unable to find out what is the kernel module for the trackpad on this system -- multiple web sea ...

Score: 0
147pm avatar
phpliteadmin won't accept my directory
tk flag

I have a system-wide apt install of phpliteadmin 1.9.8.2 on Ubuntu 22.10. In my /etc/phpliteadmin.config.php file I've tried to give a directory

$directory = '/home/homedir/Dropbox/org/databases';

but this produces

The directory you specified to scan for databases does not exist or is not a directory.

I assume this is some permissions problem? The directory does exist and has two sqlite databases ...

Score: 0
Raúl avatar
Fixed ip in WiFi adapter via netplan
fi flag

I want to establish a fixed ip to my WiFi adapter in Ubuntu 20.04 from netplan but I always get an error "No access points defined" when I run "netplan try". Is it possible to do this from netplan?


Finally I managed to do it. This is my netplan file:

network:
  version: 2
  renderer: NetworkManager
  wifis:
    wlp3s0:
      dhcp4: no
      addresses:
        - 192.168.212.100/24
      access-poi ...
Score: 2
Sen8Sei wowdev avatar
Can't install Ubuntu onto internal hdd from usb
uz flag

Solved see answers below

I am trying to install version 22.04.1 LTS of Ubuntu desktop from a bootable usb onto my laptop's internal hdd. I completely want to replace Windows. My laptop has a 750GB hdd and I am using a usb of 4GB, those two drives are the only available options I have, I am learning

Some context: Windows 10 became corrupted due to some bad shutdowns, tried everything from recovery mode t ...

Score: 0
John Doe avatar
Bluetooth headset is connected but there is no sound
re flag

enter image description here

The Output device is just standard (but my headphones are not there among those devices).

Headphones are recognized (when running connect mac-address).

Score: 0
vahed avatar
Tried to install kernel 5.14.0-1055 but got an error
to flag

Tried to install kernel 5.14.0-1055 but got the error

Internal Error, No file name for linux-headers-5.14.0-1055-oem:amd64.

I was using Synaptic Package Manager. Other than that error, it appeared to install. But later when I rebooted the machine I found that the initrd.img-5.14.0-1055-oem file was not specified in the GRUB configuration file and did not exist in /boot. So I ended up booting the old ...

Score: 0
Recently Updated Ubuntu user avatar
Ubuntu 22.04 ethernet GUI question when I turn it off, it turns on again soon after
cn flag

(Ok, I can't get a screenshot)

Up in the top right corner, I have the network icon.

Clicking on it:

Wired connected

Then under that:

Turn off

I do that and the network icon goes away.

The network is OFF.

But a few seconds later, it comes back on.

It didn't used to in any/all previous releases.

Someone, please. What's going on?

How can I use the GUI to turn it off and have it stay off until I then turn  ...

Score: -3
Hasan Ali avatar
When will Ubuntu be getting the new file picker that Gnome got
in flag

I am referring to the infamous filepicker bug that got recently (months ago) fixed on Gnome. Any idea on when we can expect the fix to be used on Ubuntu?

Score: 0
unattended-upgrades.service using an outdated library in Ubuntu 22.04
vn flag

Whenever I execute an apt-get upgrade, I am confronted with a popup telling me that two of my daemons are using outdated libraries, and I am asked whether or not I wish to restart those services.

One is unattended-upgrades.service, another is the networkd-dispatcher.service. Both services run after a reboot of the server, but are not restarted after an apt-get upgrade unless I manually select them in the ...

Score: 0
amit avatar
Anydesk 6.2.1 is not working properly on ubuntu 20.04
sl flag

Anydesk 6.2.1 is having problems connecting to the remote computer. It doen't show any error but take endless time to connect.

Score: 0
udippel avatar
Basic DLNA Server; like - cough - on W10
cn flag

What I am trying to achieve: similar to W10, where I can right-click on a file, and thereby send a video to the DLNA client. Nothing else.

By now, I have spent some days, and installed some software, from Rygel to HMS. HMS would be a complete overkill, and comparatively difficult to use. Rygel kind of produces a server.

My client isn't smart, has limits of files that can be processed, and I have so ...

Score: 2
theno35 avatar
How to disable scroll wheel on Ubuntu?
bv flag

my mouse's scroll wheel has a mind of its own and I'd like to disable it, I've tried searching online but only found outdated posts. My version of Ubuntu is 22.04 LTS with X11. If possible I'd also like to remap my mouse's side buttons to scroll up and down. How can I do this? If possible using AutoKey I'd like someone to explain to me how to use it because I have no idea.

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.