Latest Ubuntu related questions

Score: 0
dlys avatar
Merge To Hard drives EBS and Throughput Optimized HDD (st1) Ubuntu
hr flag

I have a dedicated instance in AWS so the root drive is gp2 8GB and Throughput Optimized HDD (st1) 450GB,

so I need to merge it or run it as 1 hard drive. the storage is as follows:

Disk /dev/nvme0n1: 8 GiB, 8589934592 bytes, 16777216 sectors
/dev/nvme0n1p1  227328 16777182 16549855  7.9G Linux filesystem
/dev/nvme0n1p14   2048    10239     8192    4M BIOS boot
/dev/nvme0n1p15  10240   227327   217088 ...
Score: 1
Grant E. avatar
How to control when daily automatic update happens?
jp flag

On Ubuntu server 22.04, how do you control when the automatic daily update check happens?

One of my servers doesn't have internet access during certain (known) periods. When the automatic update happens it hangs forever if there is no internet access. Even with internet access resumes, the update stays hung and I have to manually kill it then do a manual update.

I'd like to keep the automatic update ...

Score: 0
How to install nohands in Ubuntu 22.04?
us flag

Nohands is an application to manage phone calls from a computer running Ubuntu (described here).

It seems to have been abandoned (the screenshot in the website is from 2008 or 2009), but someone reported that it worked in versions as recent as 19.10.

How to install nohands in Ubuntu 22.04, and how to configure it to make phone calls?

Score: 5
fixit7 avatar
Make phone calls from desktop computer
kp flag

I have a microphone and camera on my desktop system.

I would like to be able to make phone calls using the computer.

I use zoom, so it seems like it should be doable.

Is it possible using Ubuntu Mate?

Score: 1
IlyaChch avatar
Microfreezes every 10 seconds Ubuntu 22.04.2 Wayland
jp flag

System:

Ubuntu 22.04.2
Kernel 5.19.0-32-generic
Session Wayland

Laptop: Lenovo ThinkPad T14s AMD Gen 1 (Laptop is certified with Ubuntu)

Uptime at moment when the problem found:

  16:47:28 up 2 days, 22:45,  1 user,  load average: 0.33, 1.52, 1.88

