How do I assign WM_CLASS when launching an application












0















I am using mupdf-gl, and using xprop I don't get the value of WM_CLASS. But if I use mupdf-x11, I do get a value for WM_CLASS.



The output of xprop for mupdf-gl:



_NET_WM_DESKTOP(CARDINAL) = 2
_NET_WM_STATE(ATOM) =
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_PID(CARDINAL) = 12656
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_HINTS(WM_HINTS):
Initial state is Normal State.
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified size: 1088 by 1668
WM_CLIENT_MACHINE(STRING) = "elariel"
WM_ICON_NAME(STRING) = "EEE Transformer CT.pdf - 1 / 4"
WM_NAME(STRING) = "EEE Transformer CT.pdf - 1 / 4"


The output of xprop for mupdf-x11:



WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 2
_NET_WM_NAME(UTF8_STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "elariel"
WM_ICON_NAME(STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_NAME(STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_CLASS(STRING) = "mupdf", "MuPDF"
WM_HINTS(WM_HINTS):
bitmap id # to use for icon: 0x2800091
bitmap id # of mask for icon: 0x2800093


How do I assign WM_CLASS to a window when launching it?










share|improve this question


















  • 1





    I could be mistaken, but WM_CLASS is a property that is set as part of the xlib library: tronche.com/gui/x/xlib/ICC/client-to-window-manager/…. If this is not set, you won't get anything. Either A) it wasn't set, or B) it's not supported in the GL version of mupdf.

    – bgregs
    13 hours ago











  • If it might help, you can use xdotool to set the property afterwards, with something like xdotool search --pid 12656 set_window --classname MYCLASS

    – meuh
    12 hours ago











  • @meuh, Couldn't I do that in one bash command? Somehow piping the required line from xprop to xdotool?

    – Enan Ajmain
    11 hours ago











  • @meuh Very nice! That's probably a much cleaner solution. However, you may want to update both --classname and --class for your set_window call.

    – bgregs
    11 hours ago
















0















I am using mupdf-gl, and using xprop I don't get the value of WM_CLASS. But if I use mupdf-x11, I do get a value for WM_CLASS.



The output of xprop for mupdf-gl:



_NET_WM_DESKTOP(CARDINAL) = 2
_NET_WM_STATE(ATOM) =
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_PID(CARDINAL) = 12656
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_HINTS(WM_HINTS):
Initial state is Normal State.
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified size: 1088 by 1668
WM_CLIENT_MACHINE(STRING) = "elariel"
WM_ICON_NAME(STRING) = "EEE Transformer CT.pdf - 1 / 4"
WM_NAME(STRING) = "EEE Transformer CT.pdf - 1 / 4"


The output of xprop for mupdf-x11:



WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 2
_NET_WM_NAME(UTF8_STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "elariel"
WM_ICON_NAME(STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_NAME(STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_CLASS(STRING) = "mupdf", "MuPDF"
WM_HINTS(WM_HINTS):
bitmap id # to use for icon: 0x2800091
bitmap id # of mask for icon: 0x2800093


How do I assign WM_CLASS to a window when launching it?










share|improve this question


















  • 1





    I could be mistaken, but WM_CLASS is a property that is set as part of the xlib library: tronche.com/gui/x/xlib/ICC/client-to-window-manager/…. If this is not set, you won't get anything. Either A) it wasn't set, or B) it's not supported in the GL version of mupdf.

    – bgregs
    13 hours ago











  • If it might help, you can use xdotool to set the property afterwards, with something like xdotool search --pid 12656 set_window --classname MYCLASS

    – meuh
    12 hours ago











  • @meuh, Couldn't I do that in one bash command? Somehow piping the required line from xprop to xdotool?

    – Enan Ajmain
    11 hours ago











  • @meuh Very nice! That's probably a much cleaner solution. However, you may want to update both --classname and --class for your set_window call.

    – bgregs
    11 hours ago














0












0








0








I am using mupdf-gl, and using xprop I don't get the value of WM_CLASS. But if I use mupdf-x11, I do get a value for WM_CLASS.



The output of xprop for mupdf-gl:



_NET_WM_DESKTOP(CARDINAL) = 2
_NET_WM_STATE(ATOM) =
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_PID(CARDINAL) = 12656
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_HINTS(WM_HINTS):
Initial state is Normal State.
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified size: 1088 by 1668
WM_CLIENT_MACHINE(STRING) = "elariel"
WM_ICON_NAME(STRING) = "EEE Transformer CT.pdf - 1 / 4"
WM_NAME(STRING) = "EEE Transformer CT.pdf - 1 / 4"


The output of xprop for mupdf-x11:



WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 2
_NET_WM_NAME(UTF8_STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "elariel"
WM_ICON_NAME(STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_NAME(STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_CLASS(STRING) = "mupdf", "MuPDF"
WM_HINTS(WM_HINTS):
bitmap id # to use for icon: 0x2800091
bitmap id # of mask for icon: 0x2800093


How do I assign WM_CLASS to a window when launching it?










share|improve this question














I am using mupdf-gl, and using xprop I don't get the value of WM_CLASS. But if I use mupdf-x11, I do get a value for WM_CLASS.



The output of xprop for mupdf-gl:



_NET_WM_DESKTOP(CARDINAL) = 2
_NET_WM_STATE(ATOM) =
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_PID(CARDINAL) = 12656
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_HINTS(WM_HINTS):
Initial state is Normal State.
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified size: 1088 by 1668
WM_CLIENT_MACHINE(STRING) = "elariel"
WM_ICON_NAME(STRING) = "EEE Transformer CT.pdf - 1 / 4"
WM_NAME(STRING) = "EEE Transformer CT.pdf - 1 / 4"


The output of xprop for mupdf-x11:



WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 2
_NET_WM_NAME(UTF8_STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "elariel"
WM_ICON_NAME(STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_NAME(STRING) = "EEE Transformer CT.pdf - 1/4 (96 dpi)"
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_CLASS(STRING) = "mupdf", "MuPDF"
WM_HINTS(WM_HINTS):
bitmap id # to use for icon: 0x2800091
bitmap id # of mask for icon: 0x2800093


How do I assign WM_CLASS to a window when launching it?







xorg xdotool






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 14 hours ago









Enan AjmainEnan Ajmain

1869




1869








  • 1





    I could be mistaken, but WM_CLASS is a property that is set as part of the xlib library: tronche.com/gui/x/xlib/ICC/client-to-window-manager/…. If this is not set, you won't get anything. Either A) it wasn't set, or B) it's not supported in the GL version of mupdf.

    – bgregs
    13 hours ago











  • If it might help, you can use xdotool to set the property afterwards, with something like xdotool search --pid 12656 set_window --classname MYCLASS

    – meuh
    12 hours ago











  • @meuh, Couldn't I do that in one bash command? Somehow piping the required line from xprop to xdotool?

    – Enan Ajmain
    11 hours ago











  • @meuh Very nice! That's probably a much cleaner solution. However, you may want to update both --classname and --class for your set_window call.

    – bgregs
    11 hours ago














  • 1





    I could be mistaken, but WM_CLASS is a property that is set as part of the xlib library: tronche.com/gui/x/xlib/ICC/client-to-window-manager/…. If this is not set, you won't get anything. Either A) it wasn't set, or B) it's not supported in the GL version of mupdf.

    – bgregs
    13 hours ago











  • If it might help, you can use xdotool to set the property afterwards, with something like xdotool search --pid 12656 set_window --classname MYCLASS

    – meuh
    12 hours ago











  • @meuh, Couldn't I do that in one bash command? Somehow piping the required line from xprop to xdotool?

    – Enan Ajmain
    11 hours ago











  • @meuh Very nice! That's probably a much cleaner solution. However, you may want to update both --classname and --class for your set_window call.

    – bgregs
    11 hours ago








1




1





I could be mistaken, but WM_CLASS is a property that is set as part of the xlib library: tronche.com/gui/x/xlib/ICC/client-to-window-manager/…. If this is not set, you won't get anything. Either A) it wasn't set, or B) it's not supported in the GL version of mupdf.

– bgregs
13 hours ago





I could be mistaken, but WM_CLASS is a property that is set as part of the xlib library: tronche.com/gui/x/xlib/ICC/client-to-window-manager/…. If this is not set, you won't get anything. Either A) it wasn't set, or B) it's not supported in the GL version of mupdf.

– bgregs
13 hours ago













If it might help, you can use xdotool to set the property afterwards, with something like xdotool search --pid 12656 set_window --classname MYCLASS

– meuh
12 hours ago





If it might help, you can use xdotool to set the property afterwards, with something like xdotool search --pid 12656 set_window --classname MYCLASS

– meuh
12 hours ago













@meuh, Couldn't I do that in one bash command? Somehow piping the required line from xprop to xdotool?

– Enan Ajmain
11 hours ago





@meuh, Couldn't I do that in one bash command? Somehow piping the required line from xprop to xdotool?

– Enan Ajmain
11 hours ago













@meuh Very nice! That's probably a much cleaner solution. However, you may want to update both --classname and --class for your set_window call.

– bgregs
11 hours ago





@meuh Very nice! That's probably a much cleaner solution. However, you may want to update both --classname and --class for your set_window call.

– bgregs
11 hours ago










2 Answers
2






active

oldest

votes


















3














Confirmed as per my comment above. When looking at the source code of the project, you can see multiple folders under "Platform". In the X11 folder, you can find the source code as follows:



if (classhint)
{
classhint->res_name = "mupdf";
classhint->res_class = "MuPDF";
XSetClassHint(xdpy, xwin, classhint);
XFree(classhint);
}


This does not exist in the GL platform folder. If you want the property set for that platform, you will need to submit an enhancement request to the developers.






share|improve this answer
























  • I've talked with one of the maintainer. He asked me to call XSetClassHint from a file. He also told me that I can just copy the call from another file, that very code block you mentioned here. If you can just look at this irc log. I couldn't get it to work, and left it there.

    – Enan Ajmain
    11 hours ago











  • If you've time, you could try to build the program in your own computer. I had errors in mine when doing make, after copying the whole block, and declaring required variables, in the file mentioned in the irc log.

    – Enan Ajmain
    11 hours ago













  • Yea, it appears freeglut doesn't support WM_CLASS (which in my mind should be updated, maybe I'll save that for a rainy day :) ). I'm not at my home computer to be able to recompile the freeglut library for you (Windows computers at work :( ), but all you need to do is add the XSetClassHint call after line 368 of the fg_window_x11.c file. Chances are you already have the freeglut library on your computer, so you could just modify it directly and recompile.

    – bgregs
    11 hours ago



















0














You can set property with xprop.



xprop -name "ma_window" -f WM_TRUC 8s -set WM_TRUC "The_Truc"

xprop -name "ma_window" WM_TRUC
WM_TRUC(STRING) = "The_Truc"





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%2f495053%2fhow-do-i-assign-wm-class-when-launching-an-application%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Confirmed as per my comment above. When looking at the source code of the project, you can see multiple folders under "Platform". In the X11 folder, you can find the source code as follows:



    if (classhint)
    {
    classhint->res_name = "mupdf";
    classhint->res_class = "MuPDF";
    XSetClassHint(xdpy, xwin, classhint);
    XFree(classhint);
    }


    This does not exist in the GL platform folder. If you want the property set for that platform, you will need to submit an enhancement request to the developers.






    share|improve this answer
























    • I've talked with one of the maintainer. He asked me to call XSetClassHint from a file. He also told me that I can just copy the call from another file, that very code block you mentioned here. If you can just look at this irc log. I couldn't get it to work, and left it there.

      – Enan Ajmain
      11 hours ago











    • If you've time, you could try to build the program in your own computer. I had errors in mine when doing make, after copying the whole block, and declaring required variables, in the file mentioned in the irc log.

      – Enan Ajmain
      11 hours ago













    • Yea, it appears freeglut doesn't support WM_CLASS (which in my mind should be updated, maybe I'll save that for a rainy day :) ). I'm not at my home computer to be able to recompile the freeglut library for you (Windows computers at work :( ), but all you need to do is add the XSetClassHint call after line 368 of the fg_window_x11.c file. Chances are you already have the freeglut library on your computer, so you could just modify it directly and recompile.

      – bgregs
      11 hours ago
















    3














    Confirmed as per my comment above. When looking at the source code of the project, you can see multiple folders under "Platform". In the X11 folder, you can find the source code as follows:



    if (classhint)
    {
    classhint->res_name = "mupdf";
    classhint->res_class = "MuPDF";
    XSetClassHint(xdpy, xwin, classhint);
    XFree(classhint);
    }


    This does not exist in the GL platform folder. If you want the property set for that platform, you will need to submit an enhancement request to the developers.






    share|improve this answer
























    • I've talked with one of the maintainer. He asked me to call XSetClassHint from a file. He also told me that I can just copy the call from another file, that very code block you mentioned here. If you can just look at this irc log. I couldn't get it to work, and left it there.

      – Enan Ajmain
      11 hours ago











    • If you've time, you could try to build the program in your own computer. I had errors in mine when doing make, after copying the whole block, and declaring required variables, in the file mentioned in the irc log.

      – Enan Ajmain
      11 hours ago













    • Yea, it appears freeglut doesn't support WM_CLASS (which in my mind should be updated, maybe I'll save that for a rainy day :) ). I'm not at my home computer to be able to recompile the freeglut library for you (Windows computers at work :( ), but all you need to do is add the XSetClassHint call after line 368 of the fg_window_x11.c file. Chances are you already have the freeglut library on your computer, so you could just modify it directly and recompile.

      – bgregs
      11 hours ago














    3












    3








    3







    Confirmed as per my comment above. When looking at the source code of the project, you can see multiple folders under "Platform". In the X11 folder, you can find the source code as follows:



    if (classhint)
    {
    classhint->res_name = "mupdf";
    classhint->res_class = "MuPDF";
    XSetClassHint(xdpy, xwin, classhint);
    XFree(classhint);
    }


    This does not exist in the GL platform folder. If you want the property set for that platform, you will need to submit an enhancement request to the developers.






    share|improve this answer













    Confirmed as per my comment above. When looking at the source code of the project, you can see multiple folders under "Platform". In the X11 folder, you can find the source code as follows:



    if (classhint)
    {
    classhint->res_name = "mupdf";
    classhint->res_class = "MuPDF";
    XSetClassHint(xdpy, xwin, classhint);
    XFree(classhint);
    }


    This does not exist in the GL platform folder. If you want the property set for that platform, you will need to submit an enhancement request to the developers.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 13 hours ago









    bgregsbgregs

    18310




    18310













    • I've talked with one of the maintainer. He asked me to call XSetClassHint from a file. He also told me that I can just copy the call from another file, that very code block you mentioned here. If you can just look at this irc log. I couldn't get it to work, and left it there.

      – Enan Ajmain
      11 hours ago











    • If you've time, you could try to build the program in your own computer. I had errors in mine when doing make, after copying the whole block, and declaring required variables, in the file mentioned in the irc log.

      – Enan Ajmain
      11 hours ago













    • Yea, it appears freeglut doesn't support WM_CLASS (which in my mind should be updated, maybe I'll save that for a rainy day :) ). I'm not at my home computer to be able to recompile the freeglut library for you (Windows computers at work :( ), but all you need to do is add the XSetClassHint call after line 368 of the fg_window_x11.c file. Chances are you already have the freeglut library on your computer, so you could just modify it directly and recompile.

      – bgregs
      11 hours ago



















    • I've talked with one of the maintainer. He asked me to call XSetClassHint from a file. He also told me that I can just copy the call from another file, that very code block you mentioned here. If you can just look at this irc log. I couldn't get it to work, and left it there.

      – Enan Ajmain
      11 hours ago











    • If you've time, you could try to build the program in your own computer. I had errors in mine when doing make, after copying the whole block, and declaring required variables, in the file mentioned in the irc log.

      – Enan Ajmain
      11 hours ago













    • Yea, it appears freeglut doesn't support WM_CLASS (which in my mind should be updated, maybe I'll save that for a rainy day :) ). I'm not at my home computer to be able to recompile the freeglut library for you (Windows computers at work :( ), but all you need to do is add the XSetClassHint call after line 368 of the fg_window_x11.c file. Chances are you already have the freeglut library on your computer, so you could just modify it directly and recompile.

      – bgregs
      11 hours ago

















    I've talked with one of the maintainer. He asked me to call XSetClassHint from a file. He also told me that I can just copy the call from another file, that very code block you mentioned here. If you can just look at this irc log. I couldn't get it to work, and left it there.

    – Enan Ajmain
    11 hours ago





    I've talked with one of the maintainer. He asked me to call XSetClassHint from a file. He also told me that I can just copy the call from another file, that very code block you mentioned here. If you can just look at this irc log. I couldn't get it to work, and left it there.

    – Enan Ajmain
    11 hours ago













    If you've time, you could try to build the program in your own computer. I had errors in mine when doing make, after copying the whole block, and declaring required variables, in the file mentioned in the irc log.

    – Enan Ajmain
    11 hours ago







    If you've time, you could try to build the program in your own computer. I had errors in mine when doing make, after copying the whole block, and declaring required variables, in the file mentioned in the irc log.

    – Enan Ajmain
    11 hours ago















    Yea, it appears freeglut doesn't support WM_CLASS (which in my mind should be updated, maybe I'll save that for a rainy day :) ). I'm not at my home computer to be able to recompile the freeglut library for you (Windows computers at work :( ), but all you need to do is add the XSetClassHint call after line 368 of the fg_window_x11.c file. Chances are you already have the freeglut library on your computer, so you could just modify it directly and recompile.

    – bgregs
    11 hours ago





    Yea, it appears freeglut doesn't support WM_CLASS (which in my mind should be updated, maybe I'll save that for a rainy day :) ). I'm not at my home computer to be able to recompile the freeglut library for you (Windows computers at work :( ), but all you need to do is add the XSetClassHint call after line 368 of the fg_window_x11.c file. Chances are you already have the freeglut library on your computer, so you could just modify it directly and recompile.

    – bgregs
    11 hours ago













    0














    You can set property with xprop.



    xprop -name "ma_window" -f WM_TRUC 8s -set WM_TRUC "The_Truc"

    xprop -name "ma_window" WM_TRUC
    WM_TRUC(STRING) = "The_Truc"





    share|improve this answer




























      0














      You can set property with xprop.



      xprop -name "ma_window" -f WM_TRUC 8s -set WM_TRUC "The_Truc"

      xprop -name "ma_window" WM_TRUC
      WM_TRUC(STRING) = "The_Truc"





      share|improve this answer


























        0












        0








        0







        You can set property with xprop.



        xprop -name "ma_window" -f WM_TRUC 8s -set WM_TRUC "The_Truc"

        xprop -name "ma_window" WM_TRUC
        WM_TRUC(STRING) = "The_Truc"





        share|improve this answer













        You can set property with xprop.



        xprop -name "ma_window" -f WM_TRUC 8s -set WM_TRUC "The_Truc"

        xprop -name "ma_window" WM_TRUC
        WM_TRUC(STRING) = "The_Truc"






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 10 hours ago









        ctac_ctac_

        1,3891210




        1,3891210






























            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%2f495053%2fhow-do-i-assign-wm-class-when-launching-an-application%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