LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-27-2022, 10:03 AM   #1
JavaMeister
Member
 
Registered: Jul 2017
Location: NC
Distribution: Ubuntu 20.04
Posts: 34

Rep: Reputation: Disabled
How to set a shortcut key to output a string to whatever writable field cursor is on.


I want to set a shortcut that will write my email address into whatever writable field my cursor is on. I know about settings -> Keyboard Shortcuts -> Custom Shortcuts but have been unable to find a command that outputs a string.
 
Old 01-27-2022, 10:10 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Your profile says Ubuntu 20.04. Does it mean you're using GNOME?

Anyway, see How do I setup keyboard macros? @Ask Ubuntu.

Last edited by shruggy; 01-27-2022 at 10:13 AM.
 
1 members found this post helpful.
Old 01-27-2022, 10:12 AM   #3
JavaMeister
Member
 
Registered: Jul 2017
Location: NC
Distribution: Ubuntu 20.04
Posts: 34

Original Poster
Rep: Reputation: Disabled
Yes, 3.36.8
 
Old 01-27-2022, 10:24 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
I updated my post above. The short answer: install autokey-gtk or xdotool.
 
1 members found this post helpful.
Old 01-27-2022, 11:04 AM   #5
JavaMeister
Member
 
Registered: Jul 2017
Location: NC
Distribution: Ubuntu 20.04
Posts: 34

Original Poster
Rep: Reputation: Disabled
<solved> How to set a shortcut key to output a string to whatever writable field cursor is on.

Got it! Don't know how, but it works.
I brought up autokey and found my key already defined in Sample Scripts.
I don't know how it got there, but it is good.
It did not come from my settings definition because when I changed the string there it did not change in autokey.
When I want to do this again I will go straight to autokey.
Thanks
 
  


Reply

Tags
shortcuts



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
[SOLVED] Multiple config file not writable: Configuration file "home/$USER/.config/consolerc" not writable. Please contact your system administrator. andrewysk Linux - Newbie 8 05-16-2021 02:01 PM
[SOLVED] Screen dim time is very little. Whenever I pause to read whatever is on my screen or whatever the screen dims after about 3-5 seconds Ajwad Linux - Newbie 26 02-21-2016 01:45 PM
[SOLVED] confused about when to use cd ~/whatever or cd /whatever l0r3n Linux - Newbie 4 10-20-2015 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:50 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
Open Source Consulting | Domain Registration