Description:

X2 is an simple text/programming editor developed in house by Rock Computing from a dissatisfaction with existing text editors.

Features:
*) Small
*) 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
Last changelog:

5 years ago

29/01/12 - 2

Actually uploaded a compilable bundle this time.

29/01/12
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

06/12/11
1.0.9.0: I have fixed all outstanding bugs I can find at the moment.


22/11/11
1.0.8.6: 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.

21/10/11
1.0.8.5 Minor bugfix release.

20/10/11
Version 1.0.8.4 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.

18/10/11
Version 1.0.8.3 hopefully fixes the runtime segmentation fault on Fedora systems.

18/10/11
Version 1.0.8.2 released changing the previous behaviour of the graphical templates to be more consistent with the open function.

18/10/11
Version 1.0.8.1 released hopefully fixing two long standing bugs.

18/10/11
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).

10/10/11
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:

#include

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.

09/10/11
Fedora 32 rpm uploaded.

08/10/11
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.


06/10/11
Andrea Veri has very kindly packaged X2 for Debian: http://packages.debian.org/sid/x2

04/10/11
Added 64 bit fedora package
Added 64 bit deb package

03/10/11
Added tool tips

02/10/11
Added Ubuntu package!
Added Fedora package!

01/10/11
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.

30/9/11
Created the .desktop file and taken advantage of the gtk stock text editor icon.

29/9/11
Completed the build system.

njal

5 years ago

Ok I will fix that and release 1.0.8.1 before I go to bed, I am working on another bug that slipped in there that I missed until I was working on a screen cast to show the templates.

Does the config file have to exist or just the directory?

Report

gracca

5 years ago

Only the directory :)

Report

njal

5 years ago

Ok try now with 1.0.8.1 and let me know if it works.
If it does I will take my fedora rpms offline in favour of yours.

Report

gracca

5 years ago

In my Fedora 15, the first time it runs it segfaults, but it creates ~/.config/X2, so the second time it runs, it does successfully. So still no luck :(

Report

njal

5 years ago

Try again with 1.0.8.3 I believe I fixed it, I hope. The link should point to the latest release now. At least it works on my Fedora 64 test VM.

Report

gracca

5 years ago

Now it runs successfully in Fedora 15! Thanks!

Is the png file in /usr/share/x2 intended to be the icon for the application? If yes, then I think it should be installed in /usr/share/pixmaps, and correct the name in the desktop file.

Report

averi

5 years ago

Exactly, tooltips :)

Also I would love having the possibility to change editor's background since it currently sticks to the color used on the main theme of the system. (which is black in my case, while I would love it being white)

Anyway, do you hang on IRC by any chance?

Report

njal

5 years ago

Consider tooltips the next feature to be implemented then ;)

The colour of the terminal bothers me too, I would like to fix this as having a true alpha transparency would be awesome!

I aint been online today no, but I will be soon, what room you gonna be on #debian?

Report

averi

5 years ago

I hang on #debian-devel and many other channels. (my nickname is "and`", make sure to add "`" at the end of the nick, otherwise you'll end up chatting with someone else. Hear you tomorrow evening / night then.

Report

njal

5 years ago

Tooltips have now been implemented in the current git release, packages will be build throughout the day to bring them all up to date.

The terminal work will be another 1.0.X release.

Report

njal

5 years ago

Tooltips have now been implemented in the current git release, packages will be build throughout the day to bring them all up to date.

The terminal work will be another 1.0.X release.

Report

njal

5 years ago

Consider tooltips the next feature to be implemented then ;)

The colour of the terminal bothers me too, I would like to fix this as having a true alpha transparency would be awesome!

I aint been online today no, but I will be soon, what room you gonna be on #debian?

Report

njal

5 years ago

Consider tooltips the next feature to be implemented then ;)

The colour of the terminal bothers me too, I would like to fix this as having a true alpha transparency would be awesome!

I aint been online today no, but I will be soon, what room you gonna be on #debian?

Report

njal

5 years ago

Consider tooltips the next feature to be implemented then ;)

The colour of the terminal bothers me too, I would like to fix this as having a true alpha transparency would be awesome!

I aint been online today no, but I will be soon, what room you gonna be on #debian?

Report

njal

5 years ago

Anyone know why my posts are created multiple times and how I can at least delete the duplicates to tidy up the comments a bit?

