LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tying a text string to a keystroke combination in gnome (https://www.linuxquestions.org/questions/linux-newbie-8/tying-a-text-string-to-a-keystroke-combination-in-gnome-4175439459/)

mzzxx11 11-30-2012 10:22 AM

tying a text string to a keystroke combination in gnome
 
Is there a way to tie a text string to a keystroke under gnome (a simple macro)?

For example, I want to press ctrl+f10 and gnome will paste "abc" into the current window.

The software centre shows pnee & xnee, which seem like an overkill. Is there something simpler (for gnome) doing what I need?

TIA

malekmustaq 12-01-2012 04:07 AM

Use exo-open --launch in a /usr/bin/script, and use 'key bindings' to define the keys.

mzzxx11 12-01-2012 04:11 AM

thanks, but isnt exo-* a lib for xfce? Im using gnome (the default on debian stable)


All times are GMT -5. The time now is 05:09 PM.