Import from equipwearable, plus add new function (only works on Linux)