Latest Ubuntu related questions

Score: 1
OKI scanner driver (okiscantool) cannot find pygtk in Ubuntu 21.10
in flag

I had the OKI scanner driver install in Ubuntu 18.04 before I upgraded to 21.10. Now when I start okiscantool I get the message ImportError: No module named pygtk.

I see python3 installed as well as python2.

~$ dpkg -l '*python*' | grep ii
ii  libpython2-stdlib:amd64          2.7.18-3                        amd64        interactive high-level object-oriented language (Python2)
ii  libpython2.7-minimal:am ...
Score: 2
`sudo visudo /etc/hosts` gives syntax errors
mx flag

Really dumb question, Ubuntu 20, and I have apache2 installed, not much else. I go sudo visudo /etc/hosts and want to add an alias "dummy.com" domain alias as a hack to point to the server for local only testing a learning site and I get this unusual

>> /etc/hosts: syntax error near line 1 <<<
>>> /etc/hosts: syntax error near line 2 <<<
>>> /etc/hosts: syntax err ...
Score: 0
Hariss Gills avatar
Bash shell script calling an external program isn't displaying output to the current terminal
sa flag

I'm new to shell scripts. I'm making a headless raspberry pi that hacks WiFi networks (for educational purposes) with a program called wifite. The plan is for it to then send an email to with an attachment of the output (not implemented yet).

So this program is interactive so I have to send keyboard input I do that via xdotool. The main issue is that when I try to Ctrl+C after some time it sends th ...

Score: 0
How gnome perform privileged tasks without root such as brightness control?
in flag

I want to know how gnome performs some privileged tasks without asking root password? As an example brightness value resides in /sys/class/backlight/*adapter*/brightness and write access is only for root user. And gnome-shell run as a normal user and is able to perform change value. Also xrandr is able to do without root privileges. This is one instance. I appreciate it if anyone able to provide some ref ...

Score: 0
bdetweiler avatar
Webcam microphone not working [NEXIGO]
tr flag

I have a Nexigo N60 1080p FHD Webcam with a built-in microphone. The webcam works fine, but I cannot get the microphone to work.

I have tried commenting out the module-suspend-on-idle line in /etc/pulse/default.pa and reloading pulseaudio as suggested in this post: USB webcam microphone not working .

As a test, I went to https://online-voice-recorder.com/ and Firefox prompts me to allow the webcam  ...

Score: 0
Access denied when trying to install Linux Docker container
fr flag

Following this tutorial: https://ubuntu.com/tutorials/windows-ubuntu-hyperv-containers#1-overview

In step 6 I try to run:

.\dockerd.exe -D --data-root C:\lcow

Then I get:

failed to load listeners: open //./pipe/docker_engine: Access is denied.

I am running it in administrator command prompt.

Score: 0
I am not able to enter into recovery mode through grub menu as it asks for forgotten password
us flag

To resrt root passwd I tried to boot through recovery mode but it prompts for username and password which I completely forgot. Using 16.04 LTS. there is no such option of maintenance

Score: 0
How do I force a drive to use the backup GPT table?
ng flag

Every question and answer I can find appears to be the opposite of my current problem.

8TB NTFS USB drive (~85% full) connected to single boot Ubuntu 20.04 server, shared with Windows workstations via Samba. Used in an in-person teaching business considered "non essential," so hanging on by fingernails and prayers thanks to being closed to customers for 7 months last year. The bulk of the data is ...

Score: 0
Daniel Kelley avatar
Unable to transfer files from Windows (NTFS) to Ubuntu (EXT4) directly
gb flag

I'm attempting to mount Windows (NTFS) on Ubuntu (EXT4) so that I can move files directly across. With the following command, I mounted with the correct permissions:

sudo mount -o remount,rw '/media/OS'

When I try to relocate the files, however, the original copies remain on the drive and are simply copied across.

I've also tried the following (which makes no difference):

sudo mount -t ntfs-3g -o ui ...
Score: 0
Amir Pirmoradian avatar
l2tp vpn connection faild
gl flag

I want to connect to an l2tp vpn. everything works fine on Android and Windows but when I try to connect using ubuntu 20.04 it will connect for almost 1 minute then it will get disconnected. during the time that VPN is connected, I can't open websites

output of journalctl -u NetworkManager.service:

I have replaced the actual IP with AAA.BBB.CCC.DDD

NetworkManager[1146]: <info>  [1642422230.4639] ma ...
Score: 0
Umar Akram avatar
Share Wi-Fi internet connection through hotspot
cz flag

I was trying to share internet to my mobile phone using hotspot, but the problem is that I can't connect and share internet connection using the same driver.

I used to do these procedures easily on Windows. Is there an equivalent role in Ubuntu?

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.