• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 442 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 9 Feb 2020, 02:56

      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?

      L 1 Reply Last reply 9 Feb 2020, 11:20 Reply Quote 0
      • P Offline
        poVoq
        last edited by poVoq 2 Sept 2020, 11:12 9 Feb 2020, 11:11

        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
        • L Offline
          Lakotaubp @Eric
          last edited by 9 Feb 2020, 11:20

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

          E 1 Reply Last reply 10 Feb 2020, 03:09 Reply Quote 0
          • G Offline
            Giiba
            last edited by 9 Feb 2020, 15:51

            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
            • D Offline
              dobey
              last edited by 9 Feb 2020, 15:57

              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 10 Feb 2020, 03:09

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

                1 Reply Last reply Reply Quote 0
                1 out of 6
                • First post
                  1/6
                  Last post