Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyboard shortcuts are not documented anywhere #82

Open
bveina opened this issue Mar 9, 2017 · 47 comments
Open

keyboard shortcuts are not documented anywhere #82

bveina opened this issue Mar 9, 2017 · 47 comments

Comments

@bveina
Copy link

bveina commented Mar 9, 2017

keyboard shortcuts should not require the user to follow the fork back to openSankore .
This is critical for live presentations.
documentation should be added to the wiki.

ctrl-g – Change to Pointer
ctrl-j – Change to Line
ctrl-k – Change to Write (text – box)
ctrl-m – Change to Marker
ctrl-e – Change to Eraser
ctrl-t – Toggle Tools
ctrl-d – Show documents
ctrl-b – Show board
ctrl-w – Show web browser (the open sankore/openboard browser)
ctrl-, – Show preferences
ctrl-o – Zoom Out
ctrl-0 Zoom to 100% (that is a zero)
ctrl-i – Change to Pen

@bveina
Copy link
Author

bveina commented Mar 9, 2017

apparently this is not even a full list. please post all shortcut keys in documentation
ctrl-shift-i - zoom in
ctrl-shift-o - zoom out....

@watsaig
Copy link
Contributor

watsaig commented Mar 9, 2017

There is also:

  • Page Up: Previous page
  • Page Down: Next page
  • Ctrl-Shift-h: Desktop mode
  • Ctrl-+ : zoom in
  • Ctrl-- : zoom out
  • Ctrl-f : Selector tool
  • Ctrl-h : hide OpenBoard

More documentation is always a good thing, I'll add these to the wiki and/or website soon. Thanks.

@celfred
Copy link

celfred commented Mar 9, 2017

Good comment !
I was testing those shortcuts and noticed a minor 'bug' (I think) : hitting ctrl-j twice select the pointer tool. Then, hitting ctrl-i select the 'pen/drawing' tool ALONG with the pointer tool (2 tools are selected).
On my 1.3.5 version on Ubuntu 14.04, 2 shortcuts don't work : ctrl-, (Preferences) and ctrl-shift-h (Desktop mode)

Last comment : I've just tried to modify the wiki to help a little by making a first draft for the 'Shortcuts' page (in French for the moment). Actually, this is the 1st time I'm trying to modify such a page and don't really know :

  • if I did well : I have cloned the wiki repo, created the Fr:-Raccourcis page on my local repo. Should I commit and push to remote (and try to make a pull request, which I have never done before)
  • if this could help in any way... Maybe you don't want other people to 'touch' the Wiki because you have specific 'rules' of writing which I may ignore...
  • if it is helpful, maybe I can go ahead and do the English version as well ? (and try to make it look a little bit better)

Tell me what you think, and sorry for my newbie questions ;)

Thanks !

@anghilmi
Copy link

is there any keyboard shortcut for "erase all"? very need that.

@Tetraodon
Copy link

Hiya, sorry to necro this thread - is there a way to customize keyboard shortcuts? I've moved on to this from OneNote and it's saved me so much hassle (it's wonderful!), but I've found the shortcuts aren't super intuitive.

I'd like to change in my download eg. Zoom in from ctrl + shift + + to ctrl + + (it's listed as the latter above, but it won't work without the shift for me), especially as the zoom out is currently ctrl + -. Select to ctrl + s (as there doesn't seem to be a save shortcut anyway), marker to either ctrl + p or ctrl + m and so-forth.

I'm looking to suggest the program to others but want to just double check this one first as I imagine they're as picky about 'universal' shortcuts as me :)

Also, is it possible to get the taskbar to show while the program is open?

Thanks heaps in advance!

@superibk
Copy link

@anghilmi were you able to figure out the shortcut for "erase all" ?

@hkiel
Copy link

hkiel commented Jul 11, 2018

On macOS the shortcuts don't even seem to work.
The only working shortcuts are ctrl+i, ctr+o, ctrl+0 (zoom in, out, 100%), ctrl+, for settings and cursor keys for page navigation.
I cannot change the tool via short cuts.

@superibk
Copy link

All the shortcuts cuts actually works on my mac. But need to make some custom one so as to configure it with my Graphics tablet

@biocyberman
Copy link

On macOS the shortcuts don't even seem to work.
The only working shortcuts are ctrl+i, ctr+o, ctrl+0 (zoom in, out, 100%), ctrl+, for settings and cursor keys for page navigation.
I cannot change the tool via short cuts.
Instead of Ctrl, I use Cmd and many shortcuts work

@bfranske
Copy link

