work around pgrep bug
fix idents, improve gnome-screensaver detection