Commit Graph

273 Commits

Author SHA1 Message Date
Stephen Boddy
da37f398fa Fix terminator not working with default python3 by forcing python2 2016-11-25 02:29:55 +01:00
Stephen Boddy
9f09d9c334 (trunk-1647) Fix for those not running IBus, where the IBus workaround caused broken keys in other keymaps set with non-IBus tools
(New dependancy added (python-psutil) for detecting the IBus process)
2015-11-30 21:54:23 +01:00
Stephen Boddy
4217a7308f Minor fixup for newer GI wanting us to specify versions 2015-11-07 01:15:46 +01:00
Stephen Boddy
7b769ae1d8 * Fix the DBus interface (gtk2-gtk3)
* Disable the wm_class feature. Seems not possible in GTK3, and breaks
  the DBus call for new_window.
(trunk-1651)
* As part of GTK3 fixup, some improvements to the DBus interface, and
  remotinator (Steve Boddy)
  * Can now open a window or tab using remotinator
  * Can get the window uuid, or title using remotinator
  * Moved new tab key handling into the terminal for consistency
  * Standardise response when a new term is created (split, win
    or tab) to reply with new terms uuid
  * For GTK3 gave the DBus a slightly different name so they it
    can run at same time as GTK2
  * remotinator now uses argparse for commandline option handling,
    vastly improving the option handling
  * remotinator help strings are translatable now
