Geany is a fairly young but quite powerful text editor reminisant of UltraEdit or TreePad for windows. I've been looking for something like this since I switched to Ubuntu last year (still using UE under wine and hate it!).
So without further delay here is my first howto for the Ubuntu Forums community:
Before we start!
Geany is in the Universe repo however it is a fairly old version (when a product is so young and there is active development on it getting the latest version is usually a good idea). If you don't care to have the latest greatest and can wait till the newer versions hit the repo then just do:
Code:
sudo apt-get install geany
And you will get (at the time of this writing) 0.10.
Otherwise use the instructions below to install either 0.11 or SVN (0.12).
1) Install some dependancies and items you will need to compile:
Code:
sudo apt-get install build-essential make autoconf automake1.9 subversion libtool libgtk-dev libglib2.0-dev
2) Go to your src dir
3) Download the latest source:
Code:
sudo wget http://umn.dl.sourceforge.net/sourceforge/geany/geany-0.11.tar.gz
sudo tar zxvf geany-0.11.tar.gz
OR get the source via svn which IMO is better:
Code:
sudo svn co https://svn.sourceforge.net/svnroot/geany/trunk geany
4) Go into the source dir and start the install
If you downloaded the tarball and unpacked it then
OR if you went the SVN route
then launch the config autogen script:
5) Build and install
Code:
sudo make
sudo make install
6) You should now be able to run 'geany' in any terminal and up pops your new favorite text editor!
SSHFS
The ONLY feature that geany is missing for it to be a perfect tool for me is the ability to open and save files to FTP or SFTP. As such I have found that SSHFS can help me while I wait for the developers of geany to add that functionality natively to the app:
1) Install the packages needed:
Code:
sudo apt-get install sshfs
2) Mount a remote FS. This is almost the same as a Samba mount or ext mount but the syntax is more like an ssh connection:
Code:
sshfs user@remote.com:/path /media/path
Then /media/path will contain the contents of the remote site. This only works with SFTP servers. I'm still trying to find a way to do this with basic FTP servers but luckily enough all my projects right now are done via SFTP.
Hope the above is useful to someone..
Bookmarks