Solved

How to set up a custom editor in SmartGit (on Linux Mint)?

Posted on 2014-09-03
6
397 Views
Last Modified: 2014-10-05
In this case, I'd like to set up SublimeText as my editor for SmartGit, but I can't see a setting for it. Is it possible, and if so, how can I do it?
0
Comment
Question by:Terry Woods
  • 3
  • 2
6 Comments
 
LVL 27

Assisted Solution

by:serialband
serialband earned 100 total points
ID: 40306334
You need to set up a file association for it in the GUI.  There's a discussion about it on the Mint forums

http://forums.linuxmint.com/viewtopic.php?f=190&t=130673
http://www.libre-software.net/change-the-default-application-linux-mint-ubuntu
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 40308087
Do the usual suspects in the environment not work for you? (EDITOR and VISUAL)
0
 
LVL 35

Author Comment

by:Terry Woods
ID: 40310873
Duncan, are those environment variables? I'm not a particularly experienced user of Mint, so I'm not sure what you mean.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 34

Accepted Solution

by:
Duncan Roe earned 400 total points
ID: 40310882
Yes they are. E.g. export EDITOR=SublimeText; export VISUAL=SublimeText
You can put these in your .bashrc, .bash_profile, .profile or wherever. They have to be in the environment of whatever process starts SmartGit.
0
 
LVL 35

Author Comment

by:Terry Woods
ID: 40322141
Thanks Duncan and serialband; when I get a few moments, I'll try those suggestions out and see if it works. I'll try to come back to this within a week.
0
 
LVL 35

Author Closing Comment

by:Terry Woods
ID: 40362672
Duncan, your solution seemed to do the trick... thanks very much!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now