Latest Ubuntu related questions

Score: 1
awk or sed command to replace line break plus text containing spaces
cn flag

An answer to another question suggests sed -i 's/original/replacement/g' file.txt to replace specific words in a text file. My starting situation looks like this:

        Item: PRF
        Type: File
        Item: AOX
        Type: Folder
        Item: DD4
        Type: File

My ending situation should look like this:

        Item: PRF^Type: File
        Item: AOX^Type: Folder
        Item: DD4^Typ ...
Score: 2
OldFart avatar
Problem with metaflac
jp flag

I can't seem to get the --with-filename tag to work in metaflac. It enumerates tags into a file just fine with this command:

metaflac --with-filename --export-tags-to=audio_tags.csv '/media/marcel/Archives2/Albums/Locatelli; Concerti Grossi, Op. 1, Nos. 1-6/Track 21.flac'

but I get no filename, just the tags:

title=2. Allegro
work=Concerto Grosso in D major, Op. 1, No. 5
ALBUM=Locatelli: Concerti Gros ...
Score: 2
Kris avatar
Find device Ubuntu Core 20 image to reinstall
uz flag

I am using a device that is the Lenovo ThinkEdge SE30. It came with Ubuntu Core 20. I want to reinstall this image on the device.

When I check the properties of it I see the following: enter image description here

The "model" has the value of "lenovo-wwan". When I look at the link https://cdimage.ubuntu.com/ubuntu-core/20/stable/current/ I cannot find anything that states "lenovo" there. I am looking for:

  • ubuntu-core-20- ...
Score: 0
user713124 avatar
x11vnc with xvfb and gnome session?
bw flag

I usually use x11vnc against the Ubuntu gnome desktop session running on my office machine. Occasionally, the system is rebooted and with no desktop running I can't do this.

I know about using x11vnc with flubox, but what I really want is a gnome-destop session. I seem to remember doing this with xvfb, but its been a while and the details escape me. Is there a way to do this?

Bonus question: Actuall ...

Score: 0
Zeeshan Xafar avatar
How to print the manual of gzip program
jo flag

I am new to Linux and I need to print the manual of gzip program but I am not able to figure it out. I have written the command man gzip but I am not sure whether it is reading or printing it.

I am using an Ubuntu server not a desktop version.

Score: 0
"password not given" or "Wi-Fi network could not be found" Kubuntu 22.10 Realtek Semiconductor Corp. 802.11ac NIC
pl flag

update 2: I am looking to the wifi connections that I have avaible, they are:

IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY

  •   78:E9:CF:DF:73:FE  DAVI-5G       Infra  44    540 Mbit/s  59      ▂▄▆_  WPA2     
      66:E9:CF:DF:73:FE  DAVI          Infra  44    540 Mbit/s  52      ▂▄__  WPA2 
    

Now, It's seems both of them are in the channel 44, th ...

Score: 1
Jernej avatar
sudden DNS issue with home WIFI affecting a single ubuntu device
pe flag

I've been using my home wifi for months and it worked fine. Now, all of a sudden I am experiencing issues when connecting with the Ubuntu laptop (all other devices are still able to use the WIFI just fine).

Specifically, for 90% of the web pages that I am trying to access I get the DNS_PROBE_FINISHED_NXDOMAIN erorr (see picture) enter image description here

Finally, if I ping, say, google.com its all good, while their DNS' ...

Score: 0
My Nvidia drivers died suddenly after a reboot
de flag

I rebooted my PC and Ubuntu was suddenly locked in a very low resolution and I can't play any games. During boot, Linux displayed error messages about Nvidia stuff. What's going on?

Score: 0
ubuntuuser avatar
ubuntu 20.04.1 LTS: No verification for DSA (only for RSA)
fr flag

I've just downloaded the iso file from https://releases.ubuntu.com/jammy/ and also SHA256SUMS and SHA256SUMS.gpg. When performing, as described in https://ubuntu.com/tutorials/how-to-verify-ubuntu#1-overview ,

gpg --keyid-format long --verify SHA256SUMS.gpg SHA256SUMS

I get

gpg: Signature made Thu Aug 11 13:07:33 2022 CEST
gpg:                using RSA key 843938DF228D22F7B3742BC0D94AA3F0EFE21092 ...
Score: 0
Rohit Kumar avatar
Random screen distortion and freeze in Ubuntu 20.04/22.04
gr flag

My screen randomly becomes distorted and freeze in Ubuntu 20.04/22.04. After this only hard reboot works. I have been experiencing this for 2 months now and have tried several solutions but nothing helps. Also I can't find any error log in syslog, kern.log etc.

