Custom working directory for each terminal

Bug #1157422 reported by MoMaT
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Terminator
Fix Released
Wishlist
Unassigned

Bug Description

This is a small patch (against Terminator 0.96) that adds extra config option: "directory". It is read when a terminal is spawned and is used to set its working directory.

Example use in a config file:

[layouts]
  [[default]]
    [[[child0]]]
      type = Window
      parent = ""
    [[[child1]]]
      type = HPaned
      parent = child0
    [[[terminal3]]]
      profile = default
      type = Terminal
      order = 1
      parent = child1
      directory = /home/user/projects
    [[[terminal2]]]
      profile = default
      type = Terminal
      order = 0
      parent = child1
      directory = /etc/nginx/sites-available

Revision history for this message
MoMaT (momat) wrote :
Revision history for this message
Chris Jones (cmsj) wrote :

Nice idea. It should really get some representation in the Preferences GUI - would you be interested in extending the patch to add that? If not I will get to it some time before the coming 1.0 release.

Changed in terminator:
status: New → Confirmed
importance: Undecided → Wishlist
milestone: none → 1.0
Changed in terminator:
status: Confirmed → Fix Committed
Revision history for this message
Jitendra Vyas (jitendra-web) wrote :

I tried this but not working for me

Revision history for this message
Ronald (ronald-p) wrote :

I'm running 0.97, installed from the default Linux Mint repos. The directory argument isn't working for me either.

Revision history for this message
MoMaT (momat) wrote :

This is now in the development branch only and wil be part of the next release. So you need to wait for 0.98 or 1.0.

In the mean time, you can use command to get a similar effect (at a cost of running the shell twice):
command = cd /home/user/files; bash

Changed in terminator:
status: Fix Committed → Fix Released
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.