Latest Ubuntu related questions

Score: 1
ehab Mohammed avatar
Running aplications that require the c++ redistributable for Visual Studio 2015
ir flag

I am using Ubuntu 22.04 .

I can't figure out how to run applications that require the C++ redistributable for Visual Studio 2015 to run.

What do I need to do to run them? I have tried wine and it didn't work

Score: 0
Using keyboard in system dialog
jo flag

I used to be able to use the Enter and ESC keys in system dialogs: For example when saving a file in a browser, I used to be able to press enter to save the file or press ESC to cancel the operation. This is also described here: https://help.ubuntu.com/stable/ubuntu-help/keyboard-nav.html.en

I think it stopped working after upgrading to 22.04. What can I do to make it work again? I'm on Ubuntu 22 ...

Score: 0
Wortig avatar
.sh links stopped being executed by double click in Kubuntu
gh flag

I am starting to experience a weird thing on Kubuntu. Double clicking on .sh links stopped working (expecting it to run), but double clicking on actual .sh file works.

System information:

SYstem information

Double clicking on sh link example:

Example what does not work

You might notice fast icon appear and disappear next to cursor.

Anyone experienced this? Does anyone know how to fix this and what might be the cause? Again, double clicking o ...

Score: 0
Tms91 avatar
Sometimes when I type text in a text box of a web page opened with Chrome it gets written from right to left - Ubuntu 22.04
in flag

I have an Ubuntu 22.04 OS running in a Virtualbox virtual machine, and the host OS is windows 10.

Sometimes, when I type text in a text box of a web page opened with Chrome (for example in the search bar of Google maps, on the translation box of Google Translate), it gets written from right to left.

e.g.

I type airport, but I get tropria, or I type to say hello and I get olleh yas ot.

Until now, it seem ...

Score: 0
DeKrypt avatar
Apache Virtual Hosts - Linking to same website
np flag

I set up two Apache Virtual Hosts for my two forums. When visiting one of them, it links to the root domain page.

Here is my first virtual host

<VirtualHost *:80>
    ServerName krypt.fun
    DocumentRoot /var/www/flarum/public

    <Directory /var/www/flarum/public>
        Options -Indexes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
    </Director ...
Score: 2
abukaj avatar
How can I completely defragment ext4 filesystem
us flag

I want all my files in an ext4 filesystem not fragmented because of reasons. Sadly e4defrag (advised here: How to defrag an ext4 filesystem) fails to defragment several files. What are my alternatives?

The filesystem has all files in it already (they are not to be changed in any way) and it is almost full. There are several free blocks (according to df -h: 434M available of 85G and 80G used) which  ...

Score: 1
dervalle avatar
Keys on keyboard only work if shift key is pressed
jp flag

In the last weeks I encountered a weird problem on my computer: Two keys i.e. the # and the 3 key only produce an input if they are pressed together with the key.

Since I use a german Keyboard + 3 results in § and + # results in '. Interestingly this problem is not present on the locked screen where I can enter both keys normally. xev gives the following output:

KeymapNotify event, ser ...
Score: 1
traderdev avatar
How to check if unattended upgradeis currently running
lb flag

I was wondering if there was a way to check if unattended upgrade is currently doing its thing (from a bash script)

I want to use a cron interval to run a script that will periodically check to see if unattended upgrades is running and, if it is, send a notice to a webhook.

(The target of the webhook will then not attempt to do things on the server if unattended upgrades is running).

Thanks in advance  ...

Score: 0
Chrome and local disk under Ubuntu
mp flag

My regular browser is Chrome under Ubuntu 22.04 and it is the latest version 106.0.5249.103. When I launch the web version of UI Flow,flow.m5stack.com, under Chrome I cannot read or save m5f files to my local hard drive. I have no problems in downloading files from other websites. I tried using Firefox to use the web version of UI Flow and it works perfectly, saving and reading files as expected. Both  ...

Score: 1
Recently Updated Ubuntu user avatar
DHCP not working on 22.04 not getting gateway IP
cn flag

I was using fixed IP addresses but am having to use DHCP now, and the problem is now happening that if I select the USE DHCP option for the network, I don't get the gateway IP address.

Lines starting with // are comments - just to clarify.

//  With DHCP active.

me@me-desktop:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
link-local    ...
Score: 0
Chebz avatar
Vmware Ubuntu resize partition
gi flag

