Latest Ubuntu related questions

Score: 4
j0h avatar
Discord, how can I make it stop flooding my logs?
au flag
j0h

I am on ubuntu 20.04 focal, and I have discord installed. While discord is active, I get loads of messages in dmesg from it.

[ 1242.218055] audit: type=1400 audit(1626585289.753:15781): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=2211 comm="Discord" requested_mask="read" denied_mask="read" peer="unconfined"
[ 1252.208904] kauditd_printk_skb: 109 callbacks suppressed
[ 12 ...
Score: 0
Prajwal Sagar avatar
Configure Xfce4-screenshooter to take screenshots and save them with a unique name every time I click Printscr button
cx flag

I have been experimenting with Xfce4-Screenshooter for sometime. I figured out a way to save my screenshots just by clicking Ctrl+1 on my Laptop by assigning xfce4-screenshooter --window --save /media/computer/disk/Screenshots/lastscreen.png to Ctrl+1

But If I take two screenshots one after the other, only the last screenshot would be saved (It would replace the previous one). Is there a way I can s ...

Score: 1
anon avatar
Permission denied error when installing searx on Ubuntu Server 21.04
dz flag

I'm trying to install searx on my Ubuntu VPS but when I run ./utils/searx.sh according to the official documentation

I get this error:

ls: cannot access '/home/test/searx': Permission denied
ERROR: ./utils/searx.sh: line 385: user 'searx' missed read permission: /home/test/searx

What command would I run to fix this? Thank you for any help.


$ ls -Al /home/test/searx 
total 204
-rw-rw-r--  1 test test  ...
Score: 1
Sadiq Nayeem avatar
ZSH is not showing current path's .deb files
no flag

I am trying to install clapper from the .deb file in my Ubuntu 20.04. Last night I installed and configured ZSH for the first time. I think I made some errors during config, as the following happens.

With apt / aptitude, shows no files found. but with dpkg, it installs the Debian file.

apt/aptitude shows following after pressing tab after "c". where current path has only 1 file. (NB - clapper_xyz.deb i ...

Score: 2
How do I install cuda for Ubuntu studio 21.04?
ng flag
  • OS: Ubuntu studio 21.04.
  • GPU: GeForce GTX 980

It's an operating system that has pre-installed software like the animation software called blender. I downloaded the operating system here: https://ubuntustudio.org/

But when I try running blender, it tells me I can't use the graphics card because of a Cuda software issue so it will use the CPU instead. My graphics card is a GeForce GTX 980 and I kn ...

Score: 0
pythag0ras_ avatar
Bluetooth bugs out when I turn it off/back on again
ve flag

After I turn bluetooth off and back on again, available bluetooth devices don't show up and the Gnome system tray reports it as off, but gives the option to turn it off as if it were on:

screenshot of this happening

Settings also shows the switch in the "on" state, but no bluetooth devices appear to connect to:

another example of this

I found that closing and re-opening settings fixes this, but it's still really annoying.

Edit: So sorry I forgot to add th ...

Score: 0
Henry Palacios avatar
How to create `vscode` or `code` command line by launch visual studio code from terminal?
gb flag

In Ubuntu 20.04, after download from various ways (snap or ubuntu software) the visual studio code text editor, I had not been able to find a way to install the shortcut command line vscode or code.

I used alias by open the current path:

alias c.='(code $PWD &>/dev/null &)'

But since this won't work without the line command code.

I tried the suggestions found here, to open Visual Studio Co ...

Score: 6
Krishan Shamod avatar
How to automate bash scripts which includes sudo commands?
tm flag

I added some commands to the bash script and those commands need root permission. So then I added sudo keyword to those commands. As the normal way, I added this script to the crontab file to automate my task.

Is there any way to give root access when it tries to run automatically?

Note: I'm using crontab to automate my script.

Score: 0
Al_Mt avatar
Create subfolders and move files
id flag

I have a folder called p/ and into p/ I have several subfolders, like this:

$[~/p] ls
a/ b/ c/

a/ b/ and c/ also have multiple subfolders each. I'm trying to find a file that match a specific pattern into each folder and subfolder of p/ and move them to a new directory into its corresponding a/, b/ and c/ folder. So, a/ would have a new subfolder called x/ and into x/ will be moved all the matched fil ...

Score: 0
sing2330 avatar
UFW firewall turns off after reboot
br flag

Ubuntu 20.04. UFW keeps turning off when the computer is shutting down. How do I keep it on at startup? I have used GUFW to set it, I have used CLI to enable it, but it keeps turning off.

Here is the output of sudo ufw status:

Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
Firewall is active and enabled on system startup
Score: 0
Is it safe to use Speedify with Ubuntu?
ng flag

Recently I have been reading about how to install Speedify on Linux (Ubuntu and Raspberry Pi OS). I have found that both "speedify" and "speedifyui" now exist within the Synaptic library and when I do a dpkg test, both packages are already installed. Unfortunately neither package has an active command and there are no man pages for either package as well.

The web page telling me how to install  ...

Score: 0
FlashbackRTK avatar
How can I force WINE to use a specific refresh rate for a specific resolution when going into fullscreen mode?
in flag

I am trying to play some sightly old games with WINE and I run into the following problem. The games go into full screen mode at 640x480. My monitor has two possible refresh rates for this resolution, 60Hz and 75Hz. The problem is that 75Hz is always selected as the preferred mode but the games are designed to run at 60Hz vsynced, so they either run faster than they should or run jerky (depending on the ...

Score: 1
Nicholas Saunders avatar
How to run or execute the ebook-convert script from a flatpak install of calibre?
mx flag

Where and how can I run the ebook-convert script for calibre from the console?

nicholas@gondor:~$ 
nicholas@gondor:~$ flatpak info com.calibre_ebook.calibre

calibre - The one stop solution to all your e-book needs

          ID: com.calibre_ebook.calibre
         Ref: app/com.calibre_ebook.calibre/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 5.23.0
     License: GPL-3.0
   ...
Score: -1
llesh avatar
Cannot use ssh keys anymore to connect with different services or repositories
au flag

I set a bunch of keys that I use for various reasons like connecting to my personal website or various source control management platforms like GitHub or sourcehut. I was working as usually as recently as yesterday, but today suddenly none of my keys worked when I tried to connect with ssh. When I try to connect it just for example to my website it shows this screen:

# ssh -vvv -i ~/.ssh/digitaloce ...
Score: 0
iamlegion avatar
unhandled apple file control error (2)
gf flag

I just switched to linux from windows. I have ubuntu 20.04 installed. Im trying to transfer my photos and videos from my iphone 11 to my pc, but i keep getting the error message " Unhandled apple file control error (2)" is there any way to fix this so i can transfer my stuff over to pc?

Score: 4
How to add a folder with .desktop files?
cn flag

I know that if you want to add a .desktop entry it must be added in /usr/share/applications, however, what I want is to add an extra folder where it can host .desktop files.

If I run update-desktop-database you can see that programs like snapd or flatpak create their own directories where they host their .desktop

The databases in [/usr/share/ubuntu/applications, /home/cactus/.local/share/flatpak/ex ...

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.