Latest Ubuntu related questions

Score: 0
marsheng avatar
CSM boot with Win7 and Ubuntu Toshiba
us flag

I have a Toshiba Ultrabook with win 7 installed.

I would like to dual boot with Linux.

In the bios, the disk is set to CSM mode. In CSM mode, I don't have an option to boot from USB.

If I set the bios to UEFI, I can boot from USB. If I try install Ubuntu, it does not see windows.

In UEFI mode, it also won't boot to Windows.

As much I as I have read, I cant see a way around this.

I have the WIN7 on an  ...

Score: 0
krenkz avatar
LibreOffice opening with the recovery window in Ubuntu 23.04
cn flag

LibreOffice seems to work ok in Ubuntu 23.04 but whenever I want to open a new document, I get a recovery window claiming that the previously used documents crashed and need to be recovered (though when I was closing them, everything seemed ok). I re-installed LibreOffice but the same thing is happening with the newly installed version 7.5. It is no big deal but it is annoying. Is there a way to get rid ...

Score: 0
abdye avatar
Terminal won't open on new installemnt
jm flag

I just install ubuntu 22.04.2LTS in virtual box, cannot open terminal. I try useing TTY failsafe terminal to re-generate my locales. Have not install any other things, a new VM and ubuntu.

Score: 0
Sam Mak avatar
How to change the ssh port on Ubuntu 23.04?
fi flag

How to change the ssh port on Ubuntu 23.04?

root@ubuntu:/home/user# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 23.04
Release:        23.04
Codename:       lunar
Score: 0
Ramendu Narayan DATTA avatar
how to remove foreign architecture on ubuntu 23.04
be flag

when I tried to upgrade it is shown as follows:-unknown option 'foreign-architecture' ub-process /usr/bin/dpkg returned an error code (2) ramendu-narayan-datta@ramendu-n How can I solve this?

Score: 1
Tikhon avatar
New To Ubuntu - Hyper-V - Running out of Space?
th flag

I am new to Ubuntu and since I was just laid off from my job of 17 years, I've decided to try to learn some new skills and bought the book, DevOps for the Desparate by Bradley Smith from No Starch Press.

I am using a Windows 11 Pro OS with Hyper-V to go through the tutorials and have created an Ubuntu 22.04 LTS virtual machine in Hyper-V, pulled the git repo, installed VirtualBox, Vagrant and Ans ...

Score: 0
Ondra Žižka avatar
Ubuntu 23.04 new installer crashing
pl flag

This is more of a bug report than a question; I am now without access to Ubuntu web.

The new installer fails to load, most of the time. When it loads, it contains graphical artifacts, and crashes later on.

I have tried to run it from a console and got these errors:

ubuntu@ubuntu:~$ ubuntu-desktop-installer
flutter: INFO ubuntu_desktop_installer: Logging to /var/log/installer/ubuntu_desktop_installer.log
 ...
Score: 0
user227495 avatar
Preview Cursor files in Nautilus
us flag

currently there is no way to see how a cursor file looks like in Nautilus. It is listed using dummy icons as seen below. Is there any plugin or other means to enable preview of these cursor files? Thanks.

PS: Using Ubuntu 22.04

enter image description here

Score: 0
Larry Martell avatar
MySQL installation woes
wf flag

Trying to install MySQL on 20.04.4. After running sudo apt-get install mysql-server it starts the server but there is a root password that is not known to me. I wanted to initialize it so I stopped the server and ran mysqld --initialize-insecure --datadir=/tmp/mysql - that generates no output at all, nothing written to the logs, and no files are created in /tmp/mysql. I stopped apparmor just to ma ...

Score: -3
Tanveer Ahamad avatar
nvidia driver package is broken
pk flag

I'm having a problem after trying to upgrade. The message shown is:

cuda-drivers-535 : Depends: nvidia-kernel-common-535 (>= 535.54.03) but it is not installed
nvidia-dkms-535 : Depends: nvidia-kernel-common-535 (= 535.54.03-0ubuntu1) but it is not installed
Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Score: 0
Nightro-Fx Gaming avatar
Why can't I use my internal mic with headphones in Ubuntu?
mk flag

