Merge remote-tracking branch 'upstream/master' into 681-Plugin-Submission-Plugin-Utility-KeyBinding-Mouseless-Keyboard-URL-Open

This commit is contained in:
Vishweshwar Saran Singh Deo 2023-07-28 20:08:37 +05:30
commit a0ed310094
22 changed files with 3916 additions and 1328 deletions

54
AUTHORS
View File

@ -5,9 +5,8 @@ This list is generated from the GIT log.
* Aaron Faanes <dafrito@gmail.com>
* Adrian A <a.adrian.tech@googlemail.com>
* Alexey Sokolov <sokolov@google.com>
* amaan khan <khanamaan827@gmail.com>
* Andrea Corbellini <corbellini.andrea@gmail.com>
* Andre Hilsendeger <Andre.Hilsendeger@gmail.com>
* Andrea Corbellini <corbellini.andrea@gmail.com>
* Andrew Felske <knopper67@archlinux.us>
* Antonio Terceiro <asa@terceiro.xyz>
* Antonio Terceiro <terceiro@debian.org>
@ -17,11 +16,9 @@ This list is generated from the GIT log.
* Brian Murray <brian@canonical.com>
* Bruno Braga <bruno.braga@gmail.com>
* Bryce Harrington <bryce@bryceharrington.org>
* caprinux <123jinkai@gmail.com>
* Chacal <chacal_exodius@hotmail.com>
* Chris James <hashdevine@gmail.com>
* Chris Jones <cmsj@tenshu.net>
* coder <none@non.no>
* Cory Kontros <coryisatm@ubuntu.com>
* Daniel Napora <napcok@gmail.com>
* Daniel T Chen <crimsun@ubuntu.com>
@ -29,7 +26,6 @@ This list is generated from the GIT log.
* David Levanon <dvdlevanon@gmail.com>
* David Sowder <github.com@david.sowder.com>
* Dennis Benzinger | SAP Hybris <dennis.benzinger@sap.com>
* dkmvs <67212386+dkmvs@users.noreply.github.com>
* Dmitry Soldatov <grapescan@gmail.com>
* Douglas Bacon <douglaswbacon@gmail.com>
* Edoardo Batini <eodbat@gmail.com>
@ -37,7 +33,6 @@ This list is generated from the GIT log.
* Emilien Klein <emilien@klein.st>
* Emilio Pozuelo Monfort <pochu@debian.org>
* Emmanuel Bretelle <chantra@debuntu.org>
* evandrocoan <evandrocoan@hotmail.com>
* Felix Mölder <56774350+Brambleberry4@users.noreply.github.com>
* Fernando Basso <fernandobasso.br@gmail.com>
* Filip Kilibarda <filipcsc@gmail.com>
@ -54,63 +49,78 @@ This list is generated from the GIT log.
* Jean-Sebastien Trottier <strottie@cisco.com>
* Joe Peled <joe.peled@vimeo.com>
* Jonas L <jooola@users.noreply.github.com>
* José Augusto <joseaugusto.881@outlook.com>
* Jose Augusto <jose.augusto@chiligum.com.br>
* Jose I. Monreal <jmonreal@gmail.com>
* judgedreads <pearce@millerdedmon.com>
* José Augusto <joseaugusto.881@outlook.com>
* Juliano Fischer Naves <julianofischer@gmail.com>
* Julien Nicoulaud <julien.nicoulaud@gmail.com>
* Julien Thewys <jth@openerp.com>
* Kacper Kowalski <kacper.s.kowalski@gmail.com>
* Kees Cook <kees@outflux.net>
* kocho1984 <eblebleo2@gmail.com>
* Kian-Meng Ang <kianmeng@cpan.org>
* Leandro Thimóteo <leandro.s.thimoteo@gmail.com>
* Lucian Adrian Grijincu <lucian.grijincu@gmail.com>
* Mackenzie Morgan <maco.m@ubuntu.com>
* Mark Timarev <marktimarev@gmail.com>
* Markus Frosch <markus@lazyfrosch.de>
* Markus Korn <thekorn@gmx.de>
* Matthew Rose <mattrose@folkwolf.net>
* Matt Rose <mattrose@folkwolf.net>
* milotype <43657314+milotype@users.noreply.github.com>
* Matthew Rose <mattrose@folkwolf.net>
* Mihai Babiac <mihai.babiac@gmail.com>
* MuhammadJivani <masad@peekaboo.guru>
* Nathan Handler <nhandler@ubuntu.com>
* Nathaniel M. Beaver <nathanielmbeaver@gmail.com>
* Nathaniel Morck Beaver <nathanielmbeaver@gmail.com>
* Neal Fultz <nfultz@neal-1015pe>
* Nicolas Valcárcel <nvalcarcel@ubuntu.com>
* nojhan <nojhan@nojhan.net>
* ozzdemir <oguz.ozdemir@ieee.metu.edu.tr>
* Pavel Khlebovich <pas.anddev@gmail.com>
* Paweł Kotiuk <45544416+pktiuk@users.noreply.github.com>
* Paweł Kotiuk <kotiuk@zohomail.eu>
* Peter B. Jørgensen <peterbjorgensen@gmail.com>
* Peter Bjørn Jørgensen <peterbjorgensen@gmail.com>
* Peter Lind <peter.e.lind@gmail.com>
* Phi <phi@kernel-tools.com>
* planet36 <planet36@users.noreply.github.com>
* Przemek Wesolek <jest@luna>
* R the Troublemaker <5971066+br0kenbuild@users.noreply.github.com>
* Rafael Kitover <rkitover@gmail.com>
* Roberto Aguilar <roberto.c.aguilar@gmail.com>
* robertoetcheverryr <yggdrasil.raiker@gmail.com>
* R the Troublemaker <5971066+br0kenbuild@users.noreply.github.com>
* Ryan Fonnesbeck <fonz@fonzinc.com>
* shiraeeshi <shiraeeshi@mail.ru>
* Siegfried-Angel Gevatter Pujals <rainct@ubuntu.com>
* Simeon Simeonov <sgs@pichove.org>
* Stephen Boddy <stephen.j.boddy@gmail.com>
* StephenPeringer <StephenPeringer@users.noreply.github.com>
* thebigs <TheBigS@users.noreply.github.com>
* Thomas Hurst <tom@hur.st>
* Thomas Meire <blackskad@gmail.com>
* Tomek Sabała <sabala.tomek@gmail.com>
* Tobias Farrenkopf <tf@emptyset.de>
* Tom Yan <tom.ty89@gmail.com>
* Tomek Sabała <sabala.tomek@gmail.com>
* Tony Baker <frd91gt@gmail.com>
* Vishweshwar Saran Singh Deo <vssdeo@gmail.com>
* Vojtech Duchon (Ext) <vojtech.duchon@gmail.com>
* Vulcalien <vulcalien+github@gmail.com>
* Vulcalien <vulcalien@gmail.com>
* waldner <waldner@katamail.com>
* xuezhixin <xuezhixin@uniontech.com>
* Yousof <yousofebneddin@yahoo.com>
* Yusuf Güngör <yusuf.gungor@hepsiburada.com>
* amaan khan <khanamaan827@gmail.com>
* caprinux <123jinkai@gmail.com>
* coder <none@non.no>
* dkmvs <67212386+dkmvs@users.noreply.github.com>
* evandrocoan <evandrocoan@hotmail.com>
* flaviosteimacher <39162591+flaviosteimacher@users.noreply.github.com>
* judgedreads <pearce@millerdedmon.com>
* kocho1984 <eblebleo2@gmail.com>
* milotype <43657314+milotype@users.noreply.github.com>
* nicbn <contact@nicbn.com>
* nojhan <nojhan@nojhan.net>
* ozzdemir <oguz.ozdemir@ieee.metu.edu.tr>
* planet36 <planet36@users.noreply.github.com>
* robertoetcheverryr <yggdrasil.raiker@gmail.com>
* sabriunal <libreajans@gmail.com>
* shiraeeshi <shiraeeshi@mail.ru>
* thebigs <TheBigS@users.noreply.github.com>
* transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
* waldner <waldner@katamail.com>
* xuezhixin <xuezhixin@uniontech.com>
## Other contributors
@ -132,5 +142,7 @@ People that contributed to Terminator in other ways.
* Maxim Derkach
* Mats Henrikson
* Nizar Kerkeni
* "Data"
* Cristian Grada
* "zhuqin"
* and many others.

View File