2015-09-19 05:25:25 +02:00
Stephen Boddy
b7b8888745 (trunk-1613) Fix launcher opening after a dbus enabled window is already open (DBUS in GTK3 still FIXME) 2015-09-01 22:59:36 +02:00
Stephen Boddy
e723f0df25 (trunk-1611) Fix composed characters when broadcast is turned on to appear in all receivers now (LP:#1463704) 2015-08-10 22:51:56 +02:00
Stephen Boddy
77bb9d5a3d (trunk-1570) Minor tweak to make the debugserver work with two or more -d flags, not three or more. 2015-07-02 21:26:50 +02:00
Stephen Boddy
387c403ec9 Temporary hard disablement of DBus till it can be fixed properly to work with GTK3 2015-02-25 15:26:17 +01:00
Stephen Boddy
22ed84abdd Apply terminator-gtk3-vte038-v4.patch from Egmont Koblinger 2014-09-19 16:10:43 +02:00
Stephen Boddy
7ca6dd96c6 Changes made by pygi-convert.sh 2014-09-19 16:08:08 +02:00
Stephen Boddy
e14cd19690 Initial cut of layout launcher. It 'aint pretty, but it works 2013-08-28 23:09:17 +02:00
Chris Jones
424c6e79cd Guard against people running us in deleted directories. Closes LP#1101208 2013-01-30 12:27:02 +00:00
Chris Jones
5d35c196c7 Add a command line option to spawn new tabs via DBus 2012-10-30 00:11:24 +00:00
f12f7e7b47 Added a little transformatios to make sure all the parameters of the config are
passed to string before calling the dbus method (integers for example).
2011-12-29 21:43:12 +01:00
abdcc0f201 Changed the dbus method new_window to use an array of options instead of only
passing the layout, also formatted a little the help strings in the optionparse 
module (to fit in 80 chars without breaking the indent)
2011-12-29 21:39:09 +01:00
d76b0dee7f Added a parameter to the dbus method new_window, to allow the passing of the
command to execute.
2011-12-29 20:02:11 +01:00
Chris Jones
007ca36723 Add dbus mechanism to obtain a list of terminals 2011-08-25 22:10:04 +01:00
Chris Jones
35842b6ff7 When creating a new window via dbus, pass on the layout request if there is one 2010-11-29 20:46:49 +00:00
Chris Jones
f20b437caf Allow disabling of dbus from the command line, and make use of that when spawning a new terminator process 2010-07-22 13:59:06 +01:00
Chris Jones
93104c42a2 Add debugging and hash the X11 display (suggestion from Andrea) 2010-07-22 09:24:47 +01:00
Chris Jones
9044ffabb0 Land a modified and extended patch from Andrea Corbellini that adds a dbus server and a new default behaviour to use the dbus server to make terminator processes singletons 2010-07-21 23:17:34 +01:00
Chris Jones
5b5739df0e Add some more debugging to layout creation 2010-06-15 15:19:05 +01:00
Chris Jones
682f0bd3f7 Apply some policy to the original cwd we inherit - if it's / then our parent process is probably some kind of app launcher, so we'll try to be helpful and make our cwd be ~ 2010-04-18 09:49:32 +01:00
Chris Jones
9b7fc5daa8 finally: is not py2.4 compatible 2010-04-06 00:05:20 +01:00
Chris Jones
16bc247b0e Attach the debug server to the context menu 2010-03-19 22:16:08 +00:00
Chris Jones
71919fce55 Create a layout if requested, otherwise create a default one or just open a window 2010-02-17 20:57:05 +01:00
Chris Jones
41a8b2372c Undo my madness 2010-02-05 00:16:24 +00:00
Chris Jones
882f325a73 Move all the layout stuff onto a separate branch so trunk can shape up for 0.90 2010-02-04 23:24:27 +00:00
Chris Jones
678057a0d3 First run at layout loading, creating, enumerating and saving. It sucks and works poorly at the moment, but here it is 2010-02-01 12:11:44 +00:00
Chris Jones
e3438b3bdf Fix up the startup cwd tracking so self-spawning works in non-absolute paths, and handle the key_new_window => key_new_terminator switch 2010-01-29 23:52:21 +00:00
Chris Jones
ece0cfdde0 Refactor the creation of a new Window/Terminal pair and joining them, into Terminator, and call it from the top level terminator script 2010-01-29 23:41:18 +00:00
Chris Jones
4d216633fc -d now automatically infers the Class::method in dbg(), and -d additionally adds a trailing (filename:line) item. debugserver is now moved to -ddd 2010-01-14 13:15:05 +00:00
Chris Jones
23f469add3 Fix up handle_size to work properly 2010-01-11 23:46:18 +00:00
Chris Jones
adfaf600fa Store the command line options in Config rather than overwriting parts of it, and passing them around 2010-01-11 20:56:30 +00:00
Chris Jones
96ad941267 Clear up pyflakes errata and switch newterminator to terminator 2010-01-11 20:11:35 +00:00
Chris Jones
9744f3ebb6 Add keyword arguments to Window.__init__() for command line options 2010-01-05 12:49:57 +00:00
Chris Jones
cb0b68bc5d There was a reason we imported these three, I just forgot it until now. It's a rough test that we have sufficient dependencies to run. 2010-01-05 09:24:44 +00:00
Chris Jones
dbe683e259 hey look it's 2010 already 2010-01-04 23:56:28 +00:00
Chris Jones
f4a893a594 Remove option parsing code now that is in its own module, and generally refactor/reformat 2010-01-04 23:52:57 +00:00
Chris Jones
137dfe7ef4 prepare for this main terminator script to work with epicrefactor 2010-01-04 12:57:14 +00:00
Chris Jones
0b5ac38793 Hand merge in from trunk 2009-12-19 02:08:35 +00:00
Chris Jones
53f2bcec75 remove notification. Closes LP #393015 2009-06-29 23:51:53 +01:00
Chris Jones
224fddedbd Stupid feature suggested by Martin Pitt. Comedy notify on exit 2009-05-29 16:23:21 +02:00
Chris Jones
ac56c18501 Add support for spawning new windows as new Terminator processes. Closes LP #381193 2009-05-28 10:29:56 +02:00
Chris Jones
b0302e6fab split out translation support into an separate file so it can be more correctly included everywhere 2009-05-07 01:44:42 +01:00
Chris Jones
02412a1f6d Make the additional arguments error say what the additional arguments are 2009-05-05 00:30:58 +01:00
Chris Jones
ee1490dc4a Add a commandline argument to allow specifying the window title. Closes LP #370064 2009-05-04 02:00:44 +01:00
Chris Jones
caf00fa19e debug print of the version should use APP_NAME too 2009-04-07 15:44:52 +01:00
Chris Jones
96a4597da2 debug print of the version 2009-04-07 15:44:23 +01:00
Jamu Kakar
97700f2d7d - Added --working-directory to the manpage.
- Added a metavar option to the --working-directory parser
  configuration, to make it's help text a touch prettier.
2009-01-27 11:19:01 -08:00