Report

averi

5 years ago

I mailed support@rockcomputing.co.uk a few minutes ago but I guess posting a comment here is more appropriate.

I'm a Debian Developer willing to upload X2 on both Debian and Ubuntu. But I have a question, will you guys work on porting X2 to GTK3 at some point?

If you want to chat with me on IRC, you can find me on Freenode, nickname and`.

Report

njal

5 years ago

I have replied to your email, I would be very honoured to have you package for Debian and I always planned to port to gtk3, just I am more familiar with gtk2 at the moment.

Report

averi

5 years ago

Strange, I guess your answer went into my Spam folder, thus it got deleted automatically. I plan to upload an X2 package into Debian later this evening / night. It'll then enter the NEW queue and then it will join the official archive. (later on it will be automatically synced into Ubuntu's official archive)

As said earlier feel free to e-mail me or get me on IRC, setting up a good collaboration between upstream and packagers is usually a very big plus.

Report

njal

5 years ago

It might be that my mail simply aint arrived yet, I don't have the fasted email provider in the world, my messages do occasionally get delayed.

Thats fantastic! Very kind of you, I take it then that you have downloaded and found it to be a reasonably useful app then?

Sure, if you don't get my email in the next couple of hours let me know and I will try again.

Thank you so very much!

Report

averi

5 years ago

No mails reached my INBOX yet :) I am now working on packaging X2. I'll mail you when it'll reach the NEW queue. Enjoy.

Report

averi

5 years ago

x2 uploaded. It looks to me like a promising editor. There's some work to do to improve it but this is the very first release and I'm sure you'll improve it time by time making it nicer and with more options.

As a note, I had to remove a check from src/Makefile.in, since the package was failing to build on a chroot. You can find the patch at [1]. Also the Encoding option is no more needed on the desktop file, a man page is missing, so you should consider adding it on the next release.

[1] http://people.debian.org/~and/removes_checks.diff

Report

njal

5 years ago

I have applied your patch, I had some issue with this an Arch Linux in their pkgbuild and I thought I had fixed it, but I guess I missed it in the Makefile.in file. I also fixed the redundant option in the desktop file.

I am currently writing a user guide, the content of which I will use to create the man page, so I am on with that.

The changes will be committed to git if you want to pull from there to get the latest change, but I will wait until I have done something more substantial before bumping to 1.0.5.

If you have any ideas or suggestions do please keep them coming.

Report

averi

5 years ago

A suggestion just came up on my mind right now: you should consider including subtitles on the top toolbar's buttons. (i.e moving your mouse over a specific icon should show a little subtitle about what you can do with that specific button)

I liked the integrated console into it as well, so keep up the good work.

Report

njal

5 years ago

Do you mean tooltips, the little boxes that pop up whenever you hover over something with the mouse?

Report

njal

5 years ago

Do you mean tooltips, the little boxes that pop up whenever you hover over something with the mouse?

Report

5 years ago

29/01/12 - 2

Actually uploaded a compilable bundle this time.

29/01/12
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

06/12/11
1.0.9.0: I have fixed all outstanding bugs I can find at the moment.


22/11/11
1.0.8.6: 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.

21/10/11
1.0.8.5 Minor bugfix release.

20/10/11
Version 1.0.8.4 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.

18/10/11
Version 1.0.8.3 hopefully fixes the runtime segmentation fault on Fedora systems.

18/10/11
Version 1.0.8.2 released changing the previous behaviour of the graphical templates to be more consistent with the open function.

18/10/11
Version 1.0.8.1 released hopefully fixing two long standing bugs.

18/10/11
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).

10/10/11
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:

#include

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.

09/10/11
Fedora 32 rpm uploaded.

08/10/11
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.


06/10/11
Andrea Veri has very kindly packaged X2 for Debian: http://packages.debian.org/sid/x2

04/10/11
Added 64 bit fedora package
Added 64 bit deb package

03/10/11
Added tool tips

02/10/11
Added Ubuntu package!
Added Fedora package!

01/10/11
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.

30/9/11
Created the .desktop file and taken advantage of the gtk stock text editor icon.

29/9/11
Completed the build system.

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install
Score 52%
52.00 Likes
48 Dislikes
Details
version
1.1.0
updated Jan 29 2012
added Sep 22 2011
downloads
page views 1443