Latest Ubuntu related questions

Score: 0
Ignacio Estaun avatar
Unable to run a shell script as a systemd service
hk flag

I have a small script to transform midi input notes to media functions (volume up, next song, etc). It looks like this:

#!/bin/bash
aseqdump -p "CMD MM-1" | \
while IFS=" ," read src ev1 ev2 ch label1 data1 label2 data2 rest; do
    case "$ev1 $ev2 $data1" in
        "Note on 32" ) xdotool key XF86AudioRaiseVolume ;;
        "Note on 31" ) xdotool key XF86AudioLowerVolume ;;
        "Note on 51" ) xd ...
Score: 1
Why is Firefox the default?
cn flag

I know that at first glance this may seem like an opinion-based question, but there has to be a definitive answer to why the developers chose Firefox rather than a browser like Chromium, even though it is over 3 times as fast on the old machines that Linux is famous for speeding up.

I've only seen 2 or 3 distros that don't use chrome by default (other than the ones that have no browser at all). T ...

Score: 1
Py-ser avatar
Desktop files and folders are gone after log out
tr flag

I have recently updated from 18.04 to 20.04.

I have been playing around with gnome-tweak to tweak some settings and have been rebooting or logout/login a few times. After this one time, all my desktop files and folders are gone.

I have already made sure that Desktop Icons on Tweak-extensions is on; my $HOME points to /home/username ; my ~/.config/user-dirs.dirs looks like this one suggested here. ...

Score: 0
Brad Thompson avatar
Grub does not detect Windows in dual boot
nl flag

Ubuntu 20.04.3
Dual boot

Hi everyone,

I have a dual boot Ubuntu/Windows and used to select OS from a text grub menu. After the last Windows update a few days ago I think the boot was overwritten and I could boot only Windows.

I tried to restore grub from live media (boot in Legacy mode only) but installing grub on EFI partition was not allowed. It was possible only after I created a new 1M BIOS boot p ...

Score: 0
i used this command l: sudo apt install tasksel and got some error as mentioned below
fr flag
sudo apt install tasksel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  tasksel-data
The following NEW packages will be installed:
  tasksel tasksel-data
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 34.2 kB of archives.
After this operation, 292 kB of additional disk space  ...
Score: 0
Daniel Turuș avatar
External monitor Brightness and Contrast* control GUI
in flag

I've just installed Ubuntu a few days ago and I want to be able to control the brightness and contrast of my external monitor (LG 27 inch 4K display) with ease. I've documented and there are a few options like ddcutil (which I now use), but I have a few issues with the performance.

Calling the following command ddcutil setvcp 12 - 10 will be resolved in about 4-5 seconds. I've read about improving pe ...

Score: 0
Zersetzor avatar
xsetwacom does not recognize Tablet
ru flag

I've been trying to set up this tablet (Amazon link ).

I can move the mouse and click using the tablet, however no tablet shows up in the settings, and using xsetwacom in the terminal only returns

GAOMON Gaomon Tablet stylus id: 8 type: STYLUS

GAOMON Gaomon Tablet eraser id: 14 type: ERASER

Thx for any tips!

Score: 0
Help on function options
jp flag

I am writing documentation for a bash function that I am writing. It supports a colour option which can be one of --vlt --blu --grn --ylw --orn --pur --red --wht. I have used the following description but am unsure whether it would be sufficiently understandable, and would like improvements this descriptive help.

 --COLR
   Colour Option
 
   --COLR  Brief   |  --COLR  Brief
   ----------------+-------- ...
Score: 1
persistent install or upgrade errors - "files list file for package 'libinput-bin' is missing final newline"
sc flag

System Ubuntu server 20.04.3, Raspberry pi 4B. Attempts to run apt install, apt upgrade, virtually anything returns the same errors:

dpkg: unrecoverable fatal error, aborting:
  files list file for package 'libinput-bin' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

The name of the file may change when attempting to install different packages but the errors persist n ...

Score: 0
Sunil Kumar avatar
Settings app is not loading in Ubuntu 20.04
cn flag

The Settings app is not loading in Ubuntu 20.04 after using it for 3 days. When I installed Ubuntu it was working fine, but now none of the categories in Settings like Network, Displays and Date & Time are working.

Score: 0
Ojo Dojo Jo avatar
Start Visual Studio Code maximized from Bash
cn flag

I am working on a project consisting of several components, which are separately opened in different Visual Studio Code instances, running on different displays. In order to set everything up more quickly on a day-to-day basis, I wrote a very small bash script, initializing all instances. The script contains multiple lines like this:

code <folder-path> --new-window

However, windows created this  ...

Score: 0
user16976904 avatar
Ubuntu 21.10 pulseaudio 15 HSP unavailable
cn flag

After switching from Ubuntu 20.04 to Ubuntu 21.10, I cannot switch from A2DP to HSP while using my Bluetooth devices (such as Bluetooth headset or earbuds) I installed pavucontrol, and when I try to select HSP it is written that HSP is unavailable. I still have HFP but I only have my mic working and there is no output sound.

How could I fix the HSP unavailability?

Score: 0
nose_gnome avatar
Two way synch from Desktop to (ReadyNas) network drive
us flag

I am trying to make my documents folder synchronise with my ReadyNas network drive.

Currently, I am already synchronising my Windows Laptop's Documents folder with the network drive on my ReadyNas via Window Sync Centre. Is there anything similar to Window Sync Centre/Off-line files for Ubuntu which I can use to synchronise the documents folder on my Ubuntu machine with the network drive, allowi ...

Score: 0
Michal avatar
Missing monitor content after locking a screen except coursor
fr flag

I use on Thinkpad two external monitors, one is connected with HDMI, one is with DP -> USB-C. While the first one is working correctly, a second one behaves in a strange way after locking a computer.

When I'm leaving the computer in the office I use Windows+L to lock user account. In 90% cases when I come back I wake up the laptop and all monitors are working fine. In 10% cases I can see black ...

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.