Latest Ubuntu related questions

Score: 0
Tektite avatar
xsetwacom settings lost after switching to another computer with kvm switch. Ubuntu 22.04
cz flag

I have a few Wacom settings that I have loading at startup, but they are lost when I switch off my monitor to use another input and then come back. I have been trying to figure out some way to trigger the script again at that point. If I could find some way to make these settings permanent I would be so happy. Thanks!

xsetwacom --set "Wacom Intuos S 2 Pen stylus"  Button 2 "pan"
xsetwacom --set "Wa ...
Score: -1
ImBr avatar
Issues with amdmemtweak: Couldn't open DRI under debugfs : Permission denied Cannot find DRI instance for pci:0000:06:00.0
ke flag

Im trying to use amdmemtweak with ubuntu 22.04 and amdgpu drivers installed from their website. I need the opencl driver to use with mining. Im unable to use amdmemtweak.

Couldn't open DRI under debugfs : Permission denied Cannot find DRI instance for pci:0000:06:00.0

Score: 0
nobody avatar
lubuntu after waking up from suspend no sound wired headphone only
gh flag

I'm running lubuntu 22.04 on a lenovo T430 notebook Whenever I suspend it with my headphone connected I have no sound over this port. re-plugging does not help. Restarting pulseaudio service an socket also not.

  1. I thought tlp is to blame so I removed it.

    Card sysdefault:0 'PCH'/'HDA Intel PCH at 0xf2530000 irq 29'                                                                                            ...
Score: 1
Pouria Moosavi avatar
Detect if app is really playing something or is silence
cn flag

I need to determine how much sound is really coming out from specific application as a number from terminal. (this is called silence in pavucontrol) I don't want to detect application current volume or if it's state is running.

I can see what I need in PulseAudio volume control. For example now both firefox and spotify are running but spotify is not silence.

enter image description here

I just want to detect the same thing in termin ...

Score: 0
Radevic avatar
Create a multiboot flash drive for Windows using Yumi app
se flag

I want to create a multi-boot flash drive for Windows, using only the Yumi app.

Is it mandatory for me to add Ubuntu ISO to create my multi-bootable flash drive even when I don't need Ubuntu?

Score: 0
Elvin Jafarov avatar
Give access outside of LAN for Ubuntu 20.04 server with OpenVPN
ie flag

I've downloaded OpenVPN in Ubuntu 20.04 and connecting to server via ssh. If I connect in LAN, everything is fine, if I try outside LAN, then it does not connect to server.

Can you please help me in this matter? I have spent days on this no success.

Score: 0
Joseph avatar
I have problem when saving codes in VSCode
tv flag

I just migrated to Ubuntu. I have a problem when saving codes in VSCode. It keeps asking me to enter the password. It seems that this problem occurs when working with Docker.

image

Score: 0
LaurentY avatar
Output sound stop working randomly with my Jabra speakerphones on Ubuntu 22.10
ve flag

I have a new laptop MSI Stealth GS66-12UH with Ubuntu 22.10. I have a Jabra speakerphones PHS002W connected by USB to laptop.

With Jabra, output sound works perfectly (on Firefox, Chrome, Slack, system-sounds, ...). but randomly, after few times, output sound stop working in all system. When I switch to another output device such HDMI or internal sound card, output sound works.

Here the output of

Score: 1
itzJOH_ avatar
Issues with wired connection on 20.04
bz flag

Wired network stopped working after I switched from Gnome to KDE Plasma and back. I got it working on Gnome earlier, switched to KDE and didn't use wired for some time, today I switched back to Gnome and it doesn't work.

$ sudo ethtool wlp2s0 
Settings for wlp2s0:
    Link detected: yes

$ sudo lshw -c net
  *-network UNCLAIMED       
       description: Ethernet controller
       product: RTL8111/ ...
Score: 0
Mathieu avatar
Create .desktop launcher to start a terminal with a python virtual environment enable
im flag

Despite the similar questions/answers I can find on this forum and on others, I am not able to create a desktop launcher that start a terminal with a python environment activated.

To activate the environment in an open terminal, the command is source /pyvenv/mne/bin/activate.

My best guess, not working, is:

[Desktop Entry]
Version=1.0
Name=Terminal-MNE
Exec=gnome-terminal --window -e "bash -c 'source  ...
Score: 2
Product Division avatar
ModuleNotFoundError: No module named 'cryptography.hazmat.backends.openssl.x509' in ubuntu 22.04
nf flag

During the installation of the Apache superset with the direction from the below link

https://asd.learnlearn.in/apache-superset-ubuntu-22/

