A somewhat hacky way to implement this is to change the line

self.add_tab()

to

self.add_tab(self.get_current_dir())

in the function accel_add() in guake.py. (It is on line 895 on my
machine running guake 0.4.2, and the file is in /usr/lib/guake/)

This only causes the working directory to be used when a shortcut key is
used to open the new tab -- not when the button is pressed. I tried
modifying the add_tab() procedure to make it always do it, by checking
if the 'directory' parameter was set, but couldn't get it to work. (I'm
afraid I have very little python experience.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027926

Title:
  Feature request: default working directory of new tab

To manage notifications about this bug go to:
https://bugs.launchpad.net/guake/+bug/1027926/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to