Converting a linux alias to a desktop launcher [duplicate]












1















This question already has an answer here:




  • Create a .desktop file that opens and execute a command in a terminal

    3 answers




I would like to know how to convert the following simple alias to a desktop launcher:



cat ~/info1.txt









share|improve this question















marked as duplicate by vanadium, karel, Eric Carvalho, pomsky, RoVo Dec 14 '18 at 13:53


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




















    1















    This question already has an answer here:




    • Create a .desktop file that opens and execute a command in a terminal

      3 answers




    I would like to know how to convert the following simple alias to a desktop launcher:



    cat ~/info1.txt









    share|improve this question















    marked as duplicate by vanadium, karel, Eric Carvalho, pomsky, RoVo Dec 14 '18 at 13:53


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















      1












      1








      1








      This question already has an answer here:




      • Create a .desktop file that opens and execute a command in a terminal

        3 answers




      I would like to know how to convert the following simple alias to a desktop launcher:



      cat ~/info1.txt









      share|improve this question
















      This question already has an answer here:




      • Create a .desktop file that opens and execute a command in a terminal

        3 answers




      I would like to know how to convert the following simple alias to a desktop launcher:



      cat ~/info1.txt




      This question already has an answer here:




      • Create a .desktop file that opens and execute a command in a terminal

        3 answers








      .desktop alias cat






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 13 '18 at 20:07









      pomsky

      28.5k1188112




      28.5k1188112










      asked Dec 13 '18 at 19:27









      user93809

      63




      63




      marked as duplicate by vanadium, karel, Eric Carvalho, pomsky, RoVo Dec 14 '18 at 13:53


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by vanadium, karel, Eric Carvalho, pomsky, RoVo Dec 14 '18 at 13:53


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          1 Answer
          1






          active

          oldest

          votes


















          1














          Create a .desktop file, say read-info1.desktop and add the following lines:



          [Desktop Entry]
          Name=Read info1
          Comment=Read the info1.txt file in Terminal
          Exec=gnome-terminal -x sh -c 'cat /home/YOUR-USERNAME/info1.txt; exec bash'
          Terminal=false
          Type=Application
          Icon=text-x-generic


          Of course put your actual username in place of YOUR-USERNAME in the Exec= line.






          share|improve this answer




























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Create a .desktop file, say read-info1.desktop and add the following lines:



            [Desktop Entry]
            Name=Read info1
            Comment=Read the info1.txt file in Terminal
            Exec=gnome-terminal -x sh -c 'cat /home/YOUR-USERNAME/info1.txt; exec bash'
            Terminal=false
            Type=Application
            Icon=text-x-generic


            Of course put your actual username in place of YOUR-USERNAME in the Exec= line.






            share|improve this answer


























              1














              Create a .desktop file, say read-info1.desktop and add the following lines:



              [Desktop Entry]
              Name=Read info1
              Comment=Read the info1.txt file in Terminal
              Exec=gnome-terminal -x sh -c 'cat /home/YOUR-USERNAME/info1.txt; exec bash'
              Terminal=false
              Type=Application
              Icon=text-x-generic


              Of course put your actual username in place of YOUR-USERNAME in the Exec= line.






              share|improve this answer
























                1












                1








                1






                Create a .desktop file, say read-info1.desktop and add the following lines:



                [Desktop Entry]
                Name=Read info1
                Comment=Read the info1.txt file in Terminal
                Exec=gnome-terminal -x sh -c 'cat /home/YOUR-USERNAME/info1.txt; exec bash'
                Terminal=false
                Type=Application
                Icon=text-x-generic


                Of course put your actual username in place of YOUR-USERNAME in the Exec= line.






                share|improve this answer












                Create a .desktop file, say read-info1.desktop and add the following lines:



                [Desktop Entry]
                Name=Read info1
                Comment=Read the info1.txt file in Terminal
                Exec=gnome-terminal -x sh -c 'cat /home/YOUR-USERNAME/info1.txt; exec bash'
                Terminal=false
                Type=Application
                Icon=text-x-generic


                Of course put your actual username in place of YOUR-USERNAME in the Exec= line.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 13 '18 at 20:01









                pomsky

                28.5k1188112




                28.5k1188112















                    Popular posts from this blog

                    Quarter-circle Tiles

                    build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                    Mont Emei