How to use Macbook pro in clamshell mode with lid open on macos mojave? Due to heating issues, I would like to use macbook in clamshell mode with lid open, but all the commands mentioned on the web are for older versions of OS X
You can fool the Mac into thinking that the lid is closed by placing a very weak magnet on the sensor that is normally triggered when you close the lid.

The exact position of that sensor varies, but it should be somewhere at the very edge of the laptop, just behind the trackpad.

Of course you must be extremely careful bringing magnets near computers, but if you use one that is weak enough and small enough, you should be able to reproduce the effect of the magnet that is in the display portion of your laptop.