smplayer-dev / smplayer

Free Media Player for Windows, Linux and Mac OS with YouTube support.
https://smplayer.info
GNU General Public License v2.0
685 stars 94 forks source link

Use Esc as keyboard shortcut? #1089

Closed paul1149 closed 2 weeks ago

paul1149 commented 2 weeks ago

I'd like to use the single key, ESC, to close SMPlayer. I find this key easy to find and reach.

But specifying it to close SMP brings the error "ambiguous shortcut, will not be executed".

Is there a way that ESC could be supported as a shortcut?

I'm on 24.5.0, on MX Linux.

Thanks.

smplayer-dev commented 2 weeks ago

The ESC key is probably already assigned to another action. It's not possible to use the same key for two actions. So you have to change the shortcut of the original ESC action.

paul1149 commented 2 weeks ago

Ah, exactly right. I assumed assigning it to a new function would supersede its old assignment (exit fullscreen), but that is not the case. Thanks very much.