My input device automatically changes to external mic when I plug in my headset. How do I force set my input to internal with my headset plugged in?

Screenshot

Score: 0
Allen Williams avatar
Devede not installable 22.04 LTS
vn flag

Ubuntu 20.04 LTS had Devede installed and worked fine. Updated to 22.04 LTS and this, and other programs (e.g. Audacious) disappeared, either immediately, or subsequently. Cannot re-install. Tried manually with Devede, get this:

$ sudo apt-get install devede
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This ma ...
Score: 0
Plessas avatar
I have a Lenovo Flex 5 16ABR8. I've just dual boot installed Ubuntu Studio 23.04 and the touchpad and touchscreen do not work (work under Windows 11)
kw flag

I found a bug that I think may be the issue (https://bugzilla.kernel.org/show_bug.cgi?id=216804). It looks like a kernel patch was made to the 6.2 kernel that applied to other Lenovo Flex 5 laptops, but not the 16ABR8. It also looks like there is a more generalized fix in the 6.5 kernel, but I'm not sure when that would make it into ubuntu studio. I guess I could apply a kernel patch manually, ...

Score: 0
Why is text width while using FONTCONFIG_PATH are always rounded
ru flag

I am running chrome and chromium and behavior remains same both browsers.

If I don't set FONTCONFIG_PATH environment variable for the browser process, I see floating point numbers such as 136.2060546875. If I set FONTCONFIG_PATH, I get rounded numbers such as 136, no fractional part. Using following Javascript to get the width

const canvas = document.createElement("canvas");
const ctx = canvas.getCont ...
Score: 0
Humberto avatar
Ubuntu 23.04 - Microphone not working for Lenovo Ideapad 1
mg flag

I bought a Lenovo Ideapad 1 and installed Ubuntu 23.04. Everything seems to work fine except for the microphone.

Was anyone able to solve that problem ? I am not sure if it is a driver or configuration problem.

Audio hardware details below: (lspci -knn | grep Audio -A3)

pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
04:00.1 Audio device [0403]: Advanced Micro Devic ...
Score: 2
von avatar
Installed Ubuntu on a separate ssd from Windows, Windows runs chkdsk at every startup
ws flag
von

This might not be the right place to ask this but this has started right after I installed Ubuntu, hence it makes me wonder if the solution might have to do with Ubuntu as well.

Last weekend I set up a new SSD in my case and have successfully installed Ubuntu LTS on that SSD and have been using it happily for work since.

However, I have begun to notice that each time I boot back into Windows, it pul ...

Score: 0
user20695956 avatar
unable to edit contents of /sys/bus/pci/devices
lk flag

when attempting to run

#!/bin/sh

for i in /sys/bus/pci/devices/*/boot_vga; do
    if [ $(cat "$i") -eq 0 ]; then
        GPU="${i%/boot_vga}"
        AUDIO="$(echo "$GPU" | sed -e "s/0$/1/")"
        USB="$(echo "$GPU" | sed -e "s/0$/2/")"
        echo "vfio-pci" > "$GPU/driver_override"
        if [ -d "$AUDIO" ]; then
            echo "vfio-pci" > "$AUDIO/driver_override"
        fi
       ...
Score: 1
user639188 avatar
How to install Japanese font for cmatrix
nl flag

I want to use Japanese font in cmatrix, using the command

cmatrix -c

but the only thing I can see is a blank screen, so the characters aren't displayed correctly. How to install Japanese font?

Score: 0
Anton Tykhyy avatar
How to make apt auto-upgrade packages even when a depends package is removed/renamed?
kh flag

Normal unattended-upgrades keeps back packages when a Depends package is removed/renamed. This is usually reasonable, but I would like to override this behavior, as it can lead to breakage which can be hard to detect/fix if it occurs in a cloud virtual machine that one isn't regularly interacting with. Is it possible to tell unattended-upgrades to not keep back such packages? (Note: I am not asking ab ...

Score: 1
Nightro-Fx Gaming avatar
Disable input device auto switching from internal mic to external mic when I insert my head phones
mk flag

I can't switch to internal mic when having my headphone inserted. I can't change my input device from external to internal. There is only one option in the drop-down when changes:

enter image description here

Score: 0
java program in xscreensaver
cn flag

Trying to run my Java Swing program in xscreensaver.
The program runs great from command line. It uses the whole screen with

    JFrame frame = new JFrame();
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    GraphicsDevice gd = ge.getDefaultScreenDevice();
    gd.setFullScreenWindow(frame);

    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setVisible(t ...
Score: 2
Nedo avatar
Can't install snap the package manager
gl flag

Some time ago I uninstalled snap, and probably messed things up cause now I can't install it back. When I try to run sudo apt install snapd this error appears:

Package snapd 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 another source

E: Package 'snapd' has no installation candidate

My system specs: ...

Score: 0
sduhbekjabhefsd avatar
Loud crackle noise coming from caps / num lock keys when pressed rapidly
cg flag

Ubuntu Version 22.04.2 LTS

Kernel driver in use: snd_hda_intel

Audio from all other sources plays perfectly. When pressing num / caps lock normally, a beeping sound plays normally. When pressing the key rapidly such that the key is being pressed while the sound is already playing, a loud crackling noise happens. The noise seems different depending on how soon the key is pressed after it is pressed f ...

Score: -1
Lexible avatar
Prevent Files from automatically adding directories to the sidebar?
tn flag

If I manually search through my directory hierarchy using the Files app (Ubuntu 22.04, Gnome 42.9), folders I visit get automatically added to the sidebar (below Trash and above +Other Locations). How can I disable this behavior, so that Other Locations only contains directors I place there manually?

Acceptable answers will restrict themselves to Gnome (I appreciate that there are other desktop e ...

Score: 0
Kevin Moore avatar
Problem with heanet.ie when trying to download gpg keys
in flag

Having an issue trying to download gpg security keys from heanet.ie servers on my debian/linux distro when trying to install mariadb as the keys are not signed. Anyone know how to resolve this issue?

Score: 0
How to recover files without extension using PhotoRec
US flag

So i had some files without extensions on my usb drive which has been formatted many times. I tried to use gparted to recover them but no result. Then i found PhotoRec which using deep scan i was able to recover all my files from usb drive (except for those that were without extension). PhotoRec doesn't have an option to recover files without extension and you can't create custom signature which points  ...

Score: 0
Arun Nath avatar
Install 32 bit version of libmrm on Ubuntu 22.04
cn flag

I am trying to run a 32 bit program on 64 bit Ubuntu 22.04. The program has dependency on the libmrm4 library.

I am trying to install the 32-bit version of the libmrm4 library in 22.04.

I added the 32-bit arch support in ubuntu using

sudo dpkg --add-architecture i386 sudo apt-get install multiarch-support

However when I try to install the 32-bit version of libmrm4, I still get an error:

apt install ...

Score: 0
Raz  avatar
hdaudio hdaudioc0d2: unable to configure , disabling while booting - ubuntu 22.04
mq flag

I'm working with Nvidia 33060 Ti, after i installed the driver for the GPU I get this message while booting :

"hdaudio hdaudioc0d2: unable to configure , disabling while booting"

I get to the gui login, but every boot I get this message.

Someone know how can what does it mean?

Score: 0
Danz Zaragoza avatar
Ubuntu Installation Issues Acer Aspire E5-411
vi flag

I've been having this issue installing ubuntu on my Acer laptop. I've only encountered this error just today and a few days back then, my OS was just running fine. Every time I try installing ubuntu OS'(14.06, 22.04.6, and 20.4 specifically), It just leads me to this endless terminal thing. is there a way to fix this? Error Installation

Score: 0
Cranberry avatar
Errors compiling source code for Aseprite on Ubuntu Linux
gf flag

Here is the error code I get when I try to compile the source code for Aseprite on Ubuntu Linux 22.04:

cran@cran-MacBookPro:~/aseprite$ mkdir build
cran@cran-MacBookPro:~/aseprite$ cd build
cran@cran-MacBookPro:~/aseprite/build$ cmake -G Ninja -DLAF_BACKEND=skia
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note ...

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.