Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9296685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T21:53:13+00:00 2026-06-18T21:53:13+00:00

How can I make sublime text 2 respond to txmt url scheme in ubuntu?

  • 0

How can I make sublime text 2 respond to txmt url scheme in ubuntu? This has been possible in OSX through subl-handler and in Windows through SublimeProtocol.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T21:53:14+00:00Added an answer on June 18, 2026 at 9:53 pm

    I asked me the same question today, seeing the txmt protocol with “better_errors” gem for Rails.

    I search a long time but found nothing, so I tried to make it by myself.

    I write an article and my blog, but I copy it here, for “future-proofness” :

    Step 1

    Create the file /usr/share/applications/sublime-handler.desktop

    [Desktop Entry]
    Name=Sublime Text 2 URL Handler
    GenericName=Text Editor
    Comment=Handle URL Scheme txmt://
    Exec=/home/<your_user>/bin/sublime-handler %u
    Terminal=false
    Type=Application
    MimeType=x-scheme-handler/txmt;
    Icon=sublime-text-2
    Categories=TextEditor;Development;Utility;
    Name[en_US]=Sublime Text 2 URL Handler
    

    Step 2: Update the MIME-types database

    $ sudo update-desktop-database
    

    Step 3: Create the ~/bin/sublime-handler file

    #!/usr/bin/env bash
    
    request=${1:23}               # Delete the first 23 characters
    request=${request//%2F//}     # Replace %2F with /
    request=${request/&line=/:}   # Replace &line= with :
    request=${request/&column=/:} # Replace &column= with :
    sublime-text-2 $request       # Launch ST2
    

    Then make it executable : $ chmod +x ~/bin/sublime-handler

    Step 4: Test a txmt:// file

    If that dosen’t work, say me, I’ll try to help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make CodeIgniter CRUD snippet for Sublime Text 2 and I can't
I can make the text fit inside the div? <div> Hello! This a long
So I'm trying to make it so that I can start Sublime Text 2
I can make batch or vbs file on windows and run. this can automate
I can make a rectangle with JavFX like this: Rectangle node2 = RectangleBuilder.create() .x(-100)
You can make some cool tricks using a 24 bit PNG, which has a
When i open files from o/s File Browser, how can i make Sublime to
I can make it work this way Dir.chdir(basedir) puts Dir.glob(#{filename}*).inspect Is there any way
I know that Sublime Text 2 can delete the trailing white space on files
I managed to configure Sublime Text 2 for C++ and I can now compile

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.