Latest Ubuntu related questions

Score: 0
Andrew Harlan avatar
Adjusting brightness and contrast levels on streaming media
in flag

I wonder if it is possible to adjust brightness and contrast levels within a streaming video on Ubuntu.

Score: 0
CIsForCookies avatar
How to read with timeout without making bash consider it an error?
us flag

I have a read_user_input.sh script:

#!/bin/bash

# set -e

prompt="bla? [Y/n] "

while true; do
    read -p "$prompt" -n 1 -s -t 3 reply
    case $reply in
        ""|Y|y) echo "bla!!!"; break;;
        N|n) echo "no bla :( you suck"; break;;
        *) ;;
    esac
done

Works as I expected - i.e.

  • User inputs "Y" -> bla
  • User inputs "y" -> bla
  • User hits Enter -> bla
  • Timeout -> bla

Howeve ...

Score: 0
Adam avatar
Use supervisor to rerun failing cronjob?
lr flag

I want to execute a script every day from 07:00 AM for 17 hours. I managed to do so by setting up a cronjob that executes every day at 7 AM the following command:

/usr/bin/timeout --foreground 17h /home/adam/mycommand

Now this works basically, but the problem is that the script sometimes fails. If this happens, I would like to re continue the script for the remaining hours, so that it ends at 00:00 AM ...

Score: 0
How to find the archive type of an iso file?
it flag

For my iso image I used the tgz format, but there can also be an iso with xz, 7z, tar zip, etc. compression. How do I know?

Score: 0
Bernard Allotey avatar
Update-initramfs Segmentation fault When Upgrading
in flag

Whenever I update my packages on my Ubuntu 20.04 Server installation with sudo apt-get upgrade or install a new package with sudo apt-get install, I get notified that there are 2 packages not fully installed. However, everytime I try to install them, once it starts running the update-initramfs tool, it encounters a segmentation fault.

Setting up initramfs-tools (0.136ubuntu6.7) ...
update-initramfs: defer ...
Score: 0
Aestra avatar
Disk partion problems while installing ubuntu
jp flag

I have quite problem with disk partions while installing ubuntu basically I am confused how to recognize the *C:* disk in ubuntu as windows showing it 68gb and when i see in ubuntu while installing it doesn't show any such thing i know it come in mb but no similar came pls help I have 2 hard drives and have important data in those so can't just wipe out all howvee i wanna fresh install ubuntu

Score: 1
Aishik Bhattacharya avatar
Ubuntu not showing up in boot menu or anywhere after installing
ng flag

I tried dual-booting Ubuntu 20, on an HP Laptop with Windows 11 (Updated from Windows 10, laptop was a windows 10 device by default). Created 3 partitions for Ubuntu, /home, /, swap. However, after successful installation, GRUB bootloader doesn't show up. Even in the boot menu, there is no sign of Ubuntu anywhere.

Tried this command: bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

Still no resul ...

Score: 0
Zuraiz Zafar avatar
Bluetooth is not working on HP 15 da, Ubuntu 20.04 LTS
vn flag

I am using Ubuntu 20.04 LTS, My Bluetooth was working fine on Windows, but I shifted completely to Ubuntu, and now I cant use my Bluetooth. I am new to Linux, any help in this regard will be appreciated! My hardware: RTL8821CE I have attached screenshots. enter image description here

$ lsusb; dmesg | egrep -i 'blue|firm'
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0408:5362 Quanta Co ...
Score: 0
Aestra avatar
I need help with installation of ubuntu
jp flag

I need help with installtion of ubuntu, let me clear it so i decided to switch to ubuntu from windows few days ago and setup everything and tried ubuntu but when i was installing it disk partion part came i checked it but it's hard to recognize them as even in MB it's not similar as we see in windows like I have to install ubuntu replacing windows in C drive of 68 GB but as it's not windows os i can't s ...

Score: 0
How to move hard drives with Fat32 & EXT2 boot partition(s)?
gg flag

I'm trying to update the SSD on my desktop to a larger one. The computer was originally built around 2011 and has the ubuntu version upgraded over the years (currently on 18.04; I believe started on 12.04); it also dual-boots Windows through GRUB.

I booted into a live flash drive and pulled up GParted expecting to be able to just copy the partition(s) from the old drive to the new one and be good ...

Score: 0
HiItsMe avatar
LightDM-GTK-Greeter external indicator
pk flag

I've seen the "External library/service" indicator option in lightdm-gtk-greeter-settings, (which seems to put the indicator in lightdm-gtk-greeter.conf without a ~ prepended) and I am intrigued. I would ideally like to have the output of a command posted to the top of my panel, but I cannot figure out how this works. I've tried providing it the path to a simple echo script as a test, with no effect. I ...

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.