Please yes! This a major blocker for me. I'd much prefer to use OpenBoard for everything but I am using gInk for "Desktop mode" because I need the ability to use keyboard shortcuts (so I can program them into my stylus buttons) to 1) Toggle between arrow/select and pen and 2) Quickly erase the entire screen

@jago25
Copy link

jago25 commented Mar 4, 2020

Just to let you know, none of the shortcuts work on Mac. Not with the ctrl key, nor with the command key.
Other programs like gimp made with, what looks like, the same SDK system, can copy and paste so hopefully this is a very easy thing to enable.

@sahi1l
Copy link

sahi1l commented Mar 22, 2020

The shortcuts work on my 2 Macs, when I replace "Command" for "Control". I am running OpenBoard 1.5.4 on Mojave and 1.5.1 on High Sierra.

@sahi1l
Copy link

sahi1l commented Mar 22, 2020

I was looking through the source code and I found another shortcut: Control-arrow keys scroll the screen around.
I could see some of the other shortcuts in the code, but not all of them (e.g. Contol-E, Control-P, etc). I don't know Qt, though; if someone here works on the source code, could they point me to the spot where these shortcuts are defined?

@vbeffara
Copy link

vbeffara commented Apr 7, 2020

Is there a shortcut for "new page"?

@Syarwin
Copy link

Syarwin commented Apr 20, 2020

So, I went through the source code (resources/forms/mainWindow.ui) where all the shortcuts are listed in an xml format. Short answer for "new page" and "erase all" : there are no shortcut defined, althought the action are defined (so it should be easy to add the shortcuts to the xml files and re-compile, I will try that later).
EDIT : after re-compiling OpenBoard, I was able to add shortcut to the following actions : hand (move the document), capture part of screen, add to current page, new document.
However, I wasn't able to make it work for "erase all" and "new page"...

So here are all the shorcuts I've found, but I think all of them were already found before.

  • ctrl + t : stylus (toggle tools)
  • ctrl + z : undo
  • ctrl + y : redo
  • pgUp : previous page
  • pgDown : next page
  • ctrl + d : documents
  • ctrl + w : web browsing
  • left : previous page (in web browsing)
  • right : next page (in web browsing)
  • ctrl + b : board
  • ctrl + l : library
  • ctrl + shift + h : desktop
  • ctrl + '+' : zoom in (in web browsing but seems to work for board also)
  • ctrl + '-' : zoom out (idem)
  • ctrl + o : open
  • del : delete
  • ctrl + i : pen
  • ctrl + e : eraser
  • ctrl + m : marker
  • ctrl + f : selector
  • ctrl + g : pointer
  • ctrl + j : line
  • ctrl + k : text
  • ctrl + h : hide

@andredelfini
Copy link

I've found a shortcut for "new page": INSERT key.

Still trying to find one for Scroll page.

@sahi1l
Copy link

sahi1l commented Apr 21, 2020 via email

@andredelfini
Copy link

Control+arrow keys will move the page around. / :@-) Scott \ On April 21, 2020 at 10:38:37 AM, andredelfini (notifications@github.com) wrote: I've found a shortcut for "new page": INSERT key. Still trying to find one for Scroll page. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#82 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHFNPTF5DZOGHKYUJ2JGFDRNWVWZANCNFSM4DDBH6IA .

For me it only changes to the next (right or up)/previous (left or down) page... =/

@Syarwin
Copy link

Syarwin commented Apr 21, 2020

Control+arrow keys will move the page around. / :@-) Scott \ On April 21, 2020 at 10:38:37 AM, andredelfini (notifications@github.com) wrote: I've found a shortcut for "new page": INSERT key. Still trying to find one for Scroll page. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#82 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHFNPTF5DZOGHKYUJ2JGFDRNWVWZANCNFSM4DDBH6IA .

For me it is conflicting with next/previous page so it move the page around and change it at the same time...
'Insert' shortcut work for me, thanks @andredelfini for the finding ! How did you stumble across this one ?

@andredelfini
Copy link

Control+arrow keys will move the page around. / :@-) Scott \ On April 21, 2020 at 10:38:37 AM, andredelfini (notifications@github.com) wrote: I've found a shortcut for "new page": INSERT key. Still trying to find one for Scroll page. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#82 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHFNPTF5DZOGHKYUJ2JGFDRNWVWZANCNFSM4DDBH6IA .

For me it is conflicting with next/previous page so it move the page around and change it at the same time...
'Insert' shortcut work for me, thanks @andredelfini for the finding ! How did you stumble across this one ?

