<?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/4962/" rel="self"></atom:link><language>en</language><copyright>Copyright i3, 2012</copyright><lastBuildDate>Mon, 13 Jul 2015 08:15:42 +0000</lastBuildDate><item><title>xmodmap and xcape not loading on start up</title><link>https://faq.i3wm.org/question/4962/xmodmap-and-xcape-not-loading-on-start-up/</link><description>I load xmodmap and xcape via exec on startup

    exec_always --no-startup-id "xmodmap /home/nik/.xmodmap" 

(I tried it with and without ")
    
    exec_always --no-startup-id xcape

.xmodmap: 

    keycode 66 = Control_L
    clear lock
    add Control = Control_L


But they do not load. When I reload the config though, it works.
I see no errors in .xsession-errors and the i3-log doesn't have errors either.</description><pubDate>Sun, 16 Nov 2014 08:07:54 +0000</pubDate><guid>https://faq.i3wm.org/question/4962/xmodmap-and-xcape-not-loading-on-start-up/</guid></item><item><title>Comment by Adaephon for &lt;p&gt;I load xmodmap and xcape via exec on startup&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;exec_always --no-startup-id "xmodmap /home/nik/.xmodmap"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;(I tried it with and without ")&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;exec_always --no-startup-id xcape
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;.xmodmap: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;keycode 66 = Control_L
clear lock
add Control = Control_L
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But they do not load. When I reload the config though, it works.
I see no errors in .xsession-errors and the i3-log doesn't have errors either.&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/4962/xmodmap-and-xcape-not-loading-on-start-up/?comment=6276#comment-6276</link><description>I just realized that [Using setxkbmap to disabple CapsLock](https://faq.i3wm.org/question/5606/using-setxkbmap-to-disabple-capslock/) may be a duplicate of this question. Please see the comments there for a possible solution.</description><pubDate>Mon, 13 Jul 2015 08:15:42 +0000</pubDate><guid>https://faq.i3wm.org/question/4962/xmodmap-and-xcape-not-loading-on-start-up/?comment=6276#comment-6276</guid></item><item><title>Answer by zombiecalypse for &lt;p&gt;I load xmodmap and xcape via exec on startup&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;exec_always --no-startup-id "xmodmap /home/nik/.xmodmap"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;(I tried it with and without ")&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;exec_always --no-startup-id xcape
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;.xmodmap: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;keycode 66 = Control_L
clear lock
add Control = Control_L
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But they do not load. When I reload the config though, it works.
I see no errors in .xsession-errors and the i3-log doesn't have errors either.&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/4962/xmodmap-and-xcape-not-loading-on-start-up/?answer=6265#post-id-6265</link><description> I had the same problem and found after some experimentation that adding a sleep solves the problem -- so it's probably some initialization problem :-/</description><pubDate>Fri, 10 Jul 2015 19:05:30 +0000</pubDate><guid>https://faq.i3wm.org/question/4962/xmodmap-and-xcape-not-loading-on-start-up/?answer=6265#post-id-6265</guid></item></channel></rss>