I use Inspiron 1460 which need to press fn key to enter F4. This thus make my Alt+F4 more difficult because I need to press 3 keys instead two shorter key combination. I want to change the key binding to Alt+Esc if possible. Can this be achieve? I use CompizSetting to change it before this but no luck.
Go to System Settings, and under the Hardware section click on Keyboard. You'll see Shortcut settings there, and Alt+F4 should be under "Windows."