Version: 2019.2

Description

In the Unity editor on Linux.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { if (Application.platform == RuntimePlatform.LinuxEditor) { Debug.Log("Do something special here!"); } } }