Latest Ubuntu related questions

Score: 0
blueray avatar
alias not working as expected
ph flag

I am trying to get file types using an alias. I am using:

alias file-types="find . -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u"

However, it is not working:

When I type the command in the terminal it shows (which is exactly what I want):

azw
azw3
bz2
chm
epub
pdf

but when I use the alias, it shows something like:

./x.epub
./y.pdf
./z.pdf
.....

What can I do to make this command an a ...

Score: 2
Is it possible to check which programs use the battery the most?
cn flag

I have a laptop that was advertised that it could run ~17 hours without charging and I only get like 3-4 hours on Ubuntu. I have installed tlp, still the same. Thank you.

Score: 0
VPN connection time-out
cn flag

here are the network manager logs

-- Logs begin at Thu 2021-06-10 23:01:25 IST. -- Jul 15 13:31:49 nbtlpi519b1824 nm-openvpn[22490]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Jul 15 13:31:49 nbtlpi519b1824 nm-openvpn[22490]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.205.78.74:1194 Jul 15 13:31:49 nbtlpi519b1824 nm-ope ...

Score: 0
sababa avatar
Can I assign a browser to open links from specific apps?
au flag

I'm on Ubuntu 20.04.

I'm using Firefox as my main browser. I've set it up to auto delete cookies and disabled Javascript to make browsing more secure and private.

For my work I'm using Brave. Is it possible to set up Ubuntu so that it uses Brave as the default browser to open links from Slack and my work mailbox in Thunderbird but keep Firefox as the default for everything else?

Score: 1
Milorad avatar
Ubuntu 20.04 JMicron PCI-E Sata
in flag

Recently I bought PCI-E card with 5 sata port with chipset JMB585. It does not get detected by the system. When I do lspci I get the same output as when the card is not plugged in.

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Mat ...
Score: 2
Charles avatar
dependency ‘Cairo’ is not available for package ‘ComplexHeatmap’ on Ubuntu 20.04 LTS
uz flag

Please what could be a reason for this error? I am trying to install the R package ComplexHeatmap but I keep getting the error message that the the dependency Cairo is not available. I have tried to install Cairo using the command sudo apt-get install libcairo2-dev but I still get the same error. Running the command sudo dpkg-query -l | grep libcairo2-dev also shows that the Cairo package is fully ...

Score: 0
tombert avatar
subiquity mount second media in early commands
gb flag

I am recreating the squashfs image (Ubuntu Focal) and putting the autoinstall answers inside the /etc/cloud/cloud.cfg.d/90_autoinstall.cfg file of the squashed filesystem. I've got everything working fine so far.

Now I would like to mount a second USB drive at already the early stage, something like this:

early-commands:
    - mkdir -p /target/media/gse-archive
    - mount /dev/disk/by-label/U20A ...
Score: 0
Jojojo Jaja avatar
Suddenly boot problem: "The selected boot device failed. Press Enter to Continue"
br flag

Something weird happened some days ago and I cannot explain it to myself. I am running Xubuntu from external HDD via USB on a Laptop (Laptop internal SDD has windows ). Every essential Linux things are on external hdd (Root FS, boot etc) A am doing it form about 2 years now and everything went smooth. Suddenly after I turned my laptop in order to boot Ubuntu I get the message: "The selected boot devic ...

Score: -1
MADHUKAR C.S avatar
How to print bold text in terminal?
tr flag
var=apple
echo " the $var is a fruit "

I want to print the apple is a fruit in bold I tried this

echo $'\e[32;1m the $var is a fruit\e[0m\e ;'

but not working, please help me.

Score: 1
Why is Ubuntu taking so long to login?
cn flag

I am new to Ubuntu, and I'm using Ubuntu 20.04 LTS in a Desktop environment.

I have noticed that Ubuntu is taking like 3-4 seconds to show the desktop after I enter my password and hit Enter.

I have checked for the startup applications but there are no such applications that can cause this delay.

Boot takes normal time (around 10 seconds). My laptop has Intel HD 620 graphics and I'm using that only. ...

Score: 1
galux avatar
Reverting to MBR partition
kg flag

I was trying to create a GTP partition table in an SD card using the following command:

sudo sgdisk --clear --new=1:2048:67583 --new=2 --typecode=1:3000 --typecode=2:8300 /dev/sdb

My problem is that the device I wanted to partition was the /dev/sdf instead of the /dev/sdb which I used in the command, which also happens to be the partition into which I am currently booted, running on Ubuntu 20.04 ...

Score: 0
Arsan avatar
Bluetooth paired and connected to speaker/headset successfully but it seems not to be working, it still using my PCs speaker(v 21.04)
ru flag

The problem is that I can't use any external speaker or headeset upon connecting.

I have restarted it and also have refereed to this link
Ubuntu 15.10 bluetooth headset connected but not working
Nothing still seems to be working, and this what I get when I run
$sudo service bluetooth status
[OUTPUT]

bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service;  ...
Score: 0
Yusof Khan avatar
Ubuntu 20.04 keyboard Shortcut
us flag

how can i get copy and paste to work in ubuntu 20.04 desktop to work? CTRL + C and CRTL + V does nothing at file manager and browsers. Mouse working just fine.

Score: 0
wobbily_col avatar
Display application notifications not disapearing (when configuring external monitor)
cn flag

I am running Ubuntu with the Cinnamon desktop. When I use on the "display" app to configure my external monitors, the notification (telling me which monitor is being used) isn't disappearing.

When I make adjustments a second version of the notification appears and disappears as expected. It is as if there is an extra instance of the app running in the background and isn't working properly.

enter image description here

Score: 1
DEBAGNIK KAR avatar
Can I run Ubuntu Studio on a Raspberry pi?
us flag

My question is pretty straight forward Can a Raspberry pi 400 run on Ubuntu Studio? If possible then How?

Score: 0
Daniel Surizon avatar
move minicom to background after activation
in flag

there is a way to move minicom to bg after I entered? I know I can use '&' at the end of the command to start minicom on bg. but after I moved it to fg, how I can move it back to bg?

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.