Re: Can't disable "q" for quit

Alexander Strasser <[email protected]> Tue, 23 Jun 2026 10:58:11 +0200
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>
On 2026-06-20 01:40 -0400, Eli the Bearded wrote:
> Stephane Ascoet <[email protected]> wrote in MPlayer-users:
> 
> > I use Mplayer 1.2.1 on an old Debian on an antique computer. I sometimes press
> > "q" by mistake, so I'd like to disable it. I commented the line "q quit" in
> > input.conf, but no change!!! Is it hard-coded in Mplayer?
> 
> I can't say if it works in that old version, but in newer versions to
> disable the _default_ value of a keyboard input, you have to assign a
> new action to the key. Instead of commenting out "q quit" try changing it
> to "q noop". When I do that, I get error messages for hitting "q", but
> playback continues:
> 
> VO: [vdpau] 720x306 => 720x306 Planar YV12 
> V:   1.6   0/  0  3%  8%  0.0% 0 0 
> Invalid command for bound key q : noop             
> V:   3.9   0/  0  2%  7%  0.0% 0 0 

This should all work on very old mplayer versions and on 1.2.1 for sure.

As mentioned already in another reply to this question using

    q ignore

achieves the same without resulting in the extra output ("Invalid command...").

Hope this works for you.


Best regards,
  Alexander
_______________________________________________
MPlayer-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo/%(_internal_name)s