[SOLVED] Keyboard Macros
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] Keyboard Macros
Whenever I press the ctrl+j key I would like it to be handled as ctrl+c (copy to clipboard). I would still like j to type j and c to type c. I have tried the shortcuts menu, AutoKey and xdotool to no avail. Thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Keyboard Macros
Install xclip using command:
Then in keyboard settings, add custom shortcut with program name xclip (or fullname /usr/bin/xclip) and set keyboard combo as Ctrl+J
Code: Select all
sudo apt-get install xclip
Re: Keyboard Macros
Thanks for the suggestion N3wb it does answer my original question, however I would also like ctrl+j to work as ctrl+c in a terminal. I also plan on remapping other ctrl keys that are unrelated to the clipboard as well. I am trying to replace the functionality of my AutoHotKey scripts from windows.N3wb wrote: ⤴Sat Sep 22, 2018 5:49 am Install xclip using command:Then in keyboard settings, add custom shortcut with program name xclip (or fullname /usr/bin/xclip) and set keyboard combo as Ctrl+JCode: Select all
sudo apt-get install xclip
Re: Keyboard Macros
This link could be helpful: https://askubuntu.com/questions/620626/ ... thing-elsegandhiisback wrote: ⤴Sat Sep 22, 2018 2:07 pmThanks for the suggestion N3wb it does answer my original question, however I would also like ctrl+j to work as ctrl+c in a terminal. I also plan on remapping other ctrl keys that are unrelated to the clipboard as well. I am trying to replace the functionality of my AutoHotKey scripts from windows.N3wb wrote: ⤴Sat Sep 22, 2018 5:49 am Install xclip using command:Then in keyboard settings, add custom shortcut with program name xclip (or fullname /usr/bin/xclip) and set keyboard combo as Ctrl+JCode: Select all
sudo apt-get install xclip
I think for your overall task, you'd need to remap them all individually.
Re: Keyboard Macros
Thanks for all the help. Here is the solution I ended up using in case anyone else has a similar need.N3wb wrote: ⤴Sat Sep 22, 2018 11:45 pmThis link could be helpful: https://askubuntu.com/questions/620626/ ... thing-elsegandhiisback wrote: ⤴Sat Sep 22, 2018 2:07 pmThanks for the suggestion N3wb it does answer my original question, however I would also like ctrl+j to work as ctrl+c in a terminal. I also plan on remapping other ctrl keys that are unrelated to the clipboard as well. I am trying to replace the functionality of my AutoHotKey scripts from windows.N3wb wrote: ⤴Sat Sep 22, 2018 5:49 am Install xclip using command:Then in keyboard settings, add custom shortcut with program name xclip (or fullname /usr/bin/xclip) and set keyboard combo as Ctrl+JCode: Select all
sudo apt-get install xclip
I think for your overall task, you'd need to remap them all individually.
https://github.com/tbocek/dvorak