mario0alberto1 / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

Enhancement: Options to change the hotkeys and mouse actions. #414

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Looking for an opportunity to change the hot keys and the reaction to the mouse.

Different people are comfortable different keyboard shortcuts. Also, many 
people use a variety of programs which cover a combination of the player. For 
example in compiz F9 toggles the desktop, because of this, in the player does 
not work switch playlist:( Maybe change this hotkey to L(load)?

For the mouse must be able to choose the function wheel between rewind the file 
and volume control. For the middle button set function mute

Original issue reported on code.google.com by fenu...@gmail.com on 28 Jun 2010 at 1:31

GoogleCodeExporter commented 8 years ago
I've lost the idea while translating:) L-key can be added to Open folder or as 
alias to Open file. and to togle playlist can be used P-key instead of the 
pause(almost always use space-key).

Original comment by fenu...@gmail.com on 28 Jun 2010 at 2:01

GoogleCodeExporter commented 8 years ago
P is the key that mplayer has a default map for, so I wanted to keep that 
common key.
Ctrl - L is already mapped to Open Location

I run compiz on my desktop and F9 does not toggle the desktop for me. Perhaps 
it is a local setting.

As for the mouse wheel, if you hover the mouse over the volume control it 
alters the volume and if you put it over the tracker that is changed. So I 
believe everything is working as designed and expected.

Original comment by kdeko...@gmail.com on 28 Jun 2010 at 7:28

GoogleCodeExporter commented 8 years ago
In compiz enable Widget layer plugin. It use F9 by default.

I know about hover in volume control, but this is not convenient, especially in 
full screen mode. Volume icon is small, because you need to spend extra time to 
bring it to adjust. But then why use the wheel when the cursor is already on 
the controller, and you can click to change the volume?

The interface should be not only convenient but also intuitive. Vertical 
movement of the wheel associated with an increase / decrease the volume. And 
not with a horizontal file navigation. Also wheel button doubles up / down, 
left / right. Цould be more logical
Wheel / Up / Down - volume
left / right / wheel with modifier - Rewind

And how about toggle Mute by mouse middle click?

Original comment by fenu...@gmail.com on 28 Jun 2010 at 8:18

GoogleCodeExporter commented 8 years ago
Middle click now toggles mute... still not sure about the other request. Those 
features went in by request, so not sure that I should change them now.

Original comment by kdeko...@gmail.com on 28 Jun 2010 at 8:44

GoogleCodeExporter commented 8 years ago
I would also like the mouse scroll to ajust the volume. Would you be able to at 
least add the option to pick between the volume and file nav?

Original comment by wayne.le...@gmail.com on 1 Jul 2010 at 1:06

GoogleCodeExporter commented 8 years ago
I agree it would be great being able to edit the default shortcuts. Like other 
programs that have a "shortcuts" tab in the preferences window. And also the 
option to choose the action of the scroll wheel (volume or seek). I would also 
like if I could set how many seconds the seeking buttons jump: short jump (left 
and right arrows) and long jump (up and down arrows).

All that can be achieved with mplayer through a configuration file. Maybe an 
easy way would be being able to select your custom configuration file 
(input.conf) in gnome-mplayer.

Original comment by jsevi83 on 27 Nov 2010 at 9:45

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 7 Dec 2010 at 6:05

GoogleCodeExporter commented 8 years ago
Issue 464 has been merged into this issue.

Original comment by kdeko...@gmail.com on 7 Dec 2010 at 6:05

GoogleCodeExporter commented 8 years ago
Mouse wheel option added in SVN r1800

Original comment by kdeko...@gmail.com on 7 Dec 2010 at 6:37

GoogleCodeExporter commented 8 years ago
I support this because I want to be able to use [s] for screenshots again, not 
the very complex [ctrl]+[t] combination.

Original comment by meideip...@gmail.com on 7 May 2011 at 12:31

GoogleCodeExporter commented 8 years ago
the s key will trigger a screenshot

Original comment by kdeko...@gmail.com on 7 May 2011 at 12:22

GoogleCodeExporter commented 8 years ago
The menu states CTRL+T but you are right, [s] works as expected. i was affected 
by the other bug, the one about non-english keyboard layouts.

Original comment by meideip...@gmail.com on 7 May 2011 at 12:37

GoogleCodeExporter commented 8 years ago
Many of the default hotkeys for mplayer work in gnome-mplayer as well. I'm 
still investigating how to map custom keys.

Original comment by kdeko...@gmail.com on 7 May 2011 at 1:42

GoogleCodeExporter commented 8 years ago
"All that can be achieved with mplayer through a configuration file. Maybe an 
easy way would be being able to select your custom configuration file 
(input.conf) in gnome-mplayer."

I cannot agree more. It will be more convenient if the file "input.conf" used 
by mplayer can be used in gnome-mplayer as well.

Original comment by wsfcxf...@gmail.com on 2 Jun 2011 at 1:35

GoogleCodeExporter commented 8 years ago
In the current SVN code, I have created a method for altering the keyboard 
accelerators in Edit->Preferences. I have not had enough feedback on this 
feature to know if I should continue doing more keys. So if you could test, it 
would be appreciated.

Original comment by kdeko...@gmail.com on 27 Sep 2011 at 4:17

GoogleCodeExporter commented 8 years ago
I also like the input.conf idea. I don't change too many keys in mplayer, but 
there's a few things I like to add, like mapping '=' to + so I don't have to 
hit shift to adjust the audio delay. I know you're working on some stuff for 
1.0.5, but I'm not sure how far that'll go, if you'd allow mplayer commands 
right in there or if it's more for UI stuff. With the current setup the only 
way I can map = to + is by adding GDK_equal to the cases in gui.c and 
libgmtk/gtk_media_player.c.

The problem I see with input.conf is being able to handle the different types 
of values since it's not always just a key, but sometimes identifiers like 
MOUSE_BTN3 and MOUSE_BTN3_DBL. Of course mplayer has alot of builtins that 
aren't specified in your input.conf and I'm not seeing a global input.conf 
anywhere, so that's another issue. You'd really almost have to copy their 
defaults and possibly exclude some keys if they interfere with builtins or 
change the builtins. Beyond all that it may not be too difficult to keep an 
array of sorts to iterate over on keypress... Maybe it's more a matter of 
deciding which has priority, mplayer or UI, and fallback to the other if the 
lookup fails for the primary.

Original comment by lo...@gozer.org on 9 Oct 2011 at 4:49

GoogleCodeExporter commented 8 years ago
I too would like to see configurable keyboard shortcuts. My personal preference 
is to control volume with up/down keys and seek in five minute steps or so with 
C-Left and C-Right

Original comment by norl...@gmail.com on 24 Nov 2011 at 1:14

GoogleCodeExporter commented 8 years ago
I have made some keys changable in the 1.0.5 release. If this works well let me 
know and I'll add more keys to the list.

Original comment by kdeko...@gmail.com on 9 Jan 2012 at 5:40