Latest Ubuntu related questions

Score: 0
Karter avatar
Ubuntu 21.04 takes too long to boot (or why is man-db.service taking so long?)
ph flag

I'm using Windows 10 and Ubuntu side by side on my HP Pavillion laptop with :

Intel® Core™ i7-8750H CPU @ 2.20GHz × 12 NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] / GeForce GTX 1050 Ti/PCIe/SSE2and 16 GB of Ram.

According to 'systemd-analyze' :

Startup finished in 4.110s (kernel) + 1min 8.206s (userspace) = 1min 12.316s graphical.target reached after 1min 7.940s in userspace

if i type in ...

Score: 0
Pklong avatar
Can't connect to internet with ethernet or wifi on Ubuntu 20.04
us flag

I'm very new to the Linux desktop world so apologies if this is a basic question.

I've installed Ubuntu 20.04 on a partition in my PC. Windows can access the internet through ethernet or Wi Fi, no problems.

On Ubuntu, I cannot connect to the internet and don't know how to proceed.

The 01-network-manager-all.yaml file shows

network:

version: 2

renderer: NetworkManager

Command sudo lshw -C network ou ...

Score: 1
Roger06 avatar
Timeshift restore to replacement SSD?
tv flag

Ubuntu 20.04.

I think I know what to do here but would appreciate knowing any tips or if there's anything I've missed...

I have three SSDs, one with OS, one for backups and VMs and another mounted as my home directory.

The disk with home has died (after 6 months!) so I will replace. I know how to boot to a live USB and format with GParted and then I assume I'll just edit fstab to change the disk ID for ...

Score: 0
Marin Bogdanovic avatar
Is it possible to offset taskbar? Ubuntu 21.04
ph flag

Is it possible to offset taskbar few pixels from edge of the screen? Basically just moving it freely not being limited to moving it to edges of the screen.

Score: 0
Adrian George avatar
Best practice to serve static files for web
cn flag

I am trying to build the following infrastructure.

  • Server 1 - DB Server
  • 2 - Web server to host the web app itself Server
  • 3 - Web server for serving web app static files (like product images, css, js etc) to relieve Server 2 load for static content and let it only process the dynamic part.

I am trying to avoid an object storage like AWS S3 or DO Spaces as I am not really interested into that so what ...

Score: 1
What is a 'known_hosts' file and what does it contains
in flag

I have navigated to /home/some-user/.ssh/ folder and found a file named known_hosts.

What is the purpose of this file and what does it contains?

Score: 0
trondheim avatar
Problem with mounting File Systems from External Drives
in flag

some time ago I set up my Ubuntu to mount external drives always on the same mountpoint. To do that, I mounted according to the UUID, e.g. from my fstab:

UUID=b949cee0-9e93-44c1-b3eb-1857cf5c1167 /media/b949cee0-9e93-44c1-b3eb-1857cf5c1167 ext4 nofail,auto,noatime,rw,user 0 0

UUID=17fbaabc-84e1-49a5-aebf-e14dfd1f5502 /media/17fbaabc-84e1-49a5-aebf-e14dfd1f5502 ext4 nofail,auto,noatime,rw,user 0 0
 ...
Score: 0
Lakshminaarayanan avatar
Sound issue, no audio hearable. Sound menu in ubuntu flickering
jp flag

Recently I uninstalled the lsp plugins which cluttered my app screen and after that there is an audio issue i guess. When i play anything, i cant hear the sound. But the top right corner controls start flickering and the sound settings menu in settings start flickering. Is something crashed? How to fix this?

Score: 0
Pronay Sarker avatar
Help me to get rid of unmet dependencies
cn flag

when I try to install it shows this. Help me to get rid of it. I tried to install codeblocks once with dpkg command. I am using ubuntu 20.04

reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 codeblocks-contrib : Depends: libboost-system1.62. ...
Score: 0
pfuhlert avatar
Software to monitor certain directories in a web view
tn flag

So I am out of luck googling that's why I thought I would ask here. I look for a software that let's me visualize certain directories (local would be fine for now, NAS would be great) for a ubuntu server that lets me

  • have a nice web view of all folders
  • shows me some data on when the directory was created / changed / read the last time
  • can alert me when the directory crosses some size threshold
  • shows me  ...
Score: 0
Suhasini Subramaniam avatar
how to match spec in disk selection extension using ID_PATH with focal auto install?
uz flag

how to match spec in disk selection extension using ID_PATH during the auto network install ?

ID_PATH=pci-0000:41:00.0-nvme-1

$ udevadm info  -q all -n /dev/nvme0n1
P: /devices/pci0000:40/0000:40:01.3/0000:41:00.0/nvme/nvme0/nvme0n1
N: nvme0n1
L: 0
S: disk/by-path/pci-0000:41:00.0-nvme-1
S: disk/by-id/nvme-eui.01000000010000005cd2e4081df14e51
S: disk/by-id/nvme-INTEL_SSDPE2KX010T8_BTLJ802106H61P0FG ...
Score: 0
양석우 avatar
Overall CPU utilization% of 'htop' is smaller than a process' cpu usage
in flag

Because of my stupidity, I can't provide any screenshot of such phenomenon. My 2-core system's cpu utilization(which is output of htop command) is smaller than the cpu usage of a process.

For example,

  • utilization of core0 is 13%
  • utilization of core1 is 23%
  • CPU usage(%CPU) of a multithreaded(about 30 threads) process is 54%

How can this possible? I'm currently reading code of htop, but I can't find any ...

Score: 0
Terminal window title vs Git branch name in the command prompt?
cx flag

I wanted to add information about Git branch to my command line prompt, and I found this post:

parse_git_branch() {
     git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}

export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "

I added those lines into my .bashrc.

However, this messes up my terminal's window title, which used to contain current working ...

Score: 0
Andrei avatar
DSLR with gphoto2
in flag

I'm trying to use my Nikon D3100 DSLR camera to make timelapses of my 3D prints with Octolapse. However, when I send the gphoto2 --capture-image command the camera freezes and it enters in a some kind of never-ending loading state. I'm running gphoto2 2.5.27.1 developer version. Any thoughts/ideas? Thanks

Score: 1
ronin avatar
gsettings command not affecting settings
cn flag

I was trying to write a script that would enable and disable Do Not Disturb. As such, I was using the gsettings command to enable and disable notifications

I used these two commands:

gsettings set org.gnome.desktop.notifications show-banners true
gsettings set org.gnome.desktop.notifications show-banners false

However, when actually executing these commands and testing them with notify-send, they did  ...

Score: 0
Minoru avatar
Predictable interface names on Ubuntu on Raspberry Pi
uz flag

I want to set up a Raspberry Pi wireless AP. I downloaded the Ubuntu image for Raspberry Pi (server), wrote the image to a microSD card, then put it into my Pi 3B+. Ubuntu boots up just fine, so far so good, except...

$ ip link
1: lo: ...
    ....
2: eth0: ...
    ....
3: wlan0: ...
    ....

I found it strange because I thought Ubuntu adopted predictable network interface names a long time ago. I want to ...

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.