Application installed as snap package can't see printer












2















Recently I installed latest Inkscape version as snap package and it was all fine until I tried to print something.
Only "Print to file" was listed.
Any advice on how to get it to see my printer?










share|improve this question























  • Don't have either inkscape snap or printer so can't really answer. try removing the snap, sudo snap remove inkscape ; then reinstall with this option, sudo snap install --classic inkscape

    – doug
    Feb 23 '17 at 12:13











  • @doug Works like a charm. Write this as an answer so I can mark it answered

    – metalinspired
    Feb 24 '17 at 20:17
















2















Recently I installed latest Inkscape version as snap package and it was all fine until I tried to print something.
Only "Print to file" was listed.
Any advice on how to get it to see my printer?










share|improve this question























  • Don't have either inkscape snap or printer so can't really answer. try removing the snap, sudo snap remove inkscape ; then reinstall with this option, sudo snap install --classic inkscape

    – doug
    Feb 23 '17 at 12:13











  • @doug Works like a charm. Write this as an answer so I can mark it answered

    – metalinspired
    Feb 24 '17 at 20:17














2












2








2








Recently I installed latest Inkscape version as snap package and it was all fine until I tried to print something.
Only "Print to file" was listed.
Any advice on how to get it to see my printer?










share|improve this question














Recently I installed latest Inkscape version as snap package and it was all fine until I tried to print something.
Only "Print to file" was listed.
Any advice on how to get it to see my printer?







kubuntu snap






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 23 '17 at 12:08









metalinspiredmetalinspired

132




132













  • Don't have either inkscape snap or printer so can't really answer. try removing the snap, sudo snap remove inkscape ; then reinstall with this option, sudo snap install --classic inkscape

    – doug
    Feb 23 '17 at 12:13











  • @doug Works like a charm. Write this as an answer so I can mark it answered

    – metalinspired
    Feb 24 '17 at 20:17



















  • Don't have either inkscape snap or printer so can't really answer. try removing the snap, sudo snap remove inkscape ; then reinstall with this option, sudo snap install --classic inkscape

    – doug
    Feb 23 '17 at 12:13











  • @doug Works like a charm. Write this as an answer so I can mark it answered

    – metalinspired
    Feb 24 '17 at 20:17

















Don't have either inkscape snap or printer so can't really answer. try removing the snap, sudo snap remove inkscape ; then reinstall with this option, sudo snap install --classic inkscape

– doug
Feb 23 '17 at 12:13





Don't have either inkscape snap or printer so can't really answer. try removing the snap, sudo snap remove inkscape ; then reinstall with this option, sudo snap install --classic inkscape

– doug
Feb 23 '17 at 12:13













@doug Works like a charm. Write this as an answer so I can mark it answered

– metalinspired
Feb 24 '17 at 20:17





@doug Works like a charm. Write this as an answer so I can mark it answered

– metalinspired
Feb 24 '17 at 20:17










2 Answers
2






active

oldest

votes


















2














By default snaps are confined to the user's $HOME which can lead to some access issues. In this case it seems more a bug or current limitation of the inkscape snap that it can't access the printer.



So atm the snap can be installed with the --classic option to disable confinement.



If snap is already installed then remove



sudo snap remove inkscape



Then install with the option



sudo snap install --classic inkscape



This option will prove useful with other snaps, particularly media players.






share|improve this answer
























  • I ran snap install --classic vlc but still, VLC 3.0 as a snap cannot read files from a different partition. If there is no way to disable confinement, for some application such as VLC where media can reside outside of the application's partition, it is a show stopper. There are ways to go around with bind mounts, but sure is not user friendly.

    – Hans Deragon
    Mar 24 '18 at 10:28






  • 1





    @ Hans DeragonIn, 16.04 & 18.04 there is no longer any need to use --classic, vlc is allowed to browse external volumes. I don't think using --classic with vlc would have any effect either way..

    – doug
    Mar 24 '18 at 16:55











  • Doug, my partition is not an external volume. It is a 2nd partition of my primary hard disk. And snap does not allow access to them as of 2018-03-25. See bug report: Bug #1620771

    – Hans Deragon
    Mar 25 '18 at 18:59













  • Doesn't matter, as I said vlc works with all mounted volumes in 16.04 & 18.04, if you're using something else you should mention..

    – doug
    Mar 25 '18 at 19:41











  • Doug, I do not understand your comment. I presented you a bug report that states clearly that VLC cannot read files from my 2nd partition on my HDD. And I confirm that bug; on my 16.04 system, I cannot read files from my 2nd partition on my HDD with VLC installed as a snap. It is not a matter of opinion, but a fact.

    – Hans Deragon
    Mar 25 '18 at 21:27



