Currently, I want to resize the partition of my Vmware Ubuntu. But I got the following error, when I use gparted to grow the size of sda5. Waiting for someone can give some hints. Thanks!

enter image description here

Score: 0
Ata Ul Mohsin avatar
How to backup Ubuntu settings for future use in case of Ubuntu Reinstall?
tj flag

I have recently installed Ubuntu 22.04.1 LTS and customized settings, installed some apps, etc for my personal use. These include CopyQ for the clipboard, VSCode for code editing, and also a number of customized shortcuts and settings for Ubuntu. It definitely took me some time to make these changes. However, I don't want to do this thing again in future to avoid time wastage.

  • As Ubuntu is having Ubuntu ...
Score: 0
Francesco ubuntu user avatar
audio not working amd ryzen
mm flag

I've been searching for 2 days multiple solutions and multiple forums but I can't resolve this problem

I'm new to ubuntu but i learned to use the terminal. When i installed ubuntu on my amd ryzen there was no output device, then after I follow some guides turned to dummy output and now recognize the output audio but still not working

please help!

$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc.  ...
Score: 1
anx avatar
How can I reject automatic Install-Recommends for snap?
cc flag
anx

I am using APT::Install-Recommends "false" in /etc/apt/apt.conf to restrict my machine to software I deliberately installed. I still remain free to later accept such recommendation.

This mechanism does not seem to apply to snaps. During unattended updates openprinting/cups and brlin/hunspell-dictionaries-1-7-2004 were installed, neither of which is was necessary for any other installed snap, and neither o ...

Score: 2
Mount .img disk image using Disks utility in Ubuntu 22.04
cn flag
JYF

Simple question, probably naive.

I have a .img file (with password) that I want to “attach and mount” in Ubuntu 22.04, then explore through the graphical interface. (Read-only will be enough.)

Using the standard Disks utility (menu “Attach disk image…”), the password is accepted and the .img file seems mounted (as I can also eject it using Disks utility).

However, when the .img is mounted, th ...

Score: 1
bem22 avatar
How to associate an AppImage to a mime type by default in Ubuntu 22.04
gr flag

I have seen this, this, and this.

Everyone talks about how to search for the app and launch it from a shortcut (instead of running it as an executable).

However, nobody talks about associating an AppImage with a mime type.

My goal is to click on a .stl file and open it with a default program that only ships as AppImage for Ubuntu/Linux.

As mentioned in the linked posts, this program already appears  ...

Score: 0
Nick avatar
How to Configure a VNC Server (TigerVNC) in Ubuntu server 22.10 without GUI
km flag

The GUI is currently loading XFCE. But I need to start VNC session without any GUI...

Here is my default config in file ~/.vnc/xstartup

#!/bin/sh

# Start up the standard system desktop
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

/usr/bin/startxfce4

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
x-window-manager &
 ...
Score: 0
Ramy avatar
Opera load time
ls flag

UPDATE: I'm not sure how or why, but disabling HW acceleration, restarting and then re-enabling HW acceleration seems to have made a huge difference.

