Minimum required GTK 2.x
|Submitted: Sep 22 2011|
Updated: Jan 29 2012
X2 is an simple text/programming editor developed in house by Rock Computing from a dissatisfaction with existing text editors.
*) Very light memory usage
*) Syntax highlighting
*) Embedded terminal
*) Find/replace/jump to line
*) Customizable file templates.
It is based on gtksouceview and vte so do make sure you have those installed.
You can checkout the git development release here: https://gitorious.org/x2
All Debs have been removed since X2 can now be downloaded from the official debian package archives: http://packages.debian.org/sid/x2
Its licensed under the BSD 3 clause licence, all patches and donations welcome!
If you discover a bug please do let me know either here, or on our bug tracker: http://rockcomputing.dyndns-web.com//flyspray/index.php?project=2&do=index
29/01/12 - 2
Actually uploaded a compilable bundle this time.
1) Enable real time preferences
2) Re-enabled the save as keybinding that had been strangely disabled
3) Fix file templates to be fully integrated
4) Split sources into easier to manage files
220.127.116.11: I have fixed all outstanding bugs I can find at the moment.
18.104.22.168: Another minor version bump to fix the quitting when there are unsaved files thing.
Sorry it took so long, had a few other things on.
22.214.171.124 Minor bugfix release.
Version 126.96.36.199 released and offers more improvements to the file templating again.
Templates can now be created from existing files, ctrl+shift+w to save a file as a template, note this only works if the open file has a file extension.
Some keybindings have been changed, save as has now been remapped to ctrl+shift+s (similar to other gtk apps) and preferences have been remapped to ctrl+, (similar to OSX).
Please do be aware of these changes as I realised that printer support may be required in the future and the ctrl+p keybinding may be needed. But since I do not own a printer I will need some help with this.
Version 188.8.131.52 hopefully fixes the runtime segmentation fault on Fedora systems.
Version 184.108.40.206 released changing the previous behaviour of the graphical templates to be more consistent with the open function.
Version 220.127.116.11 released hopefully fixing two long standing bugs.
Version 1.0.8 released, this builds upon the templating idea and expands it to have a graphical component. CTRL+SHIFT+N to activate (assuming you have installed templates).
Version 1.0.7 released. This includes an expansion to our previous release where if a file that is specified as an argument does not exist then it is created for the user.
Now, if the user also specifies a file type (c, py, etc) so long as the user has a matching template file in ~/.config/X2/templates the template will be loaded reducing the amount of work the user has to do to get started.
These files are totally customisable and can be added or removed to as the user wishes.
To get started create the file ~/.config/X2/templates/template.c with the contents:
int main( int argc, char *argv )
printf( "Hello world!\n" );
return( 0 );
Then just run X2 from the command line with .c and the template will load the contents into your new file.
To remove this just remove the template.c file.
Fedora 32 rpm uploaded.
Five bugs were closed for this release, some of which were code re-factoring elements which really reduced the amount of code inside X2.
The following bugs have been closed:
#3 Create icon for X2
#8 Files can't be passed in via open with dialog
#14 Write a man page
#15 X2 doesn't see relative paths.
#16 Create files passed onto the command line if they don't already exist.
If you use Arch Linux or a source based distro you can download and run now, otherwise please do wait for the packages to be built. 32 bit rpms and debs will be on their way soon.
Oh and one more thing... This one is for you Steve. Respect and peace out.
Andrea Veri has very kindly packaged X2 for Debian: http://packages.debian.org/sid/x2
Added 64 bit fedora package
Added 64 bit deb package
Added tool tips
Added Ubuntu package!
Added Fedora package!
Fixed the desktop file in the main build scripts so that any packager should not have to write it their selves.
Added load from command line.
Created the .desktop file and taken advantage of the gtk stock text editor icon.
Completed the build system.