Lbry-desktop: Keyboard shortcuts

Created on 26 Apr 2018  路  8Comments  路  Source: lbryio/lbry-desktop

The Issue

Suggestion from a reddit user:

More keyboard shortcuts should be included in the app. Examples include being able to scroll via arrow/page up/down buttons, home button to go to Discover page, Ctrl + X shortcuts to go to subscriptions, downloads, publishes, Publish, wallet, etc.

System Configuration

  • LBRY Daemon version:
  • LBRY App version:
  • LBRY Installation ID:
  • Operating system:

Anything Else

Screenshots

Tom's Wishlist ux viewer help wanted 2 exploration improvement new feature

Most helpful comment

Here are my suggestions:

Basic playback may have the easiest keystrokes assigned - just one key when possible - to make them easy to press and comfortable to use.

  • K or spacebar -> Play/Pause
  • Left Arrow -> Rewind 10 seconds back
  • Right Arrow -> Skip 10 seconds forward
  • Up Arrow -> Volume up
  • Down Arrow -> Volume down
  • Home -> Go at the beginning of video
  • End -> Reach to end of video
  • / -> Focus on search box at the top
    _* Would a "find on page" feature be introduced in the future? If yes, then F3 and Ctrl+F may be assigned to that (for the app, browsers should take care of this automatically). If not, those can also be set to reach to search box as they are common search keyboard shortcuts._
  • F -> Fullscreen / Unfullscreen
  • C or S -> Closed captioning / Subtitles (when it is implemented)
  • P -> Popup video mode / Normal (unpopup) video mode

Video related extra features may have a Shift+ prefix.

  • Shift+T -> Tip
  • Shift+S -> Share
  • Shift+O -> Open file
  • Shift+Delete -> Remove from library
  • Shift+G -> Flag (G as in the last letter in "Flag")
  • Shift+F -> Follow
  • Shift+U -> Unfollow
  • Shift+B -> Block
  • Shift+E -> Expand video description
  • Shift+C -> Focus to post comment input textbox
  • Shift+R -> Focus in the related section so that an item can be chosen to play. Tab, Shift+Tab and Enter can be used to choose and play from the related videos.

Sidebar items may have the same prefix Shift+ to keep things easy to be accessed.

  • Shift+H -> Home
  • Shift+L -> Library
  • Shift+P -> Publishes
  • Shift+C -> Customize
  • Shift+I -> Focus on first tag on sidebar. Items may be navigated with Tab, Shift+Tab and enter.

All the menu options may have a Ctrl+Shift+ prefix.

  • Ctrl+Shift+P -> Settings
  • Ctrl+Shift+H or F1 -> Help
  • Ctrl+Shift+L -> Switch to Light mode or Dark mode
  • Ctrl+Shift+O -> Overview
  • Ctrl+Shift+R -> Rewards
  • Ctrl+Shift+W -> Wallet
  • Ctrl+Shift+U -> Publish (U as in Upload)

_* As there are many focus keyboard shortcuts, we would need to have a :focus css style to indicate that focus has been placed. Currently items do not change appearance when they get focused. This would be great for visual feedback and navigation._

These are just my suggestions. Feel free to discuss and recommend better ones.

All 8 comments

The arrow keys up and down to navigate through options or menus
TAB key to switch main menus like wallet, libray, help etc... and also to select individual videos enter key to play the highlighted video by the tab key, space bar to pause and play, in-video control, left arrow key to forward 10 seconds and vice versa

As discussed in #2003
We should try to extract any additional shortcuts away from specific to components if possible and have a standard way to do this

Here are my suggestions:

Basic playback may have the easiest keystrokes assigned - just one key when possible - to make them easy to press and comfortable to use.

  • K or spacebar -> Play/Pause
  • Left Arrow -> Rewind 10 seconds back
  • Right Arrow -> Skip 10 seconds forward
  • Up Arrow -> Volume up
  • Down Arrow -> Volume down
  • Home -> Go at the beginning of video
  • End -> Reach to end of video
  • / -> Focus on search box at the top
    _* Would a "find on page" feature be introduced in the future? If yes, then F3 and Ctrl+F may be assigned to that (for the app, browsers should take care of this automatically). If not, those can also be set to reach to search box as they are common search keyboard shortcuts._
  • F -> Fullscreen / Unfullscreen
  • C or S -> Closed captioning / Subtitles (when it is implemented)
  • P -> Popup video mode / Normal (unpopup) video mode

Video related extra features may have a Shift+ prefix.

  • Shift+T -> Tip
  • Shift+S -> Share
  • Shift+O -> Open file
  • Shift+Delete -> Remove from library
  • Shift+G -> Flag (G as in the last letter in "Flag")
  • Shift+F -> Follow
  • Shift+U -> Unfollow
  • Shift+B -> Block
  • Shift+E -> Expand video description
  • Shift+C -> Focus to post comment input textbox
  • Shift+R -> Focus in the related section so that an item can be chosen to play. Tab, Shift+Tab and Enter can be used to choose and play from the related videos.

Sidebar items may have the same prefix Shift+ to keep things easy to be accessed.

  • Shift+H -> Home
  • Shift+L -> Library
  • Shift+P -> Publishes
  • Shift+C -> Customize
  • Shift+I -> Focus on first tag on sidebar. Items may be navigated with Tab, Shift+Tab and enter.

All the menu options may have a Ctrl+Shift+ prefix.

  • Ctrl+Shift+P -> Settings
  • Ctrl+Shift+H or F1 -> Help
  • Ctrl+Shift+L -> Switch to Light mode or Dark mode
  • Ctrl+Shift+O -> Overview
  • Ctrl+Shift+R -> Rewards
  • Ctrl+Shift+W -> Wallet
  • Ctrl+Shift+U -> Publish (U as in Upload)

_* As there are many focus keyboard shortcuts, we would need to have a :focus css style to indicate that focus has been placed. Currently items do not change appearance when they get focused. This would be great for visual feedback and navigation._

These are just my suggestions. Feel free to discuss and recommend better ones.

Another suggestion from the community:
ALT+ and ALT+ to go back and forwards in the history

Hotkey for video playback rate changes

Advance 1 Frame Forward or 1 Frame back. Use comma and period.

Some youtube player commands i use all the time, would love to see them in LBRY.

  • j -> Back 10s
  • l -> Forward 10s
  • k -> Pause/Play

  • 0 -> Go to beginning of video

  • 1 -> Go to 10% of video
  • 2 -> Go to 20% of video
  • ...
  • 9 -> Go to 90% of video

On YouTube you can press Shift + ? to show a map of the keyboard shortcuts available:
image

I think these are a good starting point. I miss the Shift + ./> to increase playback rate in particular!

Was this page helpful?
0 / 5 - 0 ratings