Latest Ubuntu related questions

Score: -2
j0h avatar
Can I get an explanation on escaping shell variables?
au flag
j0h

I have a C program I am integrating into a shell script. There is a line that gets the time of birth for $HOME using system("stat $HOME | awk 'FNR == 8 {print}' | awk '{print $2}'"); and it works great in C. when I echo that line to bash with:

echo system(\"stat $HOME | awk 'FNR == 8 {print}' | awk '{print $2}'\");>> file.c

the second awk pipe doesn't happen. so instead of getting: 2021-04-11 ...

Score: 0
Ted avatar
Geany terminal icon is missing installed in Ubuntu 22.04
cv flag
Ted

I have geany 1.38 installed on Ubuntu 22.04. The terminal button is missing, even though I installed libvte-2.91.so.0, which seems to be loading. There seems to be something in this snippit

er@Hertz:/usr/lib$ geany -v
(geany:1531867): GLib-GIO-DEBUG: 22:00:37.383: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(geany:1531867): dconf-D ...
Score: 0
Cort avatar
Changing Display Refresh rate
kn flag

I'm using Ubuntu 23.04 on a lenovo ideapad gaming 3 (AMD Ryzen 5 6600H + NVIDIA RTX 3050). I often need to give presentations using a external projector, and it seems that Xorg cannot support different refresh rates the internal/external screens without disabling compositor.

When I was on 22.10, I could simply change the refresh rate to suit the external display, but after the recent upgrade, the refres ...

Score: 1
wunderbard avatar
Gnome Extension Testing
fj flag

So I want to write a gnome extension. The documentation https://wiki.gnome.org/Projects/GnomeShell/Extensions/EcoDoc/FirstExtension is out of date and suggests using alt+f2 then entering r to restart gnome. Problem is that current versions of ubuntu use use wayland and give 'restart is not available on wayland'.

How can I go about testing the extension without having to log out and log back in each tim ...

Score: 0
Arslan avatar
How to setup NIC bonding in Ubuntu 20.04 docker image
kg flag

I want to sent ip NIC bonding (teaming) in Ubuntu 20.04 eve-ng docker image. when i enter command "sudo mobprobe bonding" I receive the following error;

modprobe: FATAL: Module bonding not found in directory /lib/modules/5.17.8-eve-ng-uksm-wg+

can anyone help me to setup the NIC bonding on my Ubuntu container running in EVE-NG?

Many Regards

Score: 7
adr avatar
Is there a log file that records the reason for a wake-up?
mo flag
adr

My Acer Swift SF314-57 (2019) laptop computer running Ubuntu 22.04 LTS wakes up from suspend at unexpected times. Is there a log that records the reason for a wake-up? I have some precise times of when it happened but need to know why (in order to then prevent it).

And if there is no such log or record by default, is it possible to adjust a debug level somewhere or something like that so that i ...

Score: 0
F. J. Adamsen avatar
HDMI sound option disappeared after upgrade of Ubuntu 22.04
hk flag

After an automatic system upgrade of Ubuntu 22.04 the HDMI sound option disappeared leaving only spdif as an option for digital sound. As a result, I no longer have sound. I am using an amd rx580 video card. The same thing happened on my Windows 10 machine but it was relatively easy to restore by reinstalling the driver for the video card. how do I accomplish the same thing in Ubuntu?

Score: 0
Andrew Cramer avatar
ubuntu 22.04 HDMI dual screen sound drops out while moving mouse
aq flag

This problem has been experienced since 18 if not earlier. I've had it through several new computers with clean installations. HDMI audio drops out for a moment when I move the mouse or any activity like browsing a directory, using Firefox, etc. Note, previously on 18 and earlier sound was fine while using analog output. Ubuntu 22.04, NVIDIA, Intel i9-3.6G 64Gig, 2T SSD

Solution: NVIDIA drivers n ...

Score: 0
How to convert zfs /boot to ext4
us flag

I want to change /boot from zfs to ext4. I've tarred the contents of /boot for safe-keeping. I can't unmount /boot while linux is running because the kernel is in /boot. If I use the LiveCD, I can get access to the disk containing /boot. If I delete the boot partition, re-format as ext4, and un-tar into the new ext4 partition, what will happen when I reboot? Will zfs die because /boot is no longer zfs?  ...

Score: 0
View the settings window for the Kate Editor
us flag

I'm running Kubuntu 22.04. I'm trying to change the text size in the Kate Editor, and I've encountered two problems:

  1. I can't see all of the settings window (Configure Kate), and I can't change its size. Is this the ten-year-old Bug 9632657?

  2. I changed the size of the editor font from 7 to 13, but the change was ineffective. That might be because the button for confirming the change was in the trunca ...

Score: 0
Matt_gti avatar
Tap-to-click sensitivity adjustment on Ubuntu 23.04
cn flag

I'm having about half of my single toGNOMEuchpad taps ("tap-to-click") ignored on Ubuntu 23.04 GNOME. It was working fine on 22.10 on same laptop right before upgrade. I imagine there is a sensitivity adjustment that can be made, although it is not in settings. I've searched around, but cannot find a solution. How can I adjust the tap sensitivity?

Second question: libinput reports tap-to-click i ...

Score: 1
PeaceEverybody avatar
GRUB 2.06 unable to load kernel support module when booting after apt upgrade in Ubuntu 20.04
bn flag

I run the most straightforward sudo apt update and sudo apt upgrade.

Now, when turning on and off the laptop strange console text appears on the screen. Furthermore, the GRUB menu is blue and blinking.

What has happened? How can I identify and fix it? The console text that appears is stuff about checks on OS processes.

EDIT 1:

I got some error during the Ubuntu boot process about SSSD (System Securi ...

Score: 1
ilie alexandru avatar
Pass an array to a bash function, syntax error: "(" unexpected
cg flag

I am trying to pass an array as an input for a different bash file. The main file is:

#!/bin/bash

arr=( "$@" )

path=`pwd`

cd ${arr[0]}

    read -p "Enter number of videous: " number_of_videous   

    for ((i=0;i<number_of_videous;i++))
    do
        read -p "Enter the resolution: " resolution
        
        if [ $resolution -eq 1080 ]
        then
            mkdir "${arr[1]}_1080_direct ...
Score: 0
Marco Marco avatar
Ubuntu 23.04 created me (inexplicably) 2 users
fk flag

i have a question. I upgraded Ubuntu from 22.10 to 23.04 (via software updater). Today, while I was doing some operations on the terminal (nothing relevant) I notice that the OS has created two profiles, here's what I got:

$ users
username username

$ who
username seat0        2023-04-29 17:17 (login screen)
username tty2         2023-04-29 17:17 (tty2)

$ w
 17:17:35 up 1 min,  2 users,  load aver ...
Score: 0
Duncan Spears avatar
Thunderbird 'Non overridable TLS error occured. ... TLS vers. cert. used by server ... incompatible.'
az flag

I'm new to this, not changed anything on my machine for years. Last week had online banking security threat and advised I must check antivirus and do full system scan. Today installed ClamTk and run a few scans. Now Thunderbird don't receive emails giving error as described above. I've uninstalled ClamTk and clamav - I think all of it, thunderbird still reports error. I don't recall as to where I access ...

Score: 2
Rodrigo Silver avatar
Mouse suddenly stops working in Ubuntu 22.04
py flag

I did a current upgrade of my Ubuntu recently. I made basic settings and program installations, and the mouse suddenly stopped working; it does not appear on the screen.

I use a Mousepad and a wireless mouse.

As one of the basic system settings, I installed apps like wps and vlc, set my main screen as font size and installed java, and used these commands:

sudo apt install default-jre
Score: 2
JVX901 avatar
Ubuntu 22.04: How to change default folder shown by 'Files' to root instead of Home
mv flag

I have a fresh installation of Ubuntu 22.04. When I click on the 'Files' icon in the GUI dock the initial view defaults to showing the default directories my Home directory, i.e. Documents, Downloads and such like. I can understand why some people might want that but I don't. I'm learning about Linux and Ubuntu, and to gain familiarity with the directory hierarchy I would prefer the initial view to be o ...

Score: 0
William du lac avatar
ubuntu graphics issue (symbols get big and desktop cuts screen)
rw flag

i have a problem. I use Ubuntu 22.04 as the only operating system on my computer. but i found a problem where my ubuntu symbol is very big and my desktop screen is crossing the border of my monitor. (This is like the VGA not detected problem if it's on a Windows OS). does anyone know how to solve this problem. i need help. Thank You.

Score: 0
Dogman45 avatar
Clarification of SAMBA configuration basics
no flag

Please help me with some very basic concepts with SAMBA organization. I understand the logic for the need of setting up server and client on the respective computers for sending and receiving data and know that the communication/data is broadcast by the router.

What I am not sure of is the role of the router needing to be configured with a WORK GROUP , an ACCOUNT also a FOLDER.

I’m guessing is t ...

Score: 0
Avraam avatar
print multi-line text with spaces aligned on the first line
bt flag

Issue:

I write relatively complex functions where I have to make up the code with spaces.

It is expected that the first line with the content (non-space character) will be determined, N spaces will be cut from it UP to the first non-space character.

Then, in all subsequent lines, the previously determined N-th number of spaces will also be cut out.

Expectation examples:

Let's say there is a certai ...

Score: 0
Helen Craigman avatar
Cannot change panel top bar title using Gnome extension (Ubuntu 22.04.2)
um flag

I am trying to change the top bar title, as follows:

I have installed the "panel date format" Gnome extension:

https://extensions.gnome.org/extension/1462/panel-date-format

Then:

~$ gnome-extensions enable [email protected]

returned with no error message. Then:

dconf write /org/gnome/shell/extensions/panel-date-format/format "'%A %-d %B %Y %k:%M (%:z)'"

returned with no error; b ...

Score: 0
Carlos Fernandez Deus avatar
Can't upgrade my Ubuntu form 20.10 to 22.04.2 LTS
gh flag

I can't update my Ubuntu due to this problem: "The requited dependency 'apt(>)2.1.10ubuntu0.3)' is not installed." I tried to install it but I can not do anything. Please help.

Score: 4
FedKad avatar
Difference between several command-line tools provided for 7-Zip compression (like `7z`, `7zz`...)
cn flag

When I search for 7zip in Ubuntu 23.04 packages, I find several results.

For example, package p7zip-full contains the /usr/bin/7z executable, while package 7zip contains the /usr/bin/7zz executable.

  • Version of 7z (in p7zip-full) is:

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

  • Version of 7zz (in 7zip) is:

7-Zip (z) 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : ...

Score: 3
FedKad avatar
Drag-and-drop problem in Ubuntu 23.04
cn flag

I am frequently downloading zip or rar archive files from the Web to extract their contents into a folder. There are two applications on my system that handle these type of archive files: Archive Manager and Xarchiver. Both have the same problem:

  • Download a compressed file from Web (this step is irrelevant, the compressed file may already be on local disk too);
  • The compressed archive opens in one of ...
Score: 0
luca.vercelli avatar
Libreoffice tabbed ribbons looks bad on XFCE
kz flag

I have just enabled "tabbed ribbons" style user interface following some tutorials online. The expected result was something like this:

Enable Tabbed Ribbon interface

However what I see is this:

Graybird

or even worse with a dark theme:

Graybird-dark

Has anybody enabled this feature on XFCE?

I am using Xubuntu 22.04.2.

Thank you.

Score: 1
cytsunny avatar
Is there a way to combine processing power of 2 PC?
cn flag

I have recently received an old PC from my friend. My current plan is to use it as a file server, but it feels like it is not fully utilizing the processing power of this second PC. Is there a way to connect this old PC to my main PC so I can use its CPU and/or ram for my daily use?

My main PC is using Ubuntu 22.04. I am planning to install Ubuntu in my second PC as well, but I am open to install ...

Score: 3
Ahmet Hakan YILDIZ avatar
"sudo command" not working, but after sudo su when I enter command is working
be flag

My Ubuntu version is Ubuntu 22.04.2 LTS. I have one user (ahmet) and it is member of sudo. I download intellij idea and I want to use its mvn lib for everyone. I edited /etc/bash.bashrc as in this link https://linuxhint.com/add-path-permanently-linux/ . When I try to execute mvn, there is three situtations:

normal way:

ahmet@ahmet:~$ mvn -v
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Mav ...
Score: 1
bielo vymaľovaná stena avatar
Bluetooth Dongle at Boot Doesn't Work [Ubuntu 23.04]
tz flag

TL;DR: I would like if Bluetooth turned on on boot.

I have a Bluetooth 5.1 usb adapter. It works in Windows 11.

In Ubuntu 23.04 (also 22.10), it doesn't turn on at start. I have to manually re-insert the dongle.

It seems like on boot, system recognizes it as an Ethernet dongle?

Not working:

// sudo dmesg |grep -i bluetooth
[    5.002579] Bluetooth: Core ver 2.22
[    5.002607] NET: Registered PF_BLUETOO ...
Score: 0
dhubuntu avatar
Speakers on ASUS Zenbook UP6502Z do not work, but headphones, mic, HDMI sound work fine
vc flag

With Ubuntu 23.04 Settings/Sound on an Asus Zenbook Pro 15 Flip OLED, I see two output devices, 'Headphones - Alder Lake PCH-P High Definition Audio Controller' and 'Speaker - Alder Lake PCH-P High Definition Audio Controller'.

The headphones work, confirmed by 'Speaker Test', but the speaker doesn't. Everything else related to audio seems to be working (HDMI, Bluetooth, Mic). The speakers also w ...

Score: 0
yop avatar
The system not support snapd in Ubuntu 23.04
in flag
yop
sudo snap install hello-world
[sudo] password for noax: 
error: system does not fully support snapd: cannot mount
       squashfs image using "squashfs": ----- mount:
       /tmp/syscheck-mountpoint-1214103833: wrong fs type,
       bad option, bad superblock on /dev/loop0, missing codepage
       or helper program, or other error.

       dmesg(1) may have more information after failed mount system call. ...

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.