I found it the most stupid way: Pressing all keys, one by one, until I've noticed something happening. :D

@andredelfini
Copy link

Any idea on shortcut for changing the colors? (color 1, 2, 3...)?

@lordmarcio
Copy link

Any idea on shortcut for changing the colors? (color 1, 2, 3...)?

Really, this is a big question!

@sundarrajansr
Copy link

is there any keyboard shortcut for "erase all"? very need that.

Ctrl + A , once all selected - press 'Delete'

@CodeYan01
Copy link

I suggest adding the shortcuts to the tooltips. For example, "Erase Annotation (Ctrl + E)" and "Annotate Document (Ctrl + I).

@jansonmath
Copy link

jansonmath commented Sep 13, 2020

When the stylus toolbar is hidden, I'm not able to use shortcuts associated with the buttons on the toolbar. For me, the main reason for using shortcuts is to hide the toolbar, and utilize maximum space.
Also, is there a way to hide (auto-hide) the main toolbar? The toolbar takes up 1/10 of the total screen size, as my laptop supports a maximum of 720p resolution. I want only the board visible on the screen. Is there any way to do that?

@jansonmath
Copy link

Bug: after using the erazer tool, shadow of the erazer brush (the almost transparent disc) stays on the screen (and, stays until I use the erazer next time) if I move to the pen tool using shortcut (ctrl+i).
OS: Windows 10.

@rafaurl
Copy link

rafaurl commented Oct 29, 2020

Bug: after using the erazer tool, shadow of the erazer brush (the almost transparent disc) stays on the screen (and, stays until I use the erazer next time) if I move to the pen tool using shortcut (ctrl+i).
OS: Windows 10.

same problem here. change from eraser to pen with shortcut, leaves the circle on the screen. same action but using toolbar works fine. same os here, w10

@amnet04
Copy link

amnet04 commented Nov 29, 2020

I find another shortcut or at least a workaround to swap control display and view display under Linux whit xfce:
alt+backspace.
Please confirm if it works in other S.O./desktop environments.

@LKirst
Copy link

LKirst commented Jan 21, 2021

I've collected all shortcuts from previous posts that work on Windows and added some, which I found by coincidence:

Shortcut Effect
ctrl + t stylus (toggle tools)
ctrl + z undo
ctrl + y redo
pgUp previous page
pgDown next page
ctrl + d documents
ctrl + w web browsing
left arrow previous page (in web browsing)
right arrow next page (in web browsing)
ctrl + arrow key scroll in the direction of the arrow (on the board)
ctrl + b board
ctrl + shift + h desktop
ctrl + '+' zoom in (in web browsing)
ctrl + shift + i zoom in (on the board)
ctrl + '-' zoom out (in web browsing)
ctrl (+ shift) + o zoom out (on the board)
ctrl + 0 zoom to 100% (that is zero)
del delete
ctrl + i pen
ctrl + e eraser
ctrl + m marker
ctrl + f selector
ctrl + g pointer
ctrl + j line
ctrl + k text
ctrl + h hide
ctl + a select all
insert key new page
alt + return preferences
alt + F4 close the application

(The alt + backspace shortcut didn't work for me on windows.)

@rafisics
Copy link

I think all these #82 (comment) keyboard shortcuts should be shown in a tab in OpenBoard Preferences. And it will be helpful if there's an option to customize the shortcuts according to the user's choice.

Also, I think it will be more user-friendly if the keyboard shortcuts and pen-button functions are considered separate issues to solve. Especially for switching between pen and eraser, I guess everyone prefers using the pen buttons than the keyboard shortcuts.

@RemyMachado
Copy link

Is there any way to customize these shortcuts? The product is great, but It's a pain to use the given shortcuts.

@renannprado
Copy link

renannprado commented Dec 7, 2021

It would be really nice to have a shortcut for Scroll Page.

To be honest, would be nice to have a shortcut that cycles through all the options in the toolbar because (I guess) no pen + tablet will have that many buttons.

@letsfindaway
Copy link
Collaborator

As listed above you have Ctrl + Arrow Key (left, right, up, down) do navigate on a page and PgUp / PgDown to go to the previous / next page.

And yes, there are hundreds of ideas for improving usability for different situations and different user tastes. Cycling through options is indeed a new one - but be assured: OpenBoard can never fulfill all of them. But of course it is always good to compile a "wish list" - and especially now before Xmas! 😄

@reaverho
Copy link

Control+arrow keys will move the page around. / :@-) Scott \ On April 21, 2020 at 10:38:37 AM, andredelfini (notifications@github.com) wrote: I've found a shortcut for "new page": INSERT key. Still trying to find one for Scroll page. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#82 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHFNPTF5DZOGHKYUJ2JGFDRNWVWZANCNFSM4DDBH6IA .

