How to bind a string to hotkey?

0

I want to quick paste some different strings using hotkeys. For example if I press Alt+L in any input form it works like if I pasted loremipsum. Or it may be some abbreviation, for example I enter li, press Tab and get loremipsum.

I'm using Linux Mint with KDE desktop.

In Windows I could do it using AutoHotkey

Pavel

Posted 2017-01-04T14:00:45.660

Reputation: 208

Question was closed 2017-01-06T12:06:37.860

Please don't cross-post to multiple stack exchange sites.

– Ƭᴇcʜιᴇ007 – 2017-01-04T14:57:02.163

@Ƭᴇcʜιᴇ007, can you help me with this http://meta.superuser.com/questions/12007/how-to-choose-a-community ?

– Pavel – 2017-01-04T15:05:29.250

Answers

1

Install xbindkeys and xvkbd

echo '"xvkbd -text loremipsum"
alt + l' >> ~/.xbindkeysrc

Ipor Sircer

Posted 2017-01-04T14:00:45.660

Reputation: 3 578

Should I simple write this two lines in console after installing? – Pavel – 2017-01-04T14:32:48.723

Okay, it added two lines to file .xbindkeysrc in my home folder but prints oremipsum – Pavel – 2017-01-04T14:58:15.563