Latest Ubuntu related questions

Score: 0
Mehdi Saffar avatar
`source ranger` only works on second invocation
in flag

I open a terminal then type source ranger I get

/usr/bin/ranger:17: command not found: zle_bracketed_paste

I type source ranger again and it works.

How can I fix this?

ranger --version

ranger version: ranger 1.9.3
Python version: 3.9.5 (default, May 11 2021, 08:20:37) [GCC 10.3.0]
Locale: en_US.UTF-8      

zsh --version

zsh 5.8 (x86_64-ubuntu-linux-gnu)  

I use oh-my-zsh.

Plugins:

plugins=(
  zsh-nv ...
Score: 0
Vamshi Krishna CH avatar
how we can append the data in perl using bash?
us flag

i have multiple perl scripts ,currently its working from the shell, but my requirement is like automate this scripts from the bash.

perl smtp-check.pl < unmatched-00250 > good_smtp_251 2> bad_smtp_251 

from the above line unmatched-00250 is my arg().good_smtp_251,bad_smtp_251 these files are output files.

i have multiple files like unmatched-00250 ,currently iam going each folder and running thi ...

Score: 0
David Moore avatar
How to 'correctly' make this file reorganization python script prompt for user input, check for validity, and then double check?
vn flag

I have a modified version of this really cool script that was written the better half of a decade ago to reorganize really large folders full of random files into their respective directories. My modifications are irrelevant to the question, so I'll use the original script in my example below.

I've set it to prompt for user input instead of hardcoding variables into the script (shown below in betw ...

Score: 1
Rashedul Rafi avatar
Magic Enter in BASH like ZSH
ng flag

How can I set magic enter in bash like zsh in oh-my-zsh? I have tried:

bind '"\C-m":"ls\n"'

But this makes bash unusable

Score: 0
Biot avatar
Steam unable to update
us flag

I have the Problem that i cant update steam

Steam needs to install these additional packages:
    libgl1:i386
[sudo] Passwort für florian: 
.......
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben od ...
Score: 0
delta1071 avatar
losetup creating encrypted loop device
cn flag

I'm running a script I found at github.com/rufferson/pureos-pinephone/tree/fd5ecbc2e6b8452545dd93db5235a6e20443071c to convert a Pinephone 64 3GB .img file to a PureOS .img that the PP 64 can boot.

When it reaches the losetup part, I'm getting a mount error:

  • sudo losetup -f
  • LO=/dev/loop26
  • sudo losetup -P /dev/loop26 librem5r4.img
  • sudo mount /dev/loop26p2 sd mount: /home/steve/purepp/sd: unknown f ...
Score: 1
Manas Paul avatar
Internet speed going 0bytes most frequently. I am using 20.04.02 LTS
in flag

I think that after I upgraded to 20.04.02 LTS, my PC's internet connection doesn't work properly. I have checked my Wi-Fi and it is working pretty fine and smoothly on other devices. But in my Ubuntu PC sometimes it works pretty fast, as it should, but sometimes it takes a lot of time to open a webpage. It just shows the loading spinner on the top. I also have noticed that the internet speed is also goo ...

Score: 0
Unnamed avatar
Tensorflow install not working (Core dumped)
in flag

I've installed tensorflow in ubuntu20.04 LTS, but it has failed.

I'm using a Virtualenv for python3.9, so I use pip command and not pip3

First I upgraded pip, and then I installed tensorflow

pip install --upgrade pip
pip install tensorflow

Then if I open python3.9 and run

import tensorflow as tf

the error I get is

>>> Illegal instruction (core dumped)

Any ideas?

Score: 0
Ethan Kao avatar
error in bashrc. 'syntax error: unexpected end of file'
in flag

When I try to run bash, it gives a syntax error:

bash: /home/leo.bashrc: line 136: syntax error: unexpected end of line

where the line number is the length of the document.

The contents of bashrc are:

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case  ...
Score: 0
QuntumRelativist avatar
Wireless network not showing in ubuntu 20.04
cn flag

I installed ununtu 20.04 in my pc. While installing it does not show the option to install softwares while installing it. After installing i was not able to find wifi in it. Though i can connect it to internet via usb tehering but i cant connect it wirelessly. Please help. This is the second time i installed ubuntu in my pc. Last time i was able to get wifi working by typing some commands in the termina ...

Score: 0
Saba1 avatar
How do i Permanently disable fn key lock when laptop reboots
ru flag

When laptop reboots, the Fn key is automatically on.
How can I disable the Fn key when rebooting ?

Score: 1
How do I hide the VPN key icon from the top bar?
cn flag

I want to hide the VPN key icon from the top bar in ubuntu 20.04

enter image description here

Score: 2
Niewbie avatar
Gnome-Tweaks it's broken with the new Ubuntu Realese. Please help
co flag

just then I was performing another new Ubuntu 21.04 installation, and today (not this error few weeks ago) I get install gnome-tweaks and cannot be possible, because it say that I have the unmet dependencies. If I try to install it by terminal, it comes out the following error in my language (I translated below):

I seguenti pacchetti hanno dipendenze non soddisfatte:
gnome-shell-extension-prefs : 
 ...
Score: 0
muhammed shafi avatar
The repository 'cdrom:/Ubuntu 18.04.4LTS _Bionic Beaver_ - Release amd64 (20200203.1) bionic Release' does not have a Release file
vn flag

I recently upgraded to Ubuntu 20.04. After this, my system is not detecting my Wi-Fi. My wireless adapter is an Intel 7265.

I watched some YouTube videos about this issue, which all suggested that I should update my drivers using Software & Updates. But just like others, I did not get this option Installable from CD-ROM/DVD. As you can see I didn't get any options.

Software & Updates 1

Software & Updates 2

After I tried to update, ...

Score: -1
brad avatar
New openvpn server clients can ping layer 2 but not layer 3 (DNS)
in flag

I am trying to configure a new openvpn server and my clients can connect to the server, ping 4.2.2.2, but fails at layer 3 (DNS).

error:

ping google.com
temporary failure in name resolution

server config:

mode server
tls-server
port 1194
proto udp
dev tun

ca      /etc/openvpn/server/ca.crt
cert    /etc/openvpn/server/issued/server.crt
key     /etc/openvpn/server/private/server.key
dh      /etc/open ...
Score: 0
makerio avatar
Changing terminal emulator from gnome-terminal to kitty breaks some functionality
et flag

I've switched from gnome terminal to kitty. I ran

sudo update-alternatives --config x-terminal-emulator 

and selected my terminal.

However, some actions still ran using the default gnome terminal.

I tried uninstalling gnome-terminal, but that didn't change anything.

The problems I have are that

  • attempting to launch terminal with ulancher apps doesn't work
  • 'open in terminal' with nautilus has disapp ...

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.