<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>i3 FAQ - Individual question feed</title><link>https://faq.i3wm.org/questions/</link><description>Frequently asked questions and answers about the i3 window manager</description><atom:link href="http://faq.i3wm.org/feeds/question/6350/" rel="self"></atom:link><language>en</language><copyright>Copyright i3, 2012</copyright><lastBuildDate>Mon, 27 Jul 2015 22:13:45 +0000</lastBuildDate><item><title>keyboard macros via config</title><link>https://faq.i3wm.org/question/6350/keyboard-macros-via-config/</link><description> Is there a way to create keyboard macros in the config file via bindsym... ?</description><pubDate>Mon, 27 Jul 2015 07:24:25 +0000</pubDate><guid>https://faq.i3wm.org/question/6350/keyboard-macros-via-config/</guid></item><item><title>Answer by i3convert for &lt;p&gt;Is there a way to create keyboard macros in the config file via bindsym... ?&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/6350/keyboard-macros-via-config/?answer=6356#post-id-6356</link><description>If I correctly understand your question, you should check out [`xdotool`](http://www.semicomplete.com/projects/xdotool/xdotool.xhtml), which allows for simulating keyboard input. You can use it for writing a script that simulates a specific sequence of keystrokes. Then you can assign this script to a specific key using `bindsym`. Just don't forget to add `--release` after `bindsym`, or [it may not work](https://i3wm.org/docs/userguide.html#keybindings).</description><pubDate>Mon, 27 Jul 2015 18:03:32 +0000</pubDate><guid>https://faq.i3wm.org/question/6350/keyboard-macros-via-config/?answer=6356#post-id-6356</guid></item><item><title>Comment by oberon for &lt;p&gt;If I correctly understand your question, you should check out &lt;a href="http://www.semicomplete.com/projects/xdotool/xdotool.xhtml"&gt;&lt;code&gt;xdotool&lt;/code&gt;&lt;/a&gt;, which allows for simulating keyboard input. You can use it for writing a script that simulates a specific sequence of keystrokes. Then you can assign this script to a specific key using &lt;code&gt;bindsym&lt;/code&gt;. Just don't forget to add &lt;code&gt;--release&lt;/code&gt; after &lt;code&gt;bindsym&lt;/code&gt;, or &lt;a href="https://i3wm.org/docs/userguide.html#keybindings"&gt;it may not work&lt;/a&gt;.&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6350/keyboard-macros-via-config/?comment=6358#comment-6358</link><description>Yes, thank you! That's what I was looking for.</description><pubDate>Mon, 27 Jul 2015 22:13:45 +0000</pubDate><guid>https://faq.i3wm.org/question/6350/keyboard-macros-via-config/?comment=6358#comment-6358</guid></item></channel></rss>