I want to sleep my display - just the display, not the computer.
I've been looking in Compiz for an option like "hot corner to sleep display" - something that I've setup in OSX 10.7.
How can I accomplish something similar in Ubuntu 12.04? (shortcut, command in terminal,... )
You could use compizconfig-settings-manager (in universe) and enable the commands plugin. Pick a command slot (any number will work) and enter
xset dpms force off
then bind the command to the edge or corner of your choice under the edge bindings tab.You could also use
gnome-screensaver-command -a
instead of xset to activate the screensaver (blank screen). Use the compiz command plugin to bind to an edge or corner as before.