Hello fellow Haikuians
And thanks for a totally awsome forum.
Question: is there a way to make a shortcut (in Preferences/Shortcuts) for typing text, or a special character?
Why? you may ask…
I use Claws-mail, and for the most part I think it’s a good application for mail. Looking forward to trying Beam when and if that is up and running again.
The biggest drawback in Claws is that the “@” does not work on my international keyboard. The workaround atm is to have one ready to go on the clipboard, but it quickly becomes a hassle as I often need to copy/paste other stuff.
Welcome @bighill. In Preferences->Shortcuts, I have mapped the ALT-OPTION-ò combination to the following command: /bin/clipboard —copy=@
This will load the “@“ character into the clipboard. After that you could paste it into the text box of whatever program you need with Alt-V (e.g. Claws Mail and Web - aka Epiphany).
Assuming you have set the Haiku mode in Preferences->Keymap.
Unfortunately, I don’t recall any practical way to programmatically send a keystroke other than creating a dedicated input filter so I think this is as far we can get.
Yes but with dedicated shortcuts for each favourite, if possible.
Even better, if there’s a practical way to identify the text box that has focus, a small floating window may appear with the list of favourites. Very much like an auto completion box, if you know what I mean.
I used something like that a lot on MacOS, an always available character display with whatever random character I might need for someone’s Hungarian name or whatever.
But … “@”? ASCII 64? This kind of thing is why I went to a lot of trouble to find another US-International keyboard when my old computer was getting too rough, but the Portuguese keyboard that prevails here at least has “@”. You just have to use a modifier key, like <Alt Gr>2. If you have a national keyboard layout that really doesn’t automatically have @ in Haiku, I wonder if it might be worthwhile to add it in the keymap, given that it’s so commonly used.
It is in the keymap already. The problem here is that claws mail uses a wayland translation layer instead of a native port of gtk, and that doesn’t use haiku keymaps but some random other one and can’t properly retrieve the characters as a result.