P.S - This started happening after I upgraded my 4GB+4GB RAM to 8GB+8GB. It also occurs less frequently in Wayland than in Xorg

Configurations

Score: 0
salekijan988 avatar
Can not increase resolution on external monitor connected via DP -> TS3 Plus -> TB -> T470s
mm flag

Im not able to increase the resolution on my external monitor, which is connected via displayp ort to a Caldigit TS3 Plus dock. My Lenovo T470s is connected via USB-C to the dock itself.

The max resolution for my 2560x1440 display is currently 1024 x 768. And its flagged as "Unknows Device" in the display device manager under settings.

Sorry Im absolutely a beginner in Linux/Ubuntu.Ubuntu version is ...

Score: -1
auswil04 avatar
Unable to boot GRUB while trying to set up dual boot configuration
mc flag

I'm trying to dual boot Windows 11 and Ubuntu 21.10. I can boot into either from my UEFI settings, but when I boot into Ubuntu I get no GRUB window.

No matter what I try to do, I just can't get GRUB to detect windows. I've tried os-prober, I've tried enabling os-prober, but it can't find my Windows installation. I have them installed on two different SSDs.

I'm a bit new to Linux and Ubuntu.

If I run

Score: 0
user2091046 avatar
change/update ecryptfs password using passphrase after resetting account password
cn flag

after I couldn't log in into my old ubuntu instance I've reset the password via instructions in https://askubuntu.com/a/24024/639921

now, after I try to log in it just loops me back to the login screen I think it may be due to the \home being encrypted, because after going to the terminal I'm able to log in correctly, but can't access my files, I see just the Access-Your-Private-Data.desktop and  ...

Score: 7
Abel Gutiérrez avatar
Windows Subsystem for Linux 2: Temporary failure resolving 'archive.ubuntu.com'
cn flag

I just installed Ubuntu 22.04 with Windows Subsystem for Linux following this instructions.

When I run sudo apt install update, I get this errors:

Ign:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:4 ht ...
Score: 0
José A. Pérez avatar
Problems to control fan speed and keyboard lights in Asus TUF FX706HC
pn flag

I installed Ubuntu 22.04 in my Asus TUF FX706HC and so far, so good, except I can't control the fan speed or change the colors of the lights of keyboard even though I can change their intensity. The BIOS doesn't give any option

I already tried: Rogauracore, OpenRGB and faustus without results.

https://github.com/wroberts/rogauracore

http://openrgb.org/

https://github.com/hackbnw/faustus

I also tried:

 ...
Score: 1
Bill in Kansas City avatar
Remmina: how to restore window title bar?
pk flag

Remmina 1.4.25 Operating System: Kubuntu 22.04 KDE Plasma Version: 5.24.7 Qt Version: 5.15.3

I changed a setting in Remmina and now there's no title bar or "More Actions" icon in the upper left hand corner of the remote connection window. I can't grab the remote window and move it around anymore, and I can't find any setting that gives me the window chrome back.

How do I restore window features on t ...

Score: 0
Dodo avatar
Why my Ubuntu MATE freezes and loops the audio?
br flag

I'd like to know based of my problem, if is a problem of my Ubuntu MATE or in the worst of the cases my hardware.

When I read online news it doesn't seem to happen anything. But when I watch a video streaming like Netflix or HBO Max, then this problem appears.

The machine freezes and the audio starts to loop for each 1 second.

I tried to see more topics like this, following them, but no luck.

Note: I susp ...

Score: 1
user227495 avatar
GUI Password protect a folder in 22.04
us flag

I have a few folders in Ubuntu 22.04 that I want to add password protection to. Is there any GUI tool that can do this? Something safe and reliable? Thanks.

Score: 0
Jim_HiTek avatar
22.10 Does not attach to a Realtek Wifi Adpater
cn flag

Tower PC, AMD 64-bit, newer hardware, PSU, Mobo and HDDs, and have run Ubuntu since 16.04, just installed 22.10 a couple weeks ago. Since then...

Problem: Since installing Ubuntu 22.10, it lists but does not attach to the Realtek wifi adapters I try to use. As in past versions of the OS, it favors RaLink adapter and doesn't show or connect to my Realtek adapters. It had worked between versions 20 ...

Score: 0
klequis avatar
help fixing grub/boot
cn flag

I have 2 hard drives on my computer. Have Ubuntu 22.04 on one for a long time. Yesterday I installed NixOS on the other and now can no longer boot into Ubuntu even when I disconnect the drive with NixOS on it.

