2009年9月17日星期四

Install/Setup SmartSVN in Ubuntu

How To: Install/Setup SmartSVN in Ubuntu
----------------------------------------

This is a simple guide to install and setup SmartSVN in Ubuntu 7.04 (Feisty Fawn). You’ll need to have Java-6-Sun already installed first since it won’t run on GCJ. I don’t know if it’ll work on gcj or not.

Download SmartSVN
-----------------
1. Please download the ‘Generic’ archive from the SmartSVN download page (currently the latest version is 3.0.1).
2. Extract the archive (right click on it, click on Extract Here)
3. [optionally] Move SmartSVN to your ‘Apps’ folder. I usually copy download-and-extract kind of apps to ~/Apps. You can place the application anywhere you like, perhaps in your home directory.

Add to Applications Menu
------------------------
1. Right click on the Applications menu
2. Click on Edit Menus
3. Select the Programming Category (the category is up to you but Programming seems right to me)
4. Click on the New Item button. The ‘Create Launcher’ window sholuld appear:
1. Select type: “Application”
2. Enter Name: “SmartSVN”
3. Select Command: “[YourSmartSVNFolder]/bin/smartsvn.sh”
4. Click on the icon button. It should load the browse icons window
5. Click on browse and point it to “[YourSmartSVNFolder]/bin/”
6. The list will now display several SmartSVN icon previews.
7. Select smartsvn-32×32.png and click on OK to close the browse icon window
8. Click on OK
5. Click on Close.

Note: Replace [YourSmartSVNFolder] with where your SmartSVN folder is.

Now SmartSVN should be easily accessible via Applications > Programming > SmartSVN. Actually this section of the guide is pretty generic and should work on other download-and-extract kind of applications.

Setting Up SmartSVN
-------------------
First of all start SmartSVN via the Applications menu.

1. Edit > Preferences > External Tools
2. Enter File Pattern: “*”
3. Enter Command: “gnome-open”
4. Enter Arguments: “${filePath}”
5. Click on Insert
6. Click on Directory Command in the left pane (right under External Tools)
7. Check on “Enable Open Directory Command”
8. Enter Command: “gnome-open”
9. Enter Arguments: “${directoryPath}”

This will allow SmartSVN to open files/folder using the right applications. Double clicking on folders will open a Nautilus window and text/code files will load up gedit (or whatever it is associated with on your PC)

Please tell me if anything is confusing, missing or just plain wrong.
Have Fun!

4 条评论:

  1. I tried to set up my own Linux windows media center a few months ago for my living room, guess I just find Ubuntu too confusing in general. Keep up the great work though!



    IT support

    回复删除
  2. Interesting, at work we use a lot of ubuntu based operating systems for our servers. It seems to be incredibly reliable in terms of customization. The best part though is that it's community developed and free! Keep up the great work though, i'm just passing time at my IT support job.

    回复删除
  3. "This will allow SmartSVN to open files/folder using the right applications" Still works with SmartSVN 7.5.3 on Ubuntu 12.10. Thanks!

    回复删除