0

I had some problems with my Thinkpad X200T not suspending under 14.04 LTS, after trying different solutions, it seems the easiest fix is to just execute

sudo pm-suspend

How would I go about making this the default action when suspending? (mapping System Menu -> Suspend and my FN+F4 button (the one with the moon icon :) )?

Michael
  • 78

1 Answers1

1

While I don' t know much about remapping keys, I suggest a workaround by binding pm-suspend to a keyboard shortcut. Make pm-suspend executable without password by placing something like %yourusername ALL = NOPASSWD: /usr/sbin/pm-suspend into your /etc/sudoers file and then bind gksu pm-suspend to a shortcut in System Preferences -> keyboard -> Shortcuts -> Custom