Running Ubuntu 22.04. If I load opera from Activities (super + a shortcut), then it takes a long time to load. (I have not timed this and in fact I don't even know how to do so.) If I open a terminal and type "opera", it loads almost immediately. W ...

Score: 0
JohnDoeVI avatar
Unable to remove software from Ubuntu Software Centre
ni flag

so I installed xArchiver from ubuntu software, but couldn't run it (some kind of scam the app is 500kb), then I wanted to uninstall it but couldn't, ubuntu software would give me an error saying no package to remove, so I uninstalled it using these commands in order:

sudo apt-get remove xarchiver
sudo dpkg --configure -a
sudo apt-get remove xarchiver
sudo apt-get autoremove
sudo apt-get clean

but now  ...

Score: 0
archerlinuxer avatar
apport-autoreport.service loaded failed failed Process error reports when automatic reporting is enabled
ai flag
OS              Ubuntu 22.04.1 LTS
Kernel          5.15.0-52-generic
DE: GNOME 42.5 
CPU: 11th Gen Intel i5-11300H (8) @
GPU: NVIDIA GeForce GTX 1650 Mobile
Memory: 3173MiB / 15795MiB

I am not getting this error when I open my terminal: enter image description here

I followed this recommendation and reboot my system, but it is still the same message.

sudo apt-get remove lightdm
sudo apt-get install lightdm

After that, I go ...

Score: 0
LarryM avatar
Difference in mount vs file manager mount
cn flag

I have a shared Samba drive that previous to 22.10 the command sudo mount -t cifs -o user=larry,pass=XXX,uid=1000,gid=1000,vers=1.0 //10.0.0.23/Misc /smb/fs1/Misc worked fine, but now on 22.10, video files won't play. I've searched dozens of different "How to" pages and tried dozens of different options, nothing helped.

Then I just happened to notice that if I use the file manager, goto "Other Locati ...

Score: 0
Pradeep Kumar avatar
Desktop Icons cant move to a specific position o
kh flag

Desktop Icons cant move to a specific position on Ubuntu 20.04. Even that arrange mode cant be changed. Its fixed to auto arrange and other two options are not active. Please help.

Score: 0
The_Great_Qbert avatar
Recover data from unbootable Ubuntu VM on Hyper-V
gb flag

OK, First off, I am a complete novice. I can run updates and I can kind of change directories. That's it, you will have to explain things to me like I am a child....

I have a Ubuntu 18.04.6 VM on WS2016 host through Hyper-V. A few weeks ago it failed to boot after a power outage. it stopped at "started user manager UID125"

I finally figured out how to get into rescue mode and someone recommended  ...

Score: 0
BHarms avatar
How do I get Gnome/Ubuntu to stop disabling my touchpads after resuming from sleep?
cn flag

OS: Ubuntu 22.04.1 LTS

Computer: Lenovo IdeaPad Flex 5 16IAU7

Every time I resume my laptop from sleep, all touchpads are disabled (but not mice--only touchpads). This is apparently because the switch for touchpads gets turned off in the Gnome settings under the "Mouse & Touchpad". I can re-enable touchpads by using the keyboard to tab over to the switch and flip it back on. But, it's annoying t ...

Score: 0
RahimM avatar
How to search/list for all files starting with dot (.) but .htaccess is excluded from the list
bw flag

Using SSH command line, I need to delete all the files starting with dot (.) but I don't want to delete .htaccess files.

I tried so far to list them like this

find . -type f -name ".*" 

It listed all the files properly.but .htaccess was there too. Thanks

Score: 0
Baiyan Huang avatar
ServerAliveInterval doesn't keep my ssh connection alive
cn flag

I'd like to keep my ssh connection to server alive even when it is idle.

I have below settings in the server side:

$ cat /etc/profile.d/auto-logout.sh
readonly TMOUT=1800
export TMOUT

and there is NO ClientAliveInterval setting in /etc/ssh/sshd_config

The behavior is it get disconnected after 30 minutes, as expected.

So I add below ssh config on client side ~/.ssh/config:

Host *
ServerAliveInterv ...
Score: 0
FlexMcMurphy avatar
minidlna log file entries do not have timestamps
ru flag

I'm setting up minidlna on my Ubuntu server 22.04.1

I don't get timestamps in the minidlna.log file. Well initially I did. I think the timestamps might have stopped getting added to the log entries when I changed around minidlna to make it run as an unpriviledged user and moved the log file to my home directory.

Maybe minidlna needs to be running as root in order for the timestamps to be added to the ...

Score: 0
Ramy avatar
scanimage gives error when trying to scan
ls flag

I used to have my scanner working ok via commandline using a command similar to ramy@moonface:~$ scan -d pixma:04A9172B_D05FD9 --format jpeg

Now, after upgrading to ubuntu 22.04, I get the following error message:

scanimage: output is not a file, exiting

The scan-bed is not getting activated so i'm not sure at all what's happening.

Any insight would be greatly appreciated.

Score: 0
danmorgan47 avatar
I want to install an English language pack in Libreoffice
rw flag

I run Ubuntu, updated and just re-installed Libreoffice but it has only Spanish languages

Score: 0
Youda008 avatar
How to restore original grub config after uninstalling Grub Customizer in Ubuntu 22.04?
cg flag

So i did a mistake of using Grub Customizer and then did another while trying to restore previous config by following instructions in /etc/grub.d/backup/RESTORE_INSTRUCTIONS, which led to corrupting my grub config files.

Now when i try to run sudo update-grup i get

Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Script `/boot/gru ...

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.