I'm using multiple documents in Libreoffice, in separate windows. Currently, Ctrl-Q exits the application, closing all windows. I want to remap Ctrl-Q so that it only closes the current window (as Alt-F4 does). However, using Tools -> Customize, this seems impossible: the only relevant function under 'Application' is 'Exit'. Is there any way to edit the keyboard shortcuts so that Ctrl-Q does the same thing as Alt-F4?

  • 1
    I'm not at my machine right now, but if I remember right, Ctrl+Q is an application-specific keyboard shortcut. So in LibreOffice, you can go into "Tools - Customize - Keyboard" and make changes there. – wjandrea May 20 '17 at 1:20
  • 2
    Hmmm, I don't know about that but Ctrl+W closes the current window, and (on my keyboard, at least) is right next to Q. :) – Nonny Moose May 20 '17 at 1:37
  • On my LibO, Ctrl+Q was unmapped so, under Tools, Customize, Keyboard, I set it to Close. (In Category, choose Documents. In Function, choose Close.) – DK Bose May 20 '17 at 1:42
  • DK Bose's suggestion did the trick: Documents -> Close is the behavior I want. – Macaulay May 21 '17 at 19:39

From menus open Tools>Customize
On second tab name "Keyboard" in "Shortcut key" section find "Ctrl+Q" select it then click on Modify on the right side.
Below "Functions" under "Category" find "Documents" and select it. In next list which is named "Function" select "Close".
The next one named "Keys" know should show "Ctrl+Q"
Press Ok and have a good time.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.