Commit Graph

1700 Commits

Author SHA1 Message Date
Vulcalien 387bcd2ee3 Disconnect child after detaching the tab 2021-08-26 18:42:58 +02:00
Vulcalien e9b29a1dfc Make tabs detachable 2021-08-25 22:21:37 +02:00
Matt Rose d169a322fc remove vsplit_cmd and hsplit_cmd from ipc.py, superseded by newer hsplit and vsplit 2021-08-21 21:13:38 -04:00
Matt Rose f7f47f4f5e
Merge pull request #487 from mattrose/issue-466
add bg_img and bg_img_all commands to remotinator
2021-08-16 19:31:57 -04:00
Matt Rose c11c9a0db0 add bg_img_all command to switch background on all terminals 2021-08-16 19:16:21 -04:00
Matt Rose 0434880f13 initial commit for remotinator background image command 2021-08-14 11:38:49 -04:00
Vulcalien 9ded8988ad When "Use default colors" is unchecked, save the current values 2021-08-14 17:10:38 +02:00
Vulcalien 880a15d5d3 Make terminal cursor colors fallback to foreground & background 2021-08-14 17:07:00 +02:00
Vulcalien eae7dcca3d Make the GUI work 2021-08-14 16:45:18 +02:00
Vulcalien ee823a9cc9 Custom foreground color for cursor (GUI not implemented yet) 2021-08-14 15:14:02 +02:00
Vulcalien bc3b64570e Removed inconsistencies: Text/Font color -> Foreground + fixed missing margin 2021-08-13 17:58:48 +02:00
Vulcalien 31f429a71f Changed cursor customization GUI 2021-08-13 17:27:47 +02:00
Matt Rose 2a24c9191a fixes for --config-json 2021-08-11 21:23:01 -04:00
Vulcalien 5ea15f82de GUI: set all CheckButtons off to avoid blinking + remove grid empty
columns/rows
2021-08-10 11:50:20 +02:00
Vulcalien eaed1df6c4 Fix: moved titlebar code from set_values to set_profile_values 2021-08-08 21:55:01 +02:00
Vulcalien b28d641d97 Moved Titlebar to Profiles menu + removing empty columns/rows from grids 2021-08-08 18:03:44 +02:00
Vulcalien df90bd3991 Update preferences.glade to 3.38.2 2021-08-08 17:32:23 +02:00
Vulcalien c9c3fb1924 Titlebar settings (except title_at_bottom) moved to profiles 2021-08-07 23:55:07 +02:00
Matt Rose c7b9fac6a9
Merge pull request #480 from mattrose/issue-365
Issue 365
2021-08-06 19:08:56 -04:00
Matt Rose b80d133ccf add group all terminals in window 2021-08-06 19:02:54 -04:00
Matt Rose 97c582c80d add parameters to remotinator split commands 2021-07-24 22:18:52 -04:00
Matt Rose 550ccf7abf add switch_profile_all command to remotinator 2021-07-24 14:15:44 -04:00
Mark Timarev 4c83feaf5d Set CAN_FOCUS to False for notebook widgets 2021-07-22 17:07:57 +03:00
Matt Rose 3bb7d53235
Merge pull request #462 from mattrose/issue-392
tell titlebar to start focussed out if it does not have focus
2021-07-02 19:29:27 -04:00
Matt Rose 6c7635c7ac tell titlebar to start focussed out if it does not have focus 2021-07-02 19:23:23 -04:00
Matt Rose 2d38070474
Merge pull request #456 from Vulcalien/master
Fixed Issue #425 (hide_window will try to show a destroyed window)
2021-07-02 16:55:13 -04:00
Paweł Kotiuk a61c7b5445 Allow translating of dir_open plugin 2021-07-02 21:49:25 +02:00
Matt Rose 810ccc2478
Merge pull request #459 from pktiuk/open_dir_plugin
Add new plugin for opening current directory using right mouse button
2021-07-02 11:16:31 -04:00
Paweł Kotiuk bda603f4f6 Add new plugin for opening current directory 2021-06-30 17:48:35 +02:00
Vulcalien c9540023f1 Fixed Issue #425 (hide_window will try to show a destroyed window) 2021-06-25 20:40:12 +02:00
Matt Rose 24f1503234
Merge pull request #451 from kocho1984/close_tab_on_middle_button
Closing tab on middle mouse button press
2021-06-24 10:40:19 -04:00
MuhammadJivani c583efbd50 Incorrect layout sorting in notebook 2021-06-22 22:42:16 +05:00
kocho1984 33768f01b7 Closing tab on middle mouse button press
Motivation: Most of the applications with tabs support such way
of closing tabs.
2021-06-20 14:01:50 +02:00
Vulcalien f65770d982 Bug Fix: 'Clear selection on copy' is always unchecked 2021-06-02 16:31:48 +02:00
Vulcalien 6e9ef142b7 Fixed issue #433 (layout sometimes ignores ratio) 2021-06-01 20:40:58 +02:00
Gerben Welter 1bc6b679c7 Fix the background image loading exception 2021-05-15 22:22:22 +02:00
Yusuf Güngör bad7f28fe9 Added set_tab_title command to remotinator. 2021-05-08 02:51:06 +03:00
Matt Rose 5455ac2f3e
Merge pull request #399 from nojhan/feat+RunCmdOnMatch
Feat+run cmd on match
2021-04-13 16:47:36 -04:00
Matt Rose 23e5bb810a
Merge pull request #390 from TheBigS/add-new-vsplit-hsplit-cmd-dbus
Add new vsplit hsplit cmd dbus
2021-04-12 17:53:42 -04:00
Matt Rose c042ca1674
Merge pull request #389 from TheBigS/add-new-get-focused-terminal-dbus-cmd
Added new get_focused_terminal dbus command which returns uuid of current focused terminal
2021-04-12 17:39:24 -04:00
Matt Rose 9ad141229c
Merge pull request #398 from nojhan/feat/config+link_single_click
add feat: config to open links with single click
2021-04-12 17:28:36 -04:00
Vulcalien c00a54d867 Fixed geometry hints 2021-04-08 21:57:41 +02:00
Matt Rose 79a13a9e66 Release version 2.1.1 2021-04-01 16:25:40 -04:00
nojhan eef5ffb01f fix link_single_click configuration 2021-03-09 09:22:22 +01:00
nojhan 8f0e8add14 feat: hidden plugins, managed URLhandlers, RunCmdOnMatch plugin
- Plugins starting with underscore will not be displayed by the
  preference/plugins window.