For me it only changes to the next (right or up)/previous (left or down) page... =/

For me does the same thing. Changes to the next page which is moved towards the arrow I pressed. If there is a way to fix this, then we can write on A4 page easy by scrolling and change landscape 16:9 or 16:10 page boarders.

@prabowomurti
Copy link

is there any keyboard shortcut for "erase all"? very need that.

I also hope there is a shortcut for that. My workaround is "Ctrl + A" and "Delete" or just create a new page

@TheMathGuyd
Copy link

On Mac, it true that for most commands, substituting Cmd in for Ctrl in the above mentioned works.

The most disappointing exception is scrolling the page (Cmd+{arrow-key}), which (when the document has more than one page) will change the page. Others have experienced this same conflict.

I have tried searching the package contents but it seems there is no obvious configuration file which controls the shortcuts.

@Lucas-C
Copy link

Lucas-C commented Apr 11, 2022

Note that a pull request has been submitted a year ago to make shortcuts configurable: #460

@bveina
Copy link
Author

bveina commented Apr 11, 2022

Bravo to @letsfindaway for this feature!
When is this PR expected to be merged into a stable release?

@ceo-atozsky
Copy link

ceo-atozsky commented Jul 17, 2022

I think following are complete list of shortcut keys-

ctrl + a = select all
ctrl + b = Show board
ctrl + c = copy
ctrl + d = Show documents
ctrl + e = eraser
ctrl + f = selector
ctrl + g = Change to Pointer
ctrl + h = hide
ctrl + i = pen
ctrl + j = line
ctrl + k = text
ctrl + l = library
ctrl + m =marker
ctrl + o = Zoom Out
ctrl + t = Toggle Tools
ctrl + v = paste
ctrl + w = Show web browser
ctrl + x = cut
ctrl + y = redo
ctrl + z = undo

ctrl + '+' = zoom in
ctrl + '-' = zoom out
ctrl + 0 = Zoom to 100% (that is a zero)

Home = first page
End = last page
Del = delete
insert key = new page
Page Up = Previous page
Page Down = Next page

Up arrow = Previous page
Down arrow = Next page
left arrow = previous page (in web browsing)
right arrow = next page (in web browsing)

Ctrl + Shift + h = Desktop mode

alt + return = preferences
alt + F4 = close the application

Control + arrow keys = will move the page around.
Ctrl + A then 'Delete' = delete all

@stevensgarcia
Copy link

Hi. Do you know any shortcut in order to hand move? Thank you!

@flavinsh
Copy link

With Better Touch Tool (BTT) on Mac, you can remap the keyboard shortcuts of Openboard to your own preference.

For instance, I am using :

  • Cmd-P for Pen (BTT redirects to CMD-I) --> easier to remember
  • Cmd-L for Line (BTT redirects to CMD-J) --> easier to remember
  • Cmd-Shift-Z to Redo (BTT redirects to Cmd-Y) --> easier with left hand
  • Esc to Delte (BTT redirects to Backspace) --> easier with left hand

