Latest Ubuntu related questions

Score: 0
Kayracer avatar
Query Power State of Network Drive
au flag

I have a network shared drive that is shared through my router using SMB protocol. I also have a raspberry pi as a secondary backup connected to the network that once a week backs up the network drive contents to it's local attached storage. Is there a way to query status's of network hdd for what power state they are in (ie. idle/active...)? I know there are tools hdparm and sdparm that I have used  ...

Score: 4
Julien Bocage avatar
Windows 11 erases GRUB every time I launch it from GRUB itself
cn flag

So I have been trying to solve this problem from several hours for now:

Problem explanation

I bought a new computer (HP OMEN 15) with Windows 11 already installed. I did a dual boot with ubuntu, which perfectly worked... until I booted again on Windows (from GRUB). Then, GRUB disappears and only windows boot manager remains.

So I reinstalled GRUB according to these instructions: https://doc.ubuntu-fr.org/ ...

Score: 0
Vriska Weaver avatar
Stuck at blank purple screen after login Ubuntu 20.04
in flag

After logging in after a reboot, it just removes the login window thing and gives a blank purple screen with a mouse cursor instead of my desktop. I can ctrl-alt-f2 and then ctrl-alt-f1 back and it'll reload the greeter and let me log in after that, but it's really annoying and I'd rather avoid having to do that. I'm running 20.04.3 on a Thinkpad P51s. Installing all the updates and messing w graphics d ...

Score: 1
Shanteva avatar
After installing Chrome Remote Desktop polkit permissions are all skrewed up
bg flag

After installing chrome-remote-desktop on Ubuntu 21.10 it seems to mess up polkit permissions. It asks for my password 3 times after logging in (color profiles, remote repositories, color management?), and it asks for my password when modifying NetworkManager in any way. I know how to solve the NM issue, but why should I be doing any of this all of a sudden? This has happened many times in the past afte ...

Score: 0
Rinku Moni Khanikar avatar
Windows 10 installs on my system but ubuntu gets an error 5
in flag

I have an old dell inspiron 15 3567 laptop. It came with windows 10 home. I upgraded it to win10 pro and it installed smoothly. Today I tried to install Ubuntu 20.04.3 but it says error 5. I again tried win10 from a usb stick and there is no problem. Why is this happening?

Score: 10
How to permanetly disable automatic package cache update after adding a PPA?
us flag

In recent releases of Ubuntu, adding a PPA automatically updates the package cache immediately.

Sometimes, I need to add several PPAs (e.g. after a new installation), and would like to manually run apt update in one go, after adding all the PPAs.

How to do that?

I found this question, which suggests using add-apt-repository -n ppa:user/repo.

How to change the default behavior so that the package cach ...

Score: 4
How to fix blurred PDF preview in TeXstudio under fractional scaling?
us flag

I am using fractional scaling in Kubuntu 20.04. When I compile a .tex file in TeXstudio, the preview of the output is blurred (however, the generated PDF is not blurred when viewed in Okular or another PDF reader. Only the preview in TeXstudio is blurred).

How to fix it?

blurred blurred output (zoom in to see)

Score: 0
Daniel Dresdner avatar
Power options does'nt work on 20.04 : Reached target
tv flag

I installed Ubuntu 20.04 dual boot on my new Asus Vivobook following this guide , and everything works fine except for the power options. I can't reboot/turn off, or even let the computer go to sleep mode. I'll get a log displaying lots of messages until finally it says "reached target Power off". Turning off from Windows OS is not an issue however. Here is a picture of the log

I have tried to upda ...

Score: 0
Compare two lists, file1 and file2, get the IDs in file2 present in the usernames in file1
ru flag

Please I need help...

I have two lists, file1 and file2. The list file1 has only usernames, while file2 has the same usernames but with additional columns (username|private yes or no|id).

Basically I need to know the ID (which is in file2) of the usernames which are in file1.

file1 (50k lines):

user1
user2
user3

...

file2 (500k lines):

user1|YES|8125958
user2|YES|4825195
user3|YES|8757159
user4|NO| ...
Score: 1
Minsky avatar
Can you switch your terminal user as any user defined in /etc/passwd?
mx flag

Context

This is very newbie question but I dont fully grasp unix users yet.

If I cat /etc/passwd there are different users:

me:x:1000:1000:me,,,:/home/me:/bin/bash
systemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologin
sddm:x:127:134:Simple Desktop Display Manager:/var/lib/sddm:/bin/false
mongodb:x:128:65534::/home/mongodb:/usr/sbin/nologin
sshd:x:129:65534::/run/sshd:/usr/sbin/nologin
tftp:x: ...
Score: 0
danielceban22 avatar
I got a problem with the DNS on Ubuntu 18.04
in flag

I have 2 Ubuntu 18.04 machines, 1 client and 1 DNS server.

The DNS server is located at 192.168.2.3 and named ns1.orange.danielceban.com

The client is located at 192.168.0.7 and named ubuntu1.lan.danielceban.com

I can make ping from client to server: "ping 192.168.2.3"

But when I try to run: ping ns1.orange.danielcban.com It says Name or service unknown

Error

My DNS server status:

DNS Status

My db.danielceban.com set ...

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.