Latest Ubuntu related questions

Score: 0
Roberto Gonzalez avatar
Automatize using bash downloading deb files and dependencies and later extracting them to a unique folder and compress it to use in a live filesystem
ck flag

I am developing a live filesystem and need to be able to download deb files with their dependencies which I manually do using this command:

apt download $(apt-cache depends --recurse --no-recommends --no-suggests
--no-conflicts --no-breaks --no-replaces --no-enhances
--no-pre-depends ${PACKAGES} | grep "^\w")

After that, I need to extract all data.tar.gz files from the required deb packages, combin ...

Score: 0
Gregory R. Pace avatar
Cairo-Dock is no longer a dock?
cn flag

Cairo-Dock doesn't seem to work correctly as a dock since a few updates ago.

None of Cairo's docks are being displayed on my machine, now.

Some of their applets that I had separated from their dock are now stacked on each other at center screen. The Cairo-Dock app itself now appears in the left launch bar, and displays a menu when right-clicked.

Is there a fix for this ?

Thanks in advance.

enter image description here

Score: 0
Junjul avatar
libGL error: failed to load drivers iris and swrast in Ubuntu 22.04
sj flag

I'm trying to run a pong game (pygame) in Python (VSCode) using a conda environment and I get this:

pygame 2.3.0 (SDL 2.24.2, Python 3.9.16)
Hello from the pygame community. https://www.pygame.org/contribute.html
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/d ...
Score: 0
Torge Rosendahl avatar
NVIDIA driver cannot boot after kernel upgrade. Nouveau works
in flag

I am running Kubuntu 22.10 with everything up to date. As soon as I install any (proprietary) nvidia driver, I cannot boot into a graphical system anymore.

System Info:

  • Kubuntu 22.10
  • Kernel 5.19.0-1021-lowlatency
  • GPU: GeForce GTX 1660
  • DE: Plasma 5.25.5 (X11)

When I boot normally, using the nouveau driver, everything works, that is except for games that apparently require the proprietary driver. As soon ...

Score: 0
Mirek avatar
Xubuntu - Second monitor not recognised by OS - xrandr addmode kinda works
ru flag

Igel H830C have one display port and one DVI-I port. I have connected two monitors via adapters (HDMI to DVI-I and HDMI to display port). Monitor (DELL U2520D) is working without any problems. However when I'm connecting 6.5" LCD (board pcb800099) its not recognized by OS (Xubbuntu - Ubuntu 22.04.2 LTS) at all. I have checked both adapters and 6.5 LCD on PC/laptop with windows and they are working corre ...

Score: 1
Inj3ct0r avatar
Ubuntu 22.04 Stuck in loading screen (Virtual Box)
it flag

I've installed ubuntu in virtualbox 1 month and i rebooted the VM today and i got stuck in loading screen.

I restarted ton of times, the same problem. I restart my PC again the same. I tried like all the solutions i found on google and here in the forum nothing.

Stuck here: https://i.stack.imgur.com/oDaqQ.png

I pressed ESC and no errors, all say "OK": https://i.stack.imgur.com/saptW.png

Any ideas? I d ...

Score: 9
LBB188 avatar
How to permanently turn on "-v" on ubuntu terminal (and how to remove it)
tr flag

I'm going through a video to learn about commands, and I noticed that when the guy inputs a command, most of them have the -v option by default, without him actually inputting -v in the command options.

He mentioned that he enabled "verbose", but I can't seem to find anything online that mentions what I'm looking for. I'm not sure if it is relevant, but I'm on a VM.

Video: https://www.youtube.com/watch?v ...

Score: 0
Kris avatar
How to find out available plugs for a Snap
uz flag

Is there a way to find out the available plugs for a particular Snap?

I'd like to run the following command:

snap connect pciutils:<plug> :system-observe

However, how do I know what to replace "<plug>" with? Can I run a command to get a list of available plugs for pciutils or pciutils.lspci?

Score: 0
Nigel Aves avatar
Keep getting " Failed to reload daemon: Failed to activate service ‘org.freedesktop.systemd1’ "
pt flag

Ubuntu 20.04.6

About 3 weeks ago I started getting the message " Failed to reload daemon: Failed to activate service ‘org.freedesktop.systemd1’ " doing a system update.

But the server seems to be running OK and accessing web-site on server has no slowdown. But on every update I get that message.

I’ve hunted on-line for a solution found a couple, but none seem to work. I’m also worried that a re ...

Score: 0
TechVio avatar
How to setup secure boot on customized Ubuntu Server ISO?
in flag

