Replicating macOS's screenshot utility on Linux