Feature Request: drop-down feature for Terminal

Bug #1423562 reported by Or Schiro
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Terminal
Expired
Wishlist
Unassigned

Bug Description

Dear all,

I would like to suggest a drop-down feature for Terminal.

A drop-down terminal can be extremely useful when bound to a hot corner action to quickly show a terminal, run a command, and automatically hide it again when it loses focus.

This could be implemented through a parameter to call the terminal:
--drop-down

I look forward to your opinions.

Thankfully,

Robert

Or Schiro (orschiro)
description: updated
affects: elementaryos → pantheon-terminal
Revision history for this message
Danielle Foré (danrabbit) wrote :

Hey Robert, Did you know you can run commands from the applications menu search box? It's assigned to the shortcut super + space and it can be assigned to a hot corner.

Is there any functionality you're looking for that this doesn't provide already?

Changed in pantheon-terminal:
importance: Undecided → Wishlist
status: New → Incomplete
Revision history for this message
Or Schiro (orschiro) wrote :

Hey Daniel,

> Is there any functionality you're looking for that this doesn't provide already?

Thanks for your suggestion. I am aware of the search functionality of the applications menu.

However, this only makes accessible binaries with a desktop entry and thus not any custom shell aliases. Neither does that support the quick-launch of CLI applications.

To accomplish my wish, I am currently using the drop-down feature of Xfce terminal. Yet I would prefer to just use the Pantheon Terminal.

A concrete use case:

I assigned 'xfce-terminal --dropdown' as a custom command to a hot corner which allows me to quickly run a shell script for Google Translate. See the attached screenshot as an example.

Do you find this workflow useful?

Revision history for this message
Djax (parnold-x) wrote :

I want to add as "missing functionalities":
You don't get return values, messages, CLI gui, ...
You can't just redo the last commands. Typical workflow when compiling changes over and over again.
You can't search old commands with ctr + r, use aliase, ...
You don't get all the great stuff from pantheon-terminal (Notifications!)
...

I will make a branch with this feature tomorrow

Revision history for this message
Djax (parnold-x) wrote :

I implemented the feature.
I took the guake approach because it reflects my workflow :)
So you can start a hidden terminal with --drop-down command flag.
When pressing a hotkey it shows and hides the terminal just like guake.

The xfce approach which is afaik launch a terminal in drop down mode and close it when focus lost would also be possible.

I implemented it with very little influence on the original code base. So basically I only changed some method visibilities of the original code. The only "dirty" thing is the system wide hotkey which afaik needs some legacy X11 magic.
Is there a other way? Gnome has a ShellKeyGrabber over DBus. Maybe this would also be good for elemenary?!

If it has a chance to be merge I obv. also implement some config stuff whatever should be configable. I think minimal the hotkey and the window height.

Revision history for this message
Djax (parnold-x) wrote :
Revision history for this message
Or Schiro (orschiro) wrote :

Hi Djax,

This looks very cool! Thanks for your work on this. I hope this will be merged. Then ideally, Shift + Meta + T would open the terminal in a dropdown mode.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Terminal because there has been no activity for 60 days.]

Changed in pantheon-terminal:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.