Common description: After approx. 3 days of uptime (with sleep at night and on the way to work and back) there appears microfreezes every 10 (may var ...

Score: 0
emax avatar
How to install Java 8 on Ubuntu 20.10?
cn flag

I have a machine with a version of Ubuntu 20.10 installed. I would like to install Java 8.

java -version
Command 'java' not found, but can be installed with:
sudo apt install default-jre              # version 2:1.11-72, or
sudo apt install openjdk-11-jre-headless  # version 11.0.11+9-0ubuntu2~20.10
sudo apt install openjdk-13-jre-headless  # version 13.0.7+5-0ubuntu1~20.10
sudo apt install openjdk ...
Score: 4
How to prevent snap-store from automatically starting
vn flag

Like many of you, I'm getting the annoying notification that there's a pending update of snap-store:

Pending update of "snap-store" snap

Close the app to avoid disruptions (13 days left)

There are plenty of suggestions at that question as to how to make the notification go away, but it will happen all over again once there's a new update to snap-store.

Question

How can I prevent snap-store from automati ...

Score: 0
lsylla avatar
adjust external monitor brightness from command line [ubuntu 22.04 wayland] (xrandr not working)
li flag

I'm in the process of moving from a machine running 20.04 (windowing system X11) to a new one running 22.04 (windowing system Wayland), and I have not been able to find a functional method for adjusting monitor brightness from the command line.

I have tried the following on the new machine:

  • Running xrandr --output MONITOR_NAME --brightness 0.5 (on my new machine MONITOR_NAME is XWAYLAND0 or similar, whi ...
Score: 0
Facundo Sequeiro avatar
Mouse Pointer With a Square with text UBUNTU Ubuntu 22.04.1 LTS
so flag

I had an automatic update and a square is chasing the cursor. It's seems to be some text really small. Please check as follow a screen capture: [image][1] [1]: https://i.stack.imgur.com/5Gndg.jpg

Score: 0
Drimades Boy avatar
Accessing Win11 partition from Lubuntu
ru flag

I have a double-boot system with Win11 and Lubuntu. When trying to access the Win partition from Lubuntu it will not let me in, because it says the partition is encrypted "A passphrase is needed ...". Any ideas how to solve the problem?

Score: 0
陆菲青 avatar
how do i set every core to a different frequency
mh flag

I tried to use sudo cpufreq-set -c -f to change a single core's frequency, while all the other cores' frequency changes simultaneously, is this because my CPU cannot support achieving this? My CPU is Intel® Core™ i7-10700 CPU @ 2.90GHz with 8 cores(or 16 CPUs)

Score: 0
no such file or directory when setting up alias
cn flag
Kay

I am following a guide to setup dotfiles - https://www.paultman.com/git-for-dotfile-configs/

There is a command to set an alias for git and target it using a git dir. However when running this command i get the following error:

zsh: no such file or directory: alias dotfiles=/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME

I can confirm both dir do exists. What am i doing wrong?

enter image description here

Score: 0
Konika Chawla avatar
unable to add attachment (from remote location) to an email in ubuntu 22.04
ro flag

Yesterday I upgraded my ubuntu to 22.04.1 LTS. And when I was sending an email, I was not able to add an attachment which was from remote server location. Only attachments from local machine could be added. This was not an issue before. For instance, I opened chrome-gmail -add attachment- click on the file I want to attach- but then nothing happens and the cursor return to my email. Nothing freezes but  ...

Score: 0
José Raeiro avatar
How to block a Class A network using UFW
cn flag

I'm currently trying to block several entire /8 networks from an Ubuntu 22.04 machine running GoPhish. The idea here is to prevent GoPhish's links to be clicked by email snooping technologies. Here is my UFW status output:

Status: active

     To                         Action      From
     --                         ------      ----
[ 1] 172.16.99.13 443/tcp       DENY IN     34.0.0.0/8
[ 2] 172. ...
Score: 0
Alan Price avatar
Clone HDD to ssd
US flag

To begin with I'm looking to install a ssd in my desktop running Ubuntu 22.04. In simple layman's terms how do I clone the contents of the HDD to the SSD. When I say simple I mean just that, don't suppose I know anything about using the terminal etc. Looking forward to some plain English answers.

Score: 0
Rahul Kumar avatar
RuntimeError: set scan parameters failed (are you root?)
ws flag

I am trying to scan Bluetooth Low Energy devices around me. I have written a python script for it.

File Name: sample.py

* from gattlib import DiscoveryService service = DiscoveryService("hci0") devices = service.discover(2) for address, name in devices.items(): print("Name: {}, address: {}".format(name, address)) *

I also tried replacing gattlib with bluetooth.ble but I am getting the same error messag ...

Score: 0
HGS avatar
Failed to set session cookie Maybe you are using HTTP instead of HTTPS
cd flag
HGS

I configure my phpadmin with nginx and I have a problem to login. my phpadmin version 4.9.5 my php version PHP 7.4.3 .

it work when I try to change $cfg['Servers'][$i]['auth_type'] in /etc/phpmyadmin/config.inc.php with 'http' or 'config'

$cfg['Servers'][$i]['auth_type'] = 'http';

but with cookie $cfg['Servers'][$i]['auth_type'] = 'cookie'; not working and return Failed

to set session cookie Maybe ...

Score: 0
ChrisTG74 avatar
How to simulate faulty disks in Ubuntu 20?
cn flag

For debugging purposes, I'd like to simulate the following states regarding disk drives on my VM with Ubuntu 20:

  1. disk is missing/offline
  2. disk is faulty
  3. disk is not responding

While I could quickly solve the first one but removing the disk from the VM setup, the second and third one are a bit harder to simulate.

I tried with the approach found here, but it seems that either there is some info mis ...

Score: 2
schaenk avatar
Can't use 2 external monitors on Ubuntu 22.04 using nvidia drivers
sn flag

I have issues making 2 external monitors work on my Ubuntu 22.04 machine.

Setup

  • Ubuntu 22.04
  • Lenovo Carbon X1 3th Gen
  • NVIDIA GeForce GT 1650 Ti
  • nvidia-driver-515 (proprietary)
  • 2 external monitors connected by USB-C -> DisplayPort

I'm not able to use both of the monitors. If i'm trying to enable the second one, it shows me the message Changes could not be applied, this could be due to hardware limi ...

Score: 0
IlyaChch avatar
Permissions denied on try manipulating gnome from CLI
jp flag
System: Ubuntu: 22.04.1
GNOME version: 42.5

I'm trying to make script to manipulate GNOME from CLI to use it in Solaar and other automation scripts.

example:

dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview.toggle();'

My scripts from 20.04 appeared not working. As I found out - the Eval function is not available any more due to  ...

Score: 1
havyal avatar
How to install wi-fi driver?
ne flag

I have no other option to connect to internet except my wi-fi adapter (Mercusys MU6H). I'm completely new to ubuntu and linux itself so I don't exactly know the details of installation through the terminal.

So I tried to do install it from GitHub: https://github.com/jeremyb31/rtl8192eu-linux-driver but I didn't managed to do it (as I see it's because of I have no dkms and internet itself)

How do I ins ...

Score: 0
Maxclac avatar
Ethernet and WLAN not working
cn flag

I have Ubuntu 20.04 on my work laptop and today the internet stopped working, although I still see on the network manager that the Ethernet and WLAN networks are still detected. For information, I have Proton VPN and Cisco AnyConnect for my work VPN installed on my system. I often switch between the two.

As I am typing this from another computer, it will be difficult to copy/paste output of comma ...

Score: 4
jotrocken avatar
Convert text file to CSV on shell
mp flag

I would like to convert a text file into CSV format.

Here is an excerpt from the file:

{"Outdated":false,"Watt":233,"Timestamp":1669647142,"A_Plus":6523.896,"A_Plus_HT":4494.82,"A_Plus_NT":2029.076,"A_Minus":8841.63}
{"Outdated":false,"Watt":235,"Timestamp":1669647152,"A_Plus":6523.896,"A_Plus_HT":4494.82,"A_Plus_NT":2029.076,"A_Minus":8841.63}
{"Outdated":false,"Watt":235,"Timestamp":1669647596,"A_Pl ...
Score: 0
FakeBedLinen avatar
How to reset the GNU grub/ boot screen? (Fixed)
cn flag

So a quick overview. I've just built a new machine. SSD #1 is brand new, SSD #2 is from my old machine that had 20.04 installed.

I've just installed 22.04 onto the new machine onto SSD #1. I expected it to wipe SSD#2 but it didn't so I formatted SSD#2 once I'd finished installation.

However on startup I am still getting the option to dual boot into 22.04 or 20.04.

How can I reset the grub boot menu? Th ...

Score: 0
Subash avatar
SSH not working in snowflake but in terminal
so flag

I am using snowflake to login into my remote system using my user and password, I can establish connections to all the remote machines using OpenSSH via the terminal. But I am not able to login into some of the remote machines via snowflake (muon ssh client).

error message: Unable to connect to server sample@192.168.1.1. Do you want to retry?

Score: 0
Arzybek avatar
Boot-Repair aftermath
id flag

So recently I was asking a question about how to fix Grub if I'm installing Windows after Ubuntu. I found the solution and posted it in order to help others who will do the same. But now I want to ask about aftermaths of boot-repair. So, my system was working like this before:

  1. Ubuntu with Grub
  2. Windows on hdd

As I said in the answer to my previous question, I installed Windows on new ssd (let's cal ...

Score: 0
Hai Nguyen Van avatar
How can I extend my Ubuntu Linux partition to the left without breaking UEFI boot?
ru flag

enter image description here

  • I have an Ubuntu Linux partition /dev/nvme0n1p5 that I wish to extend to the left.
  • On the other side, I also have a Windows partition /dev/nvme0n1p3 that has been shrunk for that reason.

I'm afraid that if I extend the Ubuntu partition to the left that the GRUB boot will be broken. How can I safely extend this Ubuntu partition to the left?

Score: 0
amd.64 avatar
SMTP Authentication encryption
sv flag

I have working on trying to get an smtp server setup with postfix and dovecot.

When running telnet localhost 25 and execute ehlo localhost directly from the system I get the following

250-smtp.mydomain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250-SMTPUTF8
250 CHUNKING

When I execute openssl s ...

Score: 0
philburns avatar
Reset v4l2-ctl to default settings
kz flag

I have changed my onboard camera settings using v4l2-ctl. Is there a way to execute a "reset to default" for all the settings?

Score: 0
Ver Angelo Angue avatar
Unable to RDP Ubuntu 22 server by Active Directory Account
ht flag

I recent joined my ubuntu 22 server on active directory account, I already enable the remote login but I was unable to remote login to my server using AD account. I already test the local account I was able to rdp using it. Anyone that has the same issue? Thanks

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.