Latest Ubuntu related questions

Score: 3
Tommy Pollák avatar
Snap apps don't find files in /tmp/
us flag

Since Firefox in Ubuntu 21.10 became a snap app it does not see files in /tmp. I could of course remove the snap version and install an "ordinary" version, but this seems as a bad work around as I suspect that more and more apps will use snap. How can I give snap apps access to files outside /home? In this specific case, can I have a temporary directory in a dierctory available to a snap app?

Score: 8
MWB avatar
How does Firefox update itself without asking for root/sudo password?
br flag
MWB

How does Firefox update itself without asking for root/sudo password?

It's installed in /usr, where regular users don't have write permissions, and neither /usr/bin/firefox, nor any files in /usr/lib/firefox are setuid.

There must be some kind of daemon that runs with root permissions, ready to update Firefox, when asked?

Score: 0
Ishfaq Rather avatar
Wifi Failure after power outage
fr flag

My Wifi connection doesn't connect (either automatically or manually) after a power failure, while it gets connected to other systems (mobile/another laptop) easily. The only way it connects is when I restart my laptop. I am using Ubuntu 20.04 LTS Desktop. Please help me with this. Here is the output from lshw -class network

  *-network                 
       description: Ethernet interface
      ...
Score: 0
Darshan Jali avatar
20.04 sudo apt update is showing the error: http://ddebs.ubuntu.com focal-security Release 404 Not Found
it flag

I was trying the steps in following link:

https://wiki.ubuntu.com/Kernel/CrashdumpRecipe?action=show&redirect=KernelTeam%2FCrashdumpRecipe

FYI: the commands I used: sudo apt-get install linux-crashdump

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ECDCAD72428D7C01 sudo apt-get update Sudo apt update is showing following result:

Err:15 http://ddebs.ubuntu.com focal-security Release ...
Score: 0
Firefox snap version in 21.10 CORS problem
in flag

After upgrading to 21.10, I run into a CORS problem with an HTML page that uses Javascript fetch() to GET a page from a server. Same page does not have problems with Chromium under 21.10 (or Firefox or Safari on OSX).

Looking at the inspector, the difference seems to be that "Snap Firefox":

  1. has a different value for the REFERER header (it is shortened to http://127.0.0.1:5000/ instead of http://localhost ...
Score: 1
james  avatar
Creating individual bash scripts from Linux History
cn flag

I want to be able to output my Linux bash history to a file. Then line by line create a new shell script with the content of the of each line. I have tried this so far from the command line..

for example

The output of the history file

73  nmap -T4 -A -v 127.0.0.1
74  nmap -T4 -A -v 192.168.0.1/24

My first problem was the line numbers ... To remove them I applied this command.

history | cut -c 8- > o ...
Score: 0
guettli avatar
Share PDF in Chromium to WhatsApp/Mail/
in flag

I am looking at a PDF file in the Chromimum browser.

Now I would like to share the file.

I am missing this symbol:

share-symbol

On mobile phones sharing is easy. How to share the file with Ubuntu?

pdf-in-chromium

Score: 0
ali129 avatar
Truncated ext4 partition after trying to access my partition from windows with ext2fs
ru flag

After trying to access my Linux partition from Windows operating system, my Linux partition is now truncated to a size 1K byte and I am no longer able to mount that partition.

"fdisk" shows the size of my partition 244.1G which is correct, while "testdisk" and "lsblk" show 1K byte. My corrupted partition is sdd3.

I tried to fix the issue using the fsck command without any success:

~$ sudo fsck.ext4 -f /d ...
Score: 0
Della avatar
How to Avoid Prompts When Installing Ubuntu-Drivers for Nvidia GeForce GPU
my flag

Running Ubuntu Focal Fossa on a laptop with Nvidia GeForce GPU. Using the following script as part of some automated set up, particularly for my NVIDIA GPUs and cuDNN set up. (Right now it is happening on my laptop, but potentially it can happen inside a docker container)

# Running as root
apt-get --assume-yes --no-install-recommends install ubuntu-drivers-common wget
ubuntu-drivers install

The last c ...

Score: 1
How to install Ubuntu on IBM Power 710?
in flag

I am trying to install Ubuntu 20.04 in IBM Power Server 710 but I don't know how to. This question says "Try it out", but the regular 64 bit ISO for amd64 won't work here, and I don't know how to "try it" in PowerPC.

I am looking for an answer containing step by step instructions of how to install Ubuntu Desktop in a ppc64el system (or Ubuntu Server, if a desktop version is not available for this architec ...

Score: 0
Hexgear avatar
~/.profile not reloading
ng flag
  • I am using Ubuntu 16.04.7 LTS
  • Wanted to know why changes are not reflected
    when I change the ~/.profile and reloading the file using source ~/.profile or . ~/.profile The changes are only reflected after restart

example:

export PATH=$PATH:/home/mypc/tools/node/node-v14.17.1-linux-x64/bin
#export PATH=$PATH:/home/mypc/tools/node/node-v10.24.1-linux-x64/bin

after commenting the one node path and r ...

Score: 3
MWB avatar
Can I configure XFCE or LXDE to look like this GNOME panel?
br flag
MWB

Can I configure XFCE or LXDE (the lightweight desktops) to look like this GNOME panel?

enter image description here

Note:

  • "dock-to-panel" on the left that shows favorite apps
  • starting apps not from the favorites adds them there temporarily
  • currently running apps are underlined
  • no separate list of currently running apps
  • "System Monitor" to the right shows CPU, RAM and network usage histories.
Score: -3
sagar mehta avatar
I need to find all the files with .txt extension with their file size
mk flag

something like du -hs *txt and find 30k avbd

I don't need their extension in output, just size and file name.

Score: 0
BREAD avatar
Specific battery percent is cut off for some unknown reason
in flag

I've tried to go into settings, but I dont see anything thing that can fix this issue. Ex: instead of displaying 100%, it will say 10... enter image description here

Score: 0
Deleted nginx executable and can't reinstall it
cn flag

I deleted the nginx executable manually (I think it may have been in /usr/sbin)

Then I uninstalled the nginx package (sudo apt purge nginx). Now when I install nginx again (sudo apt install nginx) the executable is not installed (and the package is only 45.1 kB, which can't be right).

How can I install nginx again?

I also compiled the source code and installed nginx with sudo make install, but when I t ...

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.