Solved

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

Posted on 2014-09-03
6
438 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 29

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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

856 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