I have an Ubuntu Server 20.04 but I want it to support secure boot automatically just like how the official Ubuntu Desktop does.

Score: 0
Wes Shank avatar
Scanner Keeps Asking For Credentials Ubuntu 22.04
la flag

Any time I invoke my scanner program, the program almost locks (several times I often get the Force Quit / Wait prompt) and after several seconds, I am prompted for my login credentials. After a few more seconds, I can scan. It is a network scanner.

Have tried several different things:

1 - Adding my username to the scanner group 2 - Edited the visudo file and allowed my user to be exempted from pass ...

Score: 6
FireBADnoFire avatar
bash builtin "read" after a pipe "|" doesn't wait for user input
pg flag

When I curl a script stored on my web server, it endlessly echos a prompt I coded in until I send ^c. All i do is a simple curl https://server/test.sh | bash. This is the code being ran through the pipe

while true
do
        read -r -p "[Y/n] " input

        case $input in
            [yY][eE][sS]|[yY])
                        echo "y"
                        break
                        ;;
             ...
Score: 1
Spasojoni Armija avatar
Error with Ubuntu 0x8000000d An illegal state change was requested
th flag

So the problem is when I open 'Ubuntu' and 'Windows Subsystem for Linux' there is errors: 'Ubuntu'

WslRegisterDistribution failed with error: 0x8000000d
Error: 0x8000000d An illegal state change was requested.
Press any key to continue...

'Windows Subsystem for Linux'

Windows Subsystem for Linux has no installed distributions.

Use 'wsl.exe --list --online' to list available distributions
and 'ws ...
Score: 0
jwc avatar
ubuntu 22.04 process to upgrade GPU from nvidia 2080 super to 4070
sd flag
jwc

I have a system running with the starting state in the title (ubuntu 22.04 & nvidia 2080 /w the nvidia proprietary '515' drivers. I'm looking to install a new 4070 card. (currently backing up the drive, so I figured I'd check here)

A straight up card swap results in the nvidia persistence daemon failing to start and refusing to boot the system.

I'm assuming there are steps that I have to take be ...

Score: 1
Simon R avatar
Moving Ubuntu root to a new SSD which will become the boot device
io flag

I have a Dell desktop which I bought used, at which time it was set up to dual boot Windows (on disk 0 - /dev/sda ) and Ubuntu (on disk 1 - /dev/sdb). I nuked the Windows installation and /dev/sda now contains data.

Fdisk shows:

Device         Start       End   Sectors   Size Type
/dev/sda1       2048   1023999   1021952   499M Windows recovery environment
/dev/sda2    1024000   1228799    204800   1 ...
Score: 0
Borkode avatar
Error when installing Ubuntu (Input/output error)
yt flag

I'm trying to install Ubuntu Server as a single OS on an old PC I have lying around, however I am getting the error and upon checking the logs. I am getting the following error in the last line:

stdout: sfdisk: cannot open /dev/sda: Input/output error

I have attached a photo of the logs.

Logs

Score: 0
Jan Cvetkovic avatar
How do I disable my dedicated Radeon HD gpu and switch to intel graphics
cy flag

I'm a complete rookie when it comes to Ubuntu, I am currently trying to disable my Radeon HD 7570M gpu and switch to intel HD 4000 integrated graphics. I don't have any clue how to do this safely, I have tried a method that suggested editing the grub file but that just completely shattered my system to where it couldn't boot (was able to fix after 8 excruciating hours), so I'm very scared to try and fid ...

Score: 0
Borkode avatar
Error when installing Ubuntu Server (photo of log included)
yt flag

I was trying to install Ubuntu fresh on a HDD (single OS) but I am getting an error. I'm not sure what it is, but I have the logs. I have tried completely erasing the disk, reseating the HDD, resetting the BIOS and trying to use a different USB stick, but to no avail.

S

Score: 0
Ricardo avatar
Unable to mount external NVME USB disk
er flag

Hello I've a external NVME USB disk. It gets detected on windows (detect / create partitions / files / etc) and I can work with it. However when I try plug it in my Ubuntu I get the following:

Apr 14 16:09:21 Quieter2 kernel: usb 1-2: new high-speed USB device number 6 using xhci_hcd
Apr 14 16:09:21 Quieter2 kernel: usb 1-2: New USB device found, idVendor=1de1, idProduct=1101, bcdDevice=21.00
Apr 1 ...
Score: 1
Turn off screen keyboard when using touchscreen
in flag

Screen keyboard always show up every time I tap on a blank space or input field on the touch screen on my laptop. I've already turned off screen keyboard in settings -> accessibility -> screen keyboard, but the screen keyboard still keeps showing up. I have to tap on the ˇ button to close the screen keyboard every time. Is there any way to turn off the screen keyboard for good? enter image description here

