how can I access ///org/gnome/shell/theme/ in Ubuntu 18.04?












2















Is there a way to access ///org/gnome/shell/theme/ in Ubuntu 18.04?

I got this path in a .css file from /usr/share/gnome-shell/theme/ubuntu.css,



for example:
resource:///org/gnome/shell/theme/checkbox-off.svg
resource:///org/gnome/shell/theme/toggle-on-us.svg.










share|improve this question




















  • 3





    Are you sure that you are not looking for dconf-editor?

    – AlexP
    Jun 4 '18 at 8:47
















2















Is there a way to access ///org/gnome/shell/theme/ in Ubuntu 18.04?

I got this path in a .css file from /usr/share/gnome-shell/theme/ubuntu.css,



for example:
resource:///org/gnome/shell/theme/checkbox-off.svg
resource:///org/gnome/shell/theme/toggle-on-us.svg.










share|improve this question




















  • 3





    Are you sure that you are not looking for dconf-editor?

    – AlexP
    Jun 4 '18 at 8:47














2












2








2








Is there a way to access ///org/gnome/shell/theme/ in Ubuntu 18.04?

I got this path in a .css file from /usr/share/gnome-shell/theme/ubuntu.css,



for example:
resource:///org/gnome/shell/theme/checkbox-off.svg
resource:///org/gnome/shell/theme/toggle-on-us.svg.










share|improve this question
















Is there a way to access ///org/gnome/shell/theme/ in Ubuntu 18.04?

I got this path in a .css file from /usr/share/gnome-shell/theme/ubuntu.css,



for example:
resource:///org/gnome/shell/theme/checkbox-off.svg
resource:///org/gnome/shell/theme/toggle-on-us.svg.







gnome directory






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 min ago







PRATAP

















asked Jun 4 '18 at 8:45









PRATAPPRATAP

2,5372526




2,5372526








  • 3





    Are you sure that you are not looking for dconf-editor?

    – AlexP
    Jun 4 '18 at 8:47














  • 3





    Are you sure that you are not looking for dconf-editor?

    – AlexP
    Jun 4 '18 at 8:47








3




3





Are you sure that you are not looking for dconf-editor?

– AlexP
Jun 4 '18 at 8:47





Are you sure that you are not looking for dconf-editor?

– AlexP
Jun 4 '18 at 8:47










2 Answers
2






active

oldest

votes


















1














/org/gnome/shell/theme/ is not an actual directory that you can access (you cannot access that with dconf Editor either). This is due to the GResource mechanism, shell can get the resource from the resource:// URI. Generally they're not human-readable as they are pre-compiled into a binary format.



You can however extract the the resource using the gresource command. You should be able to find a .gresource file somewhere in /usr/share/gnome-shell/ directory for shell theme. First check whether it contains the resource you're looking for by running



gresource list /path/to/filename.gresource | grep <resource-name>


for example,



gresource list /path/to/filename.gresource | grep checkbox-off.svg


Once confirmed, run the following command to extract the resource



gresource extract /path/to/filename.gresource /path/to/resource


for example,



gresource extract /path/to/filename.gresource /org/gnome/shell/theme/checkbox-off.svg


It should show you the content of the .svg file.



You can use this resource without extracting in the .css file for your custom theme as follows



url("resource:///path/to/resource");


for example,



url("resource:///org/gnome/shell/theme/checkbox-off.svg");





