Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
apps:terminal:dropdown [2012/12/30 23:26] – [Appearance and Animation] nick | apps:terminal:dropdown [2019/11/28 11:22] – [Starting a Drop-down Window] kevinbowen |
---|
| {{ :apps:terminal:terminal.png?nolink|}} |
====== Drop-down Window ====== | ====== Drop-down Window ====== |
| |
<note>The drop-down functionality was added in Xfce4-terminal 0.6.1.</note> | <note>The drop-down functionality was added in Xfce4-terminal 0.6.1.</note> |
| |
Xfce4-terminal has the functionality to have 1 drop-down window. This mode is inspired from consoles in computer games such as Quake which slide down from the top of the screen when a key is pressed, and slide back up when the key is pressed again. | Xfce4-terminal has the functionality to have 1 drop-down window. This mode is inspired by consoles in computer games such as Quake which slide down from the top of the screen when a key is pressed, and slide back up when the key is pressed again. |
| |
===== Starting a Drop-down Window ===== | ====== Starting a Drop-down Window ====== |
| |
You can start the drop-down mode by running ''<nowiki>xfce4-terminal --drop-down</nowiki>''. Since the application as no keybinding code, it is advised to [[:xfce:xfce4-settings:keyboard|Application Shortcuts]] for this. | You can start the drop-down mode by running ''<nowiki>xfce4-terminal --drop-down</nowiki>''. Since the application has no keybinding code, it is advised to use [[:xfce:xfce4-settings:keyboard|Application Shortcuts]] for this. |
| |
The first time ''<nowiki>xfce4-terminal --drop-down</nowiki>'' is passed to the application, it will create a drop-down window and show it on top of the active ((the monitor that contains the mouse pointer)) monitor. Each other time the command is executed, the drop-down window will toggle its visibility. | The first time ''<nowiki>xfce4-terminal --drop-down</nowiki>'' is passed to the application, it will create a drop-down window and show it on top of the active ((the monitor that contains the mouse pointer)) monitor. Each other time the command is executed, the drop-down window will toggle its visibility. |
===== Main Window ===== | |
| ---- |
| ====== Main Window ====== |
| |
When you start the drop-down window for the first time, the application opens a window on top of other windows at the top of the screen without window borders. | When you start the drop-down window for the first time, the application opens a window on top of other windows at the top of the screen without window borders. |
| |
<figure "Drop-down window with 3 tabs"> | <figure "Drop-down window with 3 tabs"> |
{{ :apps:terminal:terminal-dropdown-window.png?nolink |}} | {{ :apps:terminal:terminal-dropdown-window.png?600nolink |}} |
</figure> | </figure> |
| |
===== Preferences ===== | ---- |
| ====== Preferences ====== |
| |
You can open the drop-down preferences by clicking the small button are the bottom-right corner of the tabs. The dialog can also be opened by right-clicking the tray icon -- if enabled. | The drop-down preferences will be shown in the normal preferences dialog if opened from a drop-down window. You can do so by clicking the small Preferences icon in the buttom-right corner of the tab bar, right-click the notification area icon or right-click in the terminal window and choose {gui>Preferences...}. |
| |
<figure "Drop-down window Preferences"> | <figure "Drop-down window Preferences"> |
</figure> | </figure> |
| |
==== Behavior ==== | ---- |
| ===== Behavior ===== |
| |
? Keep window open when it loses focus | ? Keep window open when it loses focus |
! Put a terminal icon in the system tray. The icon responds to clicks to toggle the window visibility or with right-click to access the Xfce Terminal preferences. | ! Put a terminal icon in the system tray. The icon responds to clicks to toggle the window visibility or with right-click to access the Xfce Terminal preferences. |
| |
==== Appearance and Animation ==== | ---- |
| ===== Appearance and Animation ===== |
| |
? Width | ? Width |
! Hide the tabs at the bottom of the window when there is only a single tab opened. Then there are than 1 tab the bar will always be visible. | ! Hide the tabs at the bottom of the window when there is only a single tab opened. Then there are than 1 tab the bar will always be visible. |
| |
==== Position ==== | ===== Position ===== |
| |
? Position | ? Position |
! If the window should be moved to the monitor containing the mouse pointer when the ''<nowiki>xfce4-terminal --drop-down</nowiki>'' option is executed. If disabled, the window will stay on the monitor is was first started on. | ! If the window should be moved to the monitor containing the mouse pointer when the ''<nowiki>xfce4-terminal --drop-down</nowiki>'' option is executed. If disabled, the window will stay on the monitor is was first started on. |
| |
===== Advanced Options ===== | ---- |
| ====== Advanced Options ====== |
| |
When started the __first time__ the ''<nowiki>--drop-down</nowiki>'' option also accepts window and tab [[command-line]] parameters. You can use this to start a drop-down with multiple predefined commands. The example below will open three tabs in the drop-down window (with IRC client, music on console and process overview). | When started the __first time__ the ''<nowiki>--drop-down</nowiki>'' option also accepts window and tab [[command-line]] parameters. You can use this to start a drop-down with multiple predefined commands. The example below will open three tabs in the drop-down window (with IRC client, music on console and process overview). |
| |
<code>xfce4-terminal --drop-down --title "Irssi Client" -e irssi --tab -e mocp --tab --title "System Status" -e top</code> | xfce4-terminal --drop-down --title "Irssi Client" -e irssi --tab -e mocp --tab --title "System Status" -e top |
| |
| Another trick is to open a new tab in an existing drop-down window. You therefore need to start the with ''<nowiki>--tab</nowiki>'' parameter, followed by ''<nowiki>--drop-down</nowiki>''. If no drop-down is running a new drop-down will be started. |
| |
| xfce4-terminal --tab --drop-down --title "Disk Usage" -e df --hold |
| |
| Note that some of the window options don't apply to the drop-down window, like <nowiki>--show-borders</nowiki> and <nowiki>--geometry</nowiki> since those are overridden by window specific preferences. |
| |
Note that some of the window options don't apply to the drop-down window, like <nowiki>--fullscreen</nowiki> and <nowiki>--show-borders</nowiki>. | [[|Back to Top]] |
| ---- |
| [[:apps:terminal:start:|Back to xfce4-terminal main page]] |