- This allow to add URLhandlers plugins on-the-fly.
- Add the RunCmdOnMatch plugin, which creates URLhandlers plugins
  based on a regexp/command pair.
- If an URLhandler plugin returns a prepared URL starting with "terminator://",
  then terminator will not try to open it with the URL handler (like xdg-open).
2021-03-04 21:09:15 +01:00
nojhan 5fb7466128 feat: add Exception class name in err messages
Easier debugging: some Python exception error messages are difficult to
interpret without the exception type (e.g. KeyError).
2021-03-04 21:07:56 +01:00
nojhan c47f3a2bad add feat: config to open links with single click
Instead of Ctrl-left click.
2021-03-04 11:17:26 +01:00
thebigs 0d8e804881 Add new vsplit_cmd and hsplit_cmd dbus commands 2021-02-18 23:34:44 -05:00
thebigs fd142cc57e Merge branch 'spawn-child-init-command' into add-new-vsplit-hsplit-cmd-dbus 2021-02-18 22:47:57 -05:00
thebigs 1efd0eed7f Added new get_focused_terminal dbus command which returns uuid of
currently focused terminal
2021-02-18 22:45:41 -05:00
thebigs 4494d24989 Allow caller of spawn_child() to specify the initial command to run in the new child 2021-02-18 22:32:10 -05:00
thebigs 9143fb4b51 Fixed race condition when calling grab_focus after underlying vte could be closed 2021-02-18 22:21:40 -05:00
Matt Rose 01bb33eebc Revert "fix issue #74"
This reverts commit 77696aa2cd.
2021-02-18 17:13:45 -05:00
Matt Rose 8e809718e3 Revert "convert the unfocused terminal font brightness to alpha transparency level"
This reverts commit fdcab76408.
2021-02-18 17:11:38 -05:00
Leandro Thimóteo f998353f9f Add switch profile command to remotinator 2021-01-12 14:35:10 -03:00
Matt Rose 4a91585d3b
Merge pull request #358 from mattrose/357-popup-menu
fix broadcast menu for sway and wayland
2021-01-07 10:56:03 -05:00
Matt Rose ff800b8711 fix broadcast menu for sway and wayland 2021-01-07 09:40:00 -05:00
Matt Rose 08186e795c prep for release 2.1.0 2021-01-04 10:32:32 -05:00
evandrocoan 7e8af3fd48 Fix #345 The Alt+L layout chooser is too small 2020-12-31 14:20:34 -03:00
Matt Rose e40f9fe651
Merge pull request #314 from mattrose/zoom-all-keybind
issue 271: add keybindings to zoom all terminals at once
2020-12-30 16:24:17 -05:00
Matt Rose 3c4bbf4881 fix 319: refresh layout after save 2020-12-30 15:43:12 -05:00
Matt Rose 070803ea75
Merge pull request #343 from JAugusto42/general_improvements
feat: refactoring terminal file
2020-12-29 01:00:24 +00:00
Jose Augusto ed54a0d683 feat: refactoring terminal file 2020-12-28 21:28:38 -03:00
Matt Rose 734c70be91 update to non-deprecated Gtk.Menu popup call 2020-12-28 14:05:11 -05:00
Matt Rose 3d1bbbc7b0
Merge pull request #340 from JAugusto42/new_scrollbar
feat: Migrating from hbox to GtkBox
2020-12-28 18:41:17 +00:00
Matt Rose f2b656dcf1
Merge pull request #333 from zothar/restart_command
Feature: Relaunch command option on held open after child exit
2020-12-28 18:40:31 +00:00
Jose Augusto bb47af6d9b feat: Migrating from hbox to GtkBox 2020-12-28 15:23:34 -03:00
David Sowder 80f87aada4 Remove a trailing space (trivial change to retry checks after the repo was returned to a check-working state) 2020-12-27 20:52:38 -06:00
Matt Rose a30ad08c01
Merge pull request #339 from JAugusto42/remove_rewrap_on_resize
remove rewrap on resize from option and remove functions too
2020-12-27 22:52:16 +00:00
Jose Augusto a53dea6fa5 remove rewrap on resize from option and remove functions too 2020-12-27 19:48:41 -03:00
Jose Augusto b85a344cb2 fix: #323 2020-12-27 17:55:53 -03:00
Matt Rose 427c65f2cc Revert "Merge pull request #36 from waldner/master"
This reverts commit 6c56f32eeb, reversing
changes made to 904676057e.
2020-12-27 13:29:30 -05:00
David Sowder 5c7233890f Add feature to allow relaunching the command after child exit when the exit action is to hold the tab open 2020-12-27 10:12:19 -06:00
David Sowder e43369d3e6 Re-factor Titlebar.update() to not duplicate the label text setting call 2020-12-27 09:06:00 -06:00
Matt Rose 6c56f32eeb
Merge pull request #36 from waldner/master
fast resize keyboard shortcuts
2020-12-03 19:29:48 +00:00
Matt Rose 8f94a674d9 issue 271: add keybindings to zoom all terminals at once 2020-12-03 13:43:05 -05:00
Matt Rose 904676057e
Merge pull request #307 from mattrose/unhide
add a commandline flag to unhide any windows
2020-12-01 21:03:42 +00:00
Matt Rose 890253ba2b make tests pass 2020-12-01 15:49:11 -05:00
Matt Rose 5c9c482843 load config from XDG_CONFIG_DIRS if user config file doesn't exist 2020-12-01 14:38:29 -05:00
Matt Rose cdb5755193 add a commandline flag to unhide any windows 2020-11-26 15:35:12 -05:00
Matt Rose 40bd59481b
Merge pull request #296 from mattrose/fix-bg-ui
fix background image profile preferences ui
2020-11-19 16:31:04 -05:00
Matt Rose 18ed95abe7 fix background image profile preferences ui 2020-11-19 11:49:45 -05:00
Jean-Sebastien Trottier 912e486b7d Terminal.close: Avoid error when self.pid is None 2020-11-18 20:35:29 -05:00
Jean-Sebastien Trottier 352fdfe279 URLHandler.unload: Fix check for handler_name being set 2020-11-18 20:24:42 -05:00
Matt Rose 1be51cccad fix issue with older vte lib 2020-11-18 09:46:25 -05:00
Matt Rose ebc266e554
Merge pull request #286 from mattrose/dim-on-focus-out-sq
fix issue #74
2020-11-17 12:24:31 -05:00
Matt Rose 040b828ed1 feed_child() only accepts UTF-8, so that's what we'll send for now 2020-11-17 12:19:59 -05:00
Matt Rose a55356ec8d replace feed_child_binary() calls with feed_child() 2020-11-17 12:06:16 -05:00
Matt Rose fdcab76408 convert the unfocused terminal font brightness to alpha transparency level 2020-11-14 11:03:58 -05:00
Matt Rose 77696aa2cd fix issue #74 2020-11-13 10:08:10 -05:00
Matt Rose 316afbc6c1
Merge pull request #280 from mattrose/term-links
support for SSH URIs
2020-11-09 17:54:49 -05:00
Matt Rose 77198d3459 support for SSH URIs 2020-11-09 17:50:05 -05:00
Matt Rose 1dbaa807c6 fix stupid debugging error 2020-11-09 10:22:43 -05:00
Matt Rose 24a1f912d3
Merge pull request #277 from mattrose/doc-fixes
multiple small documentation fixes
2020-11-09 09:57:36 -05:00
Matt Rose 0ce26864b1 multiple small documentation fixes 2020-11-09 09:46:07 -05:00
Matt Rose a5339b4cba
Merge pull request #275 from mattrose/fix-kde-dnd
fix drag and drop issues on KDE
2020-11-06 22:06:57 -05:00
Matt Rose efccfc6ec7 fix drag and drop issues on KDE 2020-11-06 21:56:09 -05:00
Matt Rose e9ee7d4409
Merge pull request #266 from mattrose/issue264_1
suppress warning if the vte capability is not there
2020-10-30 15:18:44 -04:00
Matt Rose 915077f5ff fix new upstream vte warning 2020-10-26 17:33:48 -04:00
Matt Rose c7649b33e9 suppress warning if the vte capability is not there 2020-10-26 12:35:26 -04:00
Matt Rose acba6fa34e
Merge pull request #257 from yoavp77/allow-invert-search
Add support for inverted search
2020-10-26 12:29:44 -04:00
Matt Rose 49d2a76b1d
Merge pull request #265 from mattrose/debug_keybind
remove workaround for https://github.com/ibus/ibus/issues/1802
2020-10-26 11:58:58 -04:00
Matt Rose 736e88aa46 remove workaround for https://github.com/ibus/ibus/issues/1802 2020-10-26 11:51:27 -04:00
Joe Peled 4ae1282606 Add support for inverted search 2020-10-20 09:21:12 -04:00
Matt Rose ff1860ad1b
Merge pull request #254 from mattrose/clear-select-on-smart-copy
Clear selection on smart copy
2020-10-19 17:41:52 -04:00
Matt Rose 1822d6ccb1 add config entry and preferences GUI 2020-10-19 17:14:40 -04:00
Matt Rose 657c45abb7 Clear selection on copy if smart_copy is configured 2020-10-19 16:51:47 -04:00
Joe Peled 19e1cf755c Simplify parsing config value 2020-10-17 22:04:00 -04:00
Joe Peled 66f4020e37 Preserve case sensitivity state in config file on state change 2020-10-17 17:51:19 -04:00
Matt Rose 80b20a8050
Merge pull request #247 from mattrose/fix-horizontal-div-handle
fix the handle on the divider between horizontal panes
2020-10-16 11:37:42 -04:00
Matt Rose dc0ea4dff9 fix the handle on the divider between horizontal panes 2020-10-16 11:32:55 -04:00
Matt Rose 80fb628fbc
Merge pull request #214 from dvdlevanon/layout-json-file
layout file - initial commit - work in progress
2020-10-14 14:01:06 -04:00
Matt Rose 6df1304563
Merge pull request #224 from dkmvs/fix-keybinding-accel-clearing
Fix: Key Binding Clearing in `Preferences > Keybindings`
2020-10-14 14:00:10 -04:00
Matt Rose 44f538f3f9
Merge pull request #235 from planet36/save_config_file
Change how config file is saved
2020-10-14 11:54:20 -04:00
planet36 2d7f9133b0 Create config file if it doesn't exist 2020-10-11 23:28:04 -04:00
planet36 610580b704 Revert "Create config file if it doesn't exist"
This reverts commit 310f70ac5f.
2020-10-11 23:16:46 -04:00
Matt Rose 68d0be887e Release version 2.0.1 2020-10-11 14:13:42 -04:00
planet36 310f70ac5f Create config file if it doesn't exist
Use pathlib.Path for config file and backup file
2020-10-09 20:28:48 -04:00
planet36 ebae1e1440 Backup config before writing to it
Fixes #234
2020-10-08 17:11:32 -04:00
Matt Rose 251d89c8cd only set clear background when background_image in config 2020-10-08 15:38:09 -04:00
Matt Rose 8bc1af0749 Release Version 2.0 2020-10-06 09:47:30 -04:00
Matt Rose 8db142d92b add GUI controls for background image 2020-09-30 10:20:02 -04:00
dkmvs 840a95eeb2 Use Empty String for Cleared Accels
When a key binding is cleared its value is now set to "" (an empty
string) instead of `None` as before.

