Ticket #146 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Add config option to disable "open new tab with PWD of current tab"

Reported by: Wicher Minnaard Owned by: somebody
Priority: Fix available Milestone:
Component: guake Version: 0.4
Keywords: CWD Cc:

Description

Since Guake 0.4 new tabs get opened with their present working directory set to the present working directory of the currently visible tab.

This could be handy, but not always. There should at least be an option to disable this behaviour, or better yet, have some other keyboard shortcut to 'open new tab in current tab's CWD'.

In case you're wondering why this new feature sometimes hampers usability, consider the followin scenario for an example:

1. I have a tab 'A' with PWD somewhere inside some mountpoint, say, a thumbdrive.

2. I open a new tab 'B' to SSH to some other machine. I should not have to care about the PWD of the new tab, as it's irrelevant - I'll be doing work on the remote machine.

3. I now want to unmount the thumbdrive. This fails because both tab A and B have their PWD inside the thumbdrive's mountpoint.

4. I can point tab A to another PWD. However, I can not do this for tab B. I'd have to quit my SSH session before I can unmount the thumbdrive.

Attachments

Change History

Changed 4 years ago by Wicher Minnaard

If you're came here looking for a quick fix: comment line 921 of guake.py, where it says

params['directory'] = self.get_current_dir()

change that to

#params['directory'] = self.get_current_dir()

Changed 4 years ago by pingou

  • priority changed from major to Fix available

Changed 4 years ago by lincoln

  • status changed from new to closed
  • resolution set to fixed

Hey! I've finally pushed your patches!

Thank you and sorry for delay!

Note: See TracTickets for help on using tickets.