UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How can I place an icon on the desktop, or on the menu bar?

    Scheduled Pinned Locked Moved General
    6 Posts 5 Posters 438 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • E Offline
        Eric
        last edited by

        This isnt an application development question, I have some simple programs that run either in bash, or as compiled c++ programs. I'm interested in where the icons, or links to programs are stored.

        I tried making a link with $ln -s /home/phablet/hello /home/phablet/Desktop/hello
        the link was made, but when i click on it in the file manager, it asks if i want to open it with some other program. when I select open with" it doesnt show me any other programs, just a link to the app store.

        I can execute the link via the terminal, but thats not really what I want to do. I would like to click a button on the application list, or in the side bar, and get the program output. how do I do that?

        Where are application links stored?

        LakotaubpL 1 Reply Last reply Reply Quote 0
        • poVoqP Offline
          poVoq
          last edited by poVoq

          On the "desktop" is currently not possible.

          To place it permanently in the side bar, launch the app, then longpress the temporary icon and select the option.

          Fairphone 5 (waiting for port)

          1 Reply Last reply Reply Quote 0
          • LakotaubpL Offline
            Lakotaubp @Eric
            last edited by

            @Eric Just to clarify are you referring to your PinePhone. It may make no difference but you never know.

            E 1 Reply Last reply Reply Quote 0
            • G Offline
              Giiba
              last edited by

              The user installed apps have .desktop files kept in ~/.local/sharr/applications/

              Try creating a desktop file there, and it should appear in the drawer. I am not sure how to launch a cl tool that way though...

              1 Reply Last reply Reply Quote 0
              • dobeyD Offline
                dobey
                last edited by

                There is currently no support for launching an app in a terminal. If the things you want to create icons for are CLI tools, you will first need to open the terminal app, and then run your tools from there.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Eric @Lakotaubp
                  last edited by

                  @Lakotaubp yes, PinePhone
                  is what I have ubuntu touch installed on

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post