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

    Launch Sublime Text from UT menu/dock

    Scheduled Pinned Locked Moved Libertine
    3 Posts 2 Posters 1.7k 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.
    • H Online
      hlbkv
      last edited by

      I've installed Sublime Text with Libertine, and while it works well enough when launched from the terminal i.e. libertine-container-manager exec -c subl, the desktop/menu launcher in Lomiri is broken.

      By default, sublime_text.desktop launches the executable directly:

      ...
      Exec=/opt/sublime_text/sublime_text %F
      ...
      

      instead of the launcher bash script /usr/bin/subl, but both work when launched from the terminal (both with libertine-container-manager exec ... and from a libertine shell) without any major issue. I've tried editing sublime_text.desktop to call subl, but to no avail.

      Any insight as to what could be causing this and how to workaround it?

      arubislanderA 1 Reply Last reply Reply Quote 0
      • arubislanderA Offline
        arubislander @hlbkv
        last edited by

        @hlbkv

        There is an app in the Open Store, LogViewer, which allows easy access to the application logs. Checking the Sublime Text logs with this app might surface the reason for the failure to launch.

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        JingPad (24.04-1.x daily)
        OnePlus Nord N10 5G (24.04-2.x daily)
        PinePhone OG (20.04)
        Meizu Pro 5 (16.04 DEV)

        H 1 Reply Last reply Reply Quote 0
        • H Online
          hlbkv @arubislander
          last edited by

          @arubislander I've looked at the logs per your suggestion, but strangely enough the app does not list any log pertaining to Sublime Text (which I would expect to find under focal_sublime_*), and I don't find any reference to it in any of the lomiri-* logs.

          As an update to the initial question, lomiri-app-launch focal_sublime_0.0 reports Started: focal_sublime_0.0 with no error, but like with the desktop shortcut, nothing is launched.

          Also, occasionally just clicking the app shortcut will fully kill/power off the OS.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better πŸ’—

          Register Login
          • First post
            Last post