This change is introduced because `Gtk.accelerator_parse` does not
allow `None` to be used as a value, which in turn breaks
`on_cellrenderer_accel_edited` function in
`terminatorlib/prefseditor.py` by raising a `TypeError` every time a
new key binding is introduced. Note that this only happens if at
least one key binding has been cleared first.
2020-09-29 17:10:56 +03:00
Matt Rose e06003ee41 Merge branch 'master' into background-image 2020-09-29 10:06:21 -04:00
Matt Rose a44ebd9e2e Revert "Merge pull request #208 from mattrose/update-vte-spawn"
This reverts commit f5cbdce5fc, reversing
changes made to e1476a2ef2.
2020-09-27 09:41:02 -04:00
Matt Rose 8d85beaafa Merge branch 'master' of https://github.com/gnome-terminator/terminator into background-image 2020-09-27 09:29:03 -04:00
Matt Rose 6db631f7d5 remove print debug 2020-09-24 16:41:14 -04:00
Matt Rose 415b7653dc added config values for background_image and background_alpha 2020-09-24 16:24:54 -04:00
David Levanon f387f4886c set default profile from the json file 2020-09-24 15:19:58 +03:00
David Levanon b669996180 prevent json layout and profile from being saved to the global config file 2020-09-24 13:39:48 +03:00
David Levanon 42b1915065 support ratio for terminals 2020-09-24 13:12:23 +03:00
Matt Rose 501e6b3145 rough POC with a hardcoded image file 2020-09-23 21:52:44 -04:00
Matt Rose 41caaabdf3
Merge pull request #205 from mattrose/command-notify
Command notify
2020-09-23 10:22:13 -04:00
Matt Rose dad40bb1b2 do not advertise as AVAILABLE if the signal is not present in the Vte library 2020-09-22 17:48:37 -04:00
Matt Rose f5cbdce5fc
Merge pull request #208 from mattrose/update-vte-spawn
update Terminal.spawn_child() to use spawn_async, not spawn_sync
2020-09-22 17:17:13 -04:00
Matt Rose e1476a2ef2
Merge pull request #215 from mattrose/add-prefs-key
fix spacing
2020-09-22 17:04:51 -04:00
Matt Rose 0ff6a7b498 fix spacing 2020-09-22 16:59:26 -04:00
Matt Rose 71d4713d61
Merge pull request #209 from mattrose/add-prefs-key
add preferences keybindings
2020-09-22 16:58:37 -04:00
David Levanon 0151c68abe revert terminator.py back 2020-09-21 01:04:59 +03:00
David Levanon 130b0a0af1 adding profile to the layout file
fix layout examples - adding profile