Score: 0
bohnenvernichter avatar
WIFI not connecting after suspend, WIFI driver missing after reboot
bs flag

A few weeks ago I got an old laptop and installed Ubuntu 22.04 LTS on it. When I suspend the machine and wake it back up, the WIFI won't connect (looks like it tries to connect to a SSID but can't).

When I cut the power by shutting down and powering back up, everything is back to normal. When I reboot the machine instead, it boots and says it doesn't have any WIFI drivers enabled.

All relevant power ...

Score: 0
How do I install Qt6 QtWebEngineProcess in Ubuntu 22.04?
do flag

I installed the following packages: qt6-base-dev, qt6-webengine-dev and libqt6webenginecore6. But my application still returns an error: "Could not find QtWebEngineProcess". I can only find /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess on my system.

Score: 1
subject050000 avatar
I can't find drives that are already mounted
is flag

First I created 2 new partition tables with gparted each one for my two drives. Following this I ran sudo mkdir /hdd as well as sudo mkdir /ssd. Afterwards I ran sudo vim /etc/fstab and added two new lines of code.

/dev/sdb1    /hdd    ext4    defaults    0    0
/dev/sdc1    /ssd    ext4    defaults    0    0

At last after I saved vim I mounted both of them.

sudo mount /hdd
sudo mount /ssd

I checked  ...

Score: 0
fair8bois avatar
network LAN ssh is running but internet can not connect
ao flag

I have a old project to run an odroid cluster at home, thus I started configuring the network. there is 5 Odroid XU4 with Ubuntu 22.04: master with eth0 1Gbit/s 10.10.10.1 & eth1 100Mbit/s 192.168.1.20 then the slaves from slave1 eth0 1Gbit/s 10.10.10.2 to 10.10.10.5 for slave4.

Up to now I configured /etc/host on all. SSH got configured for all and is running.

particularly on master I installed ...

Score: -1
Barry Kimelman avatar
how do I search for text in a pdf file
sa flag

I am running ubuntu 22.0.4

how do I search for text within a PDF file ?

I have tried evince, but it doesn't find the text I have tried okular, but it doesn't find the text I have tried pdfgrep, but it doesn't find the text

Score: 2
Macuilxochitl avatar
Ch340 keeps disconnecting
bs flag

I recently bought a esp32 devkit with ch340 USB-UART bridge. After plugging it into the USB port of my Ubuntu 22.04 the serial port /dev/ttyUSB0 repeatedly connects and disconnects.

Also, I have tried this on Windows and Fedora where it worked as expected, so I think it might be a Ubuntu related issue.

dmesg output:

[ 662.091302] usb 1-2: new full-speed USB device number 117 using xhci_hcd
[ 662.253 ...
Score: 0
hakanekat avatar
Memory comsumption of 22.04 is abnormally high and unstable
cn flag

I've been using 22.04 LTS on a VMware virtual machine. The host OS is macOS 10.15 Catalina and the hardware is iMac Late 2013 (21.5inch). VMware Fusion is used for the supervisor.

4GB memory is assigned for the virtual machine and the swap is 2GB.

After booting and login, the system monitor shows about 4GB memory and 800MB swap are used.

On the desktop, 2 gnome terminals are running in addition to the  ...

Score: 0
Sushma avatar
Timeout issue with NetworkManager Service
pt flag

In Ubuntu 18.04 , the status of the Network-manager is always activating but after 90 Seconds in the console below logs are coming

[OK] failed to start Network-manager 
[OK] Starting Network-manager

but service status will remain same as below

NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; disabled; vendor preset: enabled)
   Active: activa ...
Score: 0
Francesco Boi avatar
Create end credits for video editing
in flag

I am using Pitivi for some video editing and now I want to add end credits to the end of video. I don't know if it's possible to do it directly in Pitivi (if so how?).

Here it gives some hint but no clear explanation. So I am wondering if there is any external tool to create scrolling end credits video in Ubuntu and then add it directly to the video editor?

Score: 0
Rakesh Sampat avatar
I updated Ubuntu to 20.04 Jammy. After update i am unable to update anything at all as i keep getting message given below
cn flag

I updated ubuntu from 18.04 to 20.04 jammy. After the update, a red stop sign appeared and I am unable to update anything at all. Whatever I try, I get the following message:

E: Malformed entry 2 in list file /etc/apt/sources.list.d/google.list (Component)
E: The list of sources could not be read.

How to solve? I am basic ubuntu user

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.