Latest Ubuntu related questions

Score: -1
Emma avatar
Echo output with variable behaving differently
us flag

I have the two files below: names.csv

Firstname,Surname
Silas ,Strong
Arturo Zi,Zimmerman

and the test.sh

#!/bin/bash

while IFS=, read -r field1 field2
do
    name=$field1.$field2
    echo "Here is the name $name"
    echo "$name is included in the file"
done < names.csv

When test.sh is ran.. I get the following output where the name is missing on the second echo output.

Here is the name F ...
Score: 0
dmmpie avatar
Setting user permissions on a directory located inside of a root directory (spack package manager)
us flag

I am currently trying to use a package manager called spack. I am using the following commands to clone it into a directory that otherwise only has r+w+x permissions for root users and r permissions for the current user:

sudo git clone https://github.com/spack/spack.git
sudo chgrp -R my_user_group spack
sudo chmod -R +rwx spack

When I try to install a package, I get the error message

==> Error: [ ...
Score: 0
unable to see all the contents in memory i.e HDD in ubuntu 20.04

I am using DELL VOSTRO 1014. I installed Ubuntu 20.04 as main OS along with Windows 7. HDD partition is 110GB for Ubuntu and remaining for Windows. When i used disk analyzer it is showing only 35.3 GB available out of 110GB allocated for Ubuntu 20.04. But when i tried various commands like free or top

mhhsastry@mhhsastry-Vostro-1014:~$ free
              total        used        free      shared   ...
Score: 0
euli avatar
CUPS, print-driver installation requires authentification
us flag

I prepared a cups server in my company. Everything works fine but I can't install the driver from the samba-share to a windows-computer.

Every time I try to install a driver of a printer from the share, an XP-Admin window Authentificationcomes up and I can't authenticate there. Neither with the CUPS-Admin or serveradmin. The server is also not in the domain, so I can exclude a domain request.

Score: 2
Jonathan Grater avatar
Kubuntu switch two last language layouts like MacOS or Gnome
bo flag

I use three different keyboard layouts. In Gnome and MacOS, switching between languages is conveniently implemented - when you press once Win+Space it switches between the last two languages, and to select the third one, you need to press Win+Space twice. Is it possible to do this in Kubuntu?

Score: 0
Install FFmpeg on Ubuntu 20.04 failed
in flag
Connection failed [IP: 91.189.88.142 80]
Err:4 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 ffmpeg amd64 7:4.2.4-1ubuntu0.1
  Connection failed [IP: 91.189.88.142 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/f/flite/libflite1_2.1-release-3_amd64.deb  Connection failed [IP: 91.189.88.142 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/f/ffmpeg ...
Score: 0
N8tron avatar
obs-studio duplicate setting panels at bottom glitch
us flag

I recorded 100+ educational videos last year using OBS on ubuntu so I generally have a decent idea how to use the program. Having not used it for a hot minute, I decided to run it to setup a new project I'm working on. When I did each of the panels at the bottom were doubled. Not just controls, but audio, sources, scene transitions, etc and they are overlapping each-other in a rather glitchy fashion. Th ...

Score: 0
dres_d.r.e.s avatar
Upgraded Ubuntu, now password to get into server will not work
kr flag

I asked a similar question yesterday here, I am on a deadline and really out of my depth so any help would be hugely appreciated:

Beginner PW Question using MacOS terminal

I updated the system to the 20.04.3 install and now whenever I try logging into the ssh server, it asks for the pw but once I input it all I receive is the following message without a successful login:

root@34.233.135.225's pas ...
Score: 0
sai prabhav avatar
keyboard back-light not working in Realme book but works in windows dual boot
cn flag

I have dual boot windows 11 and ubuntu 20.04. My keyboard backlight is working in Windows 11 but not in ubuntu. I tried enabling it in settings but I can't find any option to do so.

Score: 0
lejou lee avatar
gnome-session-properties won't work when the monitor is not connect
cn flag

I use Ubuntu 20.04. And I set up a script with startup of Ubuntu in startup application preferences(gnome-session-properties). I need to run the script(.sh) without the monitor connected.

enter image description here

However, when the monitor connects to the computer with HDMI, the script would work with startup. While the monitor is not connected, the script is not working until the HDMI re-conne ...

Score: 1
samba Ubuntu client slow, Windows client fast
ve flag

I have a ubuntu 20.04 server with default samba installation, and a ubuntu 20.04 client mounting the share with:

//xxx.xxx.xxx/share    /home/user1/share     cifs username=user2,noauto,rw,users   0 0

I try to uncompress a 60Mb file from server in the same server folder, and it is painfully slow (~15 minutes). I checked server configuration, but I created a win10 virtual machine on client, connected to ...

Score: 0
Christopher.L avatar
How to configure .desktop file to run .jar file exactly as if run from terminal
cn flag

I have a java program that works correctly when I run java -jar "lizzie.jar" from the terminal, but when I double click it in Nautilus it runs (i.e. UI shows) but returns the error "No such file or directory" for one of the files (./leelaz) it depends on to work properly.

I have created a .desktop file in /home/username/.local/share/applications with the following contents:

#!/usr/bin/env xdg-open
[Deskto ...

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.