Cannot start GUI applications “Error: cannot open display: :0”

I am getting this error when trying to launch Thunderbird (or any other program, such as evince):

❯ thunderbird
Unable to init server: Unable to create socket: Permission denied
Error: cannot open display: :0

❯ thunderbird -v
Thunderbird 68.10.0

Any ideas?

❯ cat /etc/linuxmint/info
RELEASE=20
CODENAME=ulyana
EDITION="Cinnamon"
DESCRIPTION="Linux Mint 20 Ulyana"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=https://www.linuxmint.com/rel_ulyana_cinnamon_whatsnew.php
RELEASE_NOTES_URL=https://www.linuxmint.com/rel_ulyana_cinnamon.php
USER_GUIDE_URL=https://www.linuxmint.com/documentation.php
GRUB_TITLE=Linux Mint 20 Cinnamon

Go to Source
Author: Philippe Massicotte

how to run the command pip3 install tensorflow on linux mint

i run the command above on linux mint and python3.
i get the error:

Failed building wheel for grpcio

and also

Command “/usr/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-lm1pg4la/grpcio/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, file, ‘exec’))” install –record /tmp/pip-r4j8ens0-record/install-record.txt –single-version-externally-managed –compile –user –prefix=” failed with error code 1 in /tmp/pip-build-lm1pg4la/grpcio/

please help me

Go to Source
Author: refaeldimri

How to prioritize firefox shortcuts over xfce key shortcuts

I would like to use the Firefox shortcuts for e.g. swap between tabs. But when I use CTRL+SHIFT+Pageup, then xfce will change window size. Is there any way to change the priority of shortcuts, so that when I am in Firefox, it will preferably use the Firefox shortcut and not the xfce shortcut?

I am using Linux Mint 19.3, xfce4.14

Go to Source
Author: Mara 01010011

How to get rid of MaxPermSize warning when trying to open Eclipse?

I’m brand-new to linux, using Mint. I installed Eclipse, but when I try to open it or do commands involving it I get an error. Earlier, this came up:

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0.

I’ve been all over other forums because a lot of people have had this issue. Following their advice, I went into /etc and from there into the eclipse.ini file and commented out:

--launcher.XXMaxPermSize

256m

But it didn’t fix it. My problem is that I’m really new and most of the advice on other forums just goes right over my head–I want to learn about everything but if anyone is using fancy (for my standards haha) vocab then please explain briefly what the words mean so I can follow! Also, if there are any specific commands or anything that I should enter, I would greatly appreciate some explanation of how that command works so I’m learning and not just plugging random stuff into my terminal until it works. Thanks!!

Go to Source
Author: lizard

Extending an extended partition with following unallocated disk space

There seem to be many scenarios, I read quite a few, but I caould not find a match for my problem.

I have this gparted view on my system:
gparted screen

I had sda6 swap sit right behind sda5; I moved that sawp space to another disk. Then swapoff and deleted sda6; then extended sda5 to consume the free 8GB… all good so far.
These two (sda 5 and sda6) were in the same “extended” partition.

However, allocating the unallocated 256 GB does not work; as I cannot extended the sda3 partition.
My understanding is that the 0.25 version of gparted allows for online disk extending.
What options do I have?
Can this be done on a live system?

Go to Source
Author: MaxG