Latest Ubuntu related questions

Score: 2
Jags avatar
Ubuntu MATE 21.04: Keyboard shortcut to show notifications list
kp flag

I'm trying to find keyboard shortcuts to:

(1) Show notifications list

(2) Clear notifications list

I have gone through this AskUbuntu thread:

https://askubuntu.com/questions/1325785/create-a-custom-keyboard-key-for-opening-the-latest-notification

and Ubuntu desktop guide:

https://help.ubuntu.com/stable/ubuntu-help/shell-notifications.html.en

but none of 'em working for Ubuntu MATE 21.04... because whe ...

Score: 0
Gansaikhan Shur avatar
youtube-dl is not downloading with specified format?
cl flag

So I'm trying to execute the following command. It downloads fine but although I specify bestaudio and --audio-format wav it does not download audio. And I cannot seem to be able to open the output files.

./youtube-dl "https://www.youtube.com/watch?v=p63EKPts9gw&list=PLfsJ7RXGJ4zZyaUA3OEhpZRq7S8PpPMFQ" -ci -f bestaudio -i -x --audio-format wav --min-sleep-interval 4 --max-sleep-interval 6 -o "news_ ...
Score: 0
TL_Arwen avatar
Using awk to append text to the end of a line in /etc/group
fr flag

I am writing a script to automate some tasks and I need to add a user to a group in /etc/group. I'm trying to use this command:

sudo bash -c "awk '{if (/^moli/) {$0=$0"$uservar,"}; print' /etc/group > /etc/group"

The issue I'm running into is I get

awk: cmd. line:1: {if (/^moli/) {-bash=-bashtestuser1,}; print
awk: cmd. line:1:                     ^ syntax error
awk: cmd. line:1: {if (/^moli/) ...
Score: 1
KISS avatar
what happed to image viewer in 21.04? Missing options like delete, rotate and save
mt flag

There's no menu so to speak anymore. I used the one in 12.04 LTS and it was MUCH better.

The arrow keys are missing at the top, but keypad arrows work.

How do you rotate an image and save?

How do you delete a file within image viewer?

These options were available, now gone?

I wish image viewer could re-size an image, Far-fetched idea, I suppose?

Score: 2
eckes avatar
How to turn gvfs and other user services off while temporarily not using graphical.target?
cn flag

If I use a desktop installation of Ubuntu 20.04 (for example the standard Hyper-V image promoted by Windows) I can easily turn the graphical components off, by switching the default boot target from graphical to multi-user, with the systemctl set-default multi-user.target. This avoids running the display manager, the xserver and some other stuff.

However I have still the problem that some user-slice ser ...

Score: 4
Jags avatar
Preserve colors in console of a Bash script output while logging
kp flag

I would like to preserve colors, in console, of a Bash script output, while logging and echo it to console.

When I run a script with the following code, I lose colors in console.

LOG_FILE="Merge.log"
touch $LOG_FILE

exec > >(tee $LOG_FILE) 2>&1;

Here are screenshots to make it clear:

Screen one and two are with logging disabled (commented out) in the script:

Screen-1:

Screen one

Screen-2:

Screen two

Screen ...

Score: 1
Brgv avatar
unable to start a LXC container - lxc-start: lxccontainer.c: wait_on_daemonized_start: 804 Received container state "STOPPING" instead of "RUNNING"
us flag

Im very much new to LXC and LXD concepts. I was experimenting with LXC's by creating a containers and destroying them.

after some experiments, I tried to create a container to implement by task, was successful in creating a container but was not able to start it. getting below error.

I have tried uninstalling and installing lxc and lxd. I tried purge lxc and lxd, but no luck. I have gone through som ...

Score: 0
Is there a way to check if OSX .pkg is signed on LInux(Ubuntu)
cn flag

There is a command pkgutil --check-signature "path/to/pkg" for macOS to check the signature of a package. Is there a way somehow to check if the osx .pkg is signed or not on Linux(Ubuntu)? Is it even logically possible?

Score: 0
mysterium avatar
Why use tee with wget? Isn't it superfluous?
in flag

So I came across this code for downloading youtube-dl using wget which pipes into tee here: How can I update youtube-dl?

The code being:

wget -O - https://yt-dl.org/downloads/latest/youtube-dl | sudo tee /usr/local/bin/youtube-dl >/dev/null

What is the difference when comparing with the following?:

sudo wget -P /usr/local/bin/ https://yt-dl.org/downloads/latest/youtube-dl

or even for that matter ...

Score: 0
Leonardo Vinicius Maciel avatar
Use of revocation certificate as id.rev
in flag

Good afternoon everyone,

I ended up losing my passphrase to access my GPG key, but because I used the most current version when creating it, an ID.rev recall file was generated in the openpgp-revocs.d folder When researching how to revoke the key, I saw that an .asc file is used (which I cannot generate as I no longer have the key's passphrase). So I would like to know how I go about turning this ...

Score: 0
dwesthead avatar
How do i tell a landscape server to not execute remote scripts in /tmp?
in flag

We are trying to use landscape to push or execute a script on a load of Ubuntu 20.04 laptops.

The script we are happy with and it does it's job fine.

But when we try to use landscape to execute that same script on a remote machine, it tries to execute the script and some temp scripts from /tmp on the remote machine.

We do not allow things to execute in /tmp and the filesystem is mounted with teh noexec ...

Score: 0
Sachith Muhandiram avatar
Ubuntu 20.04 blinking screen
cd flag

It all started today afternoon as I removed power cable from laptop when its 90%+ charged.

It gave a full horizontal line top of the desktop. Then I got constant such blinks on my screen, not a big annoying, but it keep happening.

I have tried updating bios, and also Try ubuntu without installing, but it kept getting.

All I need to know is

  1. What would be the issue? physically damaged motherboard?
Score: 1
n00dles avatar
Cubic custom ISO which executes shell script at startup
ae flag

I'm trying to customise an Ubuntu ISO with Cubic to run a couple of shell scripts when the Live user logs in. I've been following a bunch of tutorials with a ton of instructions and I eventually had it working at one point. Unfortunately, I'm not able to recreate the setup and worse still, I've deleted the particular ISO thinking I won't be needing it. So far, I've moved my shell scripts to the /etc/ske ...

Score: 0
phinx avatar
Microphone issue after every reboot
cn flag

I have very strange issue. Every time when I rebooting ubuntu I have go to pulseaudio and switch between mirophones. If I don't do that my microphone won't work.

Score: 1
matt dupreez avatar
trying to create bootable usb with slax 32bit
bd flag

i'm trying to create a bootable usb with the .iso Slax 32 bit, but the startup disk creator that is included with Ubuntu doesn't want to accept the .iso. what can i do?

Score: 1
Firefox has vanished from applications menu in Ubuntu 20.04
ru flag

I use both Gnome and KDE Plasma on Ubuntu 20.04. I used the 'Edit Application' feature in Plasma to get Firefox to start using my dedicated graphics card. I also installed certain updates using Discover in Plasma (which I generally don't do). Here are these updates from the logs:

Upgrade: grub-common:amd64 (2.04-1ubuntu26.11, 2.04-1ubuntu26.12), ubuntu-advantage-tools:amd64 (20.3, 27.0.2~20.04.1) ...

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.