Also, to make life easier using shortcuts with the left hand onlyn I use "Cmd-Number" :

  • Cmd-1 for Pen
  • Cmd-2 for Line
  • Cmd-3 for Pointer (BTT redirects to Cmd-G

nb: Cmd-E for Eraser is fine with left hand


The (so badly) missing shortcuts for me are:

  • Change pen/eraser size
  • Change pen color
  • Modifier key (+pen) to draw a straight line
  • Modifier key (+pen) to select
  • Modifier key (+pen) to eraser (well, Cmd-E is fine)

@GavinSmith0123
Copy link

I have missed a shortcut for the panning (hand) tool.

You can add shortcuts by editing mainwindow.ui and recompiling, as @Syarwin said above. For example, the below adds Ctrl+S for the scrolling tool and removes Ctrl+W for the webbrowser:

--- a/resources/forms/mainWindow.ui
+++ b/resources/forms/mainWindow.ui
@@ -288,9 +288,6 @@
    <property name="toolTip">
     <string>Web Browsing</string>
    </property>
-   <property name="shortcut">
-    <string>Ctrl+W</string>
-   </property>
   </action>
   <action name="actionLineSmall">
    <property name="checkable">
@@ -1277,6 +1274,9 @@
    <property name="toolTip">
     <string>Scroll Page</string>
    </property>
+   <property name="shortcut">
+    <string>Ctrl+S</string>
+   </property>
   </action>
   <action name="actionZoomIn">
    <property name="checkable">

Holding down shift with the pen tool to draw a straight line would also be very useful.

An alternative to having a key shortcut for the scrolling tool would be to scroll with the pointer tool if a modifier key, like Alt, is pressed.

@ThomasGuate
Copy link

Hello,
I'm using OpenBoard 1.6.4 on W10.
Allmost none of the shortcuts is working with my Openboard. Am I doing something wrong?
Thanks for your help
Thomas

@wilxuh
Copy link

wilxuh commented Jun 23, 2023

Really great suggestions to recompile and add a shortcut to drag.

I use one of wacom's tablets, and ended up crating a authotkey script that clicks on either the pen or the tool to drag for me, and bound it to one of the tablet's buttons. Just thought it was easier :D

@guacamolengo
Copy link

Really great suggestions to recompile and add a shortcut to drag.

I use one of wacom's tablets, and ended up crating a authotkey script that clicks on either the pen or the tool to drag for me, and bound it to one of the tablet's buttons. Just thought it was easier :D

Hi @wilxuh, I'm using a Wacom Tablet too and have the same issue –not being able to drag easily.

Could you please share how you solved it? Never done an authotkey script before 😅.

Thanks!

@wilxuh
Copy link

wilxuh commented Nov 28, 2023

Really great suggestions to recompile and add a shortcut to drag.
I use one of wacom's tablets, and ended up crating a authotkey script that clicks on either the pen or the tool to drag for me, and bound it to one of the tablet's buttons. Just thought it was easier :D

Hi @wilxuh, I'm using a Wacom Tablet too and have the same issue –not being able to drag easily.

Could you please share how you solved it? Never done an authotkey script before 😅.

Thanks!

Hi @guacamolengo ! Since I couldn't figure out how to recompile openboard in less than one hour or so, I decided to workaround using an Autohotkey script that basically just clicks somewhere on the screen when a key combination is pressed. Works only in Windows, as far as I know (but I don't see why a similar principle can't work in Linux or Mac, for instance). Since I only use the same pc and monitor when using the tablet, it works well, and some of the controls and buttons (drag, for instance) must be visible on the screen. Here is an example:

^!0:: ; select the pen tool
Sleep, 50
CoordMode, Mouse, Screen
Click, 1100, 1700 ; Perform the initial left-click
Sleep, 50
Click, Up ; Release the left mouse button
Sleep, 50
return

^!0 is the hotkey - Ctrl (^), Alt (!), and the "0", which is bound to one of my Wacom's buttons. The coordinates to click (1100 and 1700) are the position where the pen tool is on my monitor. I put in some delays with Sleep to avoid funky things.

I think you can just find out where exactly are the things on the screen you want to click, choose your hotkeys, and ask ChatGPT to generate the rest if you need. Here is the full section of my script devoted to that:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#SingleInstance,Force
#Persistent
^!0:: ; select the pen tool
    Sleep, 50
    CoordMode, Mouse, Screen
    Click, 1100, 1700  ; Perform the initial left-click
    Sleep, 50
    Click, Up  ; Release the left mouse button
    Sleep, 50
    return
^!9:: ; select the eraser tool
    Sleep, 50
    CoordMode, Mouse, Screen
    Click, 1150, 1700  ; Perform the initial left-click
    Sleep, 50
    Click, Up  ; Release the left mouse button
    Sleep, 50
    return
^!8:: ; select the marker tool
    Sleep, 50
    CoordMode, Mouse, Screen
    Click, 1200, 1700  ; Perform the initial left-click
    Sleep, 50
    Click, Up  ; Release the left mouse button
    Sleep, 50
    return
^!7:: ; select the drag tool
    Sleep, 50
    CoordMode, Mouse, Screen
    Click, 1370, 1700  ; Perform the initial left-click
    Sleep, 50
    Click, Up  ; Release the left mouse button
    Sleep, 50
    return

The drag and drop one is a bit finicky; if you use it with the pen close to the tablet, it'll just select itself automatically in some area. I tried to fix it by a number of ways but couldn't, so I just got used to raise the pen a bit when I use it.

As you can see, nothing is quite ideal, but it's been working for me so far. I hope this helps!

@guacamolengo
Copy link

Hi @wilxuh,

Thank you so much for sharing! I'll give it a try.

You say it's not ideal but in the absence of custom shortcuts this is super helpful 😄.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests