Latest Ubuntu related questions

Score: 0
rogersjoshmac avatar
MAAS set default cloud-init script
br flag

I have a MAAS server that deploys Ubuntu workstations.

When I deploy, I paste in a bash script I made:

Is there a way to set this bash script as default? So that MAAS would always use this cloud-init on machines I deploy?

Thanks ahead!

Score: 1
hakimo2 avatar
How can I make the C++ compiler support template for STLin order to install hpctoolkit?
cn flag

I am trying to install hpctoolkit using Spack. In order to do that, I executed :

git clone https://github.com/spack/spack.git
cd spack/share/spack
source setup-env.sh 
spack fetch -D hpctoolkit
spack install hpctoolkit 

I can't execute the last command because I get the following error:

Error: ProcessError: Command exited with status 1:
    './bootstrap.sh' '--prefix=/home/hakim/spack/opt/spack/linux ...
Score: 0
Satyam Mishra avatar
Error: No Such Partition, Grub Rescue
vn flag

I am a newbie to Ubuntu, on the top of that I am facing the following issue:

I recently deleted a 3GB partition on my Windows (which was empty), after which when I rebooted, I could not get to grub, instead I was landed at an Error:

Error: No such partition
Grub Rescue>

I immediately searched YouTube and accordingly enetered the following in the rescue CLI:

ls
ls (hd0,msdos7)
>>ext2 File Sy ...
Score: 0
sblee avatar
netplan gre tunnel
kg flag

I want to add gre tunnel in netplan.

name: gre0, mode: gre, remote: 10.11.22.100, local: 10.11.22.99, dev: eth1 I don't know what key value to put interface eth1 into gre0.

network:
    version: 2
    renderer: networkd
    ethernets:
        eth0:
            dhcp4: false
            dhcp6: false
            addresses: []
            nameservers:
                addresses:
                - 8.8.8.8
  ...
Score: 0
Andy K avatar
screen not displaying with Startech hdmi to usb adapter
id flag

I bought a startech hdmi to usb adapter a few weeks ago.

I've installed the driver for my ubuntu, display was doing fine.

However, a few weeks later, the screen is now, not displaying any images.

Funny part is that the star tech adapter is recognized when I plugged it in and the strange thing is that the sound channel is using the startech adapter.

Not sure, what is wrong.

When I type xrandr, no additiona ...

Score: 2
7edsdqwi90xr avatar
Why does one usb flash drive have different serial numbers in different operating systems?
cn flag

Why does one usb flash drive have different serial numbers in different operating systems?

Ubuntu:
$ usb-devices
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=13fe ProdID=4100 Rev=01.00
S: Manufacturer=
S: Product=USB DISK 2.0
S: SerialNumber=070A3638B1831375
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I: If#= ...

Score: 2
Andy A. avatar
How to edit UTF-8 files with vim
mo flag

How can I edit UTF-8 files with vim?

There is a problem with german special characters like 'Ä', 'ü'. There are some in the comments. vim shows Ã~D instead of 'Ä' and ü instead of 'ü' then. (I hope there is no encoding problem on your browser :)

I have no "~/.vimrc" file.

In the "~/.viminfo" is

...
# Value of 'encoding' when this file was written
*encoding=latin1
...

If I enter locale, it gives ...

Score: 1
Alasdair Thomson avatar
Unattended upgrades for dotnet not working
cn flag

I am trying to configre unattended-upgrades for microsoft dotnet on ubuntu 20.04.2.

I added the origin and section to allowed-origins in my unattended-upgrades config:

    Unattended-Upgrade::Allowed-Origins {
        "${distro_id}:${distro_codename}";
        "${distro_id}:${distro_codename}-security";
        "${distro_id}ESMApps:${distro_codename}-apps-security";
        "${distro_id}ESM:${distro_c ...
Score: 0
Safejack avatar
How to use Ftfy
in flag

I have a xx.sql that has some encoding issues. eg:

represent†in Xhosa)Â

I was advised to use [ftfy to fix] (https://pypi.org/project/ftfy/) I have installed pip install ftfy but for the sake of me cannot comprehend how to use it for example:

in terminal these are the commands i run :

python 
import ftfy
ftfy --output=xx.clean.sql xx.orig.sql (not sure how to point to the location of xx.orig.s ...
Score: 0
R Nijine avatar
Ubuntu Software app
cn flag

I'm new to ubuntu , whenever I try to open the ubuntu software app , it is not working properly it had loaded for 5 seconds and gets close by itself.

Score: 2
Ullrich Fischer avatar
Firefox 89.0 64 bit won't run Facebook (and some other) videos
cn flag

The first frame of the video flashes up for a fraction of a second then a black window with "Sorry, having problems playing this video" with a link labelled "Learn More" in the centre of the window. None of the suggestions that come up under "Learn More" do anything useful. This is on a 6-year or so old HP Pavilion laptop running Ubuntu 20.04 with all the currently available updates and upgrades insta ...

Score: 0
drizzt13 avatar
tor command changed behavior
pl flag

i'm using ubuntu 20.04. i'm using the tor command for quiet some time now. when i run it, i get:

$tor                                                                                                                                                                          
Jun 10 10:23:31.864 [notice] Tor 0.4.2.7 running on Linux with Libevent 2.1.11- 
stable, OpenSSL 1.1.1f, Zlib 1.2.11, Liblzma 5.2 ...
Score: 0
Surajit A avatar
Static IP is disappearing after restart Ubuntu Server 20.04.2 : Please help
fi flag

I have a Ubuntu 20.04.2 Server version template. I have configured IP addresses, Name servers gateway4, etc. as per the process via netplan. Whenever I am deploying VM from that template and provide specific IP (using custom specs). VM is showing the correct IP while it's configured correctly for the first time. If I reboot the new VM then again it's taking the old template IP address. No clue what I am ...

Score: 0
Richard Brown avatar
Application List broken
kr flag

This was difficult to describe so I took some screenshots. The application list doesn't list all applications and also only lists a random number on 3 pages.

I can't add pictures to this post so please visit this link to see the images: https://gucu.uk/ubuntu/ubuntu-21-04-application-list-broken/

I am running Ubuntu 21.04 and Gnome 3.38.5

Thanks

Rich

Score: 1
Gagan Bansal avatar
Anydesk issue with remote connectivity
mx flag

I've got a weird issue popping up wherein any system that I use anydesk with will get to the 'Please wait for remote system to accept' screen and then once they accept my anydesk just crashes. This is consistent whether with windows or linux systems. Also, when I try and connect via a windows system to my ubuntu 20.04 system, it does the exact same thing. I have tried to use the switch sides option as w ...

Score: 0
Jannies - They do it for free avatar
Can I temporarily disable tracker-store and tracker-extract and tracker-miner to help save battery on my laptop?
in flag

I am really disappointed in my battery life on Kubuntu and I notice when I monitor htop, that these systemd daemons really are constantly eating cpu in the background.

enter image description here

I don't know what they do, but considering how constant they are, I wonder if I could disable them while using my battery so I can save that instead. When Plugged in, they can do what they need to do otherwise.

How can I do this?

 ...

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.