LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2012, 11:22 AM   #1
mzzxx11
Member
 
Registered: Sep 2012
Posts: 78

Rep: Reputation: Disabled
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
 
Old 12-01-2012, 05:07 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,613

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
Use exo-open --launch in a /usr/bin/script, and use 'key bindings' to define the keys.
 
Old 12-01-2012, 05:11 AM   #3
mzzxx11
Member
 
Registered: Sep 2012
Posts: 78

Original Poster
Rep: Reputation: Disabled
thanks, but isnt exo-* a lib for xfce? Im using gnome (the default on debian stable)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use Vi to match a string of text, add a new line, insert string... Slycraft Linux - Newbie 7 07-20-2012 11:24 AM
Gnome kill/destroy window keystroke? Pathian Linux - Newbie 5 10-20-2011 03:14 PM
The Alt + F1key combination does not switch from GUI to text-mode abarsamaneh Linux - Newbie 5 03-22-2011 01:47 PM
how do i replace a text string in a file with a random string? (with sed etc) steve51184 Linux - Software 16 09-02-2010 12:05 PM
read string after specific string from a text file using C++ programing language badwl24 Programming 5 10-08-2009 06:41 AM


All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration