Latest Ubuntu related questions

Score: 0
Ubuntu 20.04 installed Python 3.10 not is possible run python 3.10
ar flag

Thanks for reading my topic. Ubuntu 20.04 installed python 3.10 from sudo add-apt-repository ppa:deadsnakes/ppa

When trying install an software requiring python 3.10 show an message not having python 3.10 and only the 3.8 version. Is as if any software can't access or use installed python 3.10 or 3.12.

Is possible fix it ? Have any command or dependencie to install ?

Have an nice day.

Score: 0
gabrielvega avatar
ALC4080 Codec mic detection problems in Ubuntu 22.04
fm flag

I recently built a PC and dual booted Ubuntu and windows. To hear the audio coming out of my PC I use a headset that includes a mic. It has the two connectors that you plug into your computer one for mic and one for the headset. When I plug everything in on windows it operates 100% fine, but when I switch to Ubuntu it outputs audio to the headset but the mic does not work. I eventually realized that the ...

Score: 0
masoud hanifehzadeh avatar
find a number after a special character and multiply it by awk
eg flag

I have a file:

"UDP", "x", 12880, "any", "any", x, 0.0.0.0/0, 0.0.0.0/0, {85000, drop, -1, fast+dsample:1000}, {1m, alert, -1, none}

How can I change 85000 number which is after "{" and multiply it by a value to reduce it by awk. like: 85000*0.75= 63,750 Final line should be:

"UDP", "x", 12880, "any", "any", x, 0.0.0.0/0, 0.0.0.0/0, {63750, drop, -1, fast+dsample:1000}, {1m, alert, -1, none}
Score: 0
MackDaRippa avatar
Usb os not booting
in flag

Ubuntu, Black Arch,and Kali USB drives on USB all won't work since upgrading from 18.04 to 20.04. I've tried changing the BIOS setup utility in various ways and nothing seems to change.

Can anyone show me where I'm going wrong at getting the system to load USB flash drive first?

EDIT 1: Ubuntu 18.04 was originally installed from the same USB drive that is not being recognised now.

Ubuntu 20.4 was the u ...

Score: 1
couldn't connect to zsys daemon after upgrading from 22.10 to 23.04
us flag

After upgrading from 22.10 to 23.04, I'm getting the following message:

ERROR couldn't connect to zsys daemon: connection error: desc = "transport: Error while dialing dial unix /run/zsysd.sock: connect: connection refused"
Setting up initramfs-tools (0.142ubuntu2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142ubuntu2) ...
update-initramfs: ...
Score: 1
zfs not working after upgrade to 23.04
us flag

I upgraded my 22.10 installation to 23.04, but it won't boot. I had reconfigured /root as zfs a few years ago. Am I missing a package for zfs to work?

Score: 0
gfmoore avatar
Ubuntu 22.10 (and 22.04) remote desktop on a headless machine throws me out of the session and logs off
ss flag

