Öffnen eines Terminalfensters, wobei das aktuelle Verzeichnis auf ein bestimmtes Verzeichnis festgelegt ist

282
Kev

Ich möchte unter Tastenkombinationen eine Tastenkombination einrichten, durch die ein Terminalfenster bereits cdzum Desktop geöffnet wird . ich habe es versucht

Terminal ~/Desktop Terminal cd ~/Desktop 

Aber diese funktionieren nicht. Terminal --helpscheint keine geeignete Befehlszeilenoption zu ergeben. Was muss ich hier machen?

Auch wenn eine generelle Lösung dafür definitiv vorzuziehen wäre, würde ich mich damit zufrieden geben, das Standardverzeichnis für alle Terminals festlegen zu können.

0

1 Antwort auf die Frage

0
Kev

This is still not quite ideal with regards to the original question, but better than a solution affecting all Terminals: from this thread I discovered that from the desktop (i.e. if I first switch to an empty workspace, or otherwise give the desktop the focus somehow) I can Win+Alt+T to open a Terminal with cwd at the Desktop.

This tidbit of knowledge has the additional advantage that, if I were doing this to then cd more easily into a folder on the desktop (to run a newly downloaded app, for example), I can instead just open the folder and then hit Win+Alt+T.