Keyboard shortcuts not working

Bug #1572434 reported by Or Schiro
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ANoise
Invalid
Undecided
Unassigned

Bug Description

Dear all,

Thank you so much for your work on ANoise!

I have one question:

Would it be possible to support keyboard shortcuts?

I think it would be a great enhancement if the user could use common hotkeys like Fn + F11 (Media Play/Pause button) to interact with ANoise.

These hotkeys are commonly supported for other applications that integrate into the Ubuntu Sound Indicator (e.g. VLC or Rhythmbox).

Thankfully,

~Robert

Revision history for this message
costales (costales) wrote :

Hi, I'm so sorry, but I think this is not possible.
A hug.

Changed in anoise:
status: New → Invalid
Revision history for this message
Or Schiro (orschiro) wrote :

That's alright. :-)

Revision history for this message
John Drinkwater (johndrinkwater) wrote :

This is quite possible, but am aware you wish to keep anoise small/simple, and this might encourage people to want extra features, so leaving it as an attached patch.

Unsure if it applies cleanly (my HEAD is a bit in the future), but it is a simple diff that should make the changes clear.

Revision history for this message
John Drinkwater (johndrinkwater) wrote :

Did a bit more work on this, and it kinda needs better support in anoise for togglable play/pause and stop to better meet what keyboards expect to happen (such as AudioPlay is meant to toggle playback)

Have got 5 further commits on my fork here https://github.com/johndrinkwater/ambient-noise/commit/96991c35e47080a94a7d961434940e2d3ab46007

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.