Commit Graph

418 Commits

Author SHA1 Message Date
Vishweshwar Saran Singh Deo
4519b3e631 [bug 760] working directory feature is broken
- as per the bug the layout does not get updated when "Save" button in layout is pressed
- it does get updated if the window is closed by pressing top x close icon.
- on pressing Save, it seems that the prefseditor takes this from current_layout = terminator.describe_layout() and saves it in config
- whereas the current changes are done per key stroke and config is updated
- this patch copies the parameters like directory and command when Save is press and on_layoutrefreshbutton_clicked() is called
- Hence working dir and command are copied when Save is pressed using uuid to match terminals.
- If there is a command registered then the terminal runs the command and exits. so one is not able to see the results.
2024-02-05 22:35:26 +05:30
nautics889
6651b30fde fix: Remove unused imports in several modules #752
Removed unused imports in:
* terminator
* terminatorlib/plugins/dir_open.py
* terminatorlib/terminal.py
* terminatorlib/terminal_popup_menu.py
* terminatorlib/terminator.py
* tests/test_signalman.py
2024-01-26 20:20:19 +02:00
Matt Rose
cb4d84d52d
Merge pull request #770 from Tyler-Hardin/master
Enable sixel support in VTE if it's available.
2023-08-26 21:14:15 -04:00
Vishweshwar Saran Singh Deo
3b4d32cda3 [bug 808] Plugins-dont-receive-keboard-signals-on-newly-opened-windows
- code separated for force loading of plugins on every terminal instance
2023-08-09 16:31:41 +05:30
Tyler Hardin
d0e366ff8d Enable sixel support in VTE if it's available. 2023-06-21 13:14:20 -04:00
Matt Rose
41c9d344b4 fix drag and drop 2023-03-22 17:43:04 -04:00
Matt Rose
380be99c9f
Merge pull request #709 from KKoovalsky/master
Better distinguishing of inactive windows from the active one, by changing the background brightness
2023-03-01 16:45:25 -05:00
Matt Rose
45a8b4c75c
Merge pull request #691 from nicbn/patch-1
Ctrl+Click on group button automatically creates groups whenever needed
2023-03-01 16:23:33 -05:00
Vulcalien
df8890199c Add background image alignment
background_image_align_horiz: left, center, right
background_image_align_vert: top, middle, bottom
2023-02-14 15:13:54 +01:00
Vulcalien
21529cec6c Add different background image modes
stretch_and_fill, scale_and_fit, scale_and_crop, tiling
2023-02-14 15:13:32 +01:00
Kacper Kowalski
dd511778c8 Add debug messages for the inactive background color change 2023-02-03 15:56:46 +01:00
Kacper Kowalski
6551dba9dc Add config option for inactive background offset 2023-02-03 14:59:36 +01:00
Kacper Kowalski
3854a7c0e2 Allow setting hardcoded background darkening
Normally, one can only change the background of the foreground for the
inactive window. With this change the background of the inactive window
will also change it's brightness by 20%.
2023-02-03 14:34:16 +01:00
nicbn
c84821e36a Make Ctrl+Click on group button automatically create groups 2022-12-06 18:08:01 -03:00
Vishweshwar Saran Singh Deo
98dcd0efec [bug 680] Open up keybindings page on keypress #680
- implemented the short-cut
- seems the key combo is already taken 'go_prev' : 'p'
- How about : 'k', I will make the change for now.
- But adding key seq to a long list of keypress function breaks my heart, If the plugin util keybind makes it to the main branch, I will take this out and may be have a shortcut plugin to handle these.
- Also selecting of Keybindings page is being done for this specific case Page = 3
- A notebook tab number and title map would remove this. Which can be configurable, later.
2022-11-23 20:02:26 +05:30
Matt Rose
13ff8cdcf5
Merge pull request #683 from mattrose/insert-term-name-plugin
Plugin and Group menu item that inserts the name of the terminal.
2022-11-20 16:11:25 -05:00
Matthew Rose
35e7e026cd add "Insert Terminal Name" to the group menu 2022-11-20 13:42:20 -05:00
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
4e5e790a81
Merge pull request #189 from phidebian/phi-zero-padded
Use the term 'zero padded' instead of 'padded'.
2022-11-19 15:09:43 -05:00
Matt Rose
2aff8dbf30
Merge pull request #679 from mattrose/add-readonly
Add Readonly toggle to popup menu
2022-11-18 23:15:43 -05:00
Matthew Rose
0d362fc0f5 Add Readonly toggle to popup menu
Fixes #649
2022-11-18 21:14:42 -05:00
Vishweshwar Saran Singh Deo
6bdb0c648c [bug 613] - Shortcut for autosplit h/v depending on active terminal size #613
-added auto split feature
-new signal split-auto was added
-currently this uses widget dimensions for the split as rows, cols were having different space and was not consistent, this can be changed if needed
-short cut was also added
-icon for the menu item needs to be added
2022-11-05 11:42:38 +05:30
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
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
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
784dc4946e Terminal mousewheel event: check for all modifiers 2022-06-13 15:16:24 +02: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
96aa749678
Merge pull request #553 from Vulcalien/zoom-terminal-switch
Unzoom terminal on interaction
2021-12-26 18:10:22 -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
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
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
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
Vulcalien
fa09ba0cda Add setting 'disable_mouse_paste' 2021-09-12 22:13:01 +02:00
Vulcalien
672e6fb4c8 BugFix: terminal won't restart if there is no custom command 2021-08-31 01:48:41 +02: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
0434880f13 initial commit for remotinator background image command 2021-08-14 11:38:49 -04:00
Vulcalien
880a15d5d3 Make terminal cursor colors fallback to foreground & background 2021-08-14 17:07:00 +02:00