@ -1,5 +1,70 @@
# Changelog
## [v2.1.3](https://github.com/gnome-terminator/terminator/tree/v2.1.3) (2023-03-01)
[Full Changelog](https://github.com/gnome-terminator/terminator/compare/v2.1.2...v2.1.3)
**Implemented enhancements:**
- Option to set split ratio of terminals [\#708](https://github.com/gnome-terminator/terminator/issues/708)
- Add option to set given terminal to "read only" [\#649](https://github.com/gnome-terminator/terminator/issues/649)
- background image - respect ratio [\#644](https://github.com/gnome-terminator/terminator/issues/644)
- Shortcut for autosplit h/v depending on active terminal size [\#613](https://github.com/gnome-terminator/terminator/issues/613)
- Feature: Insert terminal name to terminal \(for broadcast\) [\#540](https://github.com/gnome-terminator/terminator/issues/540)
- Background image drawing modes and alignment [\#713](https://github.com/gnome-terminator/terminator/pull/713) ([Vulcalien](https://github.com/Vulcalien))
- Zoom on notebook even if there is only one terminal in the tab + keep tab position and label in notebook rotation [\#589](https://github.com/gnome-terminator/terminator/pull/589) ([Vulcalien](https://github.com/Vulcalien))
**Fixed bugs:**
- Resets the tab title on rotation [\#624](https://github.com/gnome-terminator/terminator/issues/624)
- - bug context menu \(right click\)-\>layouts-\>"Layout Name" always selec… [\#653](https://github.com/gnome-terminator/terminator/pull/653) ([vssdeo](https://github.com/vssdeo))
- Fix missing icons when started with Ctrl-Alt-T [\#628](https://github.com/gnome-terminator/terminator/pull/628) ([MihaiBabiac](https://github.com/MihaiBabiac))
**Closed issues:**
- Terminator not working with latest version of python-cairo [\#711](https://github.com/gnome-terminator/terminator/issues/711)
- \[Bug\]\[Fedora 36 KDE\]\[terminator v2.1.1\] "broadcast group" sends each terminal input/keystroke depending on the group's members count to everyone in the group [\#704](https://github.com/gnome-terminator/terminator/issues/704)
- reset\_clear doesn't show new prompt [\#703](https://github.com/gnome-terminator/terminator/issues/703)
- `-x`/`--execute` still broken [\#702](https://github.com/gnome-terminator/terminator/issues/702)
- Make unfocused terminal text transparent instead of blacker [\#694](https://github.com/gnome-terminator/terminator/issues/694)
- A translucent separation occurs between terminals [\#687](https://github.com/gnome-terminator/terminator/issues/687)
- \[2.1.2\] Foreground processes started in new window close immediately [\#673](https://github.com/gnome-terminator/terminator/issues/673)
- Is there a official page to maintain a offical/third-part plugin list? [\#668](https://github.com/gnome-terminator/terminator/issues/668)
- What happened to the change terminal titlebar under preferences? [\#664](https://github.com/gnome-terminator/terminator/issues/664)
- \[Feature Request\] - In the Context Menu\(Right-Click\) show keyboard shortcuts / accelarators [\#662](https://github.com/gnome-terminator/terminator/issues/662)
- terminator: error: unrecognized arguments [\#660](https://github.com/gnome-terminator/terminator/issues/660)
- Plugin Submission : SaveLastSessionLayout Uses Layout to Auto-Save Last session and CWD on Terminal Window Close [\#654](https://github.com/gnome-terminator/terminator/issues/654)
- Loading layout loads only the last added layout from context menu \(right click\) [\#652](https://github.com/gnome-terminator/terminator/issues/652)
- When can we expect a new release? [\#650](https://github.com/gnome-terminator/terminator/issues/650)
- Profiles for different Shells - is it possible? how does it work? [\#640](https://github.com/gnome-terminator/terminator/issues/640)
- Double input to broadcasted group [\#623](https://github.com/gnome-terminator/terminator/issues/623)
- background images only displaying on default profile [\#595](https://github.com/gnome-terminator/terminator/issues/595)
- The repository 'https://ppa.launchpadcontent.net/mattrose/terminator/ubuntu jammy Release' does not have a Release file. [\#594](https://github.com/gnome-terminator/terminator/issues/594)
- Increase the usage of augmented assignment statements [\#555](https://github.com/gnome-terminator/terminator/issues/555)
**Merged pull requests:**
- Better distinguishing of inactive windows from the active one, by changing the background brightness [\#709](https://github.com/gnome-terminator/terminator/pull/709) ([KKoovalsky](https://github.com/KKoovalsky))
- Ctrl+Click on group button automatically creates groups whenever needed [\#691](https://github.com/gnome-terminator/terminator/pull/691) ([nicbn](https://github.com/nicbn))
- \[bug 680\] Open up keybindings page on keypress \#680 [\#686](https://github.com/gnome-terminator/terminator/pull/686) ([vssdeo](https://github.com/vssdeo))
- Translate '/po/terminator.pot' in 'pt\_BR' [\#684](https://github.com/gnome-terminator/terminator/pull/684) ([transifex-integration[bot]](https://github.com/apps/transifex-integration))
- Plugin and Group menu item that inserts the name of the terminal. [\#683](https://github.com/gnome-terminator/terminator/pull/683) ([mattrose](https://github.com/mattrose))
- Add Readonly toggle to popup menu [\#679](https://github.com/gnome-terminator/terminator/pull/679) ([mattrose](https://github.com/mattrose))
- Fix argument handling of the --execute flag [\#678](https://github.com/gnome-terminator/terminator/pull/678) ([shawn-ogg](https://github.com/shawn-ogg))
- Remove all ibus workarounds [\#674](https://github.com/gnome-terminator/terminator/pull/674) ([mattrose](https://github.com/mattrose))
- \[bug 613\] - Shortcut for autosplit h/v depending on active terminal … [\#671](https://github.com/gnome-terminator/terminator/pull/671) ([vssdeo](https://github.com/vssdeo))
- \[bug 662\] \[Feature Request\] - In the Context Menu\(Right-Click\) show k… [\#666](https://github.com/gnome-terminator/terminator/pull/666) ([vssdeo](https://github.com/vssdeo))
- \[bug 559\] Add menu autocomplete \#559 [\#665](https://github.com/gnome-terminator/terminator/pull/665) ([vssdeo](https://github.com/vssdeo))
- \[bug 662\] \[Feature Request\] - In the Context Menu\(Right-Click\) show k… [\#663](https://github.com/gnome-terminator/terminator/pull/663) ([vssdeo](https://github.com/vssdeo))
- \[bug 654\] - Plugin Submission : SaveLastSessionLayout Uses Layout to … [\#661](https://github.com/gnome-terminator/terminator/pull/661) ([vssdeo](https://github.com/vssdeo))
- Update terminal.py [\#659](https://github.com/gnome-terminator/terminator/pull/659) ([flaviosteimacher](https://github.com/flaviosteimacher))
- docs: Change number of columns in repology badge [\#657](https://github.com/gnome-terminator/terminator/pull/657) ([pktiuk](https://github.com/pktiuk))
- Plugin Submission : SaveLastSessionLayout Uses Layout to Auto-Save Last session and CWD [\#655](https://github.com/gnome-terminator/terminator/pull/655) ([vssdeo](https://github.com/vssdeo))
- Fix typos [\#651](https://github.com/gnome-terminator/terminator/pull/651) ([kianmeng](https://github.com/kianmeng))
- data: Remove GNOME branding [\#647](https://github.com/gnome-terminator/terminator/pull/647) ([sabriunal](https://github.com/sabriunal))
- this line has an extra ';' symbol [\#632](https://github.com/gnome-terminator/terminator/pull/632) ([xuezhixin](https://github.com/xuezhixin))
- Use the term 'zero padded' instead of 'padded'. [\#189](https://github.com/gnome-terminator/terminator/pull/189) ([phidebian](https://github.com/phidebian))
## [v2.1.2](https://github.com/gnome-terminator/terminator/tree/v2.1.2) (2022-10-19)
[Full Changelog](https://github.com/gnome-terminator/terminator/compare/v2.1.1...v2.1.2)
@ -67,7 +132,7 @@
- Fix Keyboard Input [\#533](https://github.com/gnome-terminator/terminator/issues/533)
- group broadcasting switched on/off for all groups [\#532](https://github.com/gnome-terminator/terminator/issues/532)
- Drop a file from nautilus onto terminator window no longer works \(it used to paste the path a la gnome terminal\) [\#530](https://github.com/gnome-terminator/terminator/issues/530)
- Crash every time after encoding is changed to TCVN [\#529](https://github.com/gnome-terminator/terminator/issues/529)
- Crash everytime after encoding is changed to TCVN [\#529](https://github.com/gnome-terminator/terminator/issues/529)
- Change the color of the current tab to highlight it better [\#522](https://github.com/gnome-terminator/terminator/issues/522)
- Feature: Configuration to colorize split screens from default grey colour, Issue: Remove ability to select 0 and 1 handle\_size from configuration gui [\#518](https://github.com/gnome-terminator/terminator/issues/518)
- Error when using "Insert Terminal Number" \(Solved?\) [\#517](https://github.com/gnome-terminator/terminator/issues/517)
@ -79,7 +144,7 @@
- terminator failing to open on ubuntu 21.04 [\#502](https://github.com/gnome-terminator/terminator/issues/502)
- Monospace Bold isn't working [\#497](https://github.com/gnome-terminator/terminator/issues/497)
- No prompt when closing terminator now, despite say vim running in terminal [\#496](https://github.com/gnome-terminator/terminator/issues/496)
- support for sixel graphics [\#492](https://github.com/gnome-terminator/terminator/issues/492)
- suppor for sixel graphics [\#492](https://github.com/gnome-terminator/terminator/issues/492)
- which is deprecated and should not be used [\#488](https://github.com/gnome-terminator/terminator/issues/488)
- could tmux Key bindings using in terminator? [\#474](https://github.com/gnome-terminator/terminator/issues/474)
- Support OpenType font features [\#473](https://github.com/gnome-terminator/terminator/issues/473)
@ -148,7 +213,7 @@
- add parameters to remotinator split commands [\#472](https://github.com/gnome-terminator/terminator/pull/472) ([mattrose](https://github.com/mattrose))
- add switch\_profile\_all command to remotinator [\#471](https://github.com/gnome-terminator/terminator/pull/471) ([mattrose](https://github.com/mattrose))
- Set CAN\_FOCUS to False for notebook widgets [\#470](https://github.com/gnome-terminator/terminator/pull/470) ([marktimarev](https://github.com/marktimarev))
- tell titlebar to start focused out if it does not have focus [\#462](https://github.com/gnome-terminator/terminator/pull/462) ([mattrose](https://github.com/mattrose))
- tell titlebar to start focussed out if it does not have focus [\#462](https://github.com/gnome-terminator/terminator/pull/462) ([mattrose](https://github.com/mattrose))
- Update translation [\#460](https://github.com/gnome-terminator/terminator/pull/460) ([pktiuk](https://github.com/pktiuk))
- Add new plugin for opening current directory using right mouse button [\#459](https://github.com/gnome-terminator/terminator/pull/459) ([pktiuk](https://github.com/pktiuk))
- Fixed Issue \#425 \(hide\_window will try to show a destroyed window\) [\#456](https://github.com/gnome-terminator/terminator/pull/456) ([Vulcalien](https://github.com/Vulcalien))
@ -199,7 +264,7 @@
- Background image not showing up on Xubuntu 20.04 [\#364](https://github.com/gnome-terminator/terminator/issues/364)
- Pasted text is highlighted [\#363](https://github.com/gnome-terminator/terminator/issues/363)
- \[FR\] Option to elide terminal title from the left [\#362](https://github.com/gnome-terminator/terminator/issues/362)
- Windows title are not updated after ssh session disconnected [\#359](https://github.com/gnome-terminator/terminator/issues/359)
- Windows title are not udpated after ssh session disconnected [\#359](https://github.com/gnome-terminator/terminator/issues/359)
- No broadcast menu in sway [\#357](https://github.com/gnome-terminator/terminator/issues/357)
- Remove spaces between tabs [\#331](https://github.com/gnome-terminator/terminator/issues/331)
- Enhancement: Stjerm Layout Like Functionality [\#298](https://github.com/gnome-terminator/terminator/issues/298)
@ -244,7 +309,7 @@
- The Alt+L layout chooser is too small [\#345](https://github.com/gnome-terminator/terminator/issues/345)
- Open in Previous Location [\#337](https://github.com/gnome-terminator/terminator/issues/337)
- How to install terminator without root privilege? [\#332](https://github.com/gnome-terminator/terminator/issues/332)
- Improve separator between split terminals [\#329](https://github.com/gnome-terminator/terminator/issues/329)
- Improve separator between splitted terminals [\#329](https://github.com/gnome-terminator/terminator/issues/329)
- Using shift+Super+} for next\_tab key binding doesn't work [\#326](https://github.com/gnome-terminator/terminator/issues/326)
- "Copy email address" actually doesn't quite do that [\#323](https://github.com/gnome-terminator/terminator/issues/323)
- Can`t disable key binding [\#322](https://github.com/gnome-terminator/terminator/issues/322)
@ -354,7 +419,7 @@ With pull request #70, we removed the need for gettext binaries and switched to
**Closed issues:**
- Feature Suggestion: Split screen shells based on parent [\#230](https://github.com/gnome-terminator/terminator/issues/230)
- Feature Suggestion: Splitted screen shells based on parent [\#230](https://github.com/gnome-terminator/terminator/issues/230)
- Release 2.0 does not have signed assets [\#228](https://github.com/gnome-terminator/terminator/issues/228)
- Some files install to the wrong location [\#227](https://github.com/gnome-terminator/terminator/issues/227)
- Multi tab breaks transparent background [\#225](https://github.com/gnome-terminator/terminator/issues/225)
@ -423,7 +488,7 @@ With pull request #70, we removed the need for gettext binaries and switched to
- Selecting first char of a line for copy-paste is impossible [\#191](https://github.com/gnome-terminator/terminator/issues/191)
- Duplicate Key Bindings are Allowed in `Preferences > Keybindings` [\#190](https://github.com/gnome-terminator/terminator/issues/190)
- Cannot open terminator windows with different configs [\#184](https://github.com/gnome-terminator/terminator/issues/184)
- Feature request: re-enable broadcast keybindings and warn on their first use instead [\#183](https://github.com/gnome-terminator/terminator/issues/183)
- Feature request: reenable broadcast keybindings and warn on their first use instead [\#183](https://github.com/gnome-terminator/terminator/issues/183)
- Add Terminator version in About screen [\#169](https://github.com/gnome-terminator/terminator/issues/169)
- Feature Request: Add hyperlink support [\#164](https://github.com/gnome-terminator/terminator/issues/164)
- ctrl-alt-a activates even when terminal has no focus [\#163](https://github.com/gnome-terminator/terminator/issues/163)

View File

@ -47,4 +47,5 @@
</screenshots>
<url type="homepage">https://github.com/gnome-terminator/terminator</url>
<updatecontact>terminator@lazyfrosch.de</updatecontact>
<developer_name>The Terminator Team</developer_name>
</component>

4
doc/gen_manpages.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
asciidoctor -b manpage terminator.adoc
asciidoctor -b manpage terminator_config.adoc

View File

@ -1,286 +1,477 @@
.TH "TERMINATOR" "1" "Jan 5, 2008" "" ""
'\" t
.\" Title: terminator
.\" Author: [see the "AUTHOR(S)" section]
.\" Generator: Asciidoctor 2.0.18
.\" Date: 2023-04-01
.\" Manual: Manual for Terminator
.\" Source: Terminator
.\" Language: English
.\"
.TH "TERMINATOR" "1" "2023-04-01" "Terminator" "Manual for Terminator"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
.nh
.ad l
.de URL
\fI\\$2\fP <\\$1>\\$3
..
.als MTO URL
.if \n[.g] \{\
. mso www.tmac
. am URL
. ad l
. .
. am MTO
. ad l
. .
. LINKSTYLE blue R < >
.\}
.SH "NAME"
Terminator \- Multiple GNOME terminals in one window
terminator \- multiple GNOME terminals in one window
.SH "SYNOPSIS"
.B terminator
.RI [ options ]
.br
.sp
\fBterminator\fP [\fIoptions\fP]
.SH "DESCRIPTION"
.sp
This manual page documents \fBTerminator\fP, a terminal emulator application.
.PP
.sp
\fBTerminator\fP is a program that allows users to set up flexible
arrangements of GNOME terminals. It is aimed at those who normally
arrange lots of terminals near each other, but don't want to use a
arrange lots of terminals near each other, but don\(cqt want to use a
frame based window manager.
.SH "OPTIONS"
This program follow the usual GNU command line syntax, with long
options starting with two dashes (`\-').
.sp
This program follows the usual GNU command line syntax, with long
options starting with two dashes (`\-\*(Aq).
A summary of options is included below.
.TP
.B \-h, \-\-help
Show summary of options
.TP
.B \-v, \-\-version
Show the version of the Terminator installation
.TP
.B \-m, \-\-maximise
Start with a maximised window
.B \-M, \-\-maximize
Start with a maximized window
.TP
.B \-f, \-\-fullscreen
Start with a fullscreen window
.TP
.B \-b, \-\-borderless
.sp
\fB\-h\fP, \fB\-\-help\fP
.RS 4
Show summary of options.
.RE
.sp
\fB\-v\fP, \fB\-\-version\fP
.RS 4
Show the version of the Terminator installation.
.RE
.sp
\fB\-m\fP, \fB\-M\fP, \fB\-\-maximise\fP, \fB\-\-maximize\fP
.RS 4
Start with a maximised window.
.RE
.sp
\fB\-f\fP, \fB\-\-fullscreen\fP
.RS 4
Start with a fullscreen window.
.RE
.sp
\fB\-b\fP, \fB\-\-borderless\fP
.RS 4
Instruct the window manager not to render borders/decoration on the
Terminator window (this works well with \-m)
.TP
.B \-H, \-\-hidden
Terminator window (this works well with \-\-maximise).
.RE
.sp
\fB\-H\fP, \fB\-\-hidden\fP
.RS 4
Hide the Terminator window by default. Its visibility can be toggled
with the \fBhide_window\fR keyboard shortcut (Ctrl-Shift-Alt-a by default)
.TP
.B \-T, \-\-title
Force the Terminator window to use a specific name rather than updating it dynamically
based on the wishes of the child shell.
.TP
.B \-\-geometry=GEOMETRY
Specifies the preferred size and position of Terminator's window; see X(7).
.TP
.B \-e, \-\-command=COMMAND
Runs the specified command instead of your default shell or profile specified command. Note: if
Terminator is launched as x-terminal-emulator \-e behaves like \-x, and the longform becomes
\-\-execute2=COMMAND
.TP
.B \-x, \-\-execute COMMAND [ARGS]
Runs \fBthe rest of the command line\fR instead of your default shell or profile specified command.
.TP
.B \-\-working\-directory=DIR
Set the terminal's working directory
.TP
.B \-g, \-\-config FILE
Use the specified FILE for configuration
.TP
.B \-r, \-\-role=ROLE
Set a custom WM_WINDOW_ROLE property on the window
.TP
.B \-l, \-\-layout=LAYOUT
with the \fBhide_window\fP keyboard shortcut (Ctrl+Shift+Alt+A by default).
.RE
.sp
\fB\-T\fP \fIFORCEDTITLE\fP, \fB\-\-title\fP=\fIFORCEDTITLE\fP
.RS 4
Force the Terminator window to use a specific name rather than updating
it dynamically based on the wishes of the child shell.
.RE
.sp
\fB\-\-geometry\fP=\fIGEOMETRY\fP
.RS 4
Specify the preferred size and position of Terminator\(cqs window;
see \fBX\fP(7).
.RE
.sp
\fB\-e\fP \fICOMMAND\fP, \fB\-\-command\fP=\fICOMMAND\fP
.RS 4
Run the specified command instead of the default shell or profile
specified command.
.br
Note: if Terminator is launched as x\-terminal\-emulator \-e behaves like
\-x, and the longform becomes \-\-execute2=COMMAND.
.RE
.sp
\fB\-x\fP \fICOMMAND\fP [\fIARGS\fP], \fB\-\-execute\fP=\fICOMMAND\fP [\fIARGS\fP]
.RS 4
Run \fBthe rest of the command line\fP instead of the default shell or
profile specified command.
.RE
.sp
\fB\-\-working\-directory\fP=\fIDIR\fP
.RS 4
Set the terminal\(cqs working directory.
.RE
.sp
\fB\-g\fP \fIFILE\fP, \fB\-\-config\fP=\fIFILE\fP
.RS 4
Use the specified file for configuration.
.RE
.sp
\fB\-r\fP \fIROLE\fP, \fB\-\-role\fP=\fIROLE\fP
.RS 4
Set a custom WM_WINDOW_ROLE property on the window.
.RE
.sp
\fB\-l\fP \fILAYOUT\fP, \fB\-\-layout\fP=\fILAYOUT\fP
.RS 4
Start Terminator with a specific layout. The argument here is the name
of a saved layout.
.TP
.B \-s, \-\-select-layout=LAYOUT
.RE
.sp
\fB\-s\fP \fILAYOUT\fP, \fB\-\-select\-layout\fP=\fILAYOUT\fP
.RS 4
Open the layout launcher window instead of the normal terminal.
.TP
.B \-p, \-\-profile=PROFILE
Use a different profile as the default
.TP
.B \-i, \-\-icon=FORCEDICON
.RE
.sp
\fB\-p\fP, \fB\-\-profile\fP=\fIPROFILE\fP
.RS 4
Use a different profile as the default.
.RE
.sp
\fB\-i\fP, \fB\-\-icon\fP=\fIFORCEDICON\fP
.RS 4
Set a custom icon for the window (by file or name)
.TP
.B \-u, \-\-no-dbus
Disable DBus
.TP
.B \-d, \-\-debug
Enable debugging output (please use this when reporting bugs). This
can be specified twice to enable a built-in python debugging server.
.TP
.B \-\-debug\-classes=DEBUG_CLASSES
.RE
.sp
\fB\-u\fP, \fB\-\-no\-dbus\fP
.RS 4
Disable DBus.
.RE
.sp
\fB\-d\fP, \fB\-\-debug\fP
.RS 4
Enable debugging output (please use this when reporting bugs). This can
be specified twice to enable a built\-in python debugging server.
.RE
.sp
\fB\-\-debug\-classes\fP=\fIDEBUG_CLASSES\fP
.RS 4
If this is specified as a comma separated list, debugging output will
only be printed from the specified classes.
.TP
.B \-\-debug\-methods=DEBUG_METHODS
.RE
.sp
\fB\-\-debug\-methods\fP=\fIDEBUG_METHODS\fP
.RS 4
If this is specified as a comma separated list, debugging output will
only be printed from the specified functions. If this is specified in
addition to \-\-debug-classes, only the intersection of the two lists
will be displayed
.TP
.B \-\-new-tab
addition to \-\-debug\-classes, only the intersection of the two lists will
be displayed.
.RE
.sp
\fB\-\-new\-tab\fP
.RS 4
If this is specified and Terminator is already running, DBus will be
used to spawn a new tab in the first Terminator window.
.RE
.SH "KEYBINDINGS"
The following default keybindings can be used to control Terminator:
.TP
.B F1
.sp
The following default keybindings can be used to control Terminator.
Most of these keybindings can be changed in the Preferences.
.sp
\fBF1\fP
.RS 4
Launches the full HTML manual.
.SS Creation & Destruction
.PP
.RE
.SS "Creation & Destruction"
.sp
The following items relate to creating and destroying terminals.
.TP
.B Ctrl+Shift+O
Split terminals H\fBo\fRrizontally.
.TP
.B Ctrl+Shift+E
Split terminals V\fBe\fRrtically.
.TP
.B Ctrl+Shift+T
Open new \fBt\fRab.
.TP
.B Ctrl+Shift+I
Open a new window. (Note: Unlike in previous releases, this window is
part of the same Terminator process.)
.TP
.B Super+I
.sp
\fBCtrl+Shift+O\fP
.RS 4
Split terminals H\fIo\fPrizontally.
.RE
.sp
\fBCtrl+Shift+E\fP
.RS 4
Split terminals V\fIe\fPrtically.
.RE
.sp
\fBCtrl+Shift+T\fP
.RS 4
Open new \fIt\fPab.
.RE
.sp
\fBCtrl+Shift+I\fP
.RS 4
Open a new window.
.br
(Note: unlike in previous releases, this window is part of the same
Terminator process.)
.RE
.sp
\fBSuper+I\fP
.RS 4
Spawn a new Terminator process.
.TP
.B Alt+L
Open \fBl\fRayout launcher.
.TP
.B Ctrl+Shift+W
.RE
.sp
\fBAlt+L\fP
.RS 4
Open \fIl\fPayout launcher.
.RE
.sp
\fBCtrl+Shift+W\fP
.RS 4
Close the current terminal.
.TP
.B Ctrl+Shift+Q
.RE
.sp
\fBCtrl+Shift+Q\fP
.RS 4
Close the current window.
.SS Navigation
.PP
.RE
.SS "Navigation"
.sp
The following items relate to moving between and around terminals.
.TP
.B Alt+Up
Move to the terminal \fBabove\fR the current one.
.TP
.B Alt+Down
Move to the terminal \fBbelow\fR the current one.
.TP
.B Alt+Left
Move to the terminal \fBleft of\fR the current one.
.TP
.B Alt+Right
Move to the terminal \fBright of\fR the current one.
.TP
.B Ctrl+PageDown
Move to next Tab.
.TP
.B Ctrl+PageUp
Move to previous Tab.
.TP
.B Ctrl+Shift+N or Ctrl+Tab
Move to \fBn\fRext terminal within the same tab, use Ctrl+PageDown to move to the next tab.
If \fBcycle_term_tab\fR is \fBFalse\fR, cycle within the same tab will be disabled.
.TP
.B Ctrl+Shift+P or Ctrl+Shift+Tab
Move to \fBp\fRrevious terminal within the same tab, use Ctrl+PageUp to move to the previous tab.
If \fBcycle_term_tab\fR is \fBFalse\fR, cycle within the same tab will be disabled.
.SS Organisation
.PP
.sp
\fBAlt+Up\fP
.RS 4
Move to the terminal \fBabove\fP the current one.
.RE
.sp
\fBAlt+Down\fP
.RS 4
Move to the terminal \fBbelow\fP the current one.
.RE
.sp
\fBAlt+Left\fP
.RS 4
Move to the terminal \fBleft of\fP the current one.
.RE
.sp
\fBAlt+Right\fP
.RS 4
Move to the terminal \fBright of\fP the current one.
.RE
.sp
\fBCtrl+PageDown\fP
.RS 4
Move to next tab.
.RE
.sp
\fBCtrl+PageUp\fP
.RS 4
Move to previous tab.
.RE
.sp
\fBCtrl+Shift+N\fP or \fBCtrl+Tab\fP
.RS 4
Move to the \fIn\fPext terminal within the same tab.
.br
.RE
.sp
\fBCtrl+Shift+P\fP or \fBCtrl+Shift+Tab\fP
.RS 4
Move to the \fIp\fPrevious terminal within the same tab.
.br
.RE
.SS "Organisation"
.sp
The following items relate to arranging and resizing terminals.
.TP
.B Ctrl+Shift+Right
Move parent dragbar \fBRight\fR.
.TP
.B Ctrl+Shift+Left
Move parent dragbar \fBLeft\fR.
.TP
.B Ctrl+Shift+Up
Move parent dragbar \fBUp\fR.
.TP
.B Ctrl+Shift+Down
Move parent dragbar \fBDown\fR.
.TP
.B Super+R
\fBR\fRotate terminals clockwise.
.TP
.B Super+Shift+R
\fBR\fRotate terminals counter-clockwise.
.TP
.SH "Drag and Drop"
.sp
\fBCtrl+Shift+Right\fP
.RS 4
Move parent dragbar \fBright\fP.
.RE
.sp
\fBCtrl+Shift+Left\fP
.RS 4
Move parent dragbar \fBleft\fP.
.RE
.sp
\fBCtrl+Shift+Up\fP
.RS 4
Move parent dragbar \fBup\fP.
.RE
.sp
\fBCtrl+Shift+Down\fP
.RS 4
Move parent dragbar \fBdown\fP.
.RE
.sp
\fBSuper+R\fP
.RS 4
\fIR\fPotate terminals clockwise.
.RE
.sp
\fBSuper+Shift+R\fP
.RS 4
\fIR\fPotate terminals counter\-clockwise.
.RE
.sp
\fBCtrl+Shift+PageDown\fP
.RS 4
Swap tab position with next tab.
.RE
.sp
\fBCtrl+Shift+PageUp\fP
.RS 4
Swap tab position with previous tab.
.RE
.sp
\fBDrag and Drop\fP
.RS 4
The layout can be modified by moving terminals with Drag and Drop.
To start dragging a terminal, click and hold on its titlebar.
Alternatively, hold down \fBCtrl\fP, click and hold the \fBright\fP mouse button.
Then, \fB**Release Ctrl**\fP. You can now drag the terminal to the point in the layout you would like it to be.
The zone where the terminal would be inserted will be highlighted.
.TP
.B Ctrl+Shift+PageDown
Swap tab position with next Tab.
.TP
.B Ctrl+Shift+PageUp
Swap tab position with previous Tab.
.SS Miscellaneous
.PP
The following items relate to miscellaneous terminal related functions.
.TP
.B Ctrl+Shift+C
Copy selected text to clipboard.
.TP
.B Ctrl+Shift+V
Paste clipboard text.
.TP
.B Ctrl+Shift+S
Hide/Show \fBS\fRcrollbar.
.TP
.B Ctrl+Shift+F
Search within terminal scrollback.
.TP
.B Ctrl+Shift+R
Reset terminal state.
.TP
.B Ctrl+Shift+G
Reset terminal state and clear window.
.TP
.B Ctrl+Plus (+)
Increase font size. \fBNote:\fP This may require you to press shift, depending on your keyboard.
.TP
.B Ctrl+Minus (-)
Decrease font size. \fBNote:\fP This may require you to press shift, depending on your keyboard.
.TP
.B Ctrl+Zero (0)
Restore font size to original setting.
.TP
.B Ctrl+Alt+W
Rename window title.
.TP
.B Ctrl+Alt+A
Rename tab title.
.TP
.B Ctrl+Alt+X
Rename terminal title.
.TP
.B Super+1
Insert terminal number, i.e. 1 to 12.
.TP
.B Super+0
Insert padded terminal number, i.e. 01 to 12.
.SS Grouping & Broadcasting
.PP
Then, \fB**release Ctrl**\fP. You can now drag the terminal to the point
in the layout you would like it to be. The zone where the terminal would
be inserted will be highlighted.
.RE
.SS "Focus"
.sp
The following items relate to helping to focus on a specific terminal.
.TP
.B F11
.sp
\fBF11\fP
.RS 4
Toggle window to fullscreen.
.TP
.B Ctrl+Shift+X
Toggle between showing all terminals and only showing the current one (maximise).
.TP
.B Ctrl+Shift+Z
Toggle between showing all terminals and only showing a scaled version of the current one (zoom).
.TP
.B Ctrl+Shift+Alt+A
Hide the initial window. Note that this is a global binding, and can only be bound once.
.PP
.RE
.sp
\fBCtrl+Shift+X\fP
.RS 4
Toggle between showing all terminals and only showing the current one
(maximise).
.RE
.sp
\fBCtrl+Shift+Z\fP
.RS 4
Toggle between showing all terminals and only showing a scaled version
of the current one (zoom).
.RE
.sp
\fBCtrl+Shift+Alt+A\fP
.RS 4
Hide the initial window. Note that this is a global binding, and can
only be bound once.
.RE
.SS "Grouping & Broadcasting"
.sp
The following items relate to grouping and broadcasting.
.TP
.B Super+T
Group all terminals in the current tab so input sent to one of them, goes to all terminals in the current tab.
.TP
.B Super+Shift+T
.sp
\fBSuper+T\fP
.RS 4
Group all terminals in the current tab so that any input sent to one of
them goes to all of them.
.RE
.sp
\fBSuper+Shift+T\fP
.RS 4
Remove grouping from all terminals in the current tab.
.TP
.B Super+G
Group all terminals so that any input sent to one of them, goes to all of them.
.TP
.B Super+Shift+G
.RE
.sp
\fBSuper+G\fP
.RS 4
Group all terminals so that any input sent to one of them goes to all of
them.
.RE
.sp
\fBSuper+Shift+G\fP
.RS 4
Remove grouping from all terminals.
.TP
.B Alt+A
Broadcast to All terminals.
.TP
.B Alt+G
Broadcast to Grouped terminals.
.TP
.B Alt+O
Broadcast Off.
.PP
Most of these keybindings are changeable in the Preferences.
.SH "SEE ALSO"
.BR terminator_config(5)
.SH "AUTHOR"
.RE
.sp
\fBAlt+A\fP
.RS 4
Broadcast to \fIa\fPll terminals.
.RE
.sp
\fBAlt+G\fP
.RS 4
Broadcast to \fIg\fProuped terminals.
.RE
.sp
\fBAlt+O\fP
.RS 4
Broadcast \fIo\fPff.
.RE
.SS "Miscellaneous"
.sp
The following items relate to miscellaneous terminal related functions.
.sp
\fBCtrl+Shift+C\fP
.RS 4
Copy selected text to clipboard.
.RE
.sp
\fBCtrl+Shift+V\fP
.RS 4
Paste clipboard text.
.RE
.sp
\fBCtrl+Shift+S\fP
.RS 4
Toggle \fIs\fPcrollbar.
.RE
.sp
\fBCtrl+Shift+F\fP
.RS 4
Search within terminal scrollback.
.RE
.sp
\fBCtrl+Shift+R\fP
.RS 4
Reset terminal state.
.RE
.sp
\fBCtrl+Shift+G\fP
.RS 4
Reset terminal state and clear window.
.RE
.sp
\fBCtrl+Plus (+)\fP
.RS 4
Increase font size.
.br
Note: this may require you to press shift, depending on your keyboard.
.RE
.sp
\fBCtrl+Minus (\-)\fP
.RS 4
Decrease font size.
.br
Note: this may require you to press shift, depending on your keyboard.
.RE
.sp
\fBCtrl+Zero (0)\fP
.RS 4
Restore font size to original setting.
.RE
.sp
\fBCtrl+Alt+W\fP
.RS 4
Rename window title.
.RE
.sp
\fBCtrl+Alt+A\fP
.RS 4
Rename tab title.
.RE
.sp
\fBCtrl+Alt+X\fP
.RS 4
Rename terminal title.
.RE
.sp
\fBSuper+1\fP
.RS 4
Insert terminal number, i.e. 1 to 12.
.RE
.sp
\fBSuper+0\fP
.RS 4
Insert padded terminal number, i.e. 01 to 12.
.RE
.SH "AUTHORS"
.sp
Terminator was written by Chris Jones <cmsj@tenshu.net> and others.
.PP
This manual page was written by Chris Jones <cmsj@tenshu.net>
and others.
.sp
This manual page was written by Chris Jones <cmsj@tenshu.net> and others.
.SH "SEE ALSO"
.sp
\fBterminator_config\fP(5)

306
doc/terminator.adoc Normal file
View File

@ -0,0 +1,306 @@
= Terminator(1)
:doctype: manpage
:manmanual: Manual for Terminator
:mansource: Terminator
:revdate: 2023-04-01
:docdate: {revdate}
== NAME
terminator - multiple GNOME terminals in one window
== SYNOPSIS
*terminator* [_options_]
== DESCRIPTION
This manual page documents *Terminator*, a terminal emulator application.
*Terminator* is a program that allows users to set up flexible
arrangements of GNOME terminals. It is aimed at those who normally
arrange lots of terminals near each other, but don't want to use a
frame based window manager.
== OPTIONS
This program follows the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
*-h*, *--help*::
Show summary of options.
*-v*, *--version*::
Show the version of the Terminator installation.
*-m*, *-M*, *--maximise*, *--maximize*::
Start with a maximised window.
*-f*, *--fullscreen*::
Start with a fullscreen window.
*-b*, *--borderless*::
Instruct the window manager not to render borders/decoration on the
Terminator window (this works well with --maximise).
*-H*, *--hidden*::
Hide the Terminator window by default. Its visibility can be toggled
with the *hide_window* keyboard shortcut (Ctrl+Shift+Alt+A by default).
*-T* _FORCEDTITLE_, **--title**=__FORCEDTITLE__::
Force the Terminator window to use a specific name rather than updating
it dynamically based on the wishes of the child shell.
**--geometry**=__GEOMETRY__::
Specify the preferred size and position of Terminator's window;
see *X*(7).
*-e* _COMMAND_, **--command**=__COMMAND__::
Run the specified command instead of the default shell or profile
specified command. +
Note: if Terminator is launched as x-terminal-emulator -e behaves like
-x, and the longform becomes --execute2=COMMAND.
*-x* _COMMAND_ [__ARGS__], **--execute**=__COMMAND__ [__ARGS__]::
Run *the rest of the command line* instead of the default shell or
profile specified command.
**--working-directory**=__DIR__::
Set the terminal's working directory.
*-g* _FILE_, **--config**=__FILE__::
Use the specified file for configuration.
// TODO --config-json option
*-r* _ROLE_, **--role**=__ROLE__::
Set a custom WM_WINDOW_ROLE property on the window.
*-l* _LAYOUT_, **--layout**=__LAYOUT__::
Start Terminator with a specific layout. The argument here is the name
of a saved layout.
*-s* _LAYOUT_, **--select-layout**=__LAYOUT__::
Open the layout launcher window instead of the normal terminal.
*-p*, **--profile**=__PROFILE__::
Use a different profile as the default.
*-i*, **--icon**=__FORCEDICON__::
Set a custom icon for the window (by file or name)
*-u*, *--no-dbus*::
Disable DBus.
// Could 'Start Terminator with DBus disabled.' be better?
*-d*, *--debug*::
Enable debugging output (please use this when reporting bugs). This can
be specified twice to enable a built-in python debugging server.
**--debug-classes**=__DEBUG_CLASSES__::
If this is specified as a comma separated list, debugging output will
only be printed from the specified classes.
**--debug-methods**=__DEBUG_METHODS__::
If this is specified as a comma separated list, debugging output will
only be printed from the specified functions. If this is specified in
addition to --debug-classes, only the intersection of the two lists will
be displayed.
*--new-tab*::
If this is specified and Terminator is already running, DBus will be
used to spawn a new tab in the first Terminator window.
== KEYBINDINGS
The following default keybindings can be used to control Terminator.
Most of these keybindings can be changed in the Preferences.
*F1*::
Launches the full HTML manual.
=== Creation & Destruction
The following items relate to creating and destroying terminals.
*Ctrl+Shift+O*::
Split terminals H__o__rizontally.
*Ctrl+Shift+E*::
Split terminals V__e__rtically.
*Ctrl+Shift+T*::
Open new __t__ab.
*Ctrl+Shift+I*::
Open a new window. +
(Note: unlike in previous releases, this window is part of the same
Terminator process.)
*Super+I*::
Spawn a new Terminator process.
*Alt+L*::
Open __l__ayout launcher.
*Ctrl+Shift+W*::
Close the current terminal.
*Ctrl+Shift+Q*::
Close the current window.
=== Navigation
The following items relate to moving between and around terminals.
*Alt+Up*::
Move to the terminal *above* the current one.
*Alt+Down*::
Move to the terminal *below* the current one.
*Alt+Left*::
Move to the terminal *left of* the current one.
*Alt+Right*::
Move to the terminal *right of* the current one.
*Ctrl+PageDown*::
Move to next tab.
*Ctrl+PageUp*::
Move to previous tab.
*Ctrl+Shift+N* or *Ctrl+Tab*::
Move to the __n__ext terminal within the same tab. +
*Ctrl+Shift+P* or *Ctrl+Shift+Tab*::
Move to the __p__revious terminal within the same tab. +
=== Organisation
The following items relate to arranging and resizing terminals.
*Ctrl+Shift+Right*::
Move parent dragbar *right*.
*Ctrl+Shift+Left*::
Move parent dragbar *left*.
*Ctrl+Shift+Up*::
Move parent dragbar *up*.
*Ctrl+Shift+Down*::
Move parent dragbar *down*.
*Super+R*::
__R__otate terminals clockwise.
*Super+Shift+R*::
__R__otate terminals counter-clockwise.
*Ctrl+Shift+PageDown*::
Swap tab position with next tab.
*Ctrl+Shift+PageUp*::
Swap tab position with previous tab.
*Drag and Drop*::
The layout can be modified by moving terminals with Drag and Drop.
To start dragging a terminal, click and hold on its titlebar.
Alternatively, hold down *Ctrl*, click and hold the *right* mouse button.
Then, *+**release Ctrl**+*. You can now drag the terminal to the point
in the layout you would like it to be. The zone where the terminal would
be inserted will be highlighted.
=== Focus
The following items relate to helping to focus on a specific terminal.
*F11*::
Toggle window to fullscreen.
*Ctrl+Shift+X*::
Toggle between showing all terminals and only showing the current one
(maximise).
*Ctrl+Shift+Z*::
Toggle between showing all terminals and only showing a scaled version
of the current one (zoom).
*Ctrl+Shift+Alt+A*::
Hide the initial window. Note that this is a global binding, and can
only be bound once.
=== Grouping & Broadcasting
The following items relate to grouping and broadcasting.
*Super+T*::
Group all terminals in the current tab so that any input sent to one of
them goes to all of them.
*Super+Shift+T*::
Remove grouping from all terminals in the current tab.
*Super+G*::
Group all terminals so that any input sent to one of them goes to all of
them.
*Super+Shift+G*::
Remove grouping from all terminals.
*Alt+A*::
Broadcast to __a__ll terminals.
*Alt+G*::
Broadcast to __g__rouped terminals.
*Alt+O*::
Broadcast __o__ff.
=== Miscellaneous
The following items relate to miscellaneous terminal related functions.
*Ctrl+Shift+C*::
Copy selected text to clipboard.
*Ctrl+Shift+V*::
Paste clipboard text.
*Ctrl+Shift+S*::
Toggle __s__crollbar.
*Ctrl+Shift+F*::
Search within terminal scrollback.
*Ctrl+Shift+R*::
Reset terminal state.
*Ctrl+Shift+G*::
Reset terminal state and clear window.
*Ctrl+Plus (+)*::
Increase font size. +
Note: this may require you to press shift, depending on your keyboard.
*Ctrl+Minus (-)*::
Decrease font size. +
Note: this may require you to press shift, depending on your keyboard.
*Ctrl+Zero (0)*::
Restore font size to original setting.
*Ctrl+Alt+W*::
Rename window title.
*Ctrl+Alt+A*::
Rename tab title.
*Ctrl+Alt+X*::
Rename terminal title.
*Super+1*::
Insert terminal number, i.e. 1 to 12.
*Super+0*::
Insert padded terminal number, i.e. 01 to 12.
== AUTHORS
Terminator was written by Chris Jones <\cmsj@tenshu.net> and others.
This manual page was written by Chris Jones <\cmsj@tenshu.net> and others.
== SEE ALSO
*terminator_config*(5)

File diff suppressed because it is too large Load Diff

927
doc/terminator_config.adoc Normal file
View File

@ -0,0 +1,927 @@
= Terminator_config(5)
:doctype: manpage
:manmanual: Manual for Terminator
:mansource: Terminator
:revdate: 2023-04-22
:docdate: {revdate}
== NAME
terminator_config - the config file for Terminator terminal emulator
== DESCRIPTION
This file contains the configuration for *terminator*(1).
Terminator manages its configuration file via the ConfigObj library to
combine flexibility with clear, human editable files. +
Terminator offers a full GUI preferences editor which automatically
saves its config file so you don't need to write a config file by hand.
== FILE LOCATION
Normally the config file will be *~/.config/terminator/config*, but it
may be overridden with *$XDG_CONFIG_HOME* (in which case it will be
*$XDG_CONFIG_HOME/terminator/config*).
== FILE FORMAT
This is what a Terminator config file should look like:
----
# This is a comment
[global_config]
focus = system
[keybindings]
full_screen = <Ctrl><Shift>F11
[profiles]
[[default]]
font = Fixed 10
background_color = "#000000" # A comment
foreground_color = "#FFFFFF" # Note that hex colour values must be quoted
scrollback_lines = '500' #More comment. Single quotes are valid too
cursor_blink = True
custom_command = "echo \"foo#bar\"" #Final comment - this will work as expected.
[layouts]
[[default]]
[[[window0]]]
type = Window
parent = ""
[[[child1]]]
type = Terminal
parent = window0
[plugins]
----
// ================================================================== \\
== global_config
These are the options Terminator currently supports in the
*global_config* section.
=== Window Behavior & Appearance
// --- Window behavior ---
*window_state* = _string_::
Control how the Terminator window opens.
'normal' to open normally.
'maximise' to open in a maximised state.
'fullscreen' to open in a fullscreen state.
'hidden' to stay hidden. +
Default value: *normal*
*always_on_top* = _boolean_::
If set to True, the window will always stay on top of other windows. +
Default value: *False*
*sticky* = _boolean_::
If set to True, the window will be visible on all workspaces. +
Default value: *False*
*hide_on_lose_focus* = _boolean_::
If set to True, the window will be hidden when focus is lost. +
Default value: *False*
*hide_from_taskbar* = _boolean_::
If set to True, the window will be hidden from the taskbar. +
Default value: *False*
*geometry_hinting* = _boolean_::
If set to True, the window will resize in step with font sizes. +
Default value: *False*
*suppress_multiple_term_dialog* = _boolean_::
If set to True, Terminator will ask for confirmation when closing
multiple terminals. +
Default value: *False*
// --- Window appearance ---
*borderless* = _boolean_::
If set to True, the window will be started without window borders. +
Default value: *False*
=== Tab Behavior & Appearance
*tab_position* = _string_::
Specify where tabs are placed.
Can be any of: 'top', 'left', 'right', 'bottom', 'hidden'.
If set to 'hidden', the tab bar will not be shown. Hiding the tab is not
recommended, as it can be very confusing. +
Default value: *top*
*close_button_on_tab* = _boolean_::
If set to True, tabs will have a close button on them. +
Default value: *True*
// what is this???
*scroll_tabbar* = _boolean_::
If set to True, the tab bar will not fill the width of the window.
The titlebars of the tabs will only take as much space as is necessary
for the text they contain. Except, that is, if the tabs no longer fit
the width of the window - in that case scroll buttons will appear to
move through the tabs. +
Default value: *False*
=== Terminal Behavior & Appearance
// --- Terminal behavior ---
*focus* = _string_::
Specify how focus is given to terminals.
'click' means the focus only moves to a terminal after you click in it.
'sloppy' means the focus will follow the mouse pointer.
'system' means the focus will match that used by a GNOME window manager. +
Default value: *click*
*always_split_with_profile* = _boolean_::
Specify whether splits/tabs will continue to use the profile of their
peer terminal. If set to False, they will always use the default profile. +
Default value: *False*
*link_single_click* = _boolean_::
If set to True, clicking a link will open it even if *Ctrl* is not
pressed. +
Default value: *False*
// --- Copy & Paste behavior ---
*putty_paste_style* = _boolean_::
If set to True, right-click will paste text, while middle-click will
popup the context menu. The source for the pasted text depends on the
value of *putty_paste_style_source_clipboard*. +
Default value: *False*
*putty_paste_style_source_clipboard* = _boolean_::
If set to True, the Clipboard will be used as source for pasting in
PuTTY style. Otherwise, the Primary Selection will be used. +
This option is ignored unless *putty_paste_style* is set to True. +
Default value: *False*
*disable_mouse_paste* = _boolean_::
If set to True, mouse pasting will be disabled. +
Default value: *False*
*smart_copy* = _boolean_::
If set to True, and there is no selection, the shortcut is allowed to
pass through. This is useful for overloading Ctrl-C to copy a selection,
or send the SIGINT to the current process if there is no selection.
If False, the shortcut does not pass through at all, and the SIGINT does
not get sent. +
Default value: *True*
*clear_select_on_copy* = _boolean_::
If set to True, text selection will be cleared after copying using the
*copy* keybinding. +
Default value: *False*
// --- Terminal appearance ---
*handle_size* = _integer_::
Specify the width of the separator between terminals.
Anything outside the range 0-20 (inclusive) will be ignored and the
default theme value will be used instead. +
Default value: *1*
*inactive_color_offset* = _float_::
Specify how much to reduce the color values of fonts in terminals that
do not have focus. +
Default value: *0.8*
*inactive_bg_color_offset* = _float_::
Specify how much to reduce the color values of the background in
terminals that do not have focus. +
Default value: *1.0*
*cell_width* = _float_::
Specify the horizontal scale of character cells in the terminal. +
Default value: *1.0*
*cell_height* = _float_::
Specify the vertical scale of character cells in the terminal. +
Default value: *1.0*
*title_at_bottom* = _boolean_::
If set to True, the terminal's titlebar will be drawn at the bottom
instead of the top. +
Default value: *False*
=== Miscellaneous
*dbus* = _boolean_::
Specify whether Terminator will load its DBus server.
When this server is loaded, running Terminator multiple times will cause
the first Terminator process to open additional windows.
If this configuration item is set to False, or the python dbus module is
unavailable, running Terminator multiple times will run a separate
Terminator process for each invocation. +
Default value: *True*
*extra_styling* = _boolean_::
If set to True, Terminator may load an additional CSS styling file,
depending on the theme. +
Default value: *True*
*broadcast_default* = _string_::
Specify the default broadcast behavior.
Can be any of: 'all', 'group', 'off'. +
Default value: *group*
*use_custom_url_handler* = _boolean_::
If set to True, URL handling will be given over entirely to the program
specified by 'custom_url_handler'. +
Default value: *False*
*custom_url_handler* = _string_::
Specify the path to a program which accepts a URI as an argument and
does something relevant with it.
This option is ignored unless *use_custom_url_handler* is set to True.
*case_sensitive* = _boolean_::
If set to True, uppercase and lowercase characters will be considered
different when searching text in the terminal. +
Default value: *True*
*invert_search* = _boolean_::
If set to True, the search direction will be inverted (bottom to top)
when searching text in the terminal. +
Default value: *False*
*enabled_plugins* = _list of strings_::
Specify which plugins will be loaded by default. All other plugin
classes will be ignored. +
Default value: *['LaunchpadBugURLHandler', 'LaunchpadCodeURLHandler', 'APTURLHandler']*
// ================================================================== \\
== keybindings
These are the options Terminator currently supports in the *keybindings*
section.
=== Creation & Destruction
*split_horiz*::
Split the current terminal horizontally. +
Default value: *<Ctrl><Shift>O*
*split_vert*::
Split the current terminal vertically. +
Default value: *<Ctrl><Shift>E*
*split_auto*::
Split the current terminal automatically, along the longer side. +
Default value: *<Ctrl><Shift>A*
*new_tab*::
Open a new tab. +
Default value: *<Ctrl><Shift>T*
*new_window*::
Open a new window as part of the existing process. +
Default value: *<Ctrl><Shift>I*
*new_terminator*::
Spawn a new Terminator process. +
Default value: *<Super>I*
*layout_launcher*::
Open the layout launcher. +
Default value: *<Alt>L*
*close_term*::
Close the current terminal. +
Default value: *<Ctrl><Shift>W*
*close_window*::
Close the current window. +
Default value: *<Ctrl><Shift>Q*
=== Navigation
*cycle_next*::
Focus the next terminal. This is an alias for *go_next*. +
Default value: *<Ctrl>Tab*
*cycle_prev*::
Focus the previous terminal. This is an alias for *go_prev*. +
Default value: *<Ctrl><Shift>Tab*
*go_next*::
Focus the next terminal. +
Default value: *<Ctrl><Shift>N*
*go_prev*::
Focus the previous terminal. +
Default value: *<Ctrl><Shift>P*
*go_up*::
Focus the terminal above the current one. +
Default value: *<Alt>Up*
*go_down*::
Focus the terminal below the current one. +
Default value: *<Alt>Down*
*go_left*::
Focus the terminal to the left of the current one. +
Default value: *<Alt>Left*
*go_right*::
Focus the terminal to the right of the current one. +
Default value: *<Alt>Right*
// --- Scroll ---
*page_up*::
Scroll the terminal up one page.
*page_down*::
Scroll the terminal down one page.
*page_up_half*::
Scroll the terminal up half a page.
*page_down_half*::
Scroll the terminal down half a page.
*line_up*::
Scroll the terminal up one line.
*line_down*::
Scroll the terminal down one line.
// --- Tab ---
*next_tab*::
Move to the next tab. +
Default value: *<Ctrl>Page_Down*
*prev_tab*::
Move to the previous tab. +
Default value: *<Ctrl>Page_Up*
*switch_to_tab_1*, *switch_to_tab_2*, ... *switch_to_tab_10*::
Move to the **N**th tab.
Note that *<Alt><Shift>1* may be provided as *<Alt>!* or similar,
depending on the keyboard layout.
=== Organisation
*resize_up*::
Move the parent dragbar up. +
Default value: *<Ctrl><Shift>Up*
*resize_down*::
Move the parent dragbar down. +
Default value: *<Ctrl><Shift>Down*
*resize_left*::
Move the parent dragbar left. +
Default value: *<Ctrl><Shift>Left*
*resize_right*::
Move the parent dragbar right. +
Default value: *<Ctrl><Shift>Right*
*rotate_cw*::
Rotate terminals clockwise. +
Default value: *<Super>R*
*rotate_ccw*::
Rotate terminals counter+clockwise. +
Default value: *<Super><Shift>R*
*move_tab_right*::
Move the current tab to the right by swapping position with the next
tab. +
Default value: *<Ctrl><Shift>Page_Down*
*move_tab_left*::
Move the current tab to the left by swapping position with the previous
tab. +
Default value: *<Ctrl><Shift>Page_Up*
=== Focus
*full_screen*::
Toggle window to fullscreen. +
Default value: *F11*
*toggle_zoom*::
Toggle maximisation of the current terminal. +
Default value: *<Ctrl><Shift>X*
*scaled_zoom*::
Toggle maximisation of the current terminal and scale the font when
maximised. +
Default value: *<Ctrl><Shift>Z*
*hide_window*::
Hide/Show all Terminator windows. +
Default value: *<Ctrl><Shift><Alt>A*
=== Grouping & Broadcasting
*create_group*::
Create a new group.
// --- Grouping: All ---
*group_all*::
Group all terminals together. +
Default value: *<Super>G*
*ungroup_all*::
Ungroup all terminals.
*group_all_toggle*::
Toggle grouping of all terminals.
// --- Grouping: Window ---
*group_win*::
Group all terminals in the current window together.
*ungroup_win*::
Ungroup all terminals in the current window. +
Default value: *<Super><Shift>W*
*group_win_toggle*::
Toggle grouping of all terminals in the current window.
// --- Grouping: Tab ---
*group_tab*::
Group all terminals in the current tab together. +
Default value: *<Super>T*
*ungroup_tab*::
Ungroup all terminals in the current tab. +
Default value: *<Super><Shift>T*
*group_tab_toggle*::
Toggle grouping of all terminals in the current tab.
// Broadcasting
*broadcast_off*::
Turn broadcasting off.
*broadcast_group*::
Broadcast to all terminals in the same group as the current terminal.
*broadcast_all*::
Broadcast to all terminals.
=== Miscellaneous
*help*::
Open the full HTML manual in the browser. +
Default value: *F1*
*preferences*::
Open the Preferences window.
*preferences_keybindings*::
Open the Preferences window and show the Keybindings tab. +
Default value: *<Ctrl><Shift>K*
*copy*::
Copy the selected text to the Clipboard. +
Default value: *<Ctrl><Shift>C*
*paste*::
Paste the current contents of the Clipboard. +
Default value: *<Ctrl><Shift>V*
*paste_selection*::
Paste the current contents of the Primary Selection.
*toggle_scrollbar*::
Toggle the scrollbar. +
Default value: *<Ctrl><Shift>S*
*search*::
Search for text in the terminal scrollback history. +
Default value: *<Ctrl><Shift>F*
*reset*::
Reset the terminal state. +
Default value: *<Ctrl><Shift>R*
*reset_clear*::
Reset the terminal state and clear the terminal window. +
Default value: *<Ctrl><Shift>G*
*zoom_in*::
Increase the font size by one unit. +
Default value: *<Ctrl>plus*
*zoom_out*::
Decrease the font size by one unit. +
Default value: *<Ctrl>minus*
*zoom_normal*::
Restore the original font size. +
Default value: *<Ctrl>0*
*zoom_in_all*::
Increase the font size by one unit for all terminals.
*zoom_out_all*::
Decrease the font size by one unit for all terminals.
*zoom_normal_all*::
Restore the original font size for all terminals.
*edit_window_title*::
Rename the current window. +
Default value: *<Ctrl><Alt>W*
*edit_tab_title*::
Rename the current tab. +
Default value: *<Ctrl><Alt>A*
*edit_terminal_title*::
Rename the current terminal. +
Default value: *<Ctrl><Alt>X*
*insert_number*::
Insert the current terminal's number, i.e. 1 to 12. +
Default value: *<Super>1*
*insert_padded*::
Insert the current terminal's number, but zero padded, i.e. 01 to 12. +
Default value: *<Super>0*
*next_profile*::
Switch to the next profile.
*previous_profile*::
Switch to the previous profile.
// ================================================================== \\
== profiles
These are the options Terminator currently supports in the *profiles*
section. Each profile should be its own subsection with a header in the
format *\[[name]]*.
=== General
*allow_bold* = _boolean_::
If set to True, text in the terminal can displayed in bold. +
Default value: *True*
*copy_on_selection* = _boolean_::
If set to True, text selections will be automatically copied to the
Clipboard, in addition to being copied to the Primary Selection. +
Default value: *False*
*disable_mousewheel_zoom* = _boolean_::
If set to True, Ctrl+mouse_wheel will not zoom or unzoom the terminal. +
Default value: *False*
*word_chars* = _string_::
Specify the characters that will be considered part of a single word
when selecting text by word.
Hyphen and alphanumerics do not need to be specified.
Ranges can be given, e.g. "A-Z". +
For example, if *word_chars* = "," then "foo,bar" is considered a single
word. +
Default value: **-,./?%&#:_**
*mouse_autohide* = _boolean_::
If set to True, the mouse pointer will be hidden when typing. +
Default value: *True*
*term* = _string_::
Specify the value Terminator will assign to the 'TERM' environment
variable. +
Default value: *xterm-256color*
*colorterm* = _string_::
Specify the value Terminator will assign to the 'COLORTERM' environment
variable. +
Default value: *truecolor*
*split_to_group* = _boolean_::
If set to True, the terminal created by splitting will be inserted in
the current terminal's group. +
Default value: *False*
*autoclean_groups* = _boolean_::
If set to True, empty groups will be removed. +
Default value: *True*
// --- Font ---
*use_system_font* = _boolean_::
If set to True, the system default font will be used for text in the
terminal. Otherwise, the value of *font* will be used. +
Default value: *True*
*font* = _string_::
Specify which font to use for text in the terminal.
This option is ignored unless *use_system_font* is set to False. +
Default value: *Mono 10*
// --- Cursor ---
*cursor_blink* = _boolean_::
If set to True, the cursor will blink when not typing. +
Default value: *True*
*cursor_shape* = _string_::
Specify the shape of the cursor.
Can be any of: 'block', 'underline', 'ibeam'. +
Default value: *block*
*cursor_color_default* = _boolean_::
If set to True, the background and foreground colors of the terminal
will be used as foreground and background colors for the cursor,
respectively. +
Default value: *True*
*cursor_fg_color* = _color string_::
Specify the foreground color to use for the cursor.
This option is ignored unless *cursor_color_default* is set to False.
*cursor_bg_color* = _color string_::
Specify the background color to use for the cursor.
This option is ignored unless *cursor_color_default* is set to False.
// --- Bell ---
*audible_bell* = _boolean_::
If set to True, a sound will be played when an application writes the
escape sequence for the terminal bell. +
Default value: *False*
*visible_bell* = _boolean_::
If set to True, the terminal will flash when an application writes the
escape sequence for the terminal bell. +
Default value: *False*
*urgent_bell* = _boolean_::
If set to True, the window's urgency hint will be set when an
application writes the escape sequence for the terminal bell. +
Default value: *False*
*icon_bell* = _boolean_::
If set to True, a small icon will be shown on the terminal titlebar when
an application writes the escape sequence for the terminal bell. +
Default value: *True*
*force_no_bell* = _boolean_::
If set to True, the terminal bell will be completely disabled. +
Default value: *False*
=== Command
*login_shell* = _boolean_::
If set to True, the terminal will run the default shell (or the command
specified by *custom_command*) as a login shell.
This means the first argument passed to the shell/command will be '-l'. +
Default value: *False*
*use_custom_command* = _boolean_::
If set to True, the value of *custom_command* will be used instead of
the default shell. +
Default value: *False*
*custom_command* = _string_::
Specify the command to execute instead of the default shell.
This option is ignored unless *use_custom_command* is set to True.
*exit_action* = _string_::
Specify the action to perform when the terminal is closed.
'close' to remove the terminal.
'restart' to restart the shell (or the command specified by
*custom_command*).
'hold' to keep the terminal open, even if the process in it has
terminated. +
Default value: *close*
=== Colors
*use_theme_colors* = _boolean_::
If set to True, the theme's foreground and background colors will be
used for the terminal. Otherwise, the values of *foreground_color* and
*background_color* will be used. +
Default value: *False*
*foreground_color* = _color string_::
Specify the foreground color to use for the terminal.
This option is ignored unless *use_theme_colors* is set to False. +
Default value: *#AAAAAA*
*background_color* = _color string_::
Specify the background color to use for the terminal.
This option is ignored unless *use_theme_colors* is set to False. +
Default value: *#000000*
*palette* = _string list of colors_::
Specify the 16-color palette to use for the terminal.
The value must be a string containing a colon-separated list of colors
in hex format. +
For example, "#000000:#cd0000:#00cd00: ... ".
*bold_is_bright* = _boolean_::
If set to True, bold text will have brighter colors. +
Default value: *False*
=== Background
*background_darkness* = _float_::
Specify the transparency of the background color.
The value must be between 0.0 and 1.0.
This option is ignored unless *background_type* is set to 'transparent'
or 'image'. +
Default value: *0.5*
*background_type* = _string_::
Specify what type of background the terminal will have.
'solid' for a solid (opaque) background.
'transparent' for a transparent background.
'image' for a background image. +
If this is set to 'transparent', the transparency of the background will
be the value of *background_darkness*.
If this is set to 'image', the image specified by *background_image*
will be the background; the background color will then be drawn on top
of it, with a transparency specified by *background_darkness*. +
Default value: *solid*
*background_image* = _path string_::
Specify the path to an image that will be used as background.
This option is ignored unless *background_type* is set to 'image'.
*background_image_mode* = _string_::
Specify how the background image will be drawn.
'stretch_and_fill' to fill the terminal entirely, without necessarily
maintaining aspect ratio.
'scale_and_fit' to fit the image inside the terminal, eventually leaving
blank bars, while maintaining aspect ratio.
'scale_and_crop' to fill the terminal entirely, eventually cropping the
image, while maintaining aspect ratio.
'tiling' to repeat the image as to fill the terminal.
This option is ignored unless *background_type* is set to 'image'. +
Default value: *stretch_and_fill*
*background_image_align_horiz* = _string_::
Specify the horizontal alignment of the background image.
Can be any of: 'left', 'center', 'right'.
This option is ignored unless *background_type* is set to 'image'. +
Default value: *center*
*background_image_align_vert* = _string_::
Specify the vertical alignment of the background image.
Can be any of: 'top', 'middle', 'bottom'.
This option is ignored unless *background_type* is set to 'image'. +
Default value: *middle*
=== Scrolling
*scrollbar_position* = _string_::
Specify where the terminal scrollbar is put.
Can be any of: 'left', 'right', 'hidden'. +
Default value: *right*
*scroll_on_output* = _boolean_::
If set to True, the terminall will scroll to the bottom when an
application writes text to it. +
Default value: *False*
*scroll_on_keystroke* = _boolean_::
If set to True, the terminal will scroll to the bottom when typing. +
Default value: *True*
*scrollback_infinite* = _boolean_::
If set to True, the terminal will keep the entire scrollback history. +
Default value: *False*
*scrollback_lines* = _integer_::
Specify how many lines of scrollback history will be kept by the
terminal. Lines that don't fit in the scrollback history will be
discarted. Note that setting large values can slow down rewrapping and
resizing.
This option is ignored unless *scrollback_infinite* is set to False. +
Default value: *500*
=== Compatibility
*backspace_binding* = _string_::
Specify what code will be generated by the backspace key.
The value can be:
'ascii-del' for the ASCII DEL character;
'control-h' for the ASCII BS character (Ctrl+H);
'escape-sequence' for the escape sequence typically bound to backspace
or delete;
'automatic' for letting the terminal automatically decide the character
sequence to use. +
Default value: *ascii-del*
*delete_binding* = _string_::
Specify what code will be generated by the delete key.
The value can be:
'ascii-del' for the ASCII DEL character;
'control-h' for the ASCII BS character (Ctrl+H);
'escape-sequence' for the escape sequence typically bound to backspace
or delete;
'automatic' for letting the terminal automatically decide the character
sequence to use. +
Default value: *escape-sequence*
=== Titlebar
*show_titlebar* = _boolean_::
If set to True, the terminal will have a titlebar showing the current
title of that terminal. +
Default value: *True*
*title_hide_sizetext* = _boolean_::
If set to True, the size of the terminal will not be written on its
titlebar. +
Default value: *False*
*title_use_system_font* = _boolean_::
If set to True, the system default font will be used for text in the
terminal's titlebar. Otherwise, the value of *title_font* will be used. +
Default value: *True*
*title_font* = _string_::
Specify which font to use for text in the terminal's titlebar.
This option is ignored unless *title_use_system_font* is set to False. +
Default value: *Sans 9*
// --- Titlebar colors ---
*title_transmit_fg_color* = _color string_::
Specify the foreground color to use for the terminal's titlebar in case
the terminal is focused. +
Default value: *#ffffff*
*title_transmit_bg_color* = _color string_::
Specify the background color to use for the terminal's titlebar in case
the terminal is focused. +
Default value: *#c80003*
*title_inactive_fg_color* = _color string_::
Specify the foreground color to use for the terminal's titlebar in case
the terminal is unfocused. +
Default value: *#000000*
*title_inactive_bg_color* = _color string_::
Specify the background color to use for the terminal's titlebar in case
the terminal is unfocused. +
Default value: *#c0bebf*
*title_receive_fg_color* = _color string_::
Specify the foreground color to use for the terminal's titlebar in case
the terminal is in a group and is receiving input while unfocused. +
Default value: *#ffffff*
*title_receive_bg_color* = _color string_::
Specify the background color to use for the terminal's titlebar in case
the terminal is in a group and is receiving input while unfocused. +
Default value: *#0076c9*
// ================================================================== \\
== layouts
The *layouts* section contains all the saved layouts. Each layout should
be its own subsection with a header in the format *\[[name]]*.
Each object in a layout is a named sub-sub-section with various
properties.
*type* = _string_::
Can be any of: 'Window', 'Notebook', 'HPaned', 'VPaned', 'Terminal'.
*parent* = _string_::
Specify which object is the parent of the component being defined.
All objects, except those of type Window, must specify a parent.
This is an example of a *layouts* section containing only the layout
named "default".
----
[layouts]
[[default]]
[[[window0]]]
type = Window
parent = ""
[[[child1]]]
type = Terminal
parent = window0
----
// ================================================================== \\
== plugins
Terminator plugins can add their own configuration to the config file,
and it will appear as a subsection. Please refer to the documentation of
individual plugins for more information.
== SEE ALSO
*terminator*(1), https://configobj.readthedocs.io/

View File

@ -1601,7 +1601,7 @@ msgstr "Supprimer le groupe %s"
#: ../terminatorlib/terminal.py:512
msgid "G_roup all in window"
msgstr "Tout g_rouper sans une fenêtre"
msgstr "Tout g_rouper dans une fenêtre"
#: ../terminatorlib/terminal.py:517
msgid "Ungro_up all in window"

267
po/hr.po
View File

@ -2,28 +2,26 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#
# Translators:
# Gnome Terminator <terminator@lazyfrosch.de>, 2020
# Marko Dzidic <mdzidic@gmail.com>, 2020
# Markus Frosch <markus@lazyfrosch.de>, 2021
#
# Marko Dzidic <mdzidic@gmail.com>, 2023
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-01-22 00:51+0100\n"
"POT-Creation-Date: 2022-10-19 09:29-0400\n"
"PO-Revision-Date: 2020-04-22 08:11+0000\n"
"Last-Translator: Markus Frosch <markus@lazyfrosch.de>, 2021\n"
"Language-Team: Croatian (https://www.transifex.com/terminator/teams/109338/"
"hr/)\n"
"Language: hr\n"
"Last-Translator: Marko Dzidic <mdzidic@gmail.com>, 2023\n"
"Language-Team: Croatian (https://app.transifex.com/terminator/teams/109338/hr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"Language: hr\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. Command uuid req. Description
#: ../remotinator.py:39
@ -48,7 +46,7 @@ msgstr "Dobij popis svih terminala"
#: ../remotinator.py:44
msgid "Get the uuid of the current focused terminal"
msgstr ""
msgstr "Dobij UUID trenutnog terminala u fokusu"
#: ../remotinator.py:45
msgid "Get the UUID of a parent window"
@ -68,23 +66,23 @@ msgstr "Dobij naslov nadređene kartice"
#: ../remotinator.py:49
msgid "Set the title of a parent tab"
msgstr ""
msgstr "Postavite naslov glavne kartice"
#: ../remotinator.py:50
msgid "Set the background image"
msgstr ""
msgstr "Postavite pozadinsku sliku"
#: ../remotinator.py:51
msgid "Set the background image for all terminals"
msgstr ""
msgstr "Postavite pozadinsku sliku za sve terminale"
#: ../remotinator.py:52
msgid "Switch current terminal profile"
msgstr ""
msgstr "Promijeni trenutni profil terminala"
#: ../remotinator.py:53
msgid "Switch profile of all currently running terminals"
msgstr ""
msgstr "Promijeni profil svih trenutno pokrenutih terminala"
#: ../remotinator.py:70
#, python-format
@ -111,23 +109,24 @@ msgstr "UUID terminala, kad nije u TERMINATOR_UUID varijabli okruženja"
#: ../remotinator.py:80
msgid "Profile name to switch to"
msgstr ""
msgstr "Naziv profila za prebacivanje"
#: ../remotinator.py:83
msgid "File to pass to command"
msgstr ""
msgstr "Datoteka za prosljeđivanje naredbi"
#: ../remotinator.py:86
msgid "Command to run in new terminal"
msgstr ""
msgstr "Naredba za pokretanje u novom terminalu"
#: ../remotinator.py:89
msgid "Tab name to set. Only used with \"set_tab_title\" command."
msgstr ""
"Naziv kartice za postavljanje. Koristi se samo s naredbom \"set_tab_title\"."
#: ../remotinator.py:92
msgid "Tab name to set."
msgstr ""
msgstr "Naziv kartice za postavljanje."
#: ../data/terminator.desktop.in.h:1 ../data/terminator.appdata.xml.in.h:1
#: ../terminatorlib/plugins/activitywatch.py:83
@ -149,11 +148,11 @@ msgstr "Robotska budućnost terminala"
msgid ""
"A power-user tool for arranging terminals. It is inspired by programs such "
"as gnome-multi-term, quadkonsole, etc. in that the main focus is arranging "
"terminals in grids (tabs is the most common default method, which Terminator "
"also supports)."
"terminals in grids (tabs is the most common default method, which Terminator"
" also supports)."
msgstr ""
"Profesionalni korisnički alat za raspoređivanje terminala, slično programima "
"poput gnome-multi-term, quadkonsole, itd., a glavna ideja je pločasto "
"Profesionalni korisnički alat za raspoređivanje terminala, slično programima"
" poput gnome-multi-term, quadkonsole, itd., a glavna ideja je pločasto "
"raspoređivanje terminala (kartice su najraširenija metoda, koju Terminator "
"također podržava)."
@ -304,8 +303,8 @@ msgid ""
"Use the rest of the command line as a command to execute inside the "
"terminal, and its arguments"
msgstr ""
"Koristi ostatak naredbenog retka kao naredbu za izvršavanje unutar terminala "
"i njezine argumente"
"Koristi ostatak naredbenog retka kao naredbu za izvršavanje unutar terminala"
" i njezine argumente"
#: ../terminatorlib/optionparse.py:69
msgid "Specify a config file"
@ -361,15 +360,15 @@ msgstr "Ako je Terminator već pokrenut, jednostavno otvori novu karticu"
#: ../terminatorlib/optionparse.py:98
msgid "If Terminator is already running, just unhide all hidden windows"
msgstr ""
msgstr "Ako je Terminator već pokrenut, samo otkrijte sve skrivene prozore"
#: ../terminatorlib/optionparse.py:100
msgid "List all profiles"
msgstr ""
msgstr "Popis svih profila"
#: ../terminatorlib/optionparse.py:102
msgid "List all layouts"
msgstr ""
msgstr "Popis svih izgleda"
#: ../terminatorlib/plugins/activitywatch.py:54
msgid "Watch for _activity"
@ -487,7 +486,7 @@ msgstr "Naziv *%s* već postoji"
#: ../terminatorlib/plugins/dir_open.py:26
msgid "Open current directory"
msgstr ""
msgstr "Otvori trenutni direktorij"
#: ../terminatorlib/plugins/logger.py:21
#: ../terminatorlib/plugins/terminalshot.py:21
@ -757,15 +756,15 @@ msgstr "Međuspremnik"
#: ../terminatorlib/preferences.glade.h:62
msgid "Clear selection on copy"
msgstr ""
msgstr "Obriši obilježeno nakon kopiranja"
#: ../terminatorlib/preferences.glade.h:63
msgid "Open links with a single click (instead of Ctrl-left click)"
msgstr ""
msgstr "Otvaranje poveznica jednim klikom (umjesto Ctrl-lijevi klik)"
#: ../terminatorlib/preferences.glade.h:64
msgid "Disable mouse paste"
msgstr ""
msgstr "Onemogući umetanje mišom"
#: ../terminatorlib/preferences.glade.h:65
msgid "Custom URL handler:"
@ -793,11 +792,11 @@ msgstr "Dodatno stiliziranje (ovisno o temi)"
#: ../terminatorlib/preferences.glade.h:71
msgid "Cell Height:"
msgstr ""
msgstr "Visina ćelije:"
#: ../terminatorlib/preferences.glade.h:72
msgid "Cell Width:"
msgstr ""
msgstr "Širina ćelije:"
#: ../terminatorlib/preferences.glade.h:73
msgid "Tab position:"
@ -869,11 +868,11 @@ msgstr "Titranje"
#: ../terminatorlib/preferences.glade.h:90
msgid "Use default colors"
msgstr ""
msgstr "Koristi zadane boje"
#: ../terminatorlib/preferences.glade.h:91
msgid "Foreground:"
msgstr ""
msgstr "Prednji plan:"
#: ../terminatorlib/preferences.glade.h:92
msgid "Background:"
@ -933,11 +932,11 @@ msgstr "Ugrađene she_me:"
#: ../terminatorlib/preferences.glade.h:107
msgid "_Foreground:"
msgstr ""
msgstr "_Prednji plan:"
#: ../terminatorlib/preferences.glade.h:108
msgid "_Background:"
msgstr ""
msgstr "_Boja pozadine:"
#: ../terminatorlib/preferences.glade.h:109
msgid "<b>Palette</b>"
@ -969,11 +968,11 @@ msgstr "_Prozirna pozadina"
#: ../terminatorlib/preferences.glade.h:116
msgid "Background Image"
msgstr ""
msgstr "Pozadinska slika"
#: ../terminatorlib/preferences.glade.h:117
msgid "Background Image File:"
msgstr ""
msgstr "Datoteka pozadinske slike:"
#: ../terminatorlib/preferences.glade.h:118
msgid "Choose file"
@ -981,7 +980,7 @@ msgstr "Odaberi datoteku"
#: ../terminatorlib/preferences.glade.h:119
msgid "S_hade background:"
msgstr ""
msgstr "Zasjeniti pozadinu:"
#: ../terminatorlib/preferences.glade.h:120
msgid "<small><i>None</i></small>"
@ -1027,8 +1026,8 @@ msgstr "Klizanje"
msgid ""
"<small><i><b>Note:</b> These options may cause some applications to behave "
"incorrectly. They are only here to allow you to work around certain "
"applications and operating systems that expect different terminal behavior.</"
"i></small>"
"applications and operating systems that expect different terminal "
"behavior.</i></small>"
msgstr ""
"<small><i><b>Napomena:</b> Ove opcije mogu prouzrokovati neispravan rad "
"nekih programa. Ovdje se nalaze samo kako bi se zaobišli problemi s "
@ -1077,7 +1076,7 @@ msgstr "Odaberi font za traku naslova"
#: ../terminatorlib/preferences.glade.h:141
msgid "Titlebar"
msgstr ""
msgstr "Naslovna traka"
#: ../terminatorlib/preferences.glade.h:142
#: ../terminatorlib/terminal_popup_menu.py:204
@ -1130,30 +1129,17 @@ msgstr "Priključci"
#: ../terminatorlib/preferences.glade.h:158
msgid "Version: 2.1.1"
msgstr ""
msgstr "Verzija: 2.1.1"
#: ../terminatorlib/preferences.glade.h:159
msgid ""
"The goal of this project is to produce a useful tool for arranging "
"terminals. It is inspired by programs such as gnome-multi-term, quadkonsole, "
"etc. in that the main focus is arranging terminals in grids (tabs is the "
"most common default method, which Terminator also supports).\n"
"The goal of this project is to produce a useful tool for arranging terminals. It is inspired by programs such as gnome-multi-term, quadkonsole, etc. in that the main focus is arranging terminals in grids (tabs is the most common default method, which Terminator also supports).\n"
"\n"
"Much of the behavior of Terminator is based on GNOME Terminal, and we are "
"adding more features from that as time goes by, but we also want to extend "
"out in different directions with useful features for sysadmins and other "
"users. If you have any suggestions, please file wishlist bugs! (see left for "
"the Development link)"
"Much of the behavior of Terminator is based on GNOME Terminal, and we are adding more features from that as time goes by, but we also want to extend out in different directions with useful features for sysadmins and other users. If you have any suggestions, please file wishlist bugs! (see left for the Development link)"
msgstr ""
"Cilj ovog projekta je proizvesti koristan alat za raspoređivanje terminala, "
"slično programima poput gnome-multi-term, quadkonsole, itd., a glavna ideja "
"je pločasto raspoređivanje terminala (kartice su najraširenija standardna "
"metoda, koju Terminator također podržava).\n"
"Cilj ovog projekta je proizvesti koristan alat za raspoređivanje terminala, slično programima poput gnome-multi-term, quadkonsole, itd., a glavna ideja je pločasto raspoređivanje terminala (kartice su najraširenija standardna metoda, koju Terminator također podržava).\n"
"\n"
"Terminator se uveliko temelji se na GNOME Terminalu i s vremenom dodajemo "
"daljnje njegove funkcije, ali ga također razvijamo s raznim dodatnim "
"korisnim funkcijama za administratore sustava i za ostale korisnike. "
"Prijedlozi se mogu dodati u popis želja! (vidi lijevo poveznicu „Razvoj”)"
"Terminator se uveliko temelji se na GNOME Terminalu i s vremenom dodajemo daljnje njegove funkcije, ali ga također razvijamo s raznim dodatnim korisnim funkcijama za administratore sustava i za ostale korisnike. Prijedlozi se mogu dodati u popis želja! (vidi lijevo poveznicu „Razvoj”)"
#: ../terminatorlib/preferences.glade.h:162
msgid "The Manual"
@ -1162,12 +1148,10 @@ msgstr "Priručnik"
#: ../terminatorlib/preferences.glade.h:163
msgid ""
"<a href=\"https://github.com/gnome-terminator/terminator\">Development</a>\n"
"<a href=\"https://github.com/gnome-terminator/terminator/issues\">Bugs / "
"Enhancements</a>"
"<a href=\"https://github.com/gnome-terminator/terminator/issues\">Bugs / Enhancements</a>"
msgstr ""
"<a href=\"https://github.com/gnome-terminator/terminator\">Razvoj</a>\n"
"<a href=\"https://github.com/gnome-terminator/terminator/issues\">Greške i "
"poboljšanja</a>"
"<a href=\"https://github.com/gnome-terminator/terminator/issues\">Greške i poboljšanja</a>"
#: ../terminatorlib/preferences.glade.h:165
msgid "About"
@ -1187,15 +1171,15 @@ msgstr "Vrati izvornu veličinu fonta"
#: ../terminatorlib/prefseditor.py:107
msgid "Increase font size on all terminals"
msgstr ""
msgstr "Povećaj veličinu fonta na svim terminalima"
#: ../terminatorlib/prefseditor.py:108
msgid "Decrease font size on all terminals"
msgstr ""
msgstr "Smanji veličinu fonta na svim terminalima"
#: ../terminatorlib/prefseditor.py:109
msgid "Restore original font size on all terminals"
msgstr ""
msgstr "Vrati izvornu veličinu fonta na svim terminalima"
#: ../terminatorlib/prefseditor.py:110
msgid "Create a new tab"
@ -1255,7 +1239,7 @@ msgstr "Umetni iz međuspremnika"
#: ../terminatorlib/prefseditor.py:126
msgid "Paste primary selection"
msgstr ""
msgstr "Umetni primarni odabir"
#: ../terminatorlib/prefseditor.py:127
msgid "Show/Hide the scrollbar"
@ -1407,15 +1391,15 @@ msgstr "Razdvoji sve terminale"
#: ../terminatorlib/prefseditor.py:164
msgid "Group terminals in window"
msgstr ""
msgstr "Grupiraj terminale u prozoru"
#: ../terminatorlib/prefseditor.py:165
msgid "Group/Ungroup terminals in window"
msgstr ""
msgstr "Grupiraj/razgrupiraj terminale u prozoru"
#: ../terminatorlib/prefseditor.py:166
msgid "Ungroup terminals in window"
msgstr ""
msgstr "Razgrupiraj terminale u prozoru"
#: ../terminatorlib/prefseditor.py:167
msgid "Group terminals in tab"
@ -1489,11 +1473,11 @@ msgstr "Otvori prozor postavki"
msgid "Open the manual"
msgstr "Otvori priručnik"
#: ../terminatorlib/prefseditor.py:1370
#: ../terminatorlib/prefseditor.py:1366
msgid "New Profile"
msgstr "Novi profil"
#: ../terminatorlib/prefseditor.py:1413 ../terminatorlib/prefseditor.py:1418
#: ../terminatorlib/prefseditor.py:1409 ../terminatorlib/prefseditor.py:1414
msgid "New Layout"
msgstr "Novi raspored"
@ -1540,7 +1524,7 @@ msgstr "_Umetni"
#: ../terminatorlib/terminal_popup_menu.py:112
msgid "Set W_indow Title"
msgstr ""
msgstr "Postav_ite naslov prozora"
#: ../terminatorlib/terminal_popup_menu.py:117
msgid "Split H_orizontally"
@ -1580,7 +1564,7 @@ msgstr "Grupiranje"
#: ../terminatorlib/terminal_popup_menu.py:186
msgid "Relaunch Command"
msgstr ""
msgstr "Ponovo pokreni naredbu"
#: ../terminatorlib/terminal_popup_menu.py:191
msgid "Show _scrollbar"
@ -1605,11 +1589,11 @@ msgstr "Ukloni grupu %s"
#: ../terminatorlib/terminal.py:512
msgid "G_roup all in window"
msgstr ""
msgstr "G_rupirajte sve u prozoru"
#: ../terminatorlib/terminal.py:517
msgid "Ungro_up all in window"
msgstr ""
msgstr "Razgr_upiraj sve u prozoru"
#: ../terminatorlib/terminal.py:522
msgid "G_roup all in tab"
@ -1656,25 +1640,25 @@ msgstr "_Umetni broj terminala"
msgid "Insert _padded terminal number"
msgstr "Umetni _broj terminala s predstavljenom nulom"
#: ../terminatorlib/terminal.py:1490
#: ../terminatorlib/terminal.py:1492
msgid "Unable to find a shell"
msgstr "Nije moguće pronaći ljusku"
#: ../terminatorlib/terminal.py:1521
#: ../terminatorlib/terminal.py:1546
msgid "Unable to start shell:"
msgstr "Nije moguće pokrenuti ljusku:"
#: ../terminatorlib/terminal.py:1975
#: ../terminatorlib/terminal.py:2000
msgid "Rename Window"
msgstr "Preimenuj prozor"
#: ../terminatorlib/terminal.py:1983
#: ../terminatorlib/terminal.py:2008
msgid "Enter a new title for the Terminator window..."
msgstr "Upiši novi naslov za prozor Terminatora …"
#: ../terminatorlib/titlebar.py:112
msgid "[INACTIVE: Right-Click for Relaunch option] "
msgstr ""
msgstr "[NEAKTIVNO: Desni klik za opciju ponovnog pokretanja]"
#: ../terminatorlib/titlebar.py:258
msgid "Alpha"
@ -1779,120 +1763,9 @@ msgstr "prozor"
#: ../terminatorlib/window.py:773
#, python-format
msgid "Window group %s"
msgstr ""
msgstr "Grupa prozora %s"
#: ../terminatorlib/window.py:799
#, python-format
msgid "Tab %d"
msgstr "Kartica %d"
#~ msgid "Current Locale"
#~ msgstr "Trenutačni jezik"
#~ msgid "Western"
#~ msgstr "Zapadni"
#~ msgid "Central European"
#~ msgstr "Srednjoeuropski"
#~ msgid "South European"
#~ msgstr "Južnoeuropski"
#~ msgid "Baltic"
#~ msgstr "Baltički"
#~ msgid "Cyrillic"
#~ msgstr "Ćirilični"
#~ msgid "Arabic"
#~ msgstr "Arapski"
#~ msgid "Greek"
#~ msgstr "Grčki"
#~ msgid "Hebrew Visual"
#~ msgstr "Vizualni hebrejski"
#~ msgid "Hebrew"
#~ msgstr "Hebrejski"
#~ msgid "Turkish"
#~ msgstr "Turski"
#~ msgid "Nordic"
#~ msgstr "Nordijski"
#~ msgid "Celtic"
#~ msgstr "Keltski"
#~ msgid "Romanian"
#~ msgstr "Rumunjski"
#~ msgid "Unicode"
#~ msgstr "Unikod"
#~ msgid "Armenian"
#~ msgstr "Armenski"
#~ msgid "Chinese Traditional"
#~ msgstr "Kineski tradicionalni"
#~ msgid "Cyrillic/Russian"
#~ msgstr "Ćirilica/Ruski"
#~ msgid "Japanese"
#~ msgstr "Japanski"
#~ msgid "Korean"
#~ msgstr "Korejski"
#~ msgid "Chinese Simplified"
#~ msgstr "Kineski pojednostavljeni"
#~ msgid "Georgian"
#~ msgstr "Gruzijski"
#~ msgid "Cyrillic/Ukrainian"
#~ msgstr "Ćirilica/Ukrajinski"
#~ msgid "Croatian"
#~ msgstr "Hrvatski"
#~ msgid "Hindi"
#~ msgstr "Hindski"
#~ msgid "Persian"
#~ msgstr "Perzijski"
#~ msgid "Gujarati"
#~ msgstr "Gudžaratski"
#~ msgid "Gurmukhi"
#~ msgstr "Gurmuki"
#~ msgid "Icelandic"
#~ msgstr "Islandski"
#~ msgid "Vietnamese"
#~ msgstr "Vijetnamski"
#~ msgid "Thai"
#~ msgstr "Tajlandski"
#~ msgid "Line Height:"
#~ msgstr "Prored:"
#~ msgid "Encoding:"
#~ msgstr "Kodiranje:"
#~ msgid "Encodings"
#~ msgstr "Kodiranja"
#~ msgid "Default"
#~ msgstr "Standardno"
#~ msgid "User defined"
#~ msgstr "Korisnički određeno"
#~ msgid "Other Encodings"
#~ msgstr "Ostala kodiranja"

View File

@ -2,26 +2,26 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#
# Translators:
# Gnome Terminator <terminator@lazyfrosch.de>, 2020
# Anthony Louis <anthony.physis@gmail.com>, 2021
#
# C. E., 2022
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-01-22 00:51+0100\n"
"POT-Creation-Date: 2022-10-19 09:29-0400\n"
"PO-Revision-Date: 2020-04-22 08:11+0000\n"
"Last-Translator: Anthony Louis <anthony.physis@gmail.com>, 2021\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/terminator/"
"teams/109338/pt_BR/)\n"
"Language: pt_BR\n"
"Last-Translator: C. E., 2022\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/terminator/teams/109338/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Language: pt_BR\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. Command uuid req. Description
#: ../remotinator.py:39
@ -70,11 +70,11 @@ msgstr "Definir título de uma guia superior"
#: ../remotinator.py:50
msgid "Set the background image"
msgstr ""
msgstr "Definir a imagem de fundo"
#: ../remotinator.py:51
msgid "Set the background image for all terminals"
msgstr ""
msgstr "Definir a imagem de fundo para todos os terminais"
#: ../remotinator.py:52
msgid "Switch current terminal profile"
@ -82,7 +82,7 @@ msgstr "Trocar o perfil atual do terminal"
#: ../remotinator.py:53
msgid "Switch profile of all currently running terminals"
msgstr ""
msgstr "Troca o perfil de todos os terminais atualmente em execução"
#: ../remotinator.py:70
#, python-format
@ -108,15 +108,15 @@ msgstr "Terminal UUID para quando não estiver em TERMINATOR_UUID"
#: ../remotinator.py:80
msgid "Profile name to switch to"
msgstr ""
msgstr "Mudar o nome do perfil para"
#: ../remotinator.py:83
msgid "File to pass to command"
msgstr ""
msgstr "Arquivo para passar ao comando"
#: ../remotinator.py:86
msgid "Command to run in new terminal"
msgstr ""
msgstr "Comando para executar em novo terminal"
#: ../remotinator.py:89
msgid "Tab name to set. Only used with \"set_tab_title\" command."
@ -126,7 +126,7 @@ msgstr ""
#: ../remotinator.py:92
msgid "Tab name to set."
msgstr ""
msgstr "Definir nome da Aba"
#: ../data/terminator.desktop.in.h:1 ../data/terminator.appdata.xml.in.h:1
#: ../terminatorlib/plugins/activitywatch.py:83
@ -148,8 +148,8 @@ msgstr "O robo do futuro dos terminais"
msgid ""
"A power-user tool for arranging terminals. It is inspired by programs such "
"as gnome-multi-term, quadkonsole, etc. in that the main focus is arranging "
"terminals in grids (tabs is the most common default method, which Terminator "
"also supports)."
"terminals in grids (tabs is the most common default method, which Terminator"
" also supports)."
msgstr ""
"Uma ferramenta destinada aos superusuários, útil para organização de "
"terminais. Esta foi inspirada por programas como gnome-multi-term, "
@ -164,8 +164,8 @@ msgid ""
"users."
msgstr ""
"Muito do comportamento do Terminator é baseado no Terminal do Gnome, e "
"estamos adicionando mais recursos com o passar do tempo, mas também queremos "
"estender isso em diferentes recursos para administradores e sistemas e "
"estamos adicionando mais recursos com o passar do tempo, mas também queremos"
" estender isso em diferentes recursos para administradores e sistemas e "
"outros usuários."
#: ../data/terminator.appdata.xml.in.h:6
@ -366,11 +366,11 @@ msgstr ""
#: ../terminatorlib/optionparse.py:100
msgid "List all profiles"
msgstr ""
msgstr "Listar todos os perfis"
#: ../terminatorlib/optionparse.py:102
msgid "List all layouts"
msgstr ""
msgstr "Listar todos os layouts"
#: ../terminatorlib/plugins/activitywatch.py:54
msgid "Watch for _activity"
@ -768,7 +768,7 @@ msgstr ""
#: ../terminatorlib/preferences.glade.h:64
msgid "Disable mouse paste"
msgstr ""
msgstr "Desativar a cola do mouse"
#: ../terminatorlib/preferences.glade.h:65
msgid "Custom URL handler:"
@ -796,11 +796,11 @@ msgstr "Estilização extra(Depende do tema)"
#: ../terminatorlib/preferences.glade.h:71
msgid "Cell Height:"
msgstr ""
msgstr "Altura da célula:"
#: ../terminatorlib/preferences.glade.h:72
msgid "Cell Width:"
msgstr ""
msgstr "Largura da célula:"
#: ../terminatorlib/preferences.glade.h:73
msgid "Tab position:"
@ -872,11 +872,11 @@ msgstr "Piscar"
#: ../terminatorlib/preferences.glade.h:90
msgid "Use default colors"
msgstr ""
msgstr "Usar cores padrão"
#: ../terminatorlib/preferences.glade.h:91
msgid "Foreground:"
msgstr ""
msgstr "Primeiro plano:"
#: ../terminatorlib/preferences.glade.h:92
msgid "Background:"
@ -936,11 +936,11 @@ msgstr "Es_quemas embutidos:"
#: ../terminatorlib/preferences.glade.h:107
msgid "_Foreground:"
msgstr ""
msgstr "_Foreground:"
#: ../terminatorlib/preferences.glade.h:108
msgid "_Background:"
msgstr ""
msgstr "_Background:"
#: ../terminatorlib/preferences.glade.h:109
msgid "<b>Palette</b>"
@ -1030,8 +1030,8 @@ msgstr "Rolagem"
msgid ""
"<small><i><b>Note:</b> These options may cause some applications to behave "
"incorrectly. They are only here to allow you to work around certain "
"applications and operating systems that expect different terminal behavior.</"
"i></small>"
"applications and operating systems that expect different terminal "
"behavior.</i></small>"
msgstr ""
"<small><i><b>Nota:</b> Estas opções podem levar alguns aplicativos a se "
"comportarem incorretamente. Elas existem apenas para permitir que você "
@ -1080,7 +1080,7 @@ msgstr "Escolher Uma Fonte para Barra de Títulos"
#: ../terminatorlib/preferences.glade.h:141
msgid "Titlebar"
msgstr ""
msgstr "Barra de título"
#: ../terminatorlib/preferences.glade.h:142
#: ../terminatorlib/terminal_popup_menu.py:204
@ -1137,27 +1137,12 @@ msgstr "Versão: 2.11"
#: ../terminatorlib/preferences.glade.h:159
msgid ""
"The goal of this project is to produce a useful tool for arranging "
"terminals. It is inspired by programs such as gnome-multi-term, quadkonsole, "
"etc. in that the main focus is arranging terminals in grids (tabs is the "
"most common default method, which Terminator also supports).\n"
"The goal of this project is to produce a useful tool for arranging terminals. It is inspired by programs such as gnome-multi-term, quadkonsole, etc. in that the main focus is arranging terminals in grids (tabs is the most common default method, which Terminator also supports).\n"
"\n"
"Much of the behavior of Terminator is based on GNOME Terminal, and we are "
"adding more features from that as time goes by, but we also want to extend "
"out in different directions with useful features for sysadmins and other "
"users. If you have any suggestions, please file wishlist bugs! (see left for "
"the Development link)"
"Much of the behavior of Terminator is based on GNOME Terminal, and we are adding more features from that as time goes by, but we also want to extend out in different directions with useful features for sysadmins and other users. If you have any suggestions, please file wishlist bugs! (see left for the Development link)"
msgstr ""
"O objetivo deste projeto é fornecer uma ferramenta útil para organização de "
"terminais. Esta foi inspirada por programas como gnome-multi-term, "
"quadkonsole, etc. em que o objetivo principal é organizar terminais em "
"grades (abas é o método mais comum, o qual o Terminator também suporta).\n"
"O comportamento do Terminator é baseado no Terminal do Gnome, e estamos "
"adicionando mais recursos com o passar do tempo, mas também queremos "
"estender isso em diferentes recursos para administradores e sistemas e "
"outros usuários. Se você tem alguma sugestão, por favor, relate os bugs e "
"possíveis melhorias na lista de desejo! (Veja a esquerda para o link para "
"desenvolvimento)"
"O objetivo deste projeto é fornecer uma ferramenta útil para organização de terminais. Esta foi inspirada por programas como gnome-multi-term, quadkonsole, etc. em que o objetivo principal é organizar terminais em grades (abas é o método mais comum, o qual o Terminator também suporta).\n"
"O comportamento do Terminator é baseado no Terminal do Gnome, e estamos adicionando mais recursos com o passar do tempo, mas também queremos estender isso em diferentes recursos para administradores e sistemas e outros usuários. Se você tem alguma sugestão, por favor, relate os bugs e possíveis melhorias na lista de desejo! (Veja a esquerda para o link para desenvolvimento)"
#: ../terminatorlib/preferences.glade.h:162
msgid "The Manual"
@ -1166,13 +1151,10 @@ msgstr "O Manual"
#: ../terminatorlib/preferences.glade.h:163
msgid ""
"<a href=\"https://github.com/gnome-terminator/terminator\">Development</a>\n"
"<a href=\"https://github.com/gnome-terminator/terminator/issues\">Bugs / "
"Enhancements</a>"
"<a href=\"https://github.com/gnome-terminator/terminator/issues\">Bugs / Enhancements</a>"
msgstr ""
"<a href=\"https://github.com/gnome-terminator/terminator\">Desenvolvimento</"
"a>\n"
"<a href=\"https://github.com/gnome-terminator/terminator/issues\">Bugs / "
"Melhorias</a>"
"<a href=\"https://github.com/gnome-terminator/terminator\">Desenvolvimento</a>\n"
"<a href=\"https://github.com/gnome-terminator/terminator/issues\">Bugs / Melhorias</a>"
#: ../terminatorlib/preferences.glade.h:165
msgid "About"
@ -1260,7 +1242,7 @@ msgstr "Colar área de transferência"
#: ../terminatorlib/prefseditor.py:126
msgid "Paste primary selection"
msgstr ""
msgstr "Colar seleção primária"
#: ../terminatorlib/prefseditor.py:127
msgid "Show/Hide the scrollbar"
@ -1412,15 +1394,15 @@ msgstr "Desagrupar todos os terminais"
#: ../terminatorlib/prefseditor.py:164
msgid "Group terminals in window"
msgstr ""
msgstr "Agrupar terminais na janela"
#: ../terminatorlib/prefseditor.py:165
msgid "Group/Ungroup terminals in window"
msgstr ""
msgstr "Agrupar/Desagrupar terminais na janela"
#: ../terminatorlib/prefseditor.py:166
msgid "Ungroup terminals in window"
msgstr ""
msgstr "Desagrupar terminais na janela"
#: ../terminatorlib/prefseditor.py:167
msgid "Group terminals in tab"
@ -1494,11 +1476,11 @@ msgstr "Abrir janela de Preferências"
msgid "Open the manual"
msgstr "Abrir o manual"
#: ../terminatorlib/prefseditor.py:1370
#: ../terminatorlib/prefseditor.py:1366
msgid "New Profile"
msgstr "Novo perfil"
#: ../terminatorlib/prefseditor.py:1413 ../terminatorlib/prefseditor.py:1418
#: ../terminatorlib/prefseditor.py:1409 ../terminatorlib/prefseditor.py:1414
msgid "New Layout"
msgstr "Nova disposição"
@ -1545,7 +1527,7 @@ msgstr "_Colar"
#: ../terminatorlib/terminal_popup_menu.py:112
msgid "Set W_indow Title"
msgstr ""
msgstr "Definir o título da W_indow"
#: ../terminatorlib/terminal_popup_menu.py:117
msgid "Split H_orizontally"
@ -1610,11 +1592,11 @@ msgstr "Remover grupo %s"
#: ../terminatorlib/terminal.py:512
msgid "G_roup all in window"
msgstr ""
msgstr "Ag_rupar todas as janelas"
#: ../terminatorlib/terminal.py:517
msgid "Ungro_up all in window"
msgstr ""
msgstr "Desagr_upar todas as janelas"
#: ../terminatorlib/terminal.py:522
msgid "G_roup all in tab"
@ -1661,19 +1643,19 @@ msgstr "_Inserir número do terminal"
msgid "Insert _padded terminal number"
msgstr "Inserir _monte de números de terminal"
#: ../terminatorlib/terminal.py:1490
#: ../terminatorlib/terminal.py:1492
msgid "Unable to find a shell"
msgstr "Incapaz de encontrar um shell"
#: ../terminatorlib/terminal.py:1521
#: ../terminatorlib/terminal.py:1546
msgid "Unable to start shell:"
msgstr "Incapaz de iniciar o shell:"
#: ../terminatorlib/terminal.py:1975
#: ../terminatorlib/terminal.py:2000
msgid "Rename Window"
msgstr "Renomear janela"
#: ../terminatorlib/terminal.py:1983
#: ../terminatorlib/terminal.py:2008
msgid "Enter a new title for the Terminator window..."
msgstr "Insira um novo título para a janela do terminal"
@ -1784,120 +1766,9 @@ msgstr "janela"
#: ../terminatorlib/window.py:773
#, python-format
msgid "Window group %s"
msgstr ""
msgstr "Grupo de janelas %s"
#: ../terminatorlib/window.py:799
#, python-format
msgid "Tab %d"
msgstr "Aba %d"
#~ msgid "Current Locale"
#~ msgstr "Localização atual"
#~ msgid "Western"
#~ msgstr "Ocidental"
#~ msgid "Central European"
#~ msgstr "Europa Central"
#~ msgid "South European"
#~ msgstr "Sul da Europa"
#~ msgid "Baltic"
#~ msgstr "Báltico"
#~ msgid "Cyrillic"
#~ msgstr "Cirílico"
#~ msgid "Arabic"
#~ msgstr "Arábico"
#~ msgid "Greek"
#~ msgstr "Grego"
#~ msgid "Hebrew Visual"
#~ msgstr "Visual Hebraico"
#~ msgid "Hebrew"
#~ msgstr "Hebraico"
#~ msgid "Turkish"
#~ msgstr "Turco"
#~ msgid "Nordic"
#~ msgstr "Nórdico"
#~ msgid "Celtic"
#~ msgstr "Celta"
#~ msgid "Romanian"
#~ msgstr "Romeno"
#~ msgid "Unicode"
#~ msgstr "Unicode"
#~ msgid "Armenian"
#~ msgstr "Armênio"
#~ msgid "Chinese Traditional"
#~ msgstr "Chinês tradicional"
#~ msgid "Cyrillic/Russian"
#~ msgstr "Cirílico/Russo"
#~ msgid "Japanese"
#~ msgstr "Japonês"
#~ msgid "Korean"
#~ msgstr "Coreano"
#~ msgid "Chinese Simplified"
#~ msgstr "Chinês simplificado"
#~ msgid "Georgian"
#~ msgstr "Geórgio"
#~ msgid "Cyrillic/Ukrainian"
#~ msgstr "Cirílico/Ucraniano"
#~ msgid "Croatian"
#~ msgstr "Croata"
#~ msgid "Hindi"
#~ msgstr "Hindu"
#~ msgid "Persian"
#~ msgstr "Persa"
#~ msgid "Gujarati"
#~ msgstr "Guzarate"
#~ msgid "Gurmukhi"
#~ msgstr "Gurmukhi"
#~ msgid "Icelandic"
#~ msgstr "Islandês"
#~ msgid "Vietnamese"
#~ msgstr "Vietnamita"
#~ msgid "Thai"
#~ msgstr "Tailandês"
#~ msgid "Line Height:"
#~ msgstr "Altura da linha"
#~ msgid "Encoding:"
#~ msgstr "Codificação"
#~ msgid "Encodings"
#~ msgstr "Codificações"
#~ msgid "Default"
#~ msgstr "Padrão"
#~ msgid "User defined"
#~ msgstr "Definido pelo usuário"
#~ msgid "Other Encodings"
#~ msgstr "Outras codificações"

View File

@ -84,7 +84,7 @@ DEFAULTS = {
'global_config': {
'dbus' : True,
'focus' : 'click',
'handle_size' : 1,
'handle_size' : -1,
'geometry_hinting' : False,
'window_state' : 'normal',
'borderless' : False,
@ -92,7 +92,6 @@ DEFAULTS = {
'tab_position' : 'top',
'broadcast_default' : 'group',
'close_button_on_tab' : True,
'hide_tabbar' : False,
'scroll_tabbar' : False,
'homogeneous_tabbar' : True,
'hide_from_taskbar' : False,
@ -101,8 +100,8 @@ DEFAULTS = {
'sticky' : False,
'use_custom_url_handler': False,
'custom_url_handler' : '',
'disable_real_transparency' : False,
'inactive_color_offset': 0.8,
'inactive_bg_color_offset': 1.0,
'enabled_plugins' : ['LaunchpadBugURLHandler',
'LaunchpadCodeURLHandler',
'APTURLHandler'],
@ -118,7 +117,10 @@ DEFAULTS = {
'case_sensitive' : True,
'invert_search' : False,
'link_single_click' : False,
'title_at_bottom' : False
'title_at_bottom' : False,
'detachable_tabs' : True,
'new_tab_after_current_tab': False,
},
'keybindings': {
'zoom_in' : '<Control>plus',
@ -202,6 +204,7 @@ DEFAULTS = {
'next_profile' : '',
'previous_profile' : '',
'preferences' : '',
'preferences_keybindings' : '<Control><Shift>k',
'help' : 'F1'
},
'profiles': {
@ -215,9 +218,11 @@ DEFAULTS = {
'background_darkness' : 0.5,
'background_type' : 'solid',
'background_image' : '',
'background_image_mode' : 'stretch_and_fill',
'background_image_align_horiz': 'center',
'background_image_align_vert' : 'middle',
'backspace_binding' : 'ascii-del',
'delete_binding' : 'escape-sequence',
'color_scheme' : 'grey_on_black',
'cursor_blink' : True,
'cursor_shape' : 'block',
'cursor_fg_color' : '',
@ -229,7 +234,6 @@ DEFAULTS = {
'foreground_color' : '#aaaaaa',
'show_titlebar' : True,
'scrollbar_position' : "right",
'scroll_background' : True,
'scroll_on_keystroke' : True,
'scroll_on_output' : False,
'scrollback_lines' : 500,
@ -249,14 +253,11 @@ DEFAULTS = {
'bold_is_bright' : False,
'cell_height' : 1.0,
'cell_width' : 1.0,
'focus_on_close' : 'auto',
'force_no_bell' : False,
'cycle_term_tab' : True,
'copy_on_selection' : False,
'split_to_group' : False,
'autoclean_groups' : True,
'http_proxy' : '',
'ignore_hosts' : ['localhost','127.0.0.0/8','*.local'],
# Titlebar
'title_hide_sizetext' : False,
'title_transmit_fg_color' : '#ffffff',

View File

@ -61,7 +61,7 @@ class Notebook(Container, Gtk.Notebook):
#self.connect('page-reordered', self.on_page_reordered)
self.set_scrollable(self.config['scroll_tabbar'])
if self.config['tab_position'] == 'hidden' or self.config['hide_tabbar']:
if self.config['tab_position'] == 'hidden':
self.set_show_tabs(False)
else:
self.set_show_tabs(True)
@ -191,7 +191,7 @@ class Notebook(Container, Gtk.Notebook):
sibling.force_set_profile(None, widget.get_profile())
self.insert_page(container, None, page_num)
self.set_tab_detachable(container, True)
self.set_tab_detachable(container, self.config['detachable_tabs'])
self.child_set_property(container, 'tab-expand', True)
self.child_set_property(container, 'tab-fill', True)
self.set_tab_reorderable(container, True)
@ -306,6 +306,8 @@ class Notebook(Container, Gtk.Notebook):
if metadata and 'tabnum' in metadata:
tabpos = metadata['tabnum']
elif self.config['new_tab_after_current_tab'] == True:
tabpos = self.get_current_page() + 1
else:
tabpos = -1
@ -320,7 +322,7 @@ class Notebook(Container, Gtk.Notebook):
dbg('inserting page at position: %s' % tabpos)
self.insert_page(widget, None, tabpos)
self.set_tab_detachable(widget, True)
self.set_tab_detachable(widget, self.config['detachable_tabs'])
if maker.isinstance(widget, 'Terminal'):
containers, objects = ([], [widget])

View File

@ -0,0 +1,18 @@
from gi.repository import Gtk
import terminatorlib.plugin as plugin
AVAILABLE = ['InsertTermName']
class InsertTermName(plugin.MenuItem):
capabilities = ['terminal_menu']
config = None
def __init__(self):
plugin.MenuItem.__init__(self)
def callback(self, menuitems, menu, terminal):
item = Gtk.MenuItem.new_with_label('Insert terminal name')
item.connect('activate', lambda x: terminal.emit('insert-term-name'))
menuitems.append(item)

View File

@ -6,7 +6,7 @@ terminals """
import os
import sys
from gi.repository import Gtk
from gi.repository import Gtk,Vte
import terminatorlib.plugin as plugin
from terminatorlib.translation import _
@ -19,6 +19,7 @@ class Logger(plugin.MenuItem):
dialog_action = Gtk.FileChooserAction.SAVE
dialog_buttons = (_("_Cancel"), Gtk.ResponseType.CANCEL,
_("_Save"), Gtk.ResponseType.OK)
vte_version = Vte.get_minor_version()
def __init__(self):
plugin.MenuItem.__init__(self)
@ -40,8 +41,11 @@ class Logger(plugin.MenuItem):
def write_content(self, terminal, row_start, col_start, row_end, col_end):
""" Final function to write a file """
content = terminal.get_text_range(row_start, col_start, row_end, col_end,
if self.vte_version < 72:
content = terminal.get_text_range(row_start, col_start, row_end, col_end,
lambda *a: True)
else:
content = terminal.get_text_range_format(Vte.Format.TEXT,row_start, col_start, row_end, col_end)
content = content[0]
fd = self.loggers[terminal]["fd"]
# Don't write the last char which is always '\n'

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<!-- Generated with glade 3.40.0 -->
<interface>
<requires lib="gtk+" version="3.10"/>
<object class="GtkListStore" id="BackspaceKeyListStore">
@ -154,6 +154,60 @@
</row>
</data>
</object>
<object class="GtkListStore" id="ImageAlignHorizListStore">
<columns>
<!-- column-name Alignment -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0" translatable="yes">Left</col>
</row>
<row>
<col id="0" translatable="yes">Center</col>
</row>
<row>
<col id="0" translatable="yes">Right</col>
</row>
</data>
</object>
<object class="GtkListStore" id="ImageAlignVertListStore">
<columns>
<!-- column-name Alignment -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0" translatable="yes">Top</col>
</row>
<row>
<col id="0" translatable="yes">Middle</col>
</row>
<row>
<col id="0" translatable="yes">Bottom</col>
</row>
</data>
</object>
<object class="GtkListStore" id="ImageDrawingModeListStore">
<columns>
<!-- column-name DrawingMode -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0" translatable="yes">Stretch and Fill</col>
</row>
<row>
<col id="0" translatable="yes">Scale and Fit</col>
</row>
<row>
<col id="0" translatable="yes">Scale and Crop</col>
</row>
<row>
<col id="0" translatable="yes">Tiling</col>
</row>
</data>
</object>
<object class="GtkListStore" id="KeybindingsListStore">
<columns>
<!-- column-name Name -->
@ -299,9 +353,9 @@
</data>
</object>
<object class="GtkAdjustment" id="adjustment1">
<property name="lower">1</property>
<property name="lower">-1</property>
<property name="upper">20</property>
<property name="value">1</property>
<property name="value">-1</property>
<property name="step-increment">1</property>
<property name="page-increment">2</property>
</object>
@ -340,6 +394,11 @@
<property name="step-increment">0.10</property>
<property name="page-increment">0.20</property>
</object>
<object class="GtkAdjustment" id="adjustment8">
<property name="upper">1</property>
<property name="step-increment">0.10</property>
<property name="page-increment">0.20</property>
</object>
<object class="GtkAdjustment" id="adjustment_cellheight">
<property name="lower">1</property>
<property name="upper">2</property>
@ -413,7 +472,7 @@
<property name="spacing">36</property>
<property name="homogeneous">True</property>
<child>
<!-- n-columns=2 n-rows=7 -->
<!-- n-columns=2 n-rows=8 -->
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can-focus">False</property>
@ -553,6 +612,23 @@
<property name="width">2</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="detachable_tabs">
<property name="label" translatable="yes">Detach tab into new window on drag (Require restart)</property>
<property name="use-action-appearance">False</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">False</property>
<property name="xalign">0.5</property>
<property name="draw-indicator">True</property>
<signal name="toggled" handler="on_detachable_tabs_toggled" swapped="no"/>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">7</property>
<property name="width">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
@ -887,7 +963,7 @@
<property name="spacing">36</property>
<property name="homogeneous">True</property>
<child>
<!-- n-columns=3 n-rows=6 -->
<!-- n-columns=3 n-rows=7 -->
<object class="GtkGrid" id="grid3">
<property name="visible">True</property>
<property name="can-focus">False</property>
@ -906,7 +982,7 @@
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">3</property>
<property name="top-attach">4</property>
<property name="width">3</property>
</packing>
</child>
@ -960,7 +1036,7 @@
<property name="can-focus">True</property>
<property name="halign">baseline</property>
<property name="hexpand">True</property>
<property name="adjustment">adjustment7</property>
<property name="adjustment">adjustment8</property>
<property name="round-digits">2</property>
<property name="digits">2</property>
<property name="draw-value">False</property>
@ -1030,7 +1106,7 @@
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">5</property>
<property name="top-attach">6</property>
</packing>
</child>
<child>
@ -1046,7 +1122,7 @@
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">5</property>
<property name="top-attach">6</property>
</packing>
</child>
<child>
@ -1064,7 +1140,7 @@
</object>
<packing>
<property name="left-attach">2</property>
<property name="top-attach">5</property>
<property name="top-attach">6</property>
</packing>
</child>
<child>
@ -1081,7 +1157,7 @@
</object>
<packing>
<property name="left-attach">2</property>
<property name="top-attach">4</property>
<property name="top-attach">5</property>
</packing>
</child>
<child>
@ -1097,7 +1173,7 @@
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">4</property>
<property name="top-attach">5</property>
</packing>
</child>
<child>
@ -1109,7 +1185,52 @@
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">4</property>
<property name="top-attach">5</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label35">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Unfocused terminal background color:</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">3</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="inactive_bg_color_offset_value_label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">100%</property>
<property name="justify">right</property>
<property name="width-chars">5</property>
<property name="max-width-chars">5</property>
<property name="xalign">1</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">3</property>
</packing>
</child>
<child>
<object class="GtkScale" id="inactive_bg_color_offset">
<property name="width-request">100</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="hexpand">True</property>
<property name="adjustment">adjustment7</property>
<property name="round-digits">2</property>
<property name="digits">2</property>
<property name="draw-value">False</property>
<property name="value-pos">bottom</property>
<signal name="value-changed" handler="on_inactive_bg_color_offset_value_changed" swapped="no"/>
</object>
<packing>
<property name="left-attach">2</property>
<property name="top-attach">3</property>
</packing>
</child>
</object>
@ -1124,7 +1245,7 @@
<object class="GtkGrid" id="grid4">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="row-spacing">6</property>
<property name="row-spacing">8</property>
<property name="column-spacing">12</property>
<child>
<object class="GtkLabel" id="label11">
@ -1209,6 +1330,23 @@
<property name="width">2</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="new_tab_after_current_checkbutton">
<property name="label" translatable="yes">New tab after current tab</property>
<property name="use-action-appearance">False</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">False</property>
<property name="xalign">0</property>
<property name="draw-indicator">True</property>
<signal name="toggled" handler="on_new_tab_after_current_checkbutton_toggled" swapped="no"/>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">4</property>
<property name="width">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
@ -2660,41 +2798,208 @@
</packing>
</child>
<child>
<object class="GtkBox">
<object class="GtkAlignment">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="left-padding">12</property>
<child>
<object class="GtkLabel">
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Background Image File:</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Image File:</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="padding">5</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkFileChooserButton" id="background_image_file">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="title" translatable="yes">Choose file</property>
<signal name="file-set" handler="on_background_image_file_set" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack-type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkAccelLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Drawing mode:</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="padding">5</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkComboBox" id="background_image_mode_combobox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="model">ImageDrawingModeListStore</property>
<property name="active">0</property>
<signal name="changed" handler="on_background_image_mode_changed" swapped="no"/>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack-type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="spacing">12</property>
<property name="homogeneous">True</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Horizontal alignment:</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="padding">5</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkComboBox" id="background_image_align_horiz_combobox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="model">ImageAlignHorizListStore</property>
<property name="active">1</property>
<signal name="changed" handler="on_background_image_align_horiz_changed" swapped="no"/>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack-type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Vertical alignment:</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="padding">5</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkComboBox" id="background_image_align_vert_combobox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="model">ImageAlignVertListStore</property>
<property name="active">1</property>
<signal name="changed" handler="on_background_image_align_vert_changed" swapped="no"/>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack-type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="padding">5</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkFileChooserButton" id="background_image_file">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="title" translatable="yes">Choose file</property>
<signal name="file-set" handler="on_background_image_file_set" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack-type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
<property name="position">3</property>
</packing>
</child>
<child>
@ -2783,7 +3088,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
<property name="position">6</property>
</packing>
</child>
</object>
@ -3721,12 +4026,12 @@
</child>
<child>
<object class="GtkVBox" id="vbox124">
<child>
<property name="can-focus">False</property>
<child>
<object class="GtkEntry" id="keybindingsearchentry">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="has-focus">False</property>
<property name="placeholder_text">filter keybindings</property>
<property name="placeholder-text">filter keybindings</property>
</object>
<packing>
<property name="expand">False</property>
@ -3734,68 +4039,73 @@
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="vadjustment">adjustment4</property>
<property name="hscrollbar-policy">never</property>
<property name="shadow-type">in</property>
<child>
<object class="GtkTreeView" id="keybindingtreeview">
<object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="has-focus">True</property>
<property name="model">KeybindingsListStore</property>
<property name="headers-clickable">False</property>
<property name="search-column">0</property>
<child internal-child="selection">
<object class="GtkTreeSelection" id="treeview-selection4"/>
</child>
<property name="vadjustment">adjustment4</property>
<property name="hscrollbar-policy">never</property>
<property name="shadow-type">in</property>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
<property name="title" translatable="yes">Name</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext10"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
<object class="GtkTreeView" id="keybindingtreeview">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="has-focus">True</property>
<property name="model">KeybindingsListStore</property>
<property name="headers-clickable">False</property>
<property name="search-column">0</property>
<child internal-child="selection">
<object class="GtkTreeSelection" id="treeview-selection4"/>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn2">
<property name="title" translatable="yes">Action</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext11"/>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn3">
<property name="title" translatable="yes">Keybinding</property>
<child>
<object class="GtkCellRendererAccel" id="cellrendereraccel1">
<property name="editable">True</property>
<property name="accel-mode">other</property>
<signal name="accel-cleared" handler="on_cellrenderer_accel_cleared" object="KeybindingsListStore" swapped="yes"/>
<signal name="accel-edited" handler="on_cellrenderer_accel_edited" object="KeybindingsListStore" swapped="yes"/>
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
<property name="title" translatable="yes">Name</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext10"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn2">
<property name="title" translatable="yes">Action</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext11"/>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn3">
<property name="title" translatable="yes">Keybinding</property>
<child>
<object class="GtkCellRendererAccel" id="cellrendereraccel1">
<property name="editable">True</property>
<property name="accel-mode">other</property>
<signal name="accel-cleared" handler="on_cellrenderer_accel_cleared" object="KeybindingsListStore" swapped="yes"/>
<signal name="accel-edited" handler="on_cellrenderer_accel_edited" object="KeybindingsListStore" swapped="yes"/>
</object>
<attributes>
<attribute name="accel-key">2</attribute>
<attribute name="accel-mods">3</attribute>
</attributes>
</child>
</object>
<attributes>
<attribute name="accel-key">2</attribute>
<attribute name="accel-mods">3</attribute>
</attributes>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
<packing>
<property name="position">3</property>
</packing>
@ -3972,7 +4282,7 @@
<object class="GtkLabel" id="about_version_label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Version: 2.1.2</property>
<property name="label" translatable="yes">Version: 2.1.3</property>
</object>
<packing>
<property name="expand">False</property>

View File

@ -176,18 +176,19 @@ class PrefsEditor:
'broadcast_group' : _('Broadcast key presses to group'),
'broadcast_all' : _('Broadcast key events to all'),
'insert_number' : _('Insert terminal number'),
'insert_padded' : _('Insert padded terminal number'),
'insert_padded' : _('Insert zero padded terminal number'),
'edit_window_title': _('Edit window title'),
'edit_terminal_title': _('Edit terminal title'),
'edit_tab_title' : _('Edit tab title'),
'layout_launcher' : _('Open layout launcher window'),
'next_profile' : _('Switch to next profile'),
'previous_profile' : _('Switch to previous profile'),
'preferences' : _('Open the Preferences window'),
'preferences' : _('Open the Preferences window'),
'preferences_keybindings' : _('Open the Preferences-Keybindings window'),
'help' : _('Open the manual')
}
def __init__ (self, term):
def __init__ (self, term, cur_page=0):
self.config = config.Config()
self.config.base.reload()
self.term = term
@ -230,6 +231,10 @@ class PrefsEditor:
err('Unable to set values: %s' % e)
self.config.uninhibit_save()
guiget = self.builder.get_object
nb = guiget('notebook1')
nb.set_current_page(cur_page)
def on_closebutton_clicked(self, _button):
"""Close the window"""
terminator = Terminator()
@ -334,6 +339,9 @@ class PrefsEditor:
# DBus Server
widget = guiget('dbuscheck')
widget.set_active(self.config['dbus'])
# Detachable tabs
widget = guiget('detachable_tabs')
widget.set_active(self.config['detachable_tabs'])
#Hide from taskbar
widget = guiget('hidefromtaskbcheck')
widget.set_active(self.config['hide_from_taskbar'])
@ -350,7 +358,11 @@ class PrefsEditor:
# title bar at bottom
widget = guiget('title_at_bottom_checkbutton')
widget.set_active(self.config['title_at_bottom'])
# new tab after current tab
widget = guiget('new_tab_after_current_checkbutton')
widget.set_active(self.config['new_tab_after_current_tab'])
#Always split with profile
widget = guiget('always_split_with_profile')
widget.set_active(self.config['always_split_with_profile'])
@ -680,6 +692,10 @@ class PrefsEditor:
widget.set_value(float(self.config['inactive_color_offset']))
widget = guiget('inactive_color_offset_value_label')
widget.set_text('%d%%' % (int(float(self.config['inactive_color_offset'])*100)))
widget = guiget('inactive_bg_color_offset')
widget.set_value(float(self.config['inactive_bg_color_offset']))
widget = guiget('inactive_bg_color_offset_value_label')
widget.set_text('%d%%' % (int(float(self.config['inactive_bg_color_offset'])*100)))
# Open links with a single click (instead of a Ctrl-left click)
widget = guiget('link_single_click')
widget.set_active(self.config['link_single_click'])
@ -700,11 +716,42 @@ class PrefsEditor:
elif self.config['background_type'] == 'image':
guiget('image_radiobutton').set_active(True)
self.update_background_tab()
# Background image
widget = guiget('background_image_file')
widget.set_filename(self.config['background_image'])
widget = guiget('background_image_mode_combobox')
if self.config['background_image_mode'] == 'scale_and_fit':
widget.set_active(1)
elif self.config['background_image_mode'] == 'scale_and_crop':
widget.set_active(2)
elif self.config['background_image_mode'] == 'tiling':
widget.set_active(3)
else:
# default to stretch_and_fill
widget.set_active(0)
widget = guiget('background_image_align_horiz_combobox')
if self.config['background_image_align_horiz'] == 'center':
widget.set_active(1)
elif self.config['background_image_align_horiz'] == 'right':
widget.set_active(2)
else:
# default to left
widget.set_active(0)
widget = guiget('background_image_align_vert_combobox')
if self.config['background_image_align_vert'] == 'middle':
widget.set_active(1)
elif self.config['background_image_align_vert'] == 'bottom':
widget.set_active(2)
else:
# default to top
widget.set_active(0)
# Background shading
widget = guiget('background_darkness_scale')
widget.set_value(float(self.config['background_darkness']))
widget = guiget('background_image_file')
widget.set_filename(self.config['background_image'])
## Scrolling tab
# Scrollbar position
@ -807,6 +854,10 @@ class PrefsEditor:
self.config['dbus'] = widget.get_active()
self.config.save()
def on_detachable_tabs_toggled(self, widget):
self.config['detachable_tabs'] = widget.get_active()
self.config.save()
def on_disable_mousewheel_zoom_toggled(self, widget):
"""Ctrl+mousewheel zoom setting changed"""
self.config['disable_mousewheel_zoom'] = widget.get_active()
@ -852,6 +903,11 @@ class PrefsEditor:
self.config['title_at_bottom'] = widget.get_active()
self.config.save()
def on_new_tab_after_current_checkbutton_toggled(self, widget):
"""New tab after current tab """
self.config['new_tab_after_current_tab'] = widget.get_active()
self.config.save()
def on_always_split_with_profile_toggled(self, widget):
"""Always split with profile setting changed"""
self.config['always_split_with_profile'] = widget.get_active()
@ -929,11 +985,6 @@ class PrefsEditor:
self.config['login_shell'] = widget.get_active()
self.config.save()
def on_scroll_background_checkbutton_toggled(self, widget):
"""Scroll background setting changed"""
self.config['scroll_background'] = widget.get_active()
self.config.save()
def on_scroll_on_keystroke_checkbutton_toggled(self, widget):
"""Scroll on keystrong setting changed"""
self.config['scroll_on_keystroke'] = widget.get_active()
@ -1005,6 +1056,41 @@ class PrefsEditor:
self.config['background_image'] = widget.get_filename()
self.config.save()
def on_background_image_mode_changed(self, widget):
selected = widget.get_active()
if selected == 1:
value = 'scale_and_fit'
elif selected == 2:
value = 'scale_and_crop'
elif selected == 3:
value = 'tiling'
else:
value = 'stretch_and_fill'
self.config['background_image_mode'] = value
self.config.save()
def on_background_image_align_horiz_changed(self, widget):
selected = widget.get_active()
if selected == 1:
value = 'center'
elif selected == 2:
value = 'right'
else:
value = 'left'
self.config['background_image_align_horiz'] = value
self.config.save()
def on_background_image_align_vert_changed(self, widget):
selected = widget.get_active()
if selected == 1:
value = 'middle'
elif selected == 2:
value = 'bottom'
else:
value = 'top'
self.config['background_image_align_vert'] = value
self.config.save()
def on_darken_background_scale_value_changed(self, widget):
"""Background darkness setting changed"""
value = widget.get_value() # This one is rounded according to the UI.
@ -1300,14 +1386,23 @@ class PrefsEditor:
label_widget = guiget('inactive_color_offset_value_label')
label_widget.set_text('%d%%' % (int(value * 100)))
def on_inactive_bg_color_offset_value_changed(self, widget):
"""Inactive background color offset setting changed"""
value = widget.get_value() # This one is rounded according to the UI.
if value > 1.0:
value = 1.0
self.config['inactive_bg_color_offset'] = value
self.config.save()
guiget = self.builder.get_object
label_widget = guiget('inactive_bg_color_offset_value_label')
label_widget.set_text('%d%%' % (int(value * 100)))
def on_handlesize_value_changed(self, widget):
"""Handle size changed"""
value = widget.get_value() # This one is rounded according to the UI.
value = int(value) # Cast to int.
if value > 20:
value = 20
if value < 1:
value = 1
self.config['handle_size'] = value
self.config.save()
guiget = self.builder.get_object
@ -1609,10 +1704,12 @@ class PrefsEditor:
self.config['background_type'] = backtype
self.config.save()
if backtype == 'image':
guiget('background_image_file').set_sensitive(True)
else:
guiget('background_image_file').set_sensitive(False)
# toggle sensitivity of widgets related to background image
for element in ('background_image_file',
'background_image_align_horiz_combobox',
'background_image_align_vert_combobox',
'background_image_mode_combobox'):
guiget(element).set_sensitive(backtype == 'image')
if backtype in ('transparent', 'image'):
guiget('darken_background_scale').set_sensitive(True)

View File

@ -40,6 +40,7 @@ class Terminal(Gtk.VBox):
'close-term': (GObject.SignalFlags.RUN_LAST, None, ()),
'title-change': (GObject.SignalFlags.RUN_LAST, None,
(GObject.TYPE_STRING,)),
'insert-term-name': (GObject.SignalFlags.RUN_LAST, None, ()),
'enumerate': (GObject.SignalFlags.RUN_LAST, None,
(GObject.TYPE_INT,)),
'group-tab': (GObject.SignalFlags.RUN_LAST, None, ()),
@ -111,6 +112,7 @@ class Terminal(Gtk.VBox):
fgcolor_active = None
fgcolor_inactive = None
bgcolor = None
bgcolor_inactive = None
palette_active = None
palette_inactive = None
@ -128,6 +130,7 @@ class Terminal(Gtk.VBox):
# FIXME: Surely these should happen in Terminator::register_terminal()?
self.connect('enumerate', self.terminator.do_enumerate)
self.connect('insert-term-name', self.terminator.do_insert_term_name)
self.connect('focus-in', self.terminator.focus_changed)
self.connect('focus-out', self.terminator.focus_left)
@ -583,10 +586,14 @@ class Terminal(Gtk.VBox):
item.connect('activate', lambda x: self.emit('enumerate', False))
menu.append(item)
item = Gtk.MenuItem.new_with_mnemonic(_('Insert _padded terminal number'))
item = Gtk.MenuItem.new_with_mnemonic(_('Insert zero _padded terminal number'))
item.connect('activate', lambda x: self.emit('enumerate', True))
menu.append(item)
item = Gtk.MenuItem.new_with_mnemonic(_('Insert terminal _name'))
item.connect('activate', lambda x: self.emit('insert-term-name'))
menu.append(item)
return(menu)
def set_group(self, _item, name):
@ -748,6 +755,22 @@ class Terminal(Gtk.VBox):
dbg(("fgcolor_inactive set to: RGB(%s,%s,%s)", getattr(self.fgcolor_inactive, "red"),
getattr(self.fgcolor_inactive, "green"),
getattr(self.fgcolor_inactive, "blue")))
bg_factor = self.config['inactive_bg_color_offset']
if bg_factor > 1.0:
bg_factor = 1.0
self.bgcolor_inactive = self.bgcolor.copy()
dbg(("bgcolor_inactive set to: RGB(%s,%s,%s)", getattr(self.bgcolor_inactive, "red"),
getattr(self.bgcolor_inactive, "green"),
getattr(self.bgcolor_inactive, "blue")))
for bit in ['red', 'green', 'blue']:
setattr(self.bgcolor_inactive, bit,
getattr(self.bgcolor_inactive, bit) * bg_factor)
dbg(("bgcolor_inactive set to: RGB(%s,%s,%s)", getattr(self.bgcolor_inactive, "red"),
getattr(self.bgcolor_inactive, "green"),
getattr(self.bgcolor_inactive, "blue")))
colors = self.config['palette'].split(':')
self.palette_active = []
for color in colors:
@ -783,7 +806,7 @@ class Terminal(Gtk.VBox):
self.vte.set_colors(self.fgcolor_active, self.bgcolor,
self.palette_active)
else:
self.vte.set_colors(self.fgcolor_inactive, self.bgcolor,
self.vte.set_colors(self.fgcolor_inactive, self.bgcolor_inactive,
self.palette_inactive)
profiles = self.config.base.profiles
terminal_box_style_context = self.terminalbox.get_style_context()
@ -881,7 +904,13 @@ class Terminal(Gtk.VBox):
focused=self.get_toplevel().get_focussed_terminal()
if focused in targets: targets.remove(focused)
if self != focused:
if self.group == focused.group:
if focused.group is None and self.group is None:
# Create a new group and assign currently focused
# terminal to this group
new_group = self.terminator.new_random_group()
focused.set_group(None, new_group)
focused.titlebar.update()
elif self.group == focused.group:
new_group = None
else:
new_group = focused.group
@ -1129,17 +1158,52 @@ class Terminal(Gtk.VBox):
# save cairo context
cr.save()
# draw background image
image_mode = self.config['background_image_mode']
image_align_horiz = self.config['background_image_align_horiz']
image_align_vert = self.config['background_image_align_vert']
rect = self.vte.get_allocation()
xratio = float(rect.width) / float(self.background_image.get_width())
yratio = float(rect.height) / float(self.background_image.get_height())
if image_mode == 'stretch_and_fill':
# keep stretched ratios
xratio = xratio
yratio = yratio
elif image_mode == 'scale_and_fit':
ratio = min(xratio, yratio)
xratio = yratio = ratio
elif image_mode == 'scale_and_crop':
ratio = max(xratio, yratio)
xratio = yratio = ratio
else:
xratio = yratio = 1
cr.scale(xratio, yratio)
cr.set_source_surface(self.background_image)
xoffset = 0
yoffset = 0
if image_align_horiz == 'center':
xoffset = (rect.width / xratio - self.background_image.get_width()) / 2
elif image_align_horiz == 'right':
xoffset = rect.width / xratio - self.background_image.get_width()
if image_align_vert == 'middle':
yoffset = (rect.height / yratio - self.background_image.get_height()) / 2
elif image_align_vert == 'bottom':
yoffset = rect.height / yratio - self.background_image.get_height()
cr.set_source_surface(self.background_image, xoffset, yoffset)
cr.get_source().set_filter(cairo.Filter.FAST)
if image_mode == 'tiling':
cr.get_source().set_extend(cairo.Extend.REPEAT)
cr.paint()
# draw transparent monochrome layer
Gdk.cairo_set_source_rgba(cr, self.bgcolor)
cr.paint()
# restore cairo context
cr.restore()
@ -1308,7 +1372,7 @@ class Terminal(Gtk.VBox):
def on_vte_focus_out(self, _widget, _event):
"""Inform other parts of the application when focus is lost"""
self.vte.set_colors(self.fgcolor_inactive, self.bgcolor,
self.vte.set_colors(self.fgcolor_inactive, self.bgcolor_inactive,
self.palette_inactive)
self.set_cursor_color()
self.emit('focus-out')
@ -1630,7 +1694,7 @@ class Terminal(Gtk.VBox):
def feed(self, text):
"""Feed the supplied text to VTE"""
self.vte.feed_child(text.encode())
self.vte.feed_child(text)
def zoom_in(self):
"""Increase the font size"""
@ -2074,6 +2138,11 @@ class Terminal(Gtk.VBox):
def key_preferences(self):
PrefsEditor(self)
def key_preferences_keybindings(self):
#need to have this as a config may be preferences_default
#have a mapping rather than hardcoded page
PrefsEditor(self, cur_page = 3)
def key_help(self):
manual_index_page = manual_lookup()
if manual_index_page:

View File

@ -30,6 +30,8 @@ class TerminalPopupMenu(object):
def get_menu_item_mask(self, maskstr):
mask = 0
if maskstr is None:
return mask
maskstr = maskstr.lower()
if maskstr.find('<Shift>'.lower()) >= 0:
mask = mask | Gdk.ModifierType.SHIFT_MASK
@ -262,7 +264,7 @@ class TerminalPopupMenu(object):
menu.append(item)
menu.append(Gtk.SeparatorMenuItem())
item = self.menu_item(Gtk.CheckMenuItem, 'toggle_readonly', '_read only')
item = self.menu_item(Gtk.CheckMenuItem, 'toggle_readonly', '_Read only')
item.set_active(not(terminal.vte.get_input_enabled()))
item.connect('toggled', lambda x: terminal.do_readonly_toggle())
menu.append(item)

View File

@ -8,6 +8,8 @@ import gi
gi.require_version('Vte', '2.91')
from gi.repository import Gtk, Gdk, Vte
from gi.repository.GLib import GError
import itertools
import random
from . import borg
from .borg import Borg
@ -16,6 +18,7 @@ from .keybindings import Keybindings
from .util import dbg, err, enumerate_descendants
from .factory import Factory
from .version import APP_NAME, APP_VERSION
from .translation import _
try:
from gi.repository import GdkX11
@ -309,6 +312,7 @@ class Terminator(Borg):
"""Layout operations have finished, record that fact"""
self.doing_layout = False
maker = Factory()
t = 0
window_last_active_term_mapping = {}
for window in self.windows:
@ -346,22 +350,11 @@ class Terminator(Borg):
t = 0
window.get_window().focus(t)
# Awful workaround to be sure that the last focused window is actually the one focused.
# Don't ask, don't tell policy on this. Even this is not 100%
# Going by the docs, this should be all that's needed to ensure that the
# last_active_window is focussed.
if self.last_active_window:
window = self.find_window_by_uuid(self.last_active_window.urn)
count = 0
while count < 1000 and Gtk.events_pending():
count += 1
Gtk.main_iteration_do(False)
window.show()
window.grab_focus()
try:
t = GdkX11.x11_get_server_time(window.get_window())
except (NameError,TypeError, AttributeError):
t = 0
window.get_window().focus(t)
window.present_with_time(t)
self.prelayout_windows = None
def on_gtk_theme_name_notify(self, settings, prop):
@ -584,6 +577,16 @@ class Terminator(Borg):
idx = terminals.index(term)
term.feed(numstr.encode() % (idx + 1))
def do_insert_term_name(self, widget):
terminals = []
for window in self.windows:
containers, win_terminals = enumerate_descendants(window)
terminals.extend(win_terminals)
for term in self.get_target_terms(widget):
name = term.titlebar.get_custom_string() or term.get_window_title()
term.feed(name)
def get_sibling_terms(self, widget):
termset = []
for term in self.terminals:
@ -637,4 +640,18 @@ class Terminator(Borg):
def zoom_orig_all(self):
for term in self.terminals:
term.zoom_orig()
def new_random_group(self):
defaultmembers=[_('Alpha'),_('Beta'),_('Gamma'),_('Delta'),_('Epsilon'),_('Zeta'),_('Eta'),
_('Theta'),_('Iota'),_('Kappa'),_('Lambda'),_('Mu'),_('Nu'),_('Xi'),
_('Omicron'),_('Pi'),_('Rho'),_('Sigma'),_('Tau'),_('Upsilon'),_('Phi'),
_('Chi'),_('Psi'),_('Omega')]
currentgroups=set(self.groups)
for i in range(1,4):
defaultgroups=set(map(''.join, list(itertools.product(defaultmembers,repeat=i))))
freegroups = list(defaultgroups-currentgroups)
if freegroups:
return random.choice(freegroups)
return ''
# vim: set expandtab ts=4 sw=4:

View File

@ -5,8 +5,6 @@
from gi.repository import Gtk, Gdk
from gi.repository import GObject
from gi.repository import Pango
import random
import itertools
from .version import APP_NAME
from .util import dbg
@ -255,19 +253,7 @@ class Titlebar(Gtk.EventBox):
if self.terminal.group:
self.groupentry.set_text(self.terminal.group)
else:
defaultmembers=[_('Alpha'),_('Beta'),_('Gamma'),_('Delta'),_('Epsilon'),_('Zeta'),_('Eta'),
_('Theta'),_('Iota'),_('Kappa'),_('Lambda'),_('Mu'),_('Nu'),_('Xi'),
_('Omicron'),_('Pi'),_('Rho'),_('Sigma'),_('Tau'),_('Upsilon'),_('Phi'),
_('Chi'),_('Psi'),_('Omega')]
currentgroups=set(self.terminator.groups)
for i in range(1,4):
defaultgroups=set(map(''.join, list(itertools.product(defaultmembers,repeat=i))))
freegroups = list(defaultgroups-currentgroups)
if freegroups:
self.groupentry.set_text(random.choice(freegroups))
break
else:
self.groupentry.set_text('')
self.groupentry.set_text(self.terminator.new_random_group())
self.groupentry.show()
self.grouplabel.hide()
self.groupentry.grab_focus()

View File

@ -20,4 +20,4 @@ TerminatorVersion supplies our version number.
"""
APP_NAME = 'terminator'
APP_VERSION = '2.1.2'
APP_VERSION = '2.1.3'