After some indeterminate time, usually perhaps an hour, maybe less, I get thrown off my session and I am logged off when using remote desktop. (That of course means I can't remote back in!)

I run Ubuntu 22.10 desktop on a headless HP Proliant Microserver Gen 8 machine.

I had thought it was linked to VS Code, but I have now experienced the issue when just using terminal, or Files. I cannot pin it dow ...

Score: 0
Mahmoud sabry shoaib avatar
I can't use my fingerprint sensor in my device ideapad-5-15ARE05
ad flag

Bus 002 Device 003: ID 27c6:55a2 Shenzhen Goodix Technology Co.,Ltd. Goodix FingerPrint Device can't install driver of it

Score: 0
NoahTG avatar
No networking after automatic updates
eg flag

I ran the Software Updater on my server rig, and now the networking doesn't work, even locally. There's no wifi and no ethernet.

I ran this:

$ cat /etc/netplan/01-network-manager-all.yaml

And got this:

# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager

Is there a way to see what updates I recently installed to see where this might have stemmed from?  ...

Score: 0
Ugh...buntu avatar
App launchers do not work
no flag

I am looking for an app launcher comparable to Quicksilver (which I use on MacOS) for Ubuntu 22.04.2 LTS, but none of the tested work properly.

So far I tried Kupfer, Ulauncher, Albert and Synapse, but all of the mentioned seem to have a problem with the hotkey-setting. On Albert and Ulauncher pressing the hotkey works occasionally and only while using certain programs (for example Firefox). Kupf ...

Score: 0
yosan melese avatar
Ubuntu 20.04 No Wifi adapter found and doesn't detect USB tether
vu flag

I know there are similar questions. but their command output is different to mine and did not work for me. I have installed Ubuntu on my flash drive and i have used it for more than a year.

Cause of problem: I was turning the wifi switch(ctrl + F2) on and off repeatedly when i accidentally disconnected the usb that the os is installed on. when restarting i can not connect to wifi; it says No Wifi Ada ...

Score: 0
fixit7 avatar
How can I batch convert some .jpgs to .pngs
kp flag

I would like to convert some .jpgs to a 640x480 size.

I looked through my Ubuntu_Tips.odt file and found this.

Convert png to a 640x480 png.
 convert Screenshot_1360x768.png -resize 640x480! 640smaller.png

I have 8 of those files in /home/andy/Downloads/.

Is there a way to do a batch convert of those .jpgs files to the smaller file size?

Thanks.

Score: 0
catto24 avatar
Re-partition Ubuntu Server in dual boot to use all the space
mq flag

I'm trying to re-partition Ubuntu Server.

I have a Windows 7 64 bit install and an Ubuntu Server 22.04.2 LTS install dual-booting.

I'm wanting to get rid of Windows 7 and re-partition the drive for Ubuntu Server to have the whole HDD (250gb).

Is there any way to do this?

Ubuntu Server currently has 100 GB of the drive.

Score: 0
masoud hanifehzadeh avatar
paste a text in two place at the same time in the nano editor
eg flag

I have a text file:

#"UDP-/32", "UA", 0, "any", "any", udp, 0.0.0.0/0, /32, {x, x, x}

Is there a way so I can paste a text before /32 at the same time, like multiple cursors in the vscode?

The result be:

#"UDP-TEXT/32", "UA", 0, "any", "any", udp, 0.0.0.0/0, TEXT/32, {x, x, x}
Score: 0
Eric Liggins avatar
Airplane mode getting stuck on after suspend in Ubuntu 22.04
tg flag

Although this question asks about the same problem, none of the proposed solutions work on my HP Pavilion 15 laptop running Ubuntu 22.04.

The suggestion from "nobody" on the earlier question, which is to type

gsettings set org.gnome.settings-daemon.plugins.rfkill active false

results in the error No such schema “org.gnome.settings-daemon.plugins.rfkill” and I can't find any other .rfkill ent ...

Score: 0
pcgeek2009 avatar
Permission denied trying to run a rescan of disk in Ubuntu 20.04
tc flag

I have an install of Ubuntu 20.04 VM in VMware. I have expanded the HD from 40 GB to 60 GB. I would like to get the system to recognize the additional space without a reboot. I tried running:

echo 1 > /sys/block/sda/device/rescan

which results in a permission denied. Tried it with sudo, same results.

I would like to not have to reboot the server for it to see the new space.What command or format ...

Score: 0
Bram avatar
Setting the color for warnings from journalctl output
cn flag

The journalctl command will color-code its messages. From its manual page:

When outputting to a tty, lines are colored according to priority: lines of level ERROR and higher are colored red; lines of level NOTICE and higher are highlighted; lines of level DEBUG are colored lighter grey; other lines are displayed normally.

Red is red, on any of my systems. But the notion of 'highlighted' changes from  ...

Score: 0
ruckc avatar
Ubuntu 23.04 - Dell 9310 - AX201 wifi not working
es flag

Just upgraded my Dell XPS 13 (9310) laptop to 23.04. Now the built-in Intel "Wi-Fi 6 AX201" isn't working. It worked fine with 20.04, 20.10, 21.04, 21.10, 22.04, and 22.10.

Any suggestions? The wifi adapter is shown with lshw -c network. It appears the iwlwifi-compat module crashes on startup.

enter image description here

Edit: As asked by @chili555

$ sudo dkms status
backport-iwlwifi/9904, 5.19.0-40-generic, x86_64: ins ...
Score: 0
Mike Greer avatar
Cannot Print from LibreOffice 7.5 Using Ubuntu 20.04
ml flag

I have a document in LibreOffice Writer format that I would like to print. As I said in the title line, I'm using Ubuntu 20.04.2 and my version of LibreOffice is 7.5.2.2 (X86_64)/LibreOffice Community, which I believe was the version of LibreOffice included with Ubuntu 20.04.

My printer is set up in Ubuntu, that is, I can see it when I go to 'Settings'. It is a network printer, and I know its l ...

Score: 8
Vahid Damanafshan avatar
How can I prevent two or more users with different IPs from connecting to my server simultaneously using one username?
cl flag

One of the methods I use to bypass internet filtering/censorship in my country is SSH tunneling. To do this, I create a user on an Ubuntu 18.04 server using the command adduser USERNAME --shell=/bin/false. However, there is a major flaw in this method, which is that multiple users with different IP addresses can simultaneously connect to my server using this username, causing the server's IP to be fi ...

Score: 0
Bash test command to check files exists not works as expected
in flag

I have a simple bash script. I need to check if file exists and then do some actions related to check result. Script looks like:

#!/bin/bash

productionPackageJsonPath=/var/www/portaldev/current/package.jsonxxx
productionNodeModulesPath=/var/www/portaldev/current/node_modules

hasPackageJsonFile=$(test -f productionPackageJsonPath)
hasDiff=""

if [ "$hasPackageJsonFile" == "true"  ]
then
    echo " ...
Score: 0
natanschneider avatar
SANE triggers scanner, but doesn't save the image
me flag

I have a Ricoh P311, when i try to scann a document using SANE and airscan, i get the following error:

> scanimage --device "airscan:e0:Ricoh P311" --mode Color --format=png --output-file teste.png --progress

API: sane_init(): called
loading configuration file /etc/sane.d/airscan.conf
MDNS: AVAHI_CLIENT_S_RUNNING
WSDD: netif addresses update:
WSDD:  + 172.26.51.164
WSDD:  + fe80::215:5dff:fe0c: ...
Score: 0
unknownname avatar
moving multiple files
ls flag

i have a downloadsfolder that contains 9 items backup.sh ,bestanden.sh, tara.tar.gz, nmap.tar.bz2, demo11.zip, contract.pdf, cleaning.pdf, GNU-linux.jpg and video.mp4. these have to get sorted in the documentsfolder where there are 2 deviding folders. one is called 'werk' the other is named 'thuis'.

'werk' contains 3 folders Scripts, backup and contract backup.sh ,bestanden.sh sho ...

Score: 0
Chris avatar
Ubuntu 23.04: How to connect a MIDI keyboard always to the same MIDI device ID?
cn flag

I have a MIDI keyboard connected to a computer running Ubuntu 23.04 (the problem already existed under 22.10). At boot time, the MIDI keyboard is connected either as /dev/midi1 or /dev/midi2. Every time the ID changes, I have to reconfigure the keyboard connection in the sampler software. That's annoying!

Is it possible to always give a MIDI device the same ID when booting Ubuntu?

Edit:

This is the  ...

Score: 0
Karol Jędrasiak avatar
Can't mount/gave access/assign IP to my Iomega IX2 network server
gy flag

ifconfig

enp6s4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::5a35:c75c:b3fe:f4e1 prefixlen 64 scopeid 0x20 ether 00:e0:4a:0a:4a:45 txqueuelen 1000 (Ethernet) RX packets 715 bytes 104212 (104.2 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 360 bytes 56776 (56.7 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Within GUI and notification I still ...

Score: 1
Alain Reve avatar
I struggled to get eth1 (wifi) up and now it goes back down at each reboot
cn flag

I had no wireless connection. eth0 functioned but there was no eth1. I finally got it up but it disappears again after each reboot. My question is : "How can I make eth1 come up automatically?"

Hopefully, this text contains some clue, which is why I tell this long story, detailing the original situation and my actions.

ORIGINAL SITUATION :

Hardware :

lspci (extract)

05:00.0 Network controller: Broadc ...
Score: 0
DevMan avatar
All Monitors stopped working after update to 23.04
st flag

I upgraded to 23.04 today and everything worked fine for about 3 or 4 hours on my HP Pavillon laptop. It has a Nvidia gtx graphics card.

After around 3 to 4 hours suddenly my laptop screen went black (not dimm or dark but OFF) and my external monitor went black with a notification that "no HDMI connection detected" so i guess all graphics outputs just stopped.

My Laptop is less than 2 years old.

The la ...

Score: 0
Peter Dobroff avatar
Unbuntu 22.04 cannot find wifi realtec 10ec:b852
aq flag

I'm new to Ubuntu and installed 22.04 last week on my HP 27 inch all in one, model All-in-One cb1xxx. I've read and tried several solutions that have solved this problem for others, but my wifi is still not found. I'm using a wifi extender wired to my pc for now. I don't know how to paste nice boxes, please forgive the pastes... lspci -nnk | grep 0280 -A3 shows:

000:02:00.0 Network controller [0280 ...
Score: 0
Edo M avatar
Dreaded black screen in Ubuntu Studio Lunar Lobster
au flag

First post here and I;m a Ubuntu rookie. Trying get Ubuntu Studio working on my HP Workstation. It's on a dedicated hard drive and installed just fine and worked for a while. THEN..out of nowhere when the screen timed out and turned to black it wouldnt come back. A reboot would bring it back. Then I saw there was a new driver for my Nvidia k600 vid card (that was tested and said to work) and I thought ...

Score: 0
PARSA FARAJZADEH avatar
is it possible to use usb as boot partition?
ug flag

what I exactly mean is like when u want to dual boot Linux with windows (windows is installed first) u make a bootable USB and boot from that and install the Linux. in Linux there are some different partitions like root and boot what I'm trying to do is to create that boot partition in USB and the files installed in the storage of PC so when I turn on the PC normally it boots from boot partition of wind ...

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.