0














It's not a bug. Snaps run in containers with separate environments which prevent applications to access all the system (as the classic applications do) for security. By default printers are not accessible, but can be enabled with:



sudo snap connect inkscape:cups-control :cups-control



That will allow printers to show in inkscape. Change inskcape for the name of the application (for example, gimp) if needed.
It happened to me with WPS Office: this was my question.



You need to restart the application to take effect.



In my personal opinion, it would be nice if during installation you could specify such permissions or that the applications could decide which permissions requires and let the user know about them (like android applications).






share|improve this answer

























    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%2f886488%2fapplication-installed-as-snap-package-cant-see-printer%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









    2














    By default snaps are confined to the user's $HOME which can lead to some access issues. In this case it seems more a bug or current limitation of the inkscape snap that it can't access the printer.



    So atm the snap can be installed with the --classic option to disable confinement.



    If snap is already installed then remove



    sudo snap remove inkscape



    Then install with the option



    sudo snap install --classic inkscape



    This option will prove useful with other snaps, particularly media players.






    share|improve this answer
























    • I ran snap install --classic vlc but still, VLC 3.0 as a snap cannot read files from a different partition. If there is no way to disable confinement, for some application such as VLC where media can reside outside of the application's partition, it is a show stopper. There are ways to go around with bind mounts, but sure is not user friendly.

      – Hans Deragon
      Mar 24 '18 at 10:28






    • 1





      @ Hans DeragonIn, 16.04 & 18.04 there is no longer any need to use --classic, vlc is allowed to browse external volumes. I don't think using --classic with vlc would have any effect either way..

      – doug
      Mar 24 '18 at 16:55











    • Doug, my partition is not an external volume. It is a 2nd partition of my primary hard disk. And snap does not allow access to them as of 2018-03-25. See bug report: Bug #1620771

      – Hans Deragon
      Mar 25 '18 at 18:59













    • Doesn't matter, as I said vlc works with all mounted volumes in 16.04 & 18.04, if you're using something else you should mention..

      – doug
      Mar 25 '18 at 19:41











    • Doug, I do not understand your comment. I presented you a bug report that states clearly that VLC cannot read files from my 2nd partition on my HDD. And I confirm that bug; on my 16.04 system, I cannot read files from my 2nd partition on my HDD with VLC installed as a snap. It is not a matter of opinion, but a fact.

      – Hans Deragon
      Mar 25 '18 at 21:27
















    2














    By default snaps are confined to the user's $HOME which can lead to some access issues. In this case it seems more a bug or current limitation of the inkscape snap that it can't access the printer.



    So atm the snap can be installed with the --classic option to disable confinement.



    If snap is already installed then remove



    sudo snap remove inkscape



    Then install with the option



    sudo snap install --classic inkscape



    This option will prove useful with other snaps, particularly media players.






    share|improve this answer
























    • I ran snap install --classic vlc but still, VLC 3.0 as a snap cannot read files from a different partition. If there is no way to disable confinement, for some application such as VLC where media can reside outside of the application's partition, it is a show stopper. There are ways to go around with bind mounts, but sure is not user friendly.

      – Hans Deragon
      Mar 24 '18 at 10:28






    • 1





      @ Hans DeragonIn, 16.04 & 18.04 there is no longer any need to use --classic, vlc is allowed to browse external volumes. I don't think using --classic with vlc would have any effect either way..

      – doug
      Mar 24 '18 at 16:55











    • Doug, my partition is not an external volume. It is a 2nd partition of my primary hard disk. And snap does not allow access to them as of 2018-03-25. See bug report: Bug #1620771

      – Hans Deragon
      Mar 25 '18 at 18:59













    • Doesn't matter, as I said vlc works with all mounted volumes in 16.04 & 18.04, if you're using something else you should mention..

      – doug
      Mar 25 '18 at 19:41











    • Doug, I do not understand your comment. I presented you a bug report that states clearly that VLC cannot read files from my 2nd partition on my HDD. And I confirm that bug; on my 16.04 system, I cannot read files from my 2nd partition on my HDD with VLC installed as a snap. It is not a matter of opinion, but a fact.

      – Hans Deragon
      Mar 25 '18 at 21:27














    2












    2








    2







    By default snaps are confined to the user's $HOME which can lead to some access issues. In this case it seems more a bug or current limitation of the inkscape snap that it can't access the printer.



    So atm the snap can be installed with the --classic option to disable confinement.



    If snap is already installed then remove



    sudo snap remove inkscape



    Then install with the option



    sudo snap install --classic inkscape



    This option will prove useful with other snaps, particularly media players.






    share|improve this answer













    By default snaps are confined to the user's $HOME which can lead to some access issues. In this case it seems more a bug or current limitation of the inkscape snap that it can't access the printer.



    So atm the snap can be installed with the --classic option to disable confinement.



    If snap is already installed then remove



    sudo snap remove inkscape



    Then install with the option



    sudo snap install --classic inkscape



    This option will prove useful with other snaps, particularly media players.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Feb 24 '17 at 23:14









    dougdoug

    14.3k13553




    14.3k13553













    • I ran snap install --classic vlc but still, VLC 3.0 as a snap cannot read files from a different partition. If there is no way to disable confinement, for some application such as VLC where media can reside outside of the application's partition, it is a show stopper. There are ways to go around with bind mounts, but sure is not user friendly.

      – Hans Deragon
      Mar 24 '18 at 10:28






    • 1





      @ Hans DeragonIn, 16.04 & 18.04 there is no longer any need to use --classic, vlc is allowed to browse external volumes. I don't think using --classic with vlc would have any effect either way..

      – doug
      Mar 24 '18 at 16:55











    • Doug, my partition is not an external volume. It is a 2nd partition of my primary hard disk. And snap does not allow access to them as of 2018-03-25. See bug report: Bug #1620771

      – Hans Deragon
      Mar 25 '18 at 18:59













    • Doesn't matter, as I said vlc works with all mounted volumes in 16.04 & 18.04, if you're using something else you should mention..

      – doug
      Mar 25 '18 at 19:41











    • Doug, I do not understand your comment. I presented you a bug report that states clearly that VLC cannot read files from my 2nd partition on my HDD. And I confirm that bug; on my 16.04 system, I cannot read files from my 2nd partition on my HDD with VLC installed as a snap. It is not a matter of opinion, but a fact.

      – Hans Deragon
      Mar 25 '18 at 21:27



















    • I ran snap install --classic vlc but still, VLC 3.0 as a snap cannot read files from a different partition. If there is no way to disable confinement, for some application such as VLC where media can reside outside of the application's partition, it is a show stopper. There are ways to go around with bind mounts, but sure is not user friendly.

      – Hans Deragon
      Mar 24 '18 at 10:28






    • 1





      @ Hans DeragonIn, 16.04 & 18.04 there is no longer any need to use --classic, vlc is allowed to browse external volumes. I don't think using --classic with vlc would have any effect either way..

      – doug
      Mar 24 '18 at 16:55











    • Doug, my partition is not an external volume. It is a 2nd partition of my primary hard disk. And snap does not allow access to them as of 2018-03-25. See bug report: Bug #1620771

      – Hans Deragon
      Mar 25 '18 at 18:59













    • Doesn't matter, as I said vlc works with all mounted volumes in 16.04 & 18.04, if you're using something else you should mention..

      – doug
      Mar 25 '18 at 19:41











    • Doug, I do not understand your comment. I presented you a bug report that states clearly that VLC cannot read files from my 2nd partition on my HDD. And I confirm that bug; on my 16.04 system, I cannot read files from my 2nd partition on my HDD with VLC installed as a snap. It is not a matter of opinion, but a fact.

      – Hans Deragon
      Mar 25 '18 at 21:27

















    I ran snap install --classic vlc but still, VLC 3.0 as a snap cannot read files from a different partition. If there is no way to disable confinement, for some application such as VLC where media can reside outside of the application's partition, it is a show stopper. There are ways to go around with bind mounts, but sure is not user friendly.

    – Hans Deragon
    Mar 24 '18 at 10:28





    I ran snap install --classic vlc but still, VLC 3.0 as a snap cannot read files from a different partition. If there is no way to disable confinement, for some application such as VLC where media can reside outside of the application's partition, it is a show stopper. There are ways to go around with bind mounts, but sure is not user friendly.

    – Hans Deragon
    Mar 24 '18 at 10:28




    1




    1





    @ Hans DeragonIn, 16.04 & 18.04 there is no longer any need to use --classic, vlc is allowed to browse external volumes. I don't think using --classic with vlc would have any effect either way..

    – doug
    Mar 24 '18 at 16:55





    @ Hans DeragonIn, 16.04 & 18.04 there is no longer any need to use --classic, vlc is allowed to browse external volumes. I don't think using --classic with vlc would have any effect either way..

    – doug
    Mar 24 '18 at 16:55













    Doug, my partition is not an external volume. It is a 2nd partition of my primary hard disk. And snap does not allow access to them as of 2018-03-25. See bug report: Bug #1620771

    – Hans Deragon
    Mar 25 '18 at 18:59







    Doug, my partition is not an external volume. It is a 2nd partition of my primary hard disk. And snap does not allow access to them as of 2018-03-25. See bug report: Bug #1620771

    – Hans Deragon
    Mar 25 '18 at 18:59















    Doesn't matter, as I said vlc works with all mounted volumes in 16.04 & 18.04, if you're using something else you should mention..

    – doug
    Mar 25 '18 at 19:41





    Doesn't matter, as I said vlc works with all mounted volumes in 16.04 & 18.04, if you're using something else you should mention..

    – doug
    Mar 25 '18 at 19:41













    Doug, I do not understand your comment. I presented you a bug report that states clearly that VLC cannot read files from my 2nd partition on my HDD. And I confirm that bug; on my 16.04 system, I cannot read files from my 2nd partition on my HDD with VLC installed as a snap. It is not a matter of opinion, but a fact.

    – Hans Deragon
    Mar 25 '18 at 21:27





    Doug, I do not understand your comment. I presented you a bug report that states clearly that VLC cannot read files from my 2nd partition on my HDD. And I confirm that bug; on my 16.04 system, I cannot read files from my 2nd partition on my HDD with VLC installed as a snap. It is not a matter of opinion, but a fact.

    – Hans Deragon
    Mar 25 '18 at 21:27













    0














    It's not a bug. Snaps run in containers with separate environments which prevent applications to access all the system (as the classic applications do) for security. By default printers are not accessible, but can be enabled with:



    sudo snap connect inkscape:cups-control :cups-control



    That will allow printers to show in inkscape. Change inskcape for the name of the application (for example, gimp) if needed.
    It happened to me with WPS Office: this was my question.



    You need to restart the application to take effect.



    In my personal opinion, it would be nice if during installation you could specify such permissions or that the applications could decide which permissions requires and let the user know about them (like android applications).






    share|improve this answer






























      0














      It's not a bug. Snaps run in containers with separate environments which prevent applications to access all the system (as the classic applications do) for security. By default printers are not accessible, but can be enabled with:



      sudo snap connect inkscape:cups-control :cups-control



      That will allow printers to show in inkscape. Change inskcape for the name of the application (for example, gimp) if needed.
      It happened to me with WPS Office: this was my question.



      You need to restart the application to take effect.



      In my personal opinion, it would be nice if during installation you could specify such permissions or that the applications could decide which permissions requires and let the user know about them (like android applications).






      share|improve this answer




























        0












        0








        0







        It's not a bug. Snaps run in containers with separate environments which prevent applications to access all the system (as the classic applications do) for security. By default printers are not accessible, but can be enabled with:



        sudo snap connect inkscape:cups-control :cups-control



        That will allow printers to show in inkscape. Change inskcape for the name of the application (for example, gimp) if needed.
        It happened to me with WPS Office: this was my question.



        You need to restart the application to take effect.



        In my personal opinion, it would be nice if during installation you could specify such permissions or that the applications could decide which permissions requires and let the user know about them (like android applications).






        share|improve this answer















        It's not a bug. Snaps run in containers with separate environments which prevent applications to access all the system (as the classic applications do) for security. By default printers are not accessible, but can be enabled with:



        sudo snap connect inkscape:cups-control :cups-control



        That will allow printers to show in inkscape. Change inskcape for the name of the application (for example, gimp) if needed.
        It happened to me with WPS Office: this was my question.



        You need to restart the application to take effect.



        In my personal opinion, it would be nice if during installation you could specify such permissions or that the applications could decide which permissions requires and let the user know about them (like android applications).







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 hours ago

























        answered 2 hours ago









        lepelepe

        81621430




        81621430






























            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%2f886488%2fapplication-installed-as-snap-package-cant-see-printer%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