Giter VIP home page Giter VIP logo

Comments (7)

phw avatar phw commented on May 23, 2024 11

There is now a UI for changing the keyboard shortcut:

bildschirmfoto vom 2017-02-28 14-37-56

from peek.

phw avatar phw commented on May 23, 2024 7

One of the most important things on my todo list here and my top personal annoyance when recording :) I hope to have time to get this done soon.

from peek.

phw avatar phw commented on May 23, 2024 3

I have somewhat a solution for this. The current git master provides command line parameters to toggle the recording. So if Peek is already running you can run:

peek --start

to start recording in the running instance. Likewise you can stop with peek --stop. Most useful is maybe peek --toogle, which will start or stop recording based on the current state.

The idea is that you can bind those commands to a global kyboard shortcut inside your desktop environment, e.g. in Gnome you can configure shortcuts in the preferences.

The problem with adding shortcuts directly to Peek is, that normal application shortcuts won't help, since you normally don't have Peek focused when recording. So you need global shortcuts. Global shortcuts however require integration in each desktop environment. Or you use X directly, but with things like Wayland and Mir knocking on the door this is not a very future proof implementation. So either way, this is quite some work to support it everywhere, so I am not sure I will do that. At least not soon.

from peek.

phw avatar phw commented on May 23, 2024 1

Started work on that. Keyboard shortcut is already working in latest master, it just needs a UI to configure it and maybe it needs to be disabled on Wayland because it should not work there anyway.

What do you think is a suitable default shortcut? For now it is Ctrl+Alt+R, does that make sense or does it clash with any important default?

from peek.

Deevad avatar Deevad commented on May 23, 2024

Ctrl+Alt+R sounds good here. Thank you for the new feature!

from peek.

lode avatar lode commented on May 23, 2024

FYI, Gnome's screencast feature (https://help.gnome.org/users/gnome-help/stable/screen-shot-record.html.en) uses Ctrl+Alt+Shift+R by default.

from peek.

Bug-Reaper avatar Bug-Reaper commented on May 23, 2024

Yo shoutouts to @phw . I just mapped peek --toggle with a keybinding and it feels so good.

from peek.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.