Bug 41981 - Custom Shortcut Keys for Special Symbols
Summary: Custom Shortcut Keys for Special Symbols
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 44629 157903 (view as bug list)
Depends on:
Blocks: Shortcuts-Accelerators Special-Character
  Show dependency treegraph
 
Reported: 2011-10-18 20:48 UTC by felicedebbage
Modified: 2023-10-24 07:45 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description felicedebbage 2011-10-18 20:48:33 UTC
It seems that I can't create a custom shortcut for special characters. I'm stuck with the one already assigned by the program, and that's pretty bad news, because it's not super user-friendly. If you could make it so that I can reassign shortcuts for special characters, like the em dash, letters with accents over them, etc. When I was using Word, I could make the em dash CTRL + ALT + hyphen, and the AE (ash) symbol as CTRL + ALT + A, for example. As is, I either have to reinsert that em dash every single time it doesn't autoconvert, or copy and paste it from earlier in the document. I can't even imagine how much trouble it would be to write in a foreign language. :-(
Comment 1 Marco Menardi 2012-02-25 11:24:28 UTC
I need this feature too. There is a school where with Word they were able to enter 5 special characters often used in their dialect "super easy", while with LiBo is not possible. Even with the ComposeSpecialCharacter plugin is much harder (2 key combination just to trigger the "special character" + 2 to generate the desired one, against 2 in Word).
With KDE I can set a 3 key combo solution, but is not for Windows and they need to be able to work also at home (at school they have LTSP and KDE).
Please implement it :)
Comment 2 sasha.libreoffice 2012-04-14 00:16:51 UTC
Thanks for new idea. I fully agree with it.

Workarounds: 1) try use "USA international" keyboard layout. It contains characters with accents (with right hand Alt)
2) use Basic scripts. Add, for example this script:
sub rim_4
rem ----------------------------------------------------------------------
rem define variables
dim document   as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem ----------------------------------------------------------------------
dim args1(1) as new com.sun.star.beans.PropertyValue
args1(0).Name = "Symbols"
args1(0).Value = "I V "
args1(1).Name = "FontName"
args1(1).Value = "Times New Roman"

dispatcher.executeDispatch(document, ".uno:InsertSymbol", "", 0, args1())


end sub
---------end of citation-----------
Then change line args1(0).Value = "I V " to needed character. Then assign script to needed keyboard shortcut
Comment 3 sasha.libreoffice 2012-05-07 07:28:32 UTC
*** Bug 44629 has been marked as a duplicate of this bug. ***
Comment 4 Zoltán Hegedüs 2013-10-19 10:25:11 UTC
I am writing mathematic formulas with Writer, without the formula editor, because this is fast in this manner.
I made a lot of macros, and a hotkey for each macros. For example, the integral sign, Greek letters, and by the way, for the charcters of standard notation of English pronouncation.
Microsoft Office Word 2003 can make hotkeys for special characters directly, without macros. It should be good this function in Writer: after choosing the character, a button for choosing the hotkey, and a check box for choosing the insert mode: with the actual font at the cursor at time of inserting, or with a given font, for example, OpenSymbol (the font of the choosed special character).
Comment 5 Volga 2015-11-16 15:26:29 UTC
Microsoft Windows have Alt+Numpad shortcut to input special character, this requiring NumLock turned on.
https://msdn.microsoft.com/en-us/goglobal/bb964658.aspx

But some PCs (such as Lonovo Yoga 13) don’t have NumLock key natively, making this shortcut unnecessary, so in this case allow users to define shortcut keys to input special characters is so useful.
Comment 6 Michael Bauer 2017-08-03 14:13:01 UTC
I agree, this would be very useful. It's too much to expect normal users to do this via scripts. In my work I require so many characters not on any keyboard I used to use the Microsoft Custom Keyboard Layout generator - until that starting breaking. Fortunately the Keyboard Layout Manager (commercial unfortunately) works very well instead but it would be better to have this within LO as an easy to use method rather than having people create their own layouts.

One common problem though I've discovered with these is that great care must be taken in implemenation so that if there is a conflict with a system or LO shortcut, the LO shortcut should take precedence. For example, if I put ə onto Alt+E, depending on the scenario, Word used to read this as a hotkey. Or even worse, some shortcut keys like Ctrl+t create a conflict between what Word wants (Increase Indent) and what I want (þ).

So if we do this with LO, at least within LO, if someone goes to the trouble of creating a custom shortcut on the char map, this should over-ride any other shortcut.
Comment 7 m_a_riosv 2023-10-24 07:45:08 UTC
*** Bug 157903 has been marked as a duplicate of this bug. ***