Latest Ubuntu related questions

Score: 0
How do I print files in a directory with a numerical index preceding them?
in flag

I’d like to print all files in a directory with a numbering, so that each file has a number before it, like this:

  1. myfile.txt
  2. anotherfile
  3. etc

I then want to refer to these files later on, like this:

mv 1 2 3 directory

How could I refer to the files by a numerical ordering?

Score: 0
Partition table experimentation led to performance issues, cause?
us flag

I decided to wipe my system and reinstall Kubuntu dualbooted with Windows today. The goal, since the intention of this pc build was virtualization, was to containerize my main NVME (1tb) into 3 sections:

-nvme0n1p1 - 100gb --- /
-nvme0n1p2 - 200gb --- /home (encrypted)
-nvme0n1p3 - ~670gb --- /vmlib (virtual machine library for vm disks)

The point of the /vmlib partition is to separate my vul ...

Score: 1
Ezau avatar
How to update Virtualbox?
gb flag

I'm using Ubuntu 20.04 LTS and I'm trying to update virtualbox. The system is updated. The site of virtualbox says just to download the latest version and just run it normally, but when I do that, it only opens the ubuntu software and nothing more. So, how do I update virtualbox?

Score: 0
huss987 avatar
Unmet Dependencies w/ Python3-dev - Apt seems broken
jp flag

On Ubuntu 20.04, and trying to install ROS2 Galactic, requires the following package: sudo apt install -y libpython3-dev However, this returns the following:

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following ...

Score: 1
bobeff avatar
Xubuntu 21.10 is freezing after closing the laptop lid
mx flag

I'm using Xubuntu 21.10 on an ASUS ROG Zephyrus G14 GA401QM-K2030T laptop. When I close the laptop lid the desktop freezes. Could someone help resolve this issue?

Afterwords:

It seems that the problem appears not only when I close the lid, but also if the computer stays idle for some time.

Score: 5
Random-Ubuntu-User avatar
How to search a certain folder or disk and only get the results for that folder or disk
cn flag

I searched a disk for a certain file name and I got the results for the whole pc. I made sure the file manager window was inside the disk (CANON_DC) like this and searched ike.enter image description here

The file manager window was in CANON_DC. As you can see by some of the directory names, like Documents/Jeshua.. and Pictues/fun photos... All these are from the home folder. I got files for the whole pc; not just the disk. Ho ...

Score: 0
Pikaschu avatar
Dual boot ubuntu 20.04 and WIndows 10 Problem force shutdown in every restart before Grub screen
az flag

I ran the below command in cmd it works fine for the dual boot system. But before Grub screen there's a fast shutdown and also a blank screen with cursor visible and turning off suddenly the PC and restarting as well. This happens every time I restart. What to do?

bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

Score: 3
Query Weary avatar
Restoring touch functionality for a touchscreen laptop?
br flag

I just installed Ubuntu with KDE on Latitude 5289, it's a Dell laptop that normally has some pretty nifty touchscreen functionality. For example, on Windows, this machine would be able to scroll up and down web pages and documents by dragging a finger over the screen, or zoom in and out using two fingers.

Right now in KDE Ubuntu 21.10, touching the screen just warps the mouse cursor to where I to ...

Score: 2
Jaiden Martinson-Hatt avatar
Ubuntu 20.04 Installer Doesn't Recognize Disk Partitions
ph flag

I'm trying to set up a dual boot with Ubuntu 20.04 on my Microsoft Surface Laptop running windows 10. When I run the ubuntu installer (I am booting from a USB stick with which I used the iso file and rufus to format) there is no option to install alongside windows, and furthermore, when I select "something else" I am unable to see the "free space" partition that I've created. I've shrunk my primary part ...

Score: 0
Louis avatar
Ubuntu inconsistant GPU informations
cn flag

I have been trying for a few hours to install CUDA for tensorflow-gpu. I felt like the thing was up and runnning but I had an error when fitting a simple CNN. I checked my GPU as it seemed to be an out-of-memory error.

nvidia-smi returns :


+---------------------------------------------+
| NVIDIA-SMI 495.29.05    Driver Version: 495.29.05    CUDA Version: 11.5     |
|------------------------------ ...
Score: 0
raddevus avatar
Why doesn't Visual Studio Code display that it is running on Ubuntu 21.04 taskbar?
us flag

When I start Visual Studio Code in Ubuntu 21.04 I do not see the indicator on the task bar that it is actually running. Notice that you can see that Thunderbird, FireFox & terminal have open windows in the following image:

Ubuntu 21.04 taskbar

OpenOffice is not running (so it doesn't show the red dot) but Visual Studio Code (v 1.61.2 x64) is running but still doesn't show the red dot on the task bar.

Do you know w ...

Score: 0
Teams notifications stop working after reboot - kde
es flag

When I freshly install teams, everything works ok, both sound and visual notifications. After one day, notifications stop working I'm on KDE, other people on gnome or other gtk DEs have no problems. That happens both with the Deb and snap package

Score: 0
Jihane El Jbari avatar
How can I change source directory from System 32?
cz flag

I am a newbie in Ubuntu. When I open my terminal, the source path (directory) starts with System32, how can I change it to User or Desktop ? When I type cmd.exe : Microsoft Windows [version 10.0.19042.1320] (c) Microsoft Corporation. Tous droits réservés.

Score: 1
Copy/paste not working in VMware VM with Live Linux system
mx flag
xpt

Following up with Copy/paste and drag&drop not working in VMware machine with Ubuntu,

For any Live Linux system (Ubuntu, KUbuntu, LUbuntu, etc), I don't think copy/paste text can be working out of the box. However, from the above answer, the solution is simple, as far as normal Linux system is concerned, just to install open-vm-tools and open-vm-tools-desktop.

However, the last step from the above a ...

Score: 1
bobeff avatar
Second monitor stopped working after executing dist-upgrade
mx flag

I'm using a newly installed Xubuntu 21.10 on my brand new ASUS ROG Zephyrus G14 GA401QM-K2030T. It has two video cards. One is the integrated on the AMD CPU Ryzen™ 9 5900HX and the second one is a discrete NVIDIA GeForce RTX 3060. I also using an external monitor alongside laptop one via the HDMI port. Initially, the setup was working fine, but after executing sudo apt dist-upgrade and restarting ...

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.