refactor - changing layoutfile to configjson
2020-09-21 01:02:19 +03:00
David Levanon 69c8a3f1d9 fix some complicated layouts 2020-09-20 21:15:14 +03:00
David Levanon b595bec775 layout file - initial commit - work in progress 2020-09-19 22:27:21 +03:00
dkmvs 6c404d0355 Allow `Shift+Tab` Key Binding Accelerator
This commit allows to assign the `Shift+Tab` key binding to an action in
`Preferences>Keybindings`.

In GTK the Tab key can be modified by the Shift key. Such a key combination
has a special key value - `Gdk.KEY_ISO_Left_Tab`.
To allow it, `key = key_with_shift.keyval` was added to the code.

However, `Gdk.KEY_ISO_Left_Tab` key value is displayed as `Left Tab` in
`Preferences>Keybindings`, which is confusing as it is not obvious that it
corresponds to the `Shift+Tab` key combination. To make sure that `Shift+Tab`
is displayed as `Shift+Tab`, the `Shift+Tab` case is treated as if no Shift
was pressed at all.
2020-09-14 04:26:13 +03:00
Matt Rose 6ec295cdbc add preferences keybindings 2020-09-11 20:47:57 -04:00
Matt Rose a93609da8f
Merge pull request #196 from dkmvs/dkmvs-forbid-duplicate-keybindings
Fix: Forbid Duplicate Key Bindings in `Preferences > Keybindings`
2020-09-09 14:32:30 -04:00
Matt Rose 793ac673aa update Terminal.spawn_child() to use spawn_async, not spawn_sync 2020-09-09 14:05:08 -04:00
Matt Rose 1c747b8971
Merge pull request #207 from mattrose/fix-login
fix login_shell option so that it sends -l rather than -shell
2020-09-09 14:01:48 -04:00
Matt Rose d0ac642f71 fix login_shell option so that it sends -l rather than -shell 2020-09-08 11:18:52 -04:00
Matt Rose 98d11928c6 add proper arguments 2020-09-04 12:15:25 -04:00
Matt Rose 8cd329c5c5 added some more documentation 2020-09-04 10:40:14 -04:00