Latest Ubuntu related questions

Score: 2
Converting MKV to MP4 Using FFMPEG
uz flag

I'm using the following line to convert

for f in *.mkv; do ffmpeg -i "$f" -c:v copy -c:a aac -b:a 256k "${f%%mkv}mp4";&& rm "{$f}.mkv"; done

i need this to also check sub directories but i keep getting token error or bash error

also it doesn't delete the mkv files when finished converting

once i have the line working correctly how would i then go one step further and make it auto run say o ...

Score: 0
Prabhat Dhek avatar
Identity Management with FreeIPA-client version 4.9 is not available which is leading to non retrieval of CA certificate from FreeIPA-server
es flag

The ipa-client-install gets to this point and gets stuck: Screen where the install gets stuck

All I can see is the freeipa-client version difference as same configuration works fine for CentOS. My ipa-server version is 4.9.2 while my client is installed with 4.8.6 as it is the latest version available in ubuntu packages.

And the ipaclient-install.logs shows nothing Screen where the ipaclient-install.logs shows nothing

Score: 0
I can't use wifi and Ethernet at the same time
sa flag

I have a problem with my Wifi and Ethernet. Let me explain what's happening.

I'm using a laptop with Ubuntu 20.04. I'm connected to the Wifi with the default configuration (right now, it's 192.168.222.107). That works without problem, I can connect to the internet and some partners that are in the same network are able to ping me.

I'm also connected via network with others laptops, using a switch. I ...

Score: 1
Andrea Moro avatar
Evolution email: is there a chance to get HTML Signature in line with the sending alias?
cn flag

Is there any chance to have multiple signature in Evolutions (yes) and automatically attach a one signature to a given alias?

I have a single mail account with two aliases and I'd like to attach the right signature automatically when the alias changes and not by remembering to do it manually.

I can see there is a script to author the output, but the challenge is still trapping the sending address? A ...

Score: 0
Mister X avatar
Check USB firmware signature
in flag

To prevent badusb attacks I use usbguard on my machine and use USB-Sticks from kanguru which do not allow firmware modification.

But for no-name usb devices like keyboards etc ... Is there a way in ubuntu to check the firmware i.e. create a signature for it and check it again if the usb device has been used at a different machine?

Or is there a way to check if the usb firmware is signed by the manuf ...

Score: 0
Mohammad Saad avatar
Grey Screen output from tightvncserver on Ubuntu 20.04 server (vm instance on GCP)
in flag

I recently setup a VM on GCP with ubuntu server 20.04. I have installed gnome-session for desktop environment and tightvncserver to remote access the VM. However, it keeps returning grey screen, any suggestion on resolving this issue? I have checked numerous workarounds on the net but nothing gave a proper resolution to this issue. My .vnc/xstartup file:

#!/bin/sh
autocutsel -fork
xrdb $HOME/.Xresour ...
Score: 4
how to properly install nvidia 470 drivers on ubuntu 20.04?
in flag

I tried to switch to the "nvidia-driver-470" using the "Software & Updates / Additional Drivers" facility, but it always says the packages are not going to be installed.

If I select nvidia-driver-470 with synaptic, it installs all required packages, but there is something weird:
It requires an older kernel 5.4.0-1053-gcp (Google Cloud Platform), while the last one is 5.11.0-38-generic!
If I try ...

Score: 3
tehkonst avatar
How to make alias to systemctl with autocomplete
us flag

I tried

alias sct='systemctl'
complete -F _systemctl sct

But the function _systemctl is not found until I run the original command systemctl in the session. This function loads dynamically or somehow and contains many other same functions inside.

OS - Ubuntu 20.04

Score: 0
Unable to access/rename/delete directory
cn flag

When I list files/directories with command ll | grep 'TM'

ls: cannot access TM: No such file or directory
???????????  ? ?      ?         ?            ? TM

I can see TM folder is listed but when rename/deleting or accessing, it gives error -

rm -rf TM
rm: cannot remove ‘TM’: Is a directory

mv TM TM1
mv: cannot stat ‘TM’: No such file or directory

ls TM
ls: cannot access TM: No such file or  ...
Score: 0
David Donaldson avatar
Polkit All Messed Up
us flag

Ubuntu, vanilla 20.04.3 LTS - Originally installed Ubuntu about June of 2018.

Somehow I recently messed up my own permissions and started getting polkit error messages about me not being a member of the Admin or Sudo users group or group 0 or some such.

I tried several suggestions, and it got [much] worse.

I've been doing Unix/DOS/OS 2/OS X/Windows/Linux for a long, long time - and didn't even know abo ...

Score: 1
i9pp0 avatar
I cannot star a .odg file in a subfolder of Documents
cn flag

The file is in a subfolder of Documents which is tracked by search. All files in this directory can be starred except for .odg files. I'm trying to figure out why this is.

These files were created by libreoffice Draw in Ubuntu.

Score: 0
Mj Carnaje avatar
Wireless USB Adapter not detected
bh flag

Ubuntu 20.04 64-bit does not detect a USB WiFi adapter that according to the packaging is supposed to work for Linux. Windows 10 picks it up straight away.

WIFI Model: COMFAST CF-826F

$ lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 18f8:0fc0 [Maxxter] USB GAMING MOUSE 
Bus 005 Device 002: ID 258a:002a SINO WEALTH Keyboard
Bus 005 Device 001: ID 1d6b:0002 L ...
Score: 1
Aravindh avatar
Multiple monitor identifier
br flag

I have a multiple monitor setup running Ubuntu 20.04 with gnome. The settings app display section shows a small pop up at the left top with a number to identify individual monitor. Is there a way to retrieve what number is shown on individual monitor programmatically?

Monitor identifier

So here the settings page shows 1 and 2 on the connected monitors. My need is to capture these numbers shown on individual monitor ...

Score: 0
Belgarath avatar
UVC VIDEO resolution change
us flag

I'm running ubuntu 21.10 with Linux aldur 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

I have a Y&H Live Gamer RAW PCI card (which is USB controller: Fresco Logic FL1100 USB 3.0 Host Controller (rev 10) and usb card put together on one PCI card)

After I power the computer up I get the full resolution of 1920x1080(or any higher depending on input)  ...

Score: 0
Allow anonymous readonly access to a Subversion repository
cn flag

I'm using Subversion 1.13.0 in Ubuntu 20.04, and Apache 2.4.41 to serve SVN over HTTPS.

Authentication is done with a passwd file, the main /svn folder fails with 401 if user isn't authenticated.

But now I need to create a repository whose files need to be accessed anonymously. Commit still need to require authentication.

Is it possible to set only this repository to be readable without authentication? ...

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.