We are getting the error shown below:

(venv) skt@admin:~$ superset fab create-admin
Traceback (most recent call last):
  File "/home/st/venv/bin/superset", line 33, in <module>
    sys.exit(load_entry_point('apache-superset==1.5.1', 'console_scripts', 'superset') ...
Score: 0
HAMMAD ALI avatar
Extending the disk space of a server caused a major error on the disk
ch flag

I was extending my VPS disk space and during that process some error occurred and it changed everything. Now I'm not able to access anything.

Current disk status:

Disk Status Right now

There is very important data on the disk. I want to restore my system disks to the previous version.

Previous version of disk:

Previous it does look like this

I want this disk which is marked below.

lsblk command status

Score: 0
Morkafur avatar
How can I access the host OS when using Ubuntu 22.04 or 22.10 with VM Tools Installed?
ie flag

When I install Ubuntu 22.04 or 22.10 on the Mac (using VM Fusion 13), it automatically installs open vm tools. That's fine, good there is no longer a separate Install VM Tools step.

However, no matter what I've tried, I cannot access the host OS (the Mac drive I use for sharing, for example, I set up in VM Fusion). VM Fusion's shared access says the shared folder won't be available until VM Tools ...

Score: 0
Prototype700 avatar
How to unlock encrypted drives on a headless server?
jp flag

I'm planning a homemade NAS-build with the following features:

  • Standard Ubuntu server installation with SSH server
  • Two Btrfs RAID1 drives on encrypted HDDs with dm-crypt
  • NFS shared folders from within the Btrfs RAID
  • Headless/limbless: Box sits in a corner without any display or peripherals

The idea is to have a redundant and checksummed network storage that is encrypted, so no personal data can be r ...

Score: 0
Everdream avatar
can ping IP but not hostname
gi flag

I'm working on WSL2 on Windows 10. I am not able to update, upgrade or whatever packages I want to install.

  1. I tried modifying my "resolv.conf" file as:

    nameserver 8.8.8.8
    

On other IP, it's not working.

  1. I disabled my Firewall from my Symantec antivirus.
  2. Inside the wsl shell, I edit /etc/wsl.conf file as root and insert these 2 lines : [boot] systemd=true

I can now ping DNS but still got theses  ...

Score: -1
DorkyP avatar
Can only ping external IPs
bt flag

I have a headless computer running Ubuntu 18.04. It has until recently been happily operating as a Pi-hole on my wifi (Nest Mesh).

After attempting to install some new bits and bobs on it (Home Assistant, etc.), I found out it does not have internet access. Strangely enough, I can ping my own router, but I cannot ping anything else on the network.

After a bit more fiddling around, I've removed Pi-ho ...

Score: 0
jamshark70 avatar
Ubuntu Studio update will remove fwupd-signed; is this ok?
ee flag

Ubuntu Studio 22.04.

System updater just said: "The following packages will be removed: fwupd-signed (1.44+1.2-3) in order to install (a whole ton of packages)."

I'll decline this for the moment until I have some confirmation that this is recommended. Another thread suggested disabling the service rather than uninstalling the package, but that was Ubuntu 18.xx.

So I'll decline this for the moment unt ...

Score: 0
Andrew avatar
Has my instance of Ubuntu been overwritten?
eg flag

I [Lenovo Thinkpad P15s, Ubuntu 20.04 pre-installed] was in mood for adventure and tried live version of another OS, but booting the live disk ended into GRUB mode (tried making the live disk multiple times, and every time it ended up this way). The adrenaline rush from my previous adventure (resizing my root partition using boot-able version of GParted) persuaded me to set the root and prefix in the GR ...

Score: 0
Wolfgang Fischer avatar
Harddisk always corrupt after installation of Kubuntu 22.10
sl flag

I've got a problem with my computer since a couple of days. I ran a fsck which gave a couple of problems with my filesystem (ext4). A day later my OS was no longer booting. Therefore I tried to reinstall Kubuntu 22.10 from USB Stick but it fails always at around 55% of the installation. It says that the checksum of e.g. libxul.so is failing. I looked with help of the life system into the device and saw  ...

Score: 1
How to automount a USB key when plugged in on Ubuntu 22.04
cn flag

This functionality worked on my 20.04 box, but is not working on my 22.04 install.

When I plug a MicroSD drive into an SD->USB device and plug that into Ubuntu it is seen as /dev/sda1, but it is not automounting. I would like it to automount as the user I am logged in to the GUI as (or just user 1000 - I'm the only human logging in to the box)

I am manually able to mount the drive with the comm ...

Score: 0
Martin AJ avatar
How to connect php-fpm with nginx?
be flag

I have a server that uses Nginx and PHP-FPM (PHP v7.4). It was working as well, I executed the following command for some reasons:

apt-get --purge remove php-common

After that, I executed this:

apt-get install php-common php-mysql php-cli

Commands executed successfully, but I get 502 error when I want to access websites on the servers:

enter image description here

It should be noted, there are several projects on this server. An ...

Score: 0
0x539 avatar
screen turns black but not off (when idle)
in flag

I have gnome set to blank the screen after 8 minutes of inactivity, but sometimes instead of turning the screen of (like xset dpms force off does) it will just go all black (but still consume power...). Any suggestions on how to troubleshoot this?

I'm using Ubuntu 22.10 with Gnome 43.1 on a HP Envy x360 with an integrated intel video card.

Score: 0
amor de la vida avatar
Google Drive - only drive is appearing not the individually selected folders that comes as Computers in Drive
sa flag

On my Mac, I installed Google Drive and instead of everything I chose 1 single folder

<<< Google Drive Syncing files from 1 folder to Computers

Now, when I connect Google using Online Accounts option on Ubuntu, this folder that resides under Computers in Google Drive is not appearing here...

I didn't find any settings to point it to that.

Best

Score: 3
Stephen avatar
How to remove file attributes?
cn flag

The Arch Linux version of gio has a set command that has a -d option to remove an attribute: https://man.archlinux.org/man/gio.1

But this set command delete option did not work when I tried it in Ubuntu. And the Ubuntu manual does not list this option, or any other option, to remove an attribute using the set command: https://manpages.ubuntu.com/manpages/jammy/en/man1/gio.1.html

So how are attribute ...

Score: 1
jojo123456 avatar
No wifi adapter found Ubuntu 22.04.1 LTS Lenovo
in flag

I bought a new laptop (Lenovo thinkbook 15 gen 4) and installed Ubuntu 22.04.1 LTS. It looks like that the kernel does not include the driver for the WiFi adapter.

How can I find out what driver I need ? I already tried what's written here https://help.ubuntu.com/stable/ubuntu-help/net-wireless-troubleshooting-hardware-check.html.en

Output from "lshw -C network"

WARNING: you should run this program as s ...
Score: 0
amor de la vida avatar
can't set Lower resolution on 4k external monitor connected to HP Probook Laptop
sa flag

I'm using HP ProBook 430 G3 and running Ubuntu 22.04.1 LTS, Processor i5 and Graphics on board Mesa Intel HD Graphics 520 (SKL GT2)

On a 4k external monitor, it's very stressful and difficult to read the content in browser as it appears very small, therefore I either want to scale / zoom it like I could in Windows 10 or lower the resolution, but not able to do that.

I checked a few answers on the f ...

Score: 0
Do Nhu Vy avatar
Cannot run docker after install by snap command inside Ubuntu 22.04 EC2
in flag

In the past, I can run docker easily by command sudo apt-get install docker... . Today, I tried experience new way, install by snap command, then

enter image description here

Microsoft Windows [Version 10.0.19044.2486]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Administrator\Downloads>ssh -i "vy.pem" [email protected]
Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1028- ...
Score: 0
CuriousAnubis avatar
Kubuntu 22.10 Grub won't update, syntax error
cy flag

When attempting to update grub, I run into the same issue which prevents the update process from going through:

    Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-29-generic
Found initrd image: /boot/initrd.img-5.19.0-29-generic
Found linux image: /boot/vmlinuz-5.19.0-28-generic
Fou ...
Score: 0
qwerty_url avatar
Installing wifi drivers for Ubuntu (Asus)
pr flag

Note - I'm not really experienced with linux so sorry if I get anything wrong.

I've set up my computer to dual boot, I have windows 10 installed on an SSD and Ubuntu 22.04 LTS on a HDD (I've installed it with a pendrive). When I booted into Ubuntu I went to settings -> Wi-Fi to try to enable the Wi-Fi but got a message saying "No Wi-Fi adapter found", so I went to ASUS's website to get the neces ...

Score: 0
ForDummies avatar
How to replicate the list of installed packages on another installation
pm flag

I'm actually trying to diagnose a partly-broken system -- several symptoms have recently arisen. Odd combinations -- Ctl-Alt-F1 no longer works, my web page is down, I can no longer mount FAT thumb drives, some files are temporarily unavailable (produce errors) then become available again. I suspect configuration files, software, hardware, or a curse. In other words, I have no clue.

What I wan ...

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.