I ran boot repair (log below). It did not offer an option to fix things as I have seen it do in the past.

boot-repair-4ppa203                                              [20230113_1752]

====== ...
Score: 1
Tom Shaw avatar
Orange PI 5 Diskless cluster
in flag

I previously asked and answered a question about how to boot a Rpi4b completely diskless and Id like to achieve the same result with an Orange Pi.

Raspberry Pi - Diskless Cluster using Ubuntu 20.04.1

Currently Im unable to install an OS since the OPi keeps rebooting so it looks like I'll need to:

  • firmware update
  • clear the emmc
  • attempt a normal os install
  • install a bootloader into the emmc
  • investigat ...
Score: 0
Rohan avatar
No sound from MPG321 when played through php executed python script ( permissions are not the problem)
ae flag

I am trying to execute an audio file running as a python subprocess(shell=True) using mpg321. just running python script from terminal as user works, running the audio file through mpg321 from terminal as user works. However when my website calls a php script to execute this python script mpg321 returns an error. I know the most obvious answer is to check permissions, however this system has been workin ...

Score: 0
Joxixi avatar
Cannot find "Wired" in Network Setting and cannot connect Internet
ru flag

I am using Ubuntu 22.04 and I used a network cable to connect Internet.

But today I cannot connect Internet, and there is no "Wired" setting in Settings->Network. I have tried to edit /etc/NetworkManager/NetworkManager.conf, changed managed=false to managed=true, but it didn't work.

Score: 0
Yves avatar
Ubuntu 22.04.1 LTS : cannot access fixed IP addresses after recent update
fj flag

Been running Ubuntu 22.04.1 LTS successfully for the past 6 months. All of a sudden I do not seem to be able to access any of the fixed IP addresses on my network anymore. Specifically : 1] I cannot print anymore (printer has a fixed IP address). Check : my wife can, and she is also running Ubuntu 22.04.1 LTS on her laptop. 2] Cannot access my Ubiquity Cloud Key/controller (also on a fixed IP address).  ...

Score: 0
Uday Kiran avatar
Virtual box USB detection problem
fr flag

I'm using MSEdge-Windows 10 Virtual box image. I want to acces my usb pendrive from the VM. So I selected my usb pendrive from the VM's USB settings. The status of USB device is captured but windows explorer on my VM can't detect any usb pendrive. (VirtualBox is running on Ubuntu 22.04 LTS)

Score: 0
bengtfalke avatar
Studio controls will not start on my Ryzen based computer?
yt flag

I am a rather experienced DAW musician and have worked in IT all my life, but I am new to making music with Linux. I am planning to move all my musicmaking to Ubuntu Studio on a good computer. (See specs below). So far I have installed Ubuntu studio 22.10 on an old Macbook pro and tried Ardour and even EZdrummer with Wine bottles. Most worked fine there...

Then I would try to run Ubuntu studio 22 ...

Score: 1
Does add-apt-repository not support globs in source list?
at flag

I usually add a repository like this:

add-apt-repository --no-update --yes "deb [arch=amd64] https://download.docker.com/linux/ubuntu jammy stable"

This works fine and when setting up Ubuntu machines, I run a setup script that loops through a list of repos and adds them using that command.

The problem is that it fails when encountering a repo source on this format:

deb [signed-by=/etc/apt/trusted.gpg. ...
Score: 0
Reggie Asbra avatar
Network Adapter Card Driver
fr flag

I purchased the HP laptop model# 14-DQ0051DX.Before removing Windows 10 I was able to connect to my wi-fi network. After loading Ubuntu 18.04 the laptop does not find any wi-fi networks. What do I need to do to solve this issue? Thanks

Score: 2
Ben Turner avatar
Passing "flag" Arguments to Systemd Services
us flag

I have a Systemd service that calls a script. That script takes it's own arguments, some of which are named arguments. I currently have the following service:

[Unit]
Description=My Service
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=no
User=corvus
Environment="ARGS=%I"
ExecStart=/path/to/script.sh $ARGS

[Install]
WantedBy=multi-user.target

And I am attempting to call the script with someth ...

Score: 0
Access to remote server via SSH via pem key requests 2 set of password (key and user)
in flag

On a remote server, I would like to access via ssh only with a pem key, which is password protected, but I'm being asked for the user account password as well

I created the account which I want to use when log in from my host with the following command:

sudo useradd -d /home/admin -m -G sudo admin

Since my pem key is protected by a password, I don't want to set a second one (the key password and ...

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.