#!/bin/bash read -s p DISPLAY=:0 XAUTHORITY=/var/lib/lightdm/.Xauthority xdotool type "$p" xdotool key Return