New answers tagged gnome-shell
One solution is to use slock (apt-get install suckless-tools) which does not put the display to sleep. You'll need xautolock if you want to run it automatically.
Yes, Conky lua can be a better option. for you to get a desktop widget. But you need to modify it with htop. conky uses top.
.xsessionrc is executed for all session types. The session type is available in the variable STARTUP (for most session types), so you can put conditional statements in your .xsessionrc: case "$STARTUP" in xmonad-session) …;; gnome-session) …;; esac The X session startup scripts are documented in Xsession(5). You may need to read the code in /etc/X11/...
I had the same issue with Gnome 3.14.0 running under Debian Jessie. The previous answer sent me in the right direction and I discovered that the issue was down to the Pidgin IM integraton plugin by muffinmad. After disabling this plugin the unlock timeout reverted to normal behaviour.
Top 50 recent answers are included