Xfce: How to specify row size in Alt+Tab window?












2















Alt+Tab window shows a list of open applications. Problem is it can put even 24 icons in a single row which makes navigation hard. Is there a setting to specify e.g. 5 icons per row?










share|improve this question























  • I suppose I will need to find and edit source code! Is there anyone who can point the source code package/file which needs to be edited?

    – mahdix
    Nov 24 '14 at 4:49
















2















Alt+Tab window shows a list of open applications. Problem is it can put even 24 icons in a single row which makes navigation hard. Is there a setting to specify e.g. 5 icons per row?










share|improve this question























  • I suppose I will need to find and edit source code! Is there anyone who can point the source code package/file which needs to be edited?

    – mahdix
    Nov 24 '14 at 4:49














2












2








2








Alt+Tab window shows a list of open applications. Problem is it can put even 24 icons in a single row which makes navigation hard. Is there a setting to specify e.g. 5 icons per row?










share|improve this question














Alt+Tab window shows a list of open applications. Problem is it can put even 24 icons in a single row which makes navigation hard. Is there a setting to specify e.g. 5 icons per row?







debian xfce window-manager desktop-environment






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 21 '14 at 3:18









mahdixmahdix

211138




211138













  • I suppose I will need to find and edit source code! Is there anyone who can point the source code package/file which needs to be edited?

    – mahdix
    Nov 24 '14 at 4:49



















  • I suppose I will need to find and edit source code! Is there anyone who can point the source code package/file which needs to be edited?

    – mahdix
    Nov 24 '14 at 4:49

















I suppose I will need to find and edit source code! Is there anyone who can point the source code package/file which needs to be edited?

– mahdix
Nov 24 '14 at 4:49





I suppose I will need to find and edit source code! Is there anyone who can point the source code package/file which needs to be edited?

– mahdix
Nov 24 '14 at 4:49










1 Answer
1






active

oldest

votes


















2














Alt-Tab feature is handled by the window manager. In Xfce, the window manager is xfwm4 and the feature refers to "cycle windows" in the window manager actions.



Which source code



The source codes can be viewed at Xfce GitHub organization, as described by this Xfce Docs. There are many repositories related to Xfce being listed on GitHub for public viewing.



Visit the relevant repository: xfwm4. Then, navigate to /src directory and you will find source and header files inside. Most likely, the relevant source file is cycle.c.



While I can't fully comprehend the source codes, I could estimate that xfwm4 dynamically sizes the Alt-Tab popup dialog. There are quite a number of libraries *.h files being included, as well as variable such as ScreenInfo being passed between the functions.



The cycle behaviour



One thing that I noticed, is the number of icons being shown in a single row. The question mentioned "24 icons in a single row". However, my machine had only half of that. Why? Most likely, because my machine has a smaller display size with lower screen resolution.



The screenshot below is showing Alt-Tab popup dialog with 14 opened applications in Xfce.



Xfce 4.10 Alt-Tab popup dialog



In this case, screen resolution at 1280 x 800 will show 12 icons in the first row and the remaining 2 icons in the second row. Additionally, I have another machine running at screen resolution of 1366 x 768 that will show 13 icons in the first row.



Based on the observation, I am convinced that higher screen resolution will be able to show more number of icons in a single row. Hence, the popup dialog in Xfce is dynamically sized.



Disclaimer: I am neither a developer nor a qualified programmer, therefore I can't point exactly which part of the code one should edit. I am merely suggesting the relevant source code, with respect to the comment left by the asker. The cycle behaviour was explained as part of understanding the question, which may also serve as a useful hint when modifying the source code.



