Local WP: Open Site Shell not working on KDE Plasma

While running Local WP for WordPress development on my KDE Slimbook, I noticed that the Open Site Shell functionality seemed to fail silently, not opening a terminal window.

It turns out that Local just assumes we are running GNOME and fires off a call to gnome-terminal behind the scenes, hence the failure. To remedy this, we can create a bash script at /usr/bin/gnome-terminal which will fire up Konsole as follows:

#!/bin/bash
exec /usr/bin/konsole -e  "/bin/bash $@"

Once created, be sure to give the script executable permissions by running the following:

$ sudo chmod +x /usr/bin/gnome-terminal

————————–

Since last year, I’ve been using a KDE Slimbook as my main development machine and recently upgraded to a new machine. This post is part of a series noting down some of the tasks taken during setup, mainly for my own future reference.

Ref: https://stackoverflow.com/questions/67719856/open-site-shell-doesnt-work-with-local-by-flywheel-on-linux


Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.