Latest Ubuntu related questions

Score: 0
Mai avatar
How to Enable Additional UARTS in Raspberry Pi Ubuntu 22.04 LTS
in flag
Mai

I need to obtain data from two sensors I have connected to the Raspberry Pi 4 IO Board. I am using Ubuntu 22 since it is a requirement. I have connected GPIO 4 and 5 for one sensor and GPIO 8 and 9 for another sensor to the UART 3 and UART 4. (It is necessary I use the RPI Pins). I have already enabled the dtoverlay in the /boot/config.txt as follows:

Under /boot/config.txt:

enable_uart=1
dtoverla ...
Score: 0
lpusrpov avatar
Monitor won't go over 240hz
to flag

I've got a 360hz 1080p monitor running 22.04, but if I select either the 300hz or 360hz options, it goes through some "blackish" attempts, then reverts after some time to 240hz, at which point the display regains functionality.

The cable is a high datarate displayport cable, and when booted into Windows, the computer runs 360hz no problems at all. GPU is a 3070ti. Any idea what's up?

Score: 0
Steven avatar
Troubles getting docker to run on a multipass instance
bd flag

I have been struggling to get docker to run properly using a multipass instance with bridged networking. I keep running into troubles with the docker0 network being down and I cannot seem to get it to work right. I have internet access in the client vm, I can ssh into the vm just fine.

Here is what I see for the docker0 interface:

4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdis ...
Score: 0
rajeev avatar
How to make disk based pool for KVM in unbuntu 20.04
au flag

ubuntu 20.04 LTS

I am looking at CLI virsh and GUI cockpit only. I am having hard time to figure the right way to assign spare disk on my system for dedicated to VM.

The disks are showing fine as /dev/sdb under storage or fdisk -l. I can create partition and create FS also using mke2fs but I am not sure how to:

  1. configure it in libvirt (config file and folder etc.?)
  2. create in cockpit/storage?

I looked al ...

Score: 0
nerdfever.com avatar
How to change app button styles?
ar flag

In Cinnamon I find it difficult to tell which app buttons are depressed (selected). In KDE it's much clearer.

Here's the Snap Store in Cinnamon:

Cinnamon buttons

and the Snap Store in KDE:

KDE buttons

In Cinnamon it's not obvious to me that the darker one is "depressed" (I guess I expect the selected one to "light up", not darken).

How can I change the button style in Cinnamon? I played with a bunch of settings but didn't find a ...

Score: 0
Mahler avatar
Gdm: Failed to contact accountsservice. What does it mean?
in flag

I am running the instance of the Ubuntu 22.04.1 Jammy. I have got error

Gdm: Failed to contact accountsservice: Ошибка вызова StartServiceByName для org.freedesktop.Accounts: Transaction for accounts-daemon.service/start is destructive (boot-efi.mount has 'stop' job queued, but 'start' is included in transaction).

And I was asked to reboot the computer. What does this error message me ...

Score: 0
DrTSPC avatar
During startup, the screen displays information that I don't understand
ng flag

While booting, my Ubuntu 22.04 machine displays information that I don't understand, but it doesn't look positive. The boot completes, but the messages seem to indicate that certain functionalities are missing.

Can someone shed light on what is going on?

I enclose 2 images that I took using my iphone camera while booting:

The first shows the first set of messages that may deal with processors. enter image description here The ...

Score: 1
k314159 avatar
Ping works but nslookup doesn't see resolv.conf domain search
in flag

My /etc/resolv.conf contains one search line that looks like this:

search a.local b.local c.local

The ping command works fine:

$ ping some-server
PING some-server.b.local (10.20.30.40) 56(84) bytes of data.
64 bytes from 10.20.30.40 (10.20.30.40): icmp_seq=1 ttl=58 time=47.8 ms

But the nslookup (or host) commands don't work without the FQDN:

$ nslookup some-server
;; Got SERVFAIL reply from 10.100.0 ...
Score: 0
Aliot Tubu avatar
Screen Readability: Overlay transparant layer
cn flag

I was wondering whether it'd be possible to overlay transparent images over folders, the desktop, browser, etc.

Sort of like an image viewer, just transparent.

This question arose since I'm trying to figure out how to create a higher readability and comfort for reading. I spend a lot of time on different monitors, all with different adjustments, resolutions, etc. Solutions I found (but aren't ideal) ...

Score: 0
nerdfever.com avatar
sudo notepad-plus-plus not working
ar flag

I installed notepad-plus-plus from the Snap Store; this is a Windows text editor; it runs under Wine.

It works fine for normal files, but for files that require root permission I have trouble.

For example, to edit such a file with nano I'd do:

sudo nano /etc/rc.local

If I try that with notepad-plus-plus, I get this:

dave@MONOLITH:~$ sudo notepad-plus-plus /etc/rc.local
mkdir: cannot create directory '/ ...
Score: 0
user1636349 avatar
Cron job to restart server in xfce4-terminal: SESSION_MANAGER not defined
cn flag

I have a server running with a UI in an xfce4-terminal, and I have a cron job to restart it at 4am if certain files have been updated.

The restart script writes the date and time to a logfile, but when run from the cron job also records a message "Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined" to the logfile. The s ...

Score: 0
handle avatar
"Hook" (callback) for Night Light?
bv flag

I'd like to sync a Zigbee "smart" light to the Night Light settings (with 22.04 LTS).
What are the internals of this function and is there a way to run a program on any changes or monitor it (poll state)?

Score: 0
Meragone avatar
Wi-Fi stopped working on one network which still works on Android and Windows
gp flag

I'm in a student dorm with a Speedport W 500V router I connected to their network in order to have wireless connection from my phone and laptop.

My Ubuntu 22.10 Acer Aspire 1 worked well with it ever since I replaced Linux Mint 20 (which also faced the same issue but stopped connecting to any wireless networks altogether). I added eduroam as a network connection, though I doubt that should interf ...

Score: 0
elysium avatar
Deleted /user/bin/X11 Directory by Mistaken
us flag

Earlier today, I had some difficulty locating virtualenv for Python ( as a short background), had some difficulty after spent quite some time, while searching for where virtualenv might have been installed.

I came across this X11 folder repeated itself again and again, I was not thinking anything, due to the issue at hand, went ahead and deleted this to organize the computer a bit by deleting this s ...

Score: 1
gannex avatar
can't apt update ubuntu 20.04
cn flag

For a while now, I have been unable to successfully run sudo apt update on my install of ubuntu 20.04.

For example, the output is like this

Ign:1 http://ppa.launchpad.net/bluetooth/bluez/ubuntu focal InRelease
Hit:2 http://packages.microsoft.com/repos/code stable InRelease                                    
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease                                      ...
Score: 0
frizzfrizzlol avatar
Failed to install Ubuntu using Unetbootin on my hard disk using WIndows Bootcamp
aq flag

I want to install Ubuntu on my iMac, but I don't have a USB or CD, so I thought, make a Bootcamp partition, install Windows 10, then use Unetbootin to create a boot entry on the C:/ hard drive and reboot my iMac, then when I boot in the BOOTCAMP disk partition, it shows 'Which operating system do you want to boot into' and it shows Windows 10 and then Unetbootin, and I clicked on the boot entry but it s ...

Score: 2
KingTube avatar
Ubuntu 22.04 stuck at boot screen
lk flag

My computer won't boot.

