dsnote icon indicating copy to clipboard operation
dsnote copied to clipboard

Request: keyboard shortcuts for stopping and starting voice capture

Open danielrosehill opened this issue 9 months ago • 4 comments

I have forked the repository, so I'm going to give implementing this a shot.

But just in case I don't succeed, which there's a high chance of, I thought I would put down the feature idea here.

I just noticed that there is a text to active window feature, which transforms the utility, in my opinion, from a nice note taking app to something that could be very useful in a daily browser context.

It's difficult to use it for this purpose, however, without a keyboard shortcut.

I was wondering if there's any plan to implement a start and stop shortcut. If not, I will give it a try.

danielrosehill avatar Mar 13 '25 00:03 danielrosehill

Hi, thanks for the reporting and big thank you for wanting to contribute.

Keyboard shortcuts are already implemented, but there are some caveats.

Shortcuts work perfectly on X11, but on Wayland they are only implemented in version 4.8.0 Beta. The Wayland implementation requires an XDG Portal with a GlobalShortcuts API. As far as I know, this is currently supported only in KDE Plasma.

Image

Image

Image

Wayland (KDE Plasma "Global Shortcuts" settings - v4.8.0 Beta):

Image

mkiol avatar Mar 14 '25 19:03 mkiol

Any sense of how much work it would be to support the global shortcuts introduced in GNOME 48 last month?

ozdreamern avatar Apr 22 '25 03:04 ozdreamern

@ozdreamern Tested on Fedora 42 with GNOME 48 and global shortcuts are supported but with small glitches. After enabling GS in Speech Note (Accessibility->Use global keyboard shortcuts), the button "Configure global keyboard shortcuts" doesn't work. To change the key bindings, you need to do it in the GNOME settings directly:

Image

Image

mkiol avatar Apr 27 '25 17:04 mkiol

After enabling GS in Speech Note (Accessibility->Use global keyboard shortcuts), the button "Configure global keyboard shortcuts" doesn't work. To change the key bindings, you need to do it in the GNOME settings directly

That's wonderful! I didn't get a chance to test GNOME 48 yet directly. Thank you!!

ozdreamern avatar Apr 28 '25 11:04 ozdreamern

Thanks for this. Any chance you could put a note in the settings section which says "use your desktop environment etc" to add: "in Gnome: Settings > Apps > Speech Note > Global Shortcuts"

?

Since it's so unintuitive that the keyboard shortcuts would neither be in the app, nor in settings > keyboard shortcuts, but in setting > apps > specific apps > keyboard shortcuts. Not your fault, but something that new (and maybe not so new) users are likely to have to hunt for?

Cheers!

SimonDedman avatar Aug 17 '25 21:08 SimonDedman

@SimonDedman That's definitely a good idea 👍🏿 The current version already includes such tip, but perhaps it's too technical. I'll improve the wording in the next version.

Image

mkiol avatar Aug 20 '25 17:08 mkiol

I am closing because the original question has been answered.

mkiol avatar Aug 20 '25 17:08 mkiol