Commit Graph

1665 Commits

Author SHA1 Message Date
Matthew Rose 3d63c91517 [New Plugin] Plugin that inserts the name
This plugin inserts the name of the terminal, as determined by
Terminal.get_window_title() to all open terminals. Fixes #540
2022-11-19 23:01:05 -05:00
Matt Rose 1aa437d6e3
Merge pull request #663 from vssdeo/662-In-the-Context-Menu-right-click-show-keyboard-shortcuts
[bug 662] [Feature Request] - In the Context Menu(Right-Click) show k…
2022-10-31 12:50:11 -04:00
Vishweshwar Saran Singh Deo 548a51c6bb [bug 662] [Feature Request] - In the Context Menu(Right-Click) show keyboard shortcuts / accelarators #662
- added short cuts / accelarators to right click context menu
- menu is updated from config so changes in preferences keybindings appear dynamically
- Note: I think there is a bug or discrepancy where
        for the action edit window title config.py says:
            'edit_window_title': 'w where as in code: terminal_popup_menu.py
            item = Gtk.ImageMenuItem.new_with_mnemonic(_('Set W_indow Title'))
            Character i is selected as mnemonic.
- fixed the above discrepancy
2022-10-31 12:26:34 +05:30
Matt Rose f289b4df33
Merge pull request #632 from xuezhixin/master
this line has an extra ';' symbol
2022-10-30 21:30:34 -04:00
Matt Rose 3fa8669050
Merge pull request #661 from vssdeo/654-Plugin-Submission-SaveLastSessionLayout-Uses-Layout-to-Auto-Save-Last
[bug 654] - Plugin Submission : SaveLastSessionLayout Uses Layout to …
2022-10-30 21:23:15 -04:00
Vishweshwar Saran Singh Deo 3aaf54b5de [bug 654] - Plugin Submission : SaveLastSessionLayout Uses Layout to Auto-Save Last session and CWD on Terminal Window Close
- changes for the pre-close-term event in the plugin
- submitting as I had first thought of using current event close-term, but later thought of a consistent solution
2022-10-30 23:26:10 +05:30
Matt Rose df1a433c61
Merge pull request #651 from kianmeng/fix-typos
Fix typos
2022-10-30 11:29:12 -04:00
Matt Rose 7c83d23e55
Merge pull request #659 from flaviosteimacher/patch-1
Update terminal.py
2022-10-30 11:15:46 -04:00
Matt Rose c4d7253d66
Merge pull request #655 from vssdeo/654-Plugin-Submission-SaveLastSessionLayout-Uses-Layout-to-Auto-Save-Last
Plugin Submission : SaveLastSessionLayout Uses Layout to Auto-Save Last session and CWD
2022-10-30 10:57:18 -04:00
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
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
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
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
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