Latest Ubuntu related questions

Score: 1
llionevans avatar
Adding to PATH for programs opened from the desktop
id flag

Ok, I know there are lots of ways to add to PATH. Each one has good reasons why you would choose a specific method vs another.

However, what I don't know is in the case of a program opened from the desktop (by double clicking its icon), how does one add to the PATH in this scenario?

By right-clicking and going to properties I can change the command run by double clicking. Could i potentially use &am ...

Score: 0
gsk_fs avatar
How to install AMD driver for hybrid double GPU - AMD FirePro M5100
de flag

My question is about use of Hybrid GPU in Ubuntu. Specifically, I want to know how to install driver and how to use switch GPU depending to the application.

I am using a HP ZBook 15 G2, with an Intel i7-4710MQ CPU, an Intel-HD4600 GPU and two AMD FirePro M5100 GPUs.

I recently installed the Xubuntu flavor of Ubuntu. I want to use this OS for 3D rendering (Maya, Blender), and Unity3d game development. ...

Score: 0
Ankush Singh avatar
Plymouth not showing during shutdown
kr flag

I am having an issue with plymouth animation not showing at shutdown. On Wayland Plymouth animation works but on xorg I can't see plymouth animation at shutdown.

Score: 0
Cybermade avatar
Gsd-color disable
mw flag

Is it possible to disable the gsd-colorprocess please ? this process keeps resetting my brightness with xrandr and i want to disable it on startup tried this :

  1. -- How-to -- The GNOME Settings Daemon's color plugin auto-start on/off switch is hidden by default. To make it visible:
  2. Open Terminal and type: sudo sed -i "s/NoDisplay=true/NoDisplay=false/g" /etc/xdg/autostart/.desktop ~/.config/autostart/ ...
Score: 0
Haridvpsk avatar
How to append values to the list in shell script..?
us flag
#!/bin/bash
cd /pg
file=`ls -l |awk '{print $9}'`
list=()
for i in $a
do
   echo $i
   a=`cat /pg/$i | head  -n  1 |awk '{print $8}' ` #output: first interation 15 & 2nd values 60
   list+=($a)
   
   #a1=`cat /pg/$i | head -n 2 |awk '{print $8}'`
done
echo $list

through this a=`ls -l |awk '{print $9}'` I'm getting two file and iterating through for loop and appending values to list() the l ...

Score: 1
Koy avatar
Automatically switch audio output (and ignore some outputs)
ng flag
Koy

Not sure whether this will be a duplicate question since some aspects of it are case-specific.

I've recently installed Ubuntu 20.04.3 on my HP laptop. When I plug my earplugs in and out the output sound does not get switched automatically every time (some times it does, but most of the time I have to do it manually). When I open sound settings there is a total of 4 output devices:

  • Speakers - Built-i ...
Score: 0
Sharing (sshfs) a folder with another Linux machine on the same home network via fstab? UBUNTU 20.04
it flag

First and foremost let me thank zx81roadkill for his excellent description of how to share a folder with another Linux machine on the same home network using sshfs. Everything has worked great for me except the last step "10. Enable reconnect after reboot" which involves modifying the fstab file.

While I can mount (and un-mount) the remote folder manually,

sudo sshfs vanmetter@192.168.2.4:/home/vanmet ...
Score: 0
Sadmi avatar
Decode Multi-Layer HEVC
se flag

I'm trying to decode an HEVC/H.265+ rtsp stream to an image using ffmpeg as follows:

ffmpeg -rtsp_transport tcp -stimeout 10000000 -i 'rtsp://user:passwd@url:port/Streaming/tracks/101?starttime=20210826T130000Z&endtime=20210826T130010Z' -vframes 1 -y image.jpg

but I'm getting the following:

[rtsp @ 0x56031fe7f500] Multi-layer HEVC coding is not implemented. Update your FFmpeg version to the n ...
Score: 0
Neeraj Srivastava avatar
Software updates cannot be installed
cn flag

Whenever software updater pops up in my notifications and I try to install it, after a few moments, it stops itself showing the message

Failed to download repository information, check your internet connection.

What should I do?

enter image description here

Score: 0
tim.t avatar
How to rename other OS in grub (without grub customizer)?
us flag

i have a main system (ubuntu), a windows 10 and 2 other ubuntu installed. I can rename the main system in /etc/default/grub. How can i rename the other ubuntu systems and the windows?

I'll never install grub customizer again. I've tested it a few years ago and could never uninstall it.

Score: 1
efji avatar
Multiprocessor and 20.04
de flag

I just upgraded my bi-Xeon server with 20 cores/proc (i.e. a 40 cores server) from 18.04 to 20.04 and now the system is only viewing 1 processor!

The BIOS is correctly seeing the whole system (2 procs, 20 cores each)

The boot options are

Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-84-generic root=UUID=051241f1-7c3d-472a-b519-003008a805d4 ro mem_sleep_default=deep quiet splash acpi=off vt.handoff= ...
Score: 0
Franc M avatar
Kernel build and initrd build
id flag

I have a question related to building kernel and initrd. I am following https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel for the kernel build. Will a kernel build involve building initrd as well or do I need to build an initrd separately?

Score: 0
Excessive battery drain on suspend
ru flag

I've recently installed Ubuntu 20.04.3 on a new Dell Vostro 3500 (11th gen processor). Ever since I did this, the battery is draining way too much while on suspend (~5-6% per hour). The output for cat /sys/power/mem_sleep is [s2idle]. Even after following the instructions to change it to s2idle [deep] from here, the output is still [s2idle]. I'm certain that there is no issue with the hardware beca ...

Score: 0
jento avatar
arduino IDE import serial ImportError: No module named serial
ng flag

I want to program my ESP32 as I did 100000000000 times before. Now I want to try it on linux ubuntu :) In preferences I put in the *.json link and installed the espressif board. I think I chose the right board. Something is wrong with the serial port: When I click on board information it shows some serial number

BN: Unbekanntes Board
VID: 10C4
PID: EA60
SN: Laden Sie ir(...)

But when I want to upl ...

Score: 0
opencl unusable due to low vram (AMD APU)
in flag

I have an AMD APU in my laptop and the bios assigns it 512M of vram in the bios. (no way to change it, the apu is a ryzen 7 4700u) I am currently using amdgpu 21.30 drivers (rocr opencl) on ubuntu 21.04. This used to work find on windows since the opencl driver would use and detect shared memory, but for some reason on linux, rocr dosen't seem to care about shared memory. Is there any way to let rocr us ...

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.