Latest Ubuntu related questions

Score: 6
Simon Hryszko avatar
My `find` command in script does not find files and directories with spaces in their names
pr flag

Some time ago I wrote a script that moves files and directories from Downloads to .Downloads if they are older than 3 days, and delete them from this directory after 30 days. It is working just fine, but only for files with no spaces.

I investigated and found that the find command that I use in the script is not working as I expected for any file or directory with spaces in their name.

Here is what

Score: 0
Depiction avatar
After assigning static IP and doing a netplan apply unable to see any Wifi through nmtui or Network Manager 20.04 LTS
ls flag

Fresh installation of 20.04 LTS initial set up was able to see Wi-Fi and connect with no issues. Had assigned a static IP at my home location. Brought the device back to my office and was able to see our office Wifi with no problem. However, after updating the static IP and doing the netplan apply to add a static IP for our corporate network and rebooting I was unable to see any Wifi networks at all. Ev ...

Score: 0
Nico Gatti avatar
Ubuntu 20.04 randomly freezes on my Lenovo Thinkpad L15 Gen2
uz flag

I'm not sure why but the gnome session of the computer randomly freezes,only the mouse keeps working.

Also tried to change to another terminal with CTRL+ALT+F3, which works fine, but not been able to restart the desktop.

Versions:

  • Ubuntu is 20.04
  • Gnome-shell 3.36

This is the last journal data I captured, but different freezes leaves different logs:

ago 26 14:25:01 laptop1 CRON[22482]: pam_unix(cron: ...
Score: 0
Bobbie Sockx avatar
I would like to creating a partition for ubuntu from macOS high sierra for a dual boot MacBook
in flag

I'm a noob to Ubuntu and looking for some advice on how I can set up my High Sierra 10.13.6 with a 30Gb bootable partition into Ubuntu 20.04. I have 285Gb free on my 500 Gb HDD which has a logical volume of Mac OS Extended (Journaled)

When in disk utility I get the following options for the format: 4 different APFS options which is for macOS on SSD's so think it's no good, 4 Mac OS options, again ...

Score: 0
cant access XAMPP 's phpMyAdmin
sa flag

I installed XAMPP recently then i check for my phpmyadmin it displays, any one know how to solve this? http://localhost/phpmyadmin/

Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.

session_start(): open(SESSION_FILE, O_RDWR) failed: Permission denied (13)

session_start(): F ...

Score: 1
Sam avatar
Libreoffice dialogue too long
cn flag
Sam

I want to print a document in libreoffice, the dialogue was too long so I can't press the ok at the bottom, so I found a walkthrough: I can just strike enter, which is not too bad.
But today, I want to print something double sided.My printer is old and outdated, so to do this I would print the odd number pages and reverse print it and then manually put the papers back inside to the tray and print the ev ...

Score: 4
Forivin avatar
Why can't I install apt-file on an untouched Ubuntu 21.04?
bn flag

I just created an Ubuntu 21.04 USB thumb drive and booted it in Live/Try mode.

I opened a terminal and ran sudo apt update and sudo apt-get install apt-file:

ubuntu@ubuntu:~$ sudo apt update
Ign:1 cdrom://Ubuntu 21.04 _Hirsute Hippo_ - Release amd64 (20210420) hirsute InRelease
Hit:2 cdrom://Ubuntu 21.04 _Hirsute Hippo_ - Release amd64 (20210420) hirsute Release
Hit:4 http://archive.ubuntu.com/ubuntu hirs ...
Score: 0
Bad return status for module build on kernel: 5.11.0-25-generic (x86_64)
cz flag

Unfortunately I've been facing this issue for a few days and I'm unsure how to solve it.

It occurs when I try installing most packages or trying to update existing software through the Software Updater.

My Ubuntu version:

❯ lsb_release -a                                                                                                                                                             45.7s   ...
Score: 0
safa yılmaz avatar
hard drive problem in (k)ubuntu
ch flag

I have a Asus computer with 256 GB SSD, 1 TB HHD and 16GB RAM. I have been using it with windows almost 5 years and did not experience a problem; however, before a 1.5 weeks ago I installed kubuntu and my hard drive usage constantly increased in each day at the end I recieved an error about overusing and could not reach the system once more. Then, I have installed ubuntu thinking that problem may be cau ...

Score: 0
Rhymes avatar
Hp spectre 14 ea000 audio fix: Ubuntu 21.04
in flag

There has been a lot of questions on the few solutions to hp spectre 14 ea000 audio issues and the best temporary fix i got for my laptop (hp spectre 14: 11th Gen Intel® Core™ i7-1165G7) has been the amp pin fix below;

#!/bin/bash

sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x01
sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x01
sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x01
sudo hda- ...
Score: 2
Fadi avatar
How do I view notifications?
fr flag

In Windows there is an action center (notification center) placed on the taskbar in the bottom right corner. It can also be accessed by pressing Windows + A. So I'm just wondering if there's something similar in Ubuntu? I know there are some notifications in the date/time section but I don't find that feature useful.

Score: 0
srn122 avatar
oracle db driver for php connection - ubuntu 20.04
bd flag

So I asked this question a few days ago but the topic was closed because I was running on ubuntu 16.04. Now I have updated to Ubuntu 20.04.3 LTS.

I have a php page on apache, and my oracble db connection:

$conn=odbc_connect("hostname","user","password");

gives me this error:

AH01071: Got error 'PHP message: PHP Warning: odbc_connect(): SQL error: [unixODBC][Driver Manager]Data source name not found, ...

Score: 1
Altario avatar
Problem with internet connection --- service NetworkManager restart does not help 21.04
gl flag

I have a problem with my internet connection. Since Monday, there is a question mark on the wifi icon AND I don't have internet connection. I try a lot of things but nothing works:

The router is classic "SFR Box 8". All the LEDs are on. It's wifi. All my devices except the laptop in question can connect to my wifi router and have internet access. I'm with Ubuntu 21.04 To solve the problem I alrea ...

Score: 2
Fadi avatar
How do I open the user manual in GIMP?
fr flag

I'm currently learning how to use GIMP for image editing and thought I'd try reading the user manual. So I clicked on Help --> User Manual --> Basic Concepts and this message popped up:

Could not open 'https://docs.gimp.org/2.10/en/gimp-help.xml' for reading: An AppArmor policy prevents this sender from sending this message to this recipient;

help message

Score: 0
ZeroTwo avatar
emacs error in Ubuntu of MobaXterm
id flag

I am using Ubuntu on MobaXterm Personal Edition v21.2 on Windows 10. Whenever I open emacs editor, it opens and works fine, but I keep getting dconf-CRITICAL ** with following error lines multiple times in terminal :

unable to create file '/home/MyUsername/.cache/dconf/user': Permission denied.  dconf will not work properly.

I am not an expert with Ubuntu, so am not sure what to try. For more detai ...

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.