Latest Ubuntu related questions

Score: 6
DenisZ avatar
How can I store the IP and Port that are separated by ":" to two variables?
cn flag

I want to extract the IP and Port from a variable. I have tried to use this:

ADDR=1.2.3.4:12345
IP=${ADDR##:}
PORT=${ADDR%:}

However, this assigns the entire address to both variables.

How can I store the the IP and Port to two variables?

Score: 0
Bosskhan Qambarov avatar
Ubuntu 22.04 doesn't boot
ru flag

A few hours ago I installed C# compiler from the terminal in Ubuntu 22.04. Some seconds later the screen froze. Input devices were not working. Only the power button still worked. I turned it off and turned it on again, but it turned out like this.

enter image description here

Score: 0
s.k avatar
Unable to open a text file created by exiftool: There was a problem opening the file; the file you opened has some invalid characters
cn flag
s.k

I am facing this error when opening a text file in gedit on Ubuntu 22.04:

enter image description here

The file was created as a redirection of the exiftool (12.57) command line for extracting metadata from a bunch of 100'000 photos:

for photo in $(find "/media/data/photos" -type f \( -iname "*.jpg" -o -iname "*.png" \));
do
  exiftool -a -G0 -s -c '%.7f' "${photo}" >> "/media/data/output/processing.txt"
done

I also  ...

Score: 2
user32882 avatar
Unable to use apt in WSL Ubuntu due to security issues
in flag

I'm trying to install make on a WSL instance in my Windows machine. So I tried the following command:

sudo apt install make

After entering my credentials, and pressing enter, I got the following output:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  make-doc
The following NEW packages will be installed:
  make
0 upgraded, 1 new ...
Score: 0
yellowsir avatar
gnome calendar delete default calendar
cn flag

how can one remove/repleace the default calendar with a other one and/or remove all events assoiated with it on Ubuntu 22.04.2 LTS with calendar 41.2.

Default Calendar
Default Calendar

Other Calendar
Other Calendar

Score: 1
How to enable OpenVPN's BF-CBC in Ubuntu 22.04?
cn flag

I recently upgraded from Ubuntu 20.04 (which ships OpenVPN 2.4.7) to Ubuntu 22.04 (which ships OpenVPN 2.5.5), and in OpenVPN 2.5.0 changelog i find

Removal of BF-CBC support in default configuration:

By default OpenVPN 2.5 will only accept AES-256-GCM and AES-128-GCM as data ciphers. OpenVPN 2.4 allows AES-256-GCM,AES-128-GCM and BF-CBC when no --cipher and --ncp-ciphers options are present. Acceptin ...

Score: 2
FrancMo avatar
Additional harddrive only in read mode
gh flag

I have additional HDD:

cat /etc/fstab
# /etc/fstab: static file system information.
...
# External 1TB drive for some data
/dev/disk/by-uuid/20A949F121CEADD8 /mnt/20A949F121CEADD8 auto rw,acl 0 0

but its always mounted in read only mode..

Partition type of this HDD is NTFS.

uname -a
Linux My-Tower 5.14.0-1052-oem #59-Ubuntu SMP Fri Sep 9 09:37:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

I tried from oth ...

Score: 1
mahfuj asif avatar
Ubuntu 22.04.2 LTS headphone and microphone not working at the same time
ng flag

In my desktop my headphone is connected with wire with following devices. enter image description here enter image description here

My problem is during a meeting when I select input device as Microphone - Built-in Audio I can not hear any sound but people from other end can hear me. When I switch input device to Headset Microphone - Built-in Audio I can hear but other people can not hear me. In both case output device is selected as Headphones - Buil ...

Score: 0
earthpages avatar
Lubuntu 22.04.2 LTS (Jammy Jellyfish) shortcut keys are not working for brightness
br flag

The shortcut keys for brightness worked great with Lubuntu 20.04.5 LTS (Focal Fossa) but do not work with Lubuntu 22.04.2 LTS (Jammy Jellyfish). I use F1 (dimmer) and F2 (brighter).

I am disappointed as my eyes need the ability to modify brightness on the fly.

Any solutions that are not too complicated? For example, I could edit a config file... stuff like that.

Score: 1
janithcooray avatar
Incorrect Disk Usage Reporting on Ubuntu 22.04 Server clean install
eu flag

In an ordinary scenario , full disks space means actually full disk space with a matter of hidden/small large files somewhere. just like this form states RecoverLostDiskSpace

I know my disk uses around 4GB out of sda (50GB formatted) and 12GB on sdb (100GB formatted) but i get No space left on device

Previously -

I have a GCP VM with 2 drives, 1 with 30GB boot + an additional 100GB mounted. main dri ...

Score: 0
Nugget avatar
Getting a keying error - > Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details
pe flag

I am new to ubuntu it was working just fine after some time when i tried to update i ran to this error

(base) siddharth@Siddharth:~$ sudo apt update
[sudo] password for siddharth:
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:3 http://apt.postgresql.org/pub/repos/apt jammy-pgdg InRelease
Hit:4 http://packages.ros.o ...
Score: 0
mujo avatar
Is there a way to use Cockpit while UFW is enabled?
mv flag

I currently have Ubuntu 20.04 installed. I'm having issues with UFW that are preventing me from using Cockpit. When I try to load IP:9090 into Firefox, it will just continuously try to load with a blank page nonstop. I also had an issues where UFW was preventing me from doing SSH from the terminal, but I did some research online and worked around it withsudo ufw allow ssh, but I digress.

I tried doing m ...

Score: 2
Randyman99 avatar
Gnome Terminal not displaying correctly in 22.04
je flag

I just upgraded from Ubuntu 20.04 to 22.04.2 (Linux 5.15.0-67), using XFCE desktop environment, with Gnome Terminal version 3.44.0. I have a script program to do backups which I have run essentially daily for years. This program both displays information to the terminal and writes information to a logfile.

On my first run of this program after the upgrade, I noticed an odd behavior, that sometime ...

Score: 0
सृजन सृजन avatar
Files/Folder are shown in GUI but not in Terminal
nl flag

Fairly new to Linux and I'm already having problems. When I open my drive from GUI, I see some files and folders there but when I try to ls on the terminal; it only shows two folders. ls /media/user/drive only shows two folders, where if I access same drive on GUI it shows me others files/folders I have.

I opened that window on the terminal by right-clicking and it showed me the path /mnt/22E688864902EA0 ...

Score: 0
MistyDev avatar
Can't upgrade from 16.05 to 18.04
eh flag

So for more clarification from the last post i will redo it; Ok, so i used crouton to install Ubuntu 16.04 with gnome, and its nice, but little applications actually work...

I first tried the update manager, and it said it didn't have permissions to update, so i tried the do-release-upgrade commands in the terminal, and heres what popped up.

Checking for a new Ubuntu release
Get:1 Upgrade tool sig ...
Score: 0
gatorback avatar
How to explicitly Upgrade to 20.04 from 16.04 command line
in flag

This article suggest upgrading to 18.04 then to 20.04.

https://www.how2shout.com/linux/upgrade-ubuntu-16-04-lts-to-20-04-lts-using-command-terminal/

Is there terminal command to explicitly upgrade from 16.04 to 20.04 "nonstop"?

Update: sudo do-release-upgrade returned error message:

Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

Found it n ...

Score: 0
Joseph Huber avatar
How to print border around mutliple pages per sheet with the Ubuntu system print dialog
in flag

The Ubuntu system print dialog has a provision for printing multiple pages per sheet, but it doesn't have an option to draw a border around the pages. This seems to be the case for most printer models I have tried. One can print borders from the command line with lp -o page-border. It can be done by CUPS, so it seems strange for this option not to be in the print dialog.

How does one get a border arou ...

Score: 0
skniep avatar
System upgrade from 20.04. to 22.04. Problem executing scripts
mu flag

E:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi', E:Sub-process returned an error code

Score: 1
Balaramakrishna Paritala avatar
Having problem with all the browsers whilw using on ubuntu 22.04. (especially while attaching the files )
az flag

Recently I updated the system using sudo apt update && sudo apt upgrade. Simultaneously all the browsers are not working properly. The main problem is while attaching the files or uploading a file or downloading a file, when I click the browse button or attachment button, the web browser hangs and then I can not click on anywhere in the browser. In the end I need to quit the browser and then ...

Score: 0
DaBoot avatar
Unable to find any WiFi Ubuntu 22.04
km flag

I am using the wireless adapter rtl8188ee on ubuntu 22.04 trying to connect from GUI doesn't work, and attempting to manually connect from nmcli in the terminal gives me the output Error: No network with SSID 'xxxxx' found. dmesg doesn't show anything strange.

Any help would be appreciated -

Score: 1
JamworksPro avatar
Using GTK4 to build a small window app
gg flag

Once the small program is compiled, I run it by double clicking the executable in Nautilus. When I have a second but completely different windowed app and double click on it while the first windowed program is running, the result is that the first program is started for a second instance rather than a new instance of the different program.

Program 1:

#include <gtk/gtk.h>

//gcc $( pkg-config -- ...
Score: 0
Mosna avatar
"fsck" - Permission Denied
fj flag

I'm getting a error. See:

Prt Sc

What I'm supose to do?

Tx, everyone!

Score: 0
Thrilla avatar
Can I blacklist a website from DNS cache Ubuntu 22.04
qa flag

I'm having trouble with a specific university related site on Ubuntu 22.04. I have to flush DNS cache every time I want to access it as it seems that the main link and the link with a path point to different places and the cache is getting it wrong. I'm not sure if I'm understanding this exactly right but flushing the cache appears to fix the issue though

e.g. if google.com and google.com/search  ...

Score: 0
James Minger avatar
Ubuntu 22.04 desktop icons disappeaer and reload
bo flag

A week ago I woke my machine up from sleep and the desktop icons were missing, but all those files were still in desktop directory in files and terminal. So I closed all apps and restarted the system to be safe. It loaded and icons appeared, but after a minute they started cycling randomly, from missing to visible. I opened the System Monitor and gjs had 3 instances and once was going away and coming ba ...

Score: 3
Ubuntu 22.04 lost the ability to select HDMI sound out after system update
US flag

System: AMD A8-7600 (onboard graphics) Radeon R7 KAVERI
Motherboard: Gigabyte AMD FM2+ A68HM-H

HDMI sound out to my home theater via HDMI was working fine for months until a recent system update. I reinstalled Ubuntu 22.04 onto a different drive and HDMI was available. I then allowed the system to fully update and once again the HDMI sound was gone.

As a workaround, I have installed a GeForce GTX 750 Ti  ...

Score: 0
Ralff avatar
After installing bumblebee, overlayfs: missing 'lowerdir' with black screen
gb flag

I was trying resolve an issue with my nvidia/intel GPUs in my laptop. Installed bumblebee, bumblebee-nvidia, and primus, and I added my username to the bumblebee group, then ran ‘optirun glxgears -info’. I rebooted my computer, and I now receive the following error:

aufs aufs_fill_super:912:mount[1089]: no arg
overlayfs: missing 'lowerdir'

I tried using prime-select to switch to nvidia and intel,  ...

Score: 0
user127403 avatar
Evolution can not get a message.... unknown reason. How do I solve this?
br flag

Ubuntu 22.04.2 LTS and has worked without issue until Evolution gives error message as follows, 'Can not get message UID...-.... unknown reason.' At each start up of Evolution the first part of the UID is a larger number, but the second part of the UID after the - remains the same number. I have only ever been a user of Ubuntu so have no idea how to even start to fix this issue. Hoping someone can help. ...

Score: 0
pumper avatar
ubuntu 22.04 routing using netplan
cn flag

Hi I have a new ubuntu server with 2 interfaces and i wrote a netpaln config for it like this:

network:
 version: 2
 renderer: networkd
 ethernets:
   ens160:
     dhcp4: no
     addresses:
       - 192.168.1.2/24
     routing-policy:
       - from: 192.168.1.0/24
         table: 160
     routes:
       - to:  0.0.0.0/0
         via: 192.168.1.1
       - to: 172.10.10.10
         via: 192.168.1.1
  ...
Score: 1
Ralff avatar
How use multiple monitors with hybrid discrete/integrated gpu on laptop with ubuntu 18.04?
gb flag

I am a bit confused of what is needed to make my laptop work with an external monitor. I have a Gigabyte Aero 15. I had no issues installing Ubuntu 18, but the intel gpu is used by default. I installed the nvidia drivers, and now, I am only able to use either the external monitor or my laptop screen based on the GPU I select.

For example:

  • if I run sudo prime-select nvidia, I can connect an external m ...
Score: 0
ojek avatar
Customizing LiveCD 22.04 - unable to boot - Squashfs GPG signature / keyring issues
sv flag

I have spent last few weeks trying to customize Ubuntu LiveCD. Main guide which I follow is https://help.ubuntu.com/community/LiveCDCustomization This produces a modified image, but upon booting a newly created image I receive an error, after passing the GRUB screen, Unable to find a medium containing a live file system. Attempt interactive netboot from a URL?. I have followed the linked guide ex ...

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.