Commit Graph

1762 Commits

Author SHA1 Message Date
Matt Rose af1ec64c93
Merge pull request #653 from vssdeo/bug-652-loading-layout-loads-the-last-added-layout
- bug context menu (right click)->layouts->"Layout Name" always selec…
2022-10-30 10:38:45 -04:00
flaviosteimacher 295cfd9f60
Update terminal.py
Fix error insert terminal number
2022-10-27 16:02:02 -03:00
Dante Calderon 2e1dd1f316
Add CLI command to reload configuration 2022-10-24 00:51:53 -05:00
Kian-Meng Ang 25111f2402 Fix typos
Found via `codespell -S .eggs,po,*.css -L boddy,maco,trough,wont,poing,gir,visibles`
2022-10-22 00:07:07 +08:00
Matt Rose c447ae0201 Release version 2.1.2 2022-10-19 10:22:21 -04:00
Vishweshwar Saran Singh Deo e7f9c731e8 - bug context menu (right click)->layouts->"Layout Name" always selects the last Layout
- fixed so the right layout is picked and loaded
2022-10-16 01:47:36 +05:30
Vishweshwar Saran Singh Deo 5bd81ce478 - added plugin save_last_session_layout.py
- saves the working directory and layout of last session (last window) closed
- layout is saved under name of SaveLastSessionLayout
- can be loaded from context menu (right click) -> layouts -> "SaveLastSessionLayout"
- last working directory is also saved
2022-10-16 01:32:30 +05:30
Vulcalien df0643b1a4 Notebook rotate: keep tab position and label 2022-08-27 22:06:00 +02:00
xuezhixin 6c2e3b8bf7 this line has an extra ';' symbol 2022-08-15 14:33:01 +08:00
Vulcalien 784dc4946e Terminal mousewheel event: check for all modifiers 2022-06-13 15:16:24 +02:00
Vulcalien 06ada7c655 Notebook tab zoom: keep label and position 2022-05-20 13:12:16 +02:00
Matt Rose d33c145ba8
Merge pull request #592 from mattrose/fix-prefs-setcolor
More fixes to the Color pickers in the Preferences Editor
2022-04-18 13:24:28 -04:00
Matt Rose 0e04376afb
Merge pull request #588 from mattrose/586-fix-readme
Various README fixes
2022-04-18 12:56:33 -04:00
amaan khan 33f7927bfa fixed indent 2022-04-16 12:09:38 +05:30
amaan khan ed93ccb7e5 no need to go to custom to set custom palette 2022-04-16 12:05:29 +05:30
Vulcalien c2f2addf05 Remove unused code (container.py, toggle_zoom) 2022-04-09 11:19:36 +02:00
Vulcalien 04bd693586 Zoom/maximize with one terminal in notebook tab 2022-04-09 11:15:36 +02:00
Jay W 886412fcf1 Add logic to remove duplicate shell from args 2022-02-01 19:06:23 +00:00
Jay W 967f039e60 Simplify flatpak-spawn args 2022-01-31 19:59:34 +00:00
Jay W a41a38bcc9 Add flatpak support to terminatorlib 2022-01-31 19:12:16 +00:00
Vulcalien 8e50eb75ce Remove duplicated info in some debug messages 2022-01-28 21:51:54 +01:00
Matt Rose ca335e45eb
Merge pull request #561 from Vulcalien/cell-width-preferences
Fix: handle_size treated as cell_width
2021-12-26 18:12:29 -05:00
Matt Rose 96aa749678
Merge pull request #553 from Vulcalien/zoom-terminal-switch
Unzoom terminal on interaction
2021-12-26 18:10:22 -05:00
Vulcalien 3c575029e7 Move 'cell_height' setting 2021-12-25 14:21:19 +01:00
Vulcalien eacd72124a Fix: handle_size treated as cell_width 2021-12-25 13:09:33 +01:00
Matt Rose d2c428bc60
Merge pull request #506 from Vulcalien/master
Improve argument parser + implement bash completion
2021-12-19 13:21:46 -05:00
Matt Rose 8f13beffbf
Merge pull request #552 from FernandoBasso/feat/configure-cell-width
Add ability to configure cell width (font character spacing)
2021-12-19 13:17:47 -05:00
Vulcalien c574d77374 Remove duplicated variable 2021-12-18 11:58:38 +01:00
Vulcalien 0ed248c0c7 Clear pending events after unzoom + navigate/rotate
Navigation is consistent
2021-12-17 19:51:22 +01:00
Fernando Basso bd5dba5b08 Refactor line height to cell height
After the previous commit [1], which implements ‘cell width’, it makes
sense to rename ‘line height’ to ‘cell height’, especially because it is
the terminology used by VTE itself [2].

