Latest Ubuntu related questions

Score: 0
Nasimul Hasan avatar
How to write all file name in a text file and output to a different folder (directory)?
es flag

I have a folder with about 5000 files. I want the file name into a text file. I tried ls >> Out_file.txt but I want the output file to be saved in a different directory/folder.

Score: 0
genderbee avatar
How to play on local in MPV camera AV output from remote via SSH?
ss flag

I need simple thing, play on local in MPV camera AV output from remote via SSH.

I thought it should be simple like this.

ssh 192.168.1.100 -p 22 'ffmpeg -i /dev/video0 -b:v 1M -b:a 150K -' | mpv -

But it fails.

Input #0, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 2740.580412, bitrate: 147456 kb/s
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, ...
Score: 0
Stefan von straten Finne avatar
Rygel 0.38.3 drops cabeled connection after 30 minutes
ru flag

I installed rygel and it starts upp fine and shows on my TV as it should.

Choosing a video (any playable type) runs fine for about 30 minutes or so and then the connection are dropped and the share don't show on the dlna screen.

All dir show up on the TV screen fine as well as the files. I can start a video file and it runs fine for 30 minutes then it aborts and the ubuntu server drops connection to ...

Score: 1
Veda Rutvija avatar
Confused if my OS is on SSD or HDD
ph flag

My laptop has both HDD and SSD, I recently installed Ubuntu 20.04 and I felt the system is bit slower I checked it with the command "lsblk -d -o name,rota" and I found the sda value is 1 so I installed it again changing the installation path to (dev/sda) and again the rotation value still shows 1 and the system is slower than before. The only change I observed is in loop values. Can someone please chec ...

Score: 1
Tilman avatar
focal regression: USB connection to APC SmartUPS failing after reboot
cn flag

I'm managing about ninety Dell servers distributed worldwide, currently in the process of being upgraded from Ubuntu 16.04LTS xenial to Ubuntu 20.04LTS focal. Each server's power supply is protected by an APC SmartUPS connected via USB and monitored by nut in order to shut down cleanly in case of power failure. This works quite well on the servers still running xenial.

On those running focal, the ...

Score: 0
aaalll avatar
Fresh installed GScan2PDF fails with Error msg // Ubuntu 20.04.2 LTS
br flag

My fresh installed GScan2PDF fails with Error msg (Ubuntu 20.04.2 LTS) gscan2pdf: "must open device before starting scan" I use the scan feature of a HP OfficeJet Pro 6970. It worked fine under Ubuntu 18.04.

Score: 0
brovar avatar
Does VNC require X server running at all times?
bv flag

For most of you my question will probably be pretty basic (if not stupid), but I'm new to managing anything Linux-based and need to make sure.

I've recently set-up a home server with Ubuntu Server. It stays in the basement (so physical access is constricted), most of the time I connect with it using SSH, and it's configured to work only in "console-mode" with a need to explicitly start SLiM to wo ...

Score: 4
SomeDude avatar
First time crontab. Is this viable?
kr flag

I tried to do some "coding" myself and this is what I came up with:

00 02 * * 1,3,5     sudo shutdown -r
@midnight           sudo apt-get update && sleep 60 && apt-get upgrade -y
@reboot             sleep 60 && sudo netplan apply && sleep 15 && sudo omd start website

It is crucial that both the network and the website are both up and running after the reboot. Al ...

Score: 0
Firoz avatar
Starting from ubuntu 18.04 LTS, if display is not connected, screen does not refresh if connected over VNC
ph flag

Starting from ubuntu 18.04 LTS, if display is not connected, screen does not refresh if connected over VNC. Anybody noticed?

To fix this, either we have connect physical display to system or we have to install dummy display packages and create xorg.conf file display configs File '/etc/X11/xorg.conf' content:

Section "Device"    Identifier  "Configured Video Device"
    Driver      "dummy"
    VideoRam ...
Score: 0
samsell avatar
Hp proliant ml110 g6 stops at purple screen on boot
kh flag

I know this has been answered elsewhere extensively, however the solutions don't seem to work for me. I am trying to install ubuntu server 20.04 onto a HP Proliant ml110 g6. I am using the net installer and the installation goes well. But when i try to boot up, it shows an ubuntu loading screen with four dots underneath it, and the goes completely purple apart from a black space with a cursor in it. Typ ...

Score: 0
justinian482 avatar
Add binary to Applications Menu
ug flag

Is it possible to add a binary to the applications menu in Ubuntu 20.04.2? I have tried the following .desktop file for Filezilla which I extracted from FileZilla_3.55.1_x86_64-linux-gnu.tar.bz2:

Path=/home/user/Programs/FileZilla_3.55.1_x86_64-linux-gnu/FileZilla3/bin/
Exec=filezilla
Name=AppImageLauncher
Type=Application
Terminal=false
Icon=/home/user/Programs/FileZilla_3.55.1_x86_64-linux-gnu/FileZi ...
Score: 1
anthnyprschka avatar
Cron job delayed by ~1 second
us flag

I am running the following cron job

* * * * * date "+\%Y\%m\%dT\%H\%M\%S" > /path/to/log 2>&1

but it's running around a second too late, as it writes e.g.

20210817T210001

How can I ensure the cron job will run at the full minute?

Score: 2
Devil Slayer avatar
pulseeffects get current preset in terminal
us flag

I wanted to cycle through the pulseeffects presets with a keyboard shortcut instead of going to the app or command prompt. I can create a script(which will be called by a keyboard shortcut) to get all presets, current preset and load the next preset.

pulseeffects -p to get all the presets
pulseeffects -l {preset} to load the preset

The problem is I don't know how to find the current preset that is loa ...

Score: 2
Gazzubuteo avatar
Problem installing ImageMagick 7 using IMEI
bz flag

I tried to install ImageMagick 7 by IMEI from github:

https://github.com/SoftCreatR/imei/

but always had this answer:

   Signature verification failed!

 Please check /var/log/imei.log for details.

and in imei.log:

./imei.sh: line 283: : No such file or directory
./imei.sh: line 286: : No such file or directory
Can't open  for reading, No such file or directory
140131941683840:error:02001002:system l ...
Score: 2
Unable to change my default web browser
jp flag
Zed

I'm new to Linux and Kubuntu. I have got a problem recently that I cannot change my default web browser either through browser or system settings.

I am using Firefox. Every time I open up Firefox it will always pop up a dialogue saying "Make Firefox your default browser?" so I clicked on set Firefox as the default browser. but it didn't work. I'm getting the same dialogue.

enter image description here

So I went to system sett ...

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.