You are not logged in.

#1 2012-06-05 18:30:21

nXqd
Member
Registered: 2010-07-01
Posts: 173
Website

Lightweight text expander for linux

Love the beauty of simplicity of archlinux, I'm finding a text expander excluding auto text which is not so light weight due to its dependencies. I've searched in our forum where I believe the home land of powerful and light weight command line tool but I didn't find any alternative. Is there any one like what i'm looking for exist big_smile

Thanks for reading


When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles

Offline

#2 2012-06-05 18:39:00

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Lightweight text expander for linux

http://linuxappfinder.com/package/winefish

I believe winefish has autotext


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2012-11-07 20:52:18

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: Lightweight text expander for linux

There is autokey in AUR. However, I really feel sad about absence of much text expanders / automation tools like those in Windows, Shorthand, Phrase Express, etc.

Offline

#4 2012-11-21 15:08:57

MisterAnderson
Member
Registered: 2011-09-04
Posts: 285

Re: Lightweight text expander for linux

What IS a text expander?


D:

Offline

#5 2012-11-21 15:16:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: Lightweight text expander for linux

MisterAnderson, I had the same question and found this.

If that's what you (OP) are looking for, I can imagine a pretty simple xdotool script that could be bound to a chosen key combination.  It would only have to do three or four things:
1) select from the current text cursor position backwards one 'word'
2) search a dictionary file for the text in the current selection
(3 opt) pop up a dialog (Xdialog, zenity, or dmenu would work) with the matches asking for a selection
4) simulate key presses for the remaining letters of the matched word

Last edited by Trilby (2012-11-21 16:05:01)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#6 2012-11-21 15:38:35

MisterAnderson
Member
Registered: 2011-09-04
Posts: 285

Re: Lightweight text expander for linux

Thanks for the link Trilby.


D:

Offline

Board footer

Powered by FluxBB