1. ef1768505c Add cell width configuration in preferences
2. https://lazka.github.io/pgi-docs/Vte-2.91/classes/Terminal.html#Vte.Terminal.set_cell_height_scale
2021-12-14 06:30:58 -03:00
Vulcalien 8c90bb4dc3 Unzoom terminal on interaction
There is a bug: strange behavior for navigation and rotation
2021-12-10 20:57:48 +01:00
Fernando Basso ef1768505c Add cell width configuration in preferences
Currently, we have a setting for changing the line height (cell height),
but not for changing cell width (both available in VTE).

Depending on the font used, it is useful to have the ability to set a
little more space between characters.

This commit adds a configuration similar to the existing one for line
height, but for character space (cell width scale [1]).

Thanks Matt Rose for helping and encouraging me to implement this.

1. https://lazka.github.io/pgi-docs/Vte-2.91/classes/Terminal.html#Vte.Terminal.set_cell_width_scale
2021-12-10 07:58:02 -03:00
Vulcalien 1118fb0cfd Use FAST as filter for scaling background image 2021-12-10 00:35:34 +01:00
Vulcalien 122b0fe3ae background_draw: organize code 2021-12-09 23:01:58 +01:00
Vulcalien 5a6237cc47 Performance: use Surface instead of PixBuf 2021-12-09 23:00:35 +01:00
Vulcalien a06e7951f6 Update background image without restarting 2021-12-08 16:05:38 +01:00
Vulcalien 25902fd73e Only set background_image if background_type is 'image'
+ Fixed code duplication
2021-12-08 12:05:28 +01:00
Vulcalien b2d15898a2 Fix: 'None' value for keybindings breaks editor
The bug: Gtk.accelerator_parse throws an error if the arg is None.
This means that if one keybinding is set to None, it is impossible to
set any new keybinding.
2021-12-07 16:09:56 +01:00
xuezhixin 35e4ee7286 Added Lang option 2021-12-02 00:10:19 +08:00
xuezhixin 5f9544b3b3 Lang in os.environ is used as an alternative 2021-12-01 21:32:49 +08:00
Vulcalien 308c8d81a2 Remove encoding from the Context menu 2021-11-06 11:55:33 +01:00
Vulcalien 9f7ed7ee21 Remove encoding from the Preferences menu 2021-11-06 11:43:23 +01:00
Matt Rose 62e111d8df
Merge pull request #515 from tomty89/not_none
Fix hide_window keybinding unset check
2021-11-02 16:59:02 -04:00
Matt Rose 5d43005df1
Merge pull request #519 from caprinux/master
Fix terminal separator size setting
2021-11-02 16:57:29 -04:00
Vojtech Duchon (Ext) 0a4affee66 Allow multiline commands in Custom Commands plugin 2021-10-12 08:49:54 +02:00
Vulcalien 817f820cfb Change output of --list-profiles and --list-layouts
Bash completion is also added for --profile and --layout but it won't
work if the profile/layout has quotes or spaces in the name.
2021-10-11 12:04:47 +02:00
Rafael Kitover 705322dfff
Add paste_selection keybinding.
Unbound by default, pastes primary selection.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-10-01 02:47:15 +00:00
caprinux c8cd50ba9a modify terminator separater size setting in gui to start from 1 2021-09-26 22:51:18 +08:00
Matt Rose 0b2d91786c
Merge pull request #516 from Vulcalien/keybinding-menu
Automatically focus the Keybindings menu
2021-09-21 16:08:39 -04:00
Vulcalien ed157684f3 Automatically focus the Keybind menu
This makes the search bar work without having to click the widget.
2021-09-19 17:23:47 +02:00
Tom Yan 3c33a7770d Fix hide_window keybinding unset check
We use empty string for unset, not None
2021-09-19 13:40:15 +08:00
Vulcalien 2251a3489b Implement GUI for disable_mouse_paste 2021-09-13 12:11:01 +02:00
Vulcalien fa09ba0cda Add setting 'disable_mouse_paste' 2021-09-12 22:13:01 +02:00
Vulcalien 8381045d5a Bug Fix: hide_window keybinding ignores Shift key 2021-09-11 17:57:13 +02:00
Vulcalien 4d00f83084 Obsolete "optparse" library replaced by "argparse" 2021-09-09 16:05:39 +02:00
Vulcalien 8f41308cb2 Add --list-profiles and --list-layouts options 2021-09-09 11:48:19 +02:00
Matt Rose b0cae43512
Merge pull request #499 from Vulcalien/master
Add a "Copy" button to clone profiles
2021-09-02 21:10:26 -04:00
Matt Rose a7d9304f2f add Set Window Title item to context menu 2021-08-30 20:41:27 -04:00
Vulcalien 672e6fb4c8 BugFix: terminal won't restart if there is no custom command 2021-08-31 01:48:41 +02:00
Vulcalien cbd8f0e3a8 Add a "Copy" button to clone profiles 2021-08-30 17:55:42 +02:00
Vulcalien 28e76fe469 BugFix: on destroy, window does not close every terminal in it 2021-08-27 18:54:21 +02:00
Vulcalien dea06ed3bd Add dbg message for Notebook::create_window_detach 2021-08-27 11:13:12 +02:00
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