share|improve this answer

































    2














    The best way is to install dconf-editor with



    sudo apt-get install dconf-editor


    and then invoke it with



    dconf-editor





    share|improve this answer



















    • 2





      Actually it's slightly different, you won't find /org/gnome/shell/theme/ in dconf Editor.

      – pomsky
      Jun 5 '18 at 5:24











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2faskubuntu.com%2fquestions%2f1043426%2fhow-can-i-access-org-gnome-shell-theme-in-ubuntu-18-04%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









    1














    /org/gnome/shell/theme/ is not an actual directory that you can access (you cannot access that with dconf Editor either). This is due to the GResource mechanism, shell can get the resource from the resource:// URI. Generally they're not human-readable as they are pre-compiled into a binary format.



    You can however extract the the resource using the gresource command. You should be able to find a .gresource file somewhere in /usr/share/gnome-shell/ directory for shell theme. First check whether it contains the resource you're looking for by running



    gresource list /path/to/filename.gresource | grep <resource-name>


    for example,



    gresource list /path/to/filename.gresource | grep checkbox-off.svg


    Once confirmed, run the following command to extract the resource



    gresource extract /path/to/filename.gresource /path/to/resource


    for example,



    gresource extract /path/to/filename.gresource /org/gnome/shell/theme/checkbox-off.svg


    It should show you the content of the .svg file.



    You can use this resource without extracting in the .css file for your custom theme as follows



    url("resource:///path/to/resource");


    for example,



    url("resource:///org/gnome/shell/theme/checkbox-off.svg");





    share|improve this answer






























      1














      /org/gnome/shell/theme/ is not an actual directory that you can access (you cannot access that with dconf Editor either). This is due to the GResource mechanism, shell can get the resource from the resource:// URI. Generally they're not human-readable as they are pre-compiled into a binary format.



      You can however extract the the resource using the gresource command. You should be able to find a .gresource file somewhere in /usr/share/gnome-shell/ directory for shell theme. First check whether it contains the resource you're looking for by running



      gresource list /path/to/filename.gresource | grep <resource-name>


      for example,



      gresource list /path/to/filename.gresource | grep checkbox-off.svg


      Once confirmed, run the following command to extract the resource



      gresource extract /path/to/filename.gresource /path/to/resource


      for example,



      gresource extract /path/to/filename.gresource /org/gnome/shell/theme/checkbox-off.svg


      It should show you the content of the .svg file.



      You can use this resource without extracting in the .css file for your custom theme as follows



      url("resource:///path/to/resource");


      for example,



      url("resource:///org/gnome/shell/theme/checkbox-off.svg");





      share|improve this answer




























        1












        1








        1







        /org/gnome/shell/theme/ is not an actual directory that you can access (you cannot access that with dconf Editor either). This is due to the GResource mechanism, shell can get the resource from the resource:// URI. Generally they're not human-readable as they are pre-compiled into a binary format.



        You can however extract the the resource using the gresource command. You should be able to find a .gresource file somewhere in /usr/share/gnome-shell/ directory for shell theme. First check whether it contains the resource you're looking for by running



        gresource list /path/to/filename.gresource | grep <resource-name>


        for example,



        gresource list /path/to/filename.gresource | grep checkbox-off.svg


        Once confirmed, run the following command to extract the resource



        gresource extract /path/to/filename.gresource /path/to/resource


        for example,



        gresource extract /path/to/filename.gresource /org/gnome/shell/theme/checkbox-off.svg


        It should show you the content of the .svg file.



        You can use this resource without extracting in the .css file for your custom theme as follows



        url("resource:///path/to/resource");


        for example,



        url("resource:///org/gnome/shell/theme/checkbox-off.svg");





        share|improve this answer















        /org/gnome/shell/theme/ is not an actual directory that you can access (you cannot access that with dconf Editor either). This is due to the GResource mechanism, shell can get the resource from the resource:// URI. Generally they're not human-readable as they are pre-compiled into a binary format.



        You can however extract the the resource using the gresource command. You should be able to find a .gresource file somewhere in /usr/share/gnome-shell/ directory for shell theme. First check whether it contains the resource you're looking for by running



        gresource list /path/to/filename.gresource | grep <resource-name>


        for example,



        gresource list /path/to/filename.gresource | grep checkbox-off.svg


        Once confirmed, run the following command to extract the resource



        gresource extract /path/to/filename.gresource /path/to/resource


        for example,



        gresource extract /path/to/filename.gresource /org/gnome/shell/theme/checkbox-off.svg


        It should show you the content of the .svg file.



        You can use this resource without extracting in the .css file for your custom theme as follows



        url("resource:///path/to/resource");


        for example,



        url("resource:///org/gnome/shell/theme/checkbox-off.svg");






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 3 mins ago

























        answered 16 mins ago









        pomskypomsky

        29.6k1190116




        29.6k1190116

























            2














            The best way is to install dconf-editor with



            sudo apt-get install dconf-editor


            and then invoke it with



            dconf-editor





            share|improve this answer



















            • 2





              Actually it's slightly different, you won't find /org/gnome/shell/theme/ in dconf Editor.

              – pomsky
              Jun 5 '18 at 5:24
















            2














            The best way is to install dconf-editor with



            sudo apt-get install dconf-editor


            and then invoke it with



            dconf-editor





            share|improve this answer



















            • 2





              Actually it's slightly different, you won't find /org/gnome/shell/theme/ in dconf Editor.

              – pomsky
              Jun 5 '18 at 5:24














            2












            2








            2







            The best way is to install dconf-editor with



            sudo apt-get install dconf-editor


            and then invoke it with



            dconf-editor





            share|improve this answer













            The best way is to install dconf-editor with



            sudo apt-get install dconf-editor


            and then invoke it with



            dconf-editor






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jun 4 '18 at 8:51









            abu_buaabu_bua

            3,28481126




            3,28481126








            • 2





              Actually it's slightly different, you won't find /org/gnome/shell/theme/ in dconf Editor.

              – pomsky
              Jun 5 '18 at 5:24














            • 2





              Actually it's slightly different, you won't find /org/gnome/shell/theme/ in dconf Editor.

              – pomsky
              Jun 5 '18 at 5:24








            2




            2





            Actually it's slightly different, you won't find /org/gnome/shell/theme/ in dconf Editor.

            – pomsky
            Jun 5 '18 at 5:24





            Actually it's slightly different, you won't find /org/gnome/shell/theme/ in dconf Editor.

            – pomsky
            Jun 5 '18 at 5:24


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f1043426%2fhow-can-i-access-org-gnome-shell-theme-in-ubuntu-18-04%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

            GameSpot

            connect to host localhost port 22: Connection refused

            Getting a Wifi WPA2 wifi connection