I've tried:

  • Purge Nvidia drivers
  • Start with nomodeset
  • fsck (It didn't run because /dev/sda3 was always mounted.)
  • apt update
  • Removing quiet splash *

Results of journalctl :

enter image description here

Results of fsck -nf :

enter image description here

With quiet splash removed the PC booted until [ OK ]Reached target Multi-User System., but nothing else happened after that.

Score: 0
nerdfever.com avatar
What's the point of verifying downloads against the sha256 hash?
ar flag

Just out of curiosity - Ubuntu and other Linux distributions tell users to verify downloaded .ISOs against the SHA256 hash of the .ISO.

1 - Since the SHA256 hash value is hosted on the same website as the .ISO file, isn't it equally vulnerable to an attacker who wants to distribute hacked images? If an attacker manages to substitute his own hacked .ISO file, why can't he also substitute the SHA25 ...

Score: 0
enrike avatar
Edirol UA101 soundcard suddenly sounds weird in Ubuntu Studio 22.04.1 LTS
pf flag

My Edirol UA101 soundcard sounds suddenly like all the sound would be passing through a ring modulator. I have been using this card couple of months ago and it was fine. This happens both in my desktop running the latest Ubuntu Studio. However it does not happen in another laptop running latest Xubuntu or if I connect other soundcards (I tried two different ones and both are fine).

This is the ke ...

Score: 0
DavidDJ40 avatar
I'm trying to change the flags on my files I copied before stating fresh with Ubuntu 22.04
in flag

I made a copy of my files on a USB hard drive before starting fresh with Ubuntu 22.04. How do I change the ownership of the directories on the USB hard drive, file and sub-directories? I just want to put them on the new installation so I can edit then. I've tried the chown command and can't get the syntax correct. I've looked at as many posts as I can find and I'm getting lost in all of the information. ...

Score: 1
AlexGadd avatar
Unable to install steam on Ubuntu running in parallels on my M1
cn flag

I tried following the guide as per lubuntu installing steam "steam has no installation candidate"

But the error message I get is as below:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package steam is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from anoth ...
Score: 0
Pedro Fuentes avatar
I can´t turn on Bluetooth in Ubuntu 22.04
zm flag

I have recently bought a cheap usb dongle and I cannot get bluetooth to work. My motherboard did not have any bluetooth out of the box. This is what I got after typing sudo dmesg | grep -i bluetooth

[    4.852334] Bluetooth: Core ver 2.22
[    4.852354] NET: Registered PF_BLUETOOTH protocol family
[    4.852356] Bluetooth: HCI device and connection manager initialized
[    4.852358] Bluetooth: HCI  ...
Score: 0
How do you reset networking interface to defaults?
in flag

How do you reset Ubuntu's networking interface to the default configuration?

I'm not asking how to restart the networking service. I'm asking how to wipe out any custom networking configurations as though you had just installed Ubuntu for the first time.

Searching for guides on how to reset networking just gives me tons of results on how to edit YAML files. Obviously, when you install Ubuntu for the ...

Score: -1
Edimma Ekpri avatar
when trying to sudo apt install git, i get the following error
tl flag
The following packages have unmet dependencies:
 git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
Score: 2
Ryan Bruner avatar
How do I gain admin access without a root password and no sudoers?
lb flag

I am running VirtualBox on a Windows Machine, and installed Ubuntu Linux 22.04 LTS. During the install, I set up the initial user. However, there appears to be no way to make this user have admin (sudo) privileges. After the install, I can login as the user, but I can't do anything involving admin (meaning, I can't use sudo). If there is a root password, I don't know what it is. (I think by default ...

Score: 2
G.Serafini avatar
Settings and Livepatch option not working under Software & Updates after upgrading from 20.04 to 22.04
fi flag

I upgraded 2 days ago from Ubuntu 20.04 to Ubuntu 22.04. After that when I open Software & Updates, either from GUI or cli (using update-manager command) it runs fine and at the end it says: The software on this computer is up to date. I have then the option for "Settings and Livepatch...". When I click on it nothing appears, but in the terminal I receive the following error message.

Tracebac ...
Score: 0
Pa Zo avatar
How to setup a cron tab to restart a game server using screen
xk flag

I'm using Ubuntu 18.04. I have been trying to setup a scheduled restart every 2 days at 4 AM for my Unturned Server.

This is my crontab:

* */3 * * * root/.steam/steamcmd/Unturned1 ; screen -XS Unturned1 quit; /usr/bin/screen -dmS Unturned1 ; ./ServerHelper.sh +InternetServer/Unturned1

The "*/3" is just to test every 3 minutes, the crontab successfully ends the screen and starts a new one, but wh ...

Score: 0
Increase mouse cursor size when moved rapidly
us flag

In MacOS, there is a feature that if the mouse cursor is moved rapidly, it increases in size (so that the cursor can be easily spotted). Once stopped, it gets back to normal size.

Can something like this be achieved in Ubuntu?

I am using Ubuntu 22.04. I am open to using Kubuntu or any other flavor where this can be incorporated.


What I tried - The following script toggles the mouse cursor size in  ...

Score: 0
Why has the link mouse cursor in Firefox suddenly changed and can I change it back?
cn flag

As of today, the mouse cursor used for hovering on hyperlinks in Firefox has suddenly changed. If I remember correctly it used to like like this (how it still looks in Chrome):

enter image description here

In Firefox, it now looks like this:

enter image description here

Somehow I prefer the contrast and style of the old mouse cursor.

I'm wondering what has caused the change and how I can change it back?

This is under Ubuntu 22.04, Firefox version 109.0.1.

Score: 1
Krita art tablet pen inputs cut out and switch to mouse
co flag

So... I can't really do digital art right now because every now and then, when working in Krita, a pen stroke on my art tablet will be cut out and moving the mouse cursor will draw instead. (One time I tried making a drawing and the first stroke was immediately cut out, leaving just a dot on the canvas.)

Here're the facts:

  • At first I thought it was unfocusing, but it still said Krita as the focused 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.