Latest Ubuntu related questions

Score: 0
Fontalamh avatar
How can I scrobble the output of SongRec?
us flag

Using Ubuntu that I runs as my desktop I want to be able to automatically scrobble my record/CD playing on my stereo to last.fm.

SongRec does a great job of recognising and reporting on the songs by listening in through a microphone so the source doesn't matter. It gathers all the required information.

I can export a CSV from the GUI of SongRec and I can import it into last.fm.

How can I make the who ...

Score: 1
nvcc/gcc broken in Ubuntu 20.04/21.04: how to patch gcc (installed via apt)?
mt flag

Question: What is the step-by-step solution to apply a gcc patch, in particular when it is installed via apt? (I want to apply the one mentioned here)

I tried following multiple guides on how to patch gcc, but they either rely on that gcc was installed via source, or via git. Furthermore, for less experienced users, it is extremely confusing WHAT the patch is/which file it is/how it looks like, how to ...

Score: 0
pjk avatar
Why root password exist if I can be root with sudo -s or sudo -i, it need only sudo password so?
cn flag
pjk

sudo -i makes me root with sudo password

sudo -s, sudo su the same

su and su root need root password so it doesn't make sense to me, I can be root with only sudo password so why root password exist?

Score: 2
felon avatar
WiFi driver issues in ASUS ROG G15 (2021)
jp flag

I decided to shift to Ubuntu from Debian after getting my new laptop because of Nvidia driver issues in Debian(now I understand Linus Torvald's frustration ).

lspci | grep Network gave the following result: Mediatek Corp. Device 7961

I can't seem to find the drivers anywhere. I'm runnung Ubuntu 21.04

Score: 0
Why are both channels heard at the same time when selecting left or right?
cn flag

I have been running Ubuntu 16.04 for years without a problem, and just recently after the last update it is mixing both channels together. I am running it on a Mac Powerbook with 16 Gigs of RAM, and 256 Gig SSD drive. I have never seen this problem before and have already reloaded alsa base pulseaudio to at first no effect, and now it will not connect with the blue tooth external speaker. The right and  ...

Score: 0
Dev MK avatar
Error on NGINX 1.18 after installing on Ubuntu 20.04
jp flag

I've built a docker image by installing NGINX 1.18 on Ubuntu 20.04 base os. While running, we see this error message :

nginx: [emerg] open() "/etc/nginx/modules-enabled/50-mod-http-image-filter.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:4

The Dockerfile looks something like this :

FROM ubuntu:20.04 
LABEL name="nginx base image" \
RUN apt-get update \
&& apt-get i ...
Score: 0
zipline86 avatar
kinetic scrolling (scrolling which continues when taking fingers off trackpad) not working for Ubuntu 20.04 LTS on HP Zbook
cy flag

How do I get kinetic scrolling to work on my laptop trackpad?

When I go into settings and click the test your settings button and the kinetic scrolling works completely fine. However, it doesn't seem to work anywhere else i.e. Chrome, Firefox, Sublime, etc.

test your settings button at top right test scroll area

Score: 0
yaa__ avatar
ModuleNotFoundError: No module named 'tkinter'
us flag

The aforementioned error showed up when I tried to use the Turtle class. I was following a tutorial where it's used to pop up a window in the screen. The code is simple:

from turtle import Turtle, Screen
jabba = Turtle()
print(jabba)

my_screen = Screen()
print(my_screen.canvheight)
my_screen.exitonclick()

But in the terminal it says:

ModuleNotFoundError: No module named 'tkinter'

I'm on Ubuntu 20.0 ...

Score: 0
how to clear dns cache on vpn connection?
cn flag

After connecting to my customer's VPN, I need to issue this command:

service nscd reload

Or wait for some time before I can access internal services.

How can I make this happen automatically?

Score: 1
Bluetooth disconnects after few minutes randomly after 21.04 upgrade
tk flag

As title suggests I have a bluetooth headset which is randomly getting disconnected after few minutes, this only happens after I upgraded to 21.04 yesterday. I’m not sure how to troubleshoot this so any feedback would be nice.

Just some logs just as it disconnected:

Jun 10 10:28:14 laptop-gabriel rtkit-daemon[1213]: Supervising 13 threads of 4 processes of 1 users.
Jun 10 10:28:14 laptop-gabriel rtk ...
Score: 4
colin avatar
How do I add a video to a PDF file?
in flag

Adobe Acrobat allows to embed videos in PDF files. Is there a way to do this with a free tool like pdftk? I have several slides in my pdf and I would like to add an mp4 or webm file among those slides.

Score: 0
Serg avatar
Disable JetPack Ubuntu 18.04 command line blank screen
be flag

I launch my program in headless mode (non-ssh syslemctl set-default multiuser.target) using xinit. Problem is that after 10 minutes screen goes black/blank, and I need it to stay on all the time.

I have tried:

gsettings set org.gnome.desktop.lockdown disable-lock-screen true
gsettings set org.gnome.desktop.screensaver lock-enabled false
gsettings set org.gnome.desktop.screensaver idle-activation-enabl ...
Score: 0
yorickk avatar
Dual Boot Not Working on HP Envy Laptop
bw flag

This question is related to dual booting of windows and ubuntu 20.04 on separate hdd in the same laptop. I have been using ubuntu 20.04 on a very old stand alone desktop tower which has finally stopped working. I have now installed ubuntu 20.04 on the second hdd2 in a slightly younger HP Envy laptop with windows installed on the other hdd1. I followed the instructions to the letter when installing ub ...

Score: 1
Hoangtho97 avatar
Ubuntu 20.04 LTS with Vietnamese font render on Discord
rw flag

I'm using LTS 20.04 Ubuntu with default font settings. But somehow, system rendered my vietnamese font with some problem. Some characters look diffrent with other when using unicode. Is there anyway to fix it?

Error render with Vietnamese Unicode screenshot

Score: 2
Sirode avatar
spd-say change voice doesn't apply language
id flag

When I am using

spd-say -l "en-US" -y Belinda "Hello sir, how can I help you?"

it works fine with the selected voice. However if I run the same command again it reverts to the default male1 voice. Then after a few seconds I can use the selected voice again. I tried adding -t female1 but that doesn't change. And also the -w (wait) parameter to no effect.

Do I always have to wait for some time bef ...

Score: -1
Rinka Sei avatar
Install as root? how to install ".sh" files?
cn flag

what does this mean?

".sh" file screenshot

rinka@ThinkCentre-M91-RINKA:~/Downloads/xdm-setup-7.2.11$ '/home/rinka/Downloads/xdm-setup-7.2.11/install.sh' 
Only root can do this
rinka@ThinkCentre-M91-RINKA:~/Downloads/xdm-setup-7.2.11$ sudo apt-get updates
[sudo] password for rinka: 
E: Invalid operation updates
rinka@ThinkCentre-M91-RINKA:~/Downloads/xdm-setup-7.2.11$ '/home/rinka/Downloads/xdm-setup-7.2.11/install.sh ...

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.