The forum

Pressing "Open a shell" on MX Linux opens terminal with "This script must be executed in PlayOnLinux."

Author Replies
aliasless Sunday 24 December 2017 at 10:54
aliaslessAnonymous

Using MX Linux, when I click Open a Shell under Configure > (drive) > Miscellaneous > Open a shell, the terminal window that appears says "This script must be executed in PlayOnLinux." Pressing enter closes it. Why can't I use the shell?

booman Thursday 28 December 2017 at 23:52
booman

Are you using PlayOnLinux 4.2.12?


† Booman †
Mint 19.3 64-bit | Nvidia 450 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
sarka Sunday 17 May 2020 at 23:09
sarkaAnonymous

I'm on Ubuntu 20.04 & Playonlinux 4.3.4 and I get the same error when opening a shell. Any ideas how to get it working?

booman Monday 18 May 2020 at 3:01
booman

Hmm, yeah that shouldn't happen.

I'm on Mint 19.3 64-bit, but even in previous versions of PlayOnLinux I never had an issue like that.

Make sure the virtual drive in the left column is selected.

Click the Miscellaneous Tab

Click Open Shell

A small black screen should open where you can type Linux commands.

What exactly are you trying to do in the shell?


† Booman †
Mint 19.3 64-bit | Nvidia 450 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
sarka Monday 18 May 2020 at 21:00
sarkaAnonymous

I found the answer by chance while searching for answers to other problems:

 

Run this command in the terminal:

sudo update-alternatives --config x-terminal-emulator


This will open up a list of terminals you have installed and let you pick one to be the default one, I used XTerm, which worked for me.


Now to try and mess up my virtual drive 8)

Edited by sarka

booman Tuesday 19 May 2020 at 6:02
booman

Oh, now I know what xterm is for... ha ha

Every time I've installed PlayOnLinux the first time, it pops-up and requires xterm to be installed.

So I use my package manager and install it.

Thanks


† Booman †
Mint 19.3 64-bit | Nvidia 450 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained