How to set specific font-version (e.g. Font Awesome) in i3wm config files












1















I use i3wm with the i3status bar. My configuration file uses "FontAwesome 10" font specification for displaying various icons in the bar. Now a new Version of Font Awesome is around. When I, as before, copy-paste the icons into the config-files they are not recognized because i3wm is sourcing the old version of the font (4.7.0).



enter image description here



I have installed the new version (5.7.2), however it is not used by i3wm. Can I force/specify i3 to use a certain font version? How?










share|improve this question



























    1















    I use i3wm with the i3status bar. My configuration file uses "FontAwesome 10" font specification for displaying various icons in the bar. Now a new Version of Font Awesome is around. When I, as before, copy-paste the icons into the config-files they are not recognized because i3wm is sourcing the old version of the font (4.7.0).



    enter image description here



    I have installed the new version (5.7.2), however it is not used by i3wm. Can I force/specify i3 to use a certain font version? How?










    share|improve this question

























      1












      1








      1








      I use i3wm with the i3status bar. My configuration file uses "FontAwesome 10" font specification for displaying various icons in the bar. Now a new Version of Font Awesome is around. When I, as before, copy-paste the icons into the config-files they are not recognized because i3wm is sourcing the old version of the font (4.7.0).



      enter image description here



      I have installed the new version (5.7.2), however it is not used by i3wm. Can I force/specify i3 to use a certain font version? How?










      share|improve this question














      I use i3wm with the i3status bar. My configuration file uses "FontAwesome 10" font specification for displaying various icons in the bar. Now a new Version of Font Awesome is around. When I, as before, copy-paste the icons into the config-files they are not recognized because i3wm is sourcing the old version of the font (4.7.0).



      enter image description here



      I have installed the new version (5.7.2), however it is not used by i3wm. Can I force/specify i3 to use a certain font version? How?







      fonts i3






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 15 at 0:49









      alexalex

      2451314




      2451314






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You could override your system fonts with new version installed locally. Download new font version and unpack it into ~/.local/share/fonts/. Then check that font cache is updated:



          $ fc-list |grep Awesome
          /home/user/.local/share/fonts/Font Awesome 5 Free-Solid-900.otf: Font Awesome 5 Free,Font Awesome 5 Free Solid:style=Solid
          /home/user/.local/share/fonts/Font Awesome 5 Free-Regular-400.otf: Font Awesome 5 Free,Font Awesome 5 Free Regular:style=Regular
          /usr/share/fonts/opentype/font-awesome/FontAwesome.otf: FontAwesome:style=Regular
          /usr/share/fonts/woff/font-awesome/fontawesome-webfont.woff: FontAwesome:style=Regular
          /home/user/.local/share/fonts/Font Awesome 5 Brands-Regular-400.otf: Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular
          /usr/share/fonts/truetype/font-awesome/fontawesome-webfont.ttf: FontAwesome:style=Regular


          You may need to restart i3status after that.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500754%2fhow-to-set-specific-font-version-e-g-font-awesome-in-i3wm-config-files%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            You could override your system fonts with new version installed locally. Download new font version and unpack it into ~/.local/share/fonts/. Then check that font cache is updated:



            $ fc-list |grep Awesome
            /home/user/.local/share/fonts/Font Awesome 5 Free-Solid-900.otf: Font Awesome 5 Free,Font Awesome 5 Free Solid:style=Solid
            /home/user/.local/share/fonts/Font Awesome 5 Free-Regular-400.otf: Font Awesome 5 Free,Font Awesome 5 Free Regular:style=Regular
            /usr/share/fonts/opentype/font-awesome/FontAwesome.otf: FontAwesome:style=Regular
            /usr/share/fonts/woff/font-awesome/fontawesome-webfont.woff: FontAwesome:style=Regular
            /home/user/.local/share/fonts/Font Awesome 5 Brands-Regular-400.otf: Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular
            /usr/share/fonts/truetype/font-awesome/fontawesome-webfont.ttf: FontAwesome:style=Regular


            You may need to restart i3status after that.






            share|improve this answer




























              0














              You could override your system fonts with new version installed locally. Download new font version and unpack it into ~/.local/share/fonts/. Then check that font cache is updated:



              $ fc-list |grep Awesome
              /home/user/.local/share/fonts/Font Awesome 5 Free-Solid-900.otf: Font Awesome 5 Free,Font Awesome 5 Free Solid:style=Solid
              /home/user/.local/share/fonts/Font Awesome 5 Free-Regular-400.otf: Font Awesome 5 Free,Font Awesome 5 Free Regular:style=Regular
              /usr/share/fonts/opentype/font-awesome/FontAwesome.otf: FontAwesome:style=Regular
              /usr/share/fonts/woff/font-awesome/fontawesome-webfont.woff: FontAwesome:style=Regular
              /home/user/.local/share/fonts/Font Awesome 5 Brands-Regular-400.otf: Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular
              /usr/share/fonts/truetype/font-awesome/fontawesome-webfont.ttf: FontAwesome:style=Regular


              You may need to restart i3status after that.






              share|improve this answer


























                0












                0








                0







                You could override your system fonts with new version installed locally. Download new font version and unpack it into ~/.local/share/fonts/. Then check that font cache is updated:



                $ fc-list |grep Awesome
                /home/user/.local/share/fonts/Font Awesome 5 Free-Solid-900.otf: Font Awesome 5 Free,Font Awesome 5 Free Solid:style=Solid
                /home/user/.local/share/fonts/Font Awesome 5 Free-Regular-400.otf: Font Awesome 5 Free,Font Awesome 5 Free Regular:style=Regular
                /usr/share/fonts/opentype/font-awesome/FontAwesome.otf: FontAwesome:style=Regular
                /usr/share/fonts/woff/font-awesome/fontawesome-webfont.woff: FontAwesome:style=Regular
                /home/user/.local/share/fonts/Font Awesome 5 Brands-Regular-400.otf: Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular
                /usr/share/fonts/truetype/font-awesome/fontawesome-webfont.ttf: FontAwesome:style=Regular


                You may need to restart i3status after that.






                share|improve this answer













                You could override your system fonts with new version installed locally. Download new font version and unpack it into ~/.local/share/fonts/. Then check that font cache is updated:



                $ fc-list |grep Awesome
                /home/user/.local/share/fonts/Font Awesome 5 Free-Solid-900.otf: Font Awesome 5 Free,Font Awesome 5 Free Solid:style=Solid
                /home/user/.local/share/fonts/Font Awesome 5 Free-Regular-400.otf: Font Awesome 5 Free,Font Awesome 5 Free Regular:style=Regular
                /usr/share/fonts/opentype/font-awesome/FontAwesome.otf: FontAwesome:style=Regular
                /usr/share/fonts/woff/font-awesome/fontawesome-webfont.woff: FontAwesome:style=Regular
                /home/user/.local/share/fonts/Font Awesome 5 Brands-Regular-400.otf: Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular
                /usr/share/fonts/truetype/font-awesome/fontawesome-webfont.ttf: FontAwesome:style=Regular


                You may need to restart i3status after that.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 18 at 15:53









                anlaranlar

                9921619




                9921619






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500754%2fhow-to-set-specific-font-version-e-g-font-awesome-in-i3wm-config-files%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to make a Squid Proxy server?

                    第一次世界大戦

                    Touch on Surface Book