gnome-shell-extension-ddterm
gnome-shell-extension-ddterm copied to clipboard
Drag & drop
Gnome Terminal accepts files/directories dragged from the file manager
Relevant code in GNOME Terminal:
- https://gitlab.gnome.org/GNOME/gnome-terminal/-/blob/0f9cd949647ee60fd4570b9476e2ab2c30325a5a/src/terminal-screen.c#L527-542
- https://gitlab.gnome.org/GNOME/gnome-terminal/-/blob/0f9cd949647ee60fd4570b9476e2ab2c30325a5a/src/terminal-screen.c#L1908
This is what Terminator (Python, also uses vte) seems to do: https://github.com/gnome-terminator/terminator/blob/3bb7d53235c495c7934fdb24a9f408989dab4265/terminatorlib/terminal.py#L435-L442 https://github.com/gnome-terminator/terminator/blob/3bb7d53235c495c7934fdb24a9f408989dab4265/terminatorlib/terminal.py#L1146
This would be a great feature as well.