The screenshot was taken in Xubuntu 14.04 (Xfce 4.10).






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%2f169155%2fxfce-how-to-specify-row-size-in-alttab-window%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









    2














    Alt-Tab feature is handled by the window manager. In Xfce, the window manager is xfwm4 and the feature refers to "cycle windows" in the window manager actions.



    Which source code



    The source codes can be viewed at Xfce GitHub organization, as described by this Xfce Docs. There are many repositories related to Xfce being listed on GitHub for public viewing.



    Visit the relevant repository: xfwm4. Then, navigate to /src directory and you will find source and header files inside. Most likely, the relevant source file is cycle.c.



    While I can't fully comprehend the source codes, I could estimate that xfwm4 dynamically sizes the Alt-Tab popup dialog. There are quite a number of libraries *.h files being included, as well as variable such as ScreenInfo being passed between the functions.



    The cycle behaviour



    One thing that I noticed, is the number of icons being shown in a single row. The question mentioned "24 icons in a single row". However, my machine had only half of that. Why? Most likely, because my machine has a smaller display size with lower screen resolution.



    The screenshot below is showing Alt-Tab popup dialog with 14 opened applications in Xfce.



    Xfce 4.10 Alt-Tab popup dialog



    In this case, screen resolution at 1280 x 800 will show 12 icons in the first row and the remaining 2 icons in the second row. Additionally, I have another machine running at screen resolution of 1366 x 768 that will show 13 icons in the first row.



    Based on the observation, I am convinced that higher screen resolution will be able to show more number of icons in a single row. Hence, the popup dialog in Xfce is dynamically sized.



    Disclaimer: I am neither a developer nor a qualified programmer, therefore I can't point exactly which part of the code one should edit. I am merely suggesting the relevant source code, with respect to the comment left by the asker. The cycle behaviour was explained as part of understanding the question, which may also serve as a useful hint when modifying the source code.



    The screenshot was taken in Xubuntu 14.04 (Xfce 4.10).






    share|improve this answer






























      2














      Alt-Tab feature is handled by the window manager. In Xfce, the window manager is xfwm4 and the feature refers to "cycle windows" in the window manager actions.



      Which source code



      The source codes can be viewed at Xfce GitHub organization, as described by this Xfce Docs. There are many repositories related to Xfce being listed on GitHub for public viewing.



      Visit the relevant repository: xfwm4. Then, navigate to /src directory and you will find source and header files inside. Most likely, the relevant source file is cycle.c.



      While I can't fully comprehend the source codes, I could estimate that xfwm4 dynamically sizes the Alt-Tab popup dialog. There are quite a number of libraries *.h files being included, as well as variable such as ScreenInfo being passed between the functions.



      The cycle behaviour



      One thing that I noticed, is the number of icons being shown in a single row. The question mentioned "24 icons in a single row". However, my machine had only half of that. Why? Most likely, because my machine has a smaller display size with lower screen resolution.



      The screenshot below is showing Alt-Tab popup dialog with 14 opened applications in Xfce.



      Xfce 4.10 Alt-Tab popup dialog



      In this case, screen resolution at 1280 x 800 will show 12 icons in the first row and the remaining 2 icons in the second row. Additionally, I have another machine running at screen resolution of 1366 x 768 that will show 13 icons in the first row.



      Based on the observation, I am convinced that higher screen resolution will be able to show more number of icons in a single row. Hence, the popup dialog in Xfce is dynamically sized.



      Disclaimer: I am neither a developer nor a qualified programmer, therefore I can't point exactly which part of the code one should edit. I am merely suggesting the relevant source code, with respect to the comment left by the asker. The cycle behaviour was explained as part of understanding the question, which may also serve as a useful hint when modifying the source code.



      The screenshot was taken in Xubuntu 14.04 (Xfce 4.10).






      share|improve this answer




























        2












        2








        2







        Alt-Tab feature is handled by the window manager. In Xfce, the window manager is xfwm4 and the feature refers to "cycle windows" in the window manager actions.



        Which source code



        The source codes can be viewed at Xfce GitHub organization, as described by this Xfce Docs. There are many repositories related to Xfce being listed on GitHub for public viewing.



        Visit the relevant repository: xfwm4. Then, navigate to /src directory and you will find source and header files inside. Most likely, the relevant source file is cycle.c.



        While I can't fully comprehend the source codes, I could estimate that xfwm4 dynamically sizes the Alt-Tab popup dialog. There are quite a number of libraries *.h files being included, as well as variable such as ScreenInfo being passed between the functions.



        The cycle behaviour



        One thing that I noticed, is the number of icons being shown in a single row. The question mentioned "24 icons in a single row". However, my machine had only half of that. Why? Most likely, because my machine has a smaller display size with lower screen resolution.



        The screenshot below is showing Alt-Tab popup dialog with 14 opened applications in Xfce.



        Xfce 4.10 Alt-Tab popup dialog



        In this case, screen resolution at 1280 x 800 will show 12 icons in the first row and the remaining 2 icons in the second row. Additionally, I have another machine running at screen resolution of 1366 x 768 that will show 13 icons in the first row.



        Based on the observation, I am convinced that higher screen resolution will be able to show more number of icons in a single row. Hence, the popup dialog in Xfce is dynamically sized.



        Disclaimer: I am neither a developer nor a qualified programmer, therefore I can't point exactly which part of the code one should edit. I am merely suggesting the relevant source code, with respect to the comment left by the asker. The cycle behaviour was explained as part of understanding the question, which may also serve as a useful hint when modifying the source code.



        The screenshot was taken in Xubuntu 14.04 (Xfce 4.10).






        share|improve this answer















        Alt-Tab feature is handled by the window manager. In Xfce, the window manager is xfwm4 and the feature refers to "cycle windows" in the window manager actions.



        Which source code



        The source codes can be viewed at Xfce GitHub organization, as described by this Xfce Docs. There are many repositories related to Xfce being listed on GitHub for public viewing.



        Visit the relevant repository: xfwm4. Then, navigate to /src directory and you will find source and header files inside. Most likely, the relevant source file is cycle.c.



        While I can't fully comprehend the source codes, I could estimate that xfwm4 dynamically sizes the Alt-Tab popup dialog. There are quite a number of libraries *.h files being included, as well as variable such as ScreenInfo being passed between the functions.



        The cycle behaviour



        One thing that I noticed, is the number of icons being shown in a single row. The question mentioned "24 icons in a single row". However, my machine had only half of that. Why? Most likely, because my machine has a smaller display size with lower screen resolution.



        The screenshot below is showing Alt-Tab popup dialog with 14 opened applications in Xfce.



        Xfce 4.10 Alt-Tab popup dialog



        In this case, screen resolution at 1280 x 800 will show 12 icons in the first row and the remaining 2 icons in the second row. Additionally, I have another machine running at screen resolution of 1366 x 768 that will show 13 icons in the first row.



        Based on the observation, I am convinced that higher screen resolution will be able to show more number of icons in a single row. Hence, the popup dialog in Xfce is dynamically sized.



        Disclaimer: I am neither a developer nor a qualified programmer, therefore I can't point exactly which part of the code one should edit. I am merely suggesting the relevant source code, with respect to the comment left by the asker. The cycle behaviour was explained as part of understanding the question, which may also serve as a useful hint when modifying the source code.



        The screenshot was taken in Xubuntu 14.04 (Xfce 4.10).







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 58 secs ago

























        answered Mar 10 '16 at 16:52









        clearkimuraclearkimura

        1,9531030




        1,9531030






























            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%2f169155%2fxfce-how-to-specify-row-size-in-alttab-window%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

            Loup dans la culture

            How to solve the problem of ntp “Unable to contact time server” from KDE?

            ASUS Zenbook UX433/UX333 — Configure Touchpad-embedded numpad on Linux