Latest Ubuntu related questions

Score: 0
velenos14 avatar
How to get rid of graphical streaks on WSL1 and X11 server?
ru flag

I have a WSL1 app in my Windows10 on my laptop. I installed VcXsrv and I launch it and I manually specify the Display Number to be 0 . I do: $export DISPLAY=:0 in the WSL1 bash. I installed the xfce4 window manager in WSL1 and I can launch xfce4-session in WSL1 when the VcXsrv is open. All works fine.

I have problems with some graphical glitches. I launch a GUI application using the xfce4 terminal. S ...

Score: 0
IMAD OUCHAIB avatar
setting a limit to audio augmentation
us flag

I'm currently on ubuntu 20.04 along with i3wm, (I'm new to i3) in my i3 configuration I have :

bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%

the problem is that the volume can be augmented beyond 100%, there is no limit for that, wich I think is not good for audio devices, how can I set a limit for that?

Score: 0
Sneakatoo avatar
Bash from scratch --again
cn flag

As my journey through Bash goes on, I'm still stuck on ridiculous stuff such as this script I just can't wrap my head around on:

#!/bin/bash

if [ $1 -gt 100 ]
then
   echo "You typed a larger number"
   if (( $1 % 2 == 0 ))
   then
      echo "And it's even an even number"
fi

Recently I was recommended to keep ShellCheck at hand's reach, and so I did, but it seems like its suggestions on how to impro ...

Score: 1
nazar2sfive avatar
How to minimize using hot corner in ubuntu gnome?
cn flag

I want to enable minimization of the currently active window in the Custom Hot Corners extension.

How can I do it?

Score: 0
sam avatar
ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device
ru flag
sam

i tried to use

 pip3 install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html

but got

Installing collected packages: torch, torchvision, torchaudio
ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device
Score: 0
The Apostle avatar
Upgrade from 16.04 to 20.04 keeping files
cn flag

I did search for answers before this but what I found was slightly different so; Can I upgrade from 16.04 to 20.04 while retaining existing files etc? I have everything backed up but if able to do the above it would obviously be a lot quicker and easier.

Score: 0
unicorn avatar
bash script to loop through the folders and files
ps flag

I have folders naming ouput00035023031 to output000035023035. I have written the bash script to iterate through each folder and enter the folder. After entering the folder I want to run a program 'barycorr'. Which asks for three inputs. The inputs are filenames *cl.evt. The code is blelow :

for i in $(seq -f "%03g" 1 5); do
    cd output0003502303$i
    echo -e "sw00092413002xpcw3po_cl.evt 
    sw00092413 ...
Score: 0
Mayur Koli avatar
An error occurred, please run Package Manager from the right-click menu
in flag

An error occurred, please run Package Manager from the right-click menu or apt- get in a terminal to see what is wrong. The error message was: 'Error: Opening the cache (E:can not open /var/lib/apt/lists/ repo.mysql.com_apt_ubuntu_dists_focal_InRelease -fopen (13: Permission denied), E:The package lists or status file could not be parsed or opened.)'. This usually means that your installed packages h ...

Score: -1
user40491 avatar
What is command line to install Cyberghost in Ubuntu?
bo flag

The version of my Ubuntu is 20.04 LTS. I intend to install a free VPN, and it seems that CyberGhost is one of the free and good VPNs. May you please guide me about the command line in terminal?

Score: 0
Gluco avatar
Pi Bridged Access Point deny internet Access by UFW
ru flag

I have set up on a Pi a Bridged Access Point. This is working well. Now I'd like to deny internet access for the device which is connected via Wifi (Smartphone) with the UFW (Uncomplicated Fire Wall). How is the setup for such request?

Score: 0
doesntknowanythingaboutlinux avatar
how to disable secure boot in crouton
cl flag

I am having problems with ubuntu focal fossal XFCE enviorment, more specific Crouton. And if you don't know what a crouton is it makes a chroot inside chrome os. So i am basicly running a chroot giving me no way to change BIOS setting when start up. The reason i wanna disable secure boot is to disable the need for signatures, it is standing in the way alot and just annoying.

This problem is also  ...

Score: 0
How to input a password when using an alias
us flag

I am using sshpass in order to perform a scp command inside a pretty long script to run and I would like to be able to input a password in advance for this.

It's pretty easy to use the password as a parameter, but then, it's typed in clear in the terminal and is obviously a security breach.

My question is : is it possible to ask for the password so that it doees not appear in the terminal at the start o ...

Score: 1
Set MakeMKV installed with snap to see optical drive
br flag

Snap seemed to me the easiest way to install MakeMKV.

(So, once again I went against my better judgement based on much past experience and installed snapd etc. Installing MakeMKV took about 30 minutes with two errors of the form error: cannot perform the following tasks: - Download snap "makemkv" (351) from channel "stable" (download too slow: 0.00 bytes/sec) which made me restart the installation  ...

Score: 1
Anirudh Kochhar avatar
cannot change theme of modelio - GTK_THEME variable doesn't work
vu flag

enter image description hereI use Ubuntu 18.04 and have set my default application theme to adwaita-dark. however Modelio looks awful in this otherwise wondeerful theme - for instance doesn't show a lot of things - as you can see in the screenshot i cant see the project names being displayed on the left panel until i click on them. I tried shifting dekstop app to .local/share/applications and changed the variable EXEC as -

Score: 3
Jeroen avatar
Displaylink ryzen 7 pro 5850U Ubuntu 21.04 very slow?
cn flag

I tried installing Ubuntu 20.04 but after the install the computer always got stuck on the Lenovo boot screen (probably something with the relatively new cpu I guess?) After that I tried installing Ubuntu 21.04 and everything seemed to be working fine but there are some things that I have problems with. I installed displaylink to use my dock, but the external monitor is extremely slow (almost unusable). ...

Score: 0
Layana Honnappa avatar
VM creation on 1 VF from network card and 1 VF from GPU
pt flag

I am trying to pass VM for 1 VF from network card and 1 VF from GPU (ATS card) at a time, using the below command. Getting the following error, can anyone please help on this issue? 4d:00.1 is GPU VF 01:02.1 is Network card VF

root@ATS101:/home/user# sudo qemu-system-x86_64 -cpu host -machine q35 -enable-kvm -m 16G -smp 4 -drive if=pflash,readonly,format=raw,file=/usr/share/OVMF/OVMF_CODE.fd -drive ...

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.