bigbn / drop-down-terminal-x

Drop Down Terminal X extension for the Gnome Shell
https://extensions.gnome.org/extension/1509/drop-down-terminal-x/?c=38764
GNU General Public License v3.0
91 stars 9 forks source link

Open new terminal in current directory feature does not work #80

Closed szarnyasg closed 4 years ago

szarnyasg commented 4 years ago

Describe the bug The "Open new terminal in current directory" feature introduced with PR #56 does not work.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to /tmp.
  2. Press Ctrl + Shift + T to open a new tab.
  3. Check pwd.
  4. The location is $HOME instead of /tmp.

Expected behaviour A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

(Extension version obtained with grep version ~/.local/share/gnome-shell/extensions/drop-down-terminal-x@bigbn.pro/metadata.json).

Additional context N/A

Error logs No trace in the log. There isn't any sign of a problem in journalctl -xe.

Sep 22 10:02:35 t480s gnome-shell[129712]: Asked to toggle
Sep 22 10:02:35 t480s gnome-shell[129712]: Updating window geometry        false
Sep 22 10:02:35 t480s gjs[130691]: gdk_window_get_effective_toplevel: assertion 'GDK_IS_WINDOW (window)' failed
Sep 22 10:02:35 t480s gjs[130691]: Couldn't map as window 0x56458995e6b0 as popup because it doesn't have a parent
Sep 22 10:02:35 t480s gnome-shell[129712]: Window manager warning: Overwriting existing binding of keysym ff09 with keysym ff09 (keycode 17).
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_set_colors(VteTerminal*, const GdkRGBA*, const GdkRGBA*, const GdkRGBA*, gsize): assertion 'background == nullptr || valid_color(background)' failed
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_match_set_cursor_type(VteTerminal*, int, GdkCursorType): assertion 'tag >= 0' failed
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_match_set_cursor_type(VteTerminal*, int, GdkCursorType): assertion 'tag >= 0' failed
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_match_set_cursor_type(VteTerminal*, int, GdkCursorType): assertion 'tag >= 0' failed
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_match_set_cursor_type(VteTerminal*, int, GdkCursorType): assertion 'tag >= 0' failed
Sep 22 10:02:38 t480s gjs[130691]: void vte_terminal_match_set_cursor_type(VteTerminal*, int, GdkCursorType): assertion 'tag >= 0' failed
Sep 22 10:02:38 t480s systemd[4935]: Started VTE child process 132745 launched by drop-down-terminal-x process 130691.
-- Subject: A start job for unit UNIT has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit UNIT has finished successfully.
-- 
-- The job identifier is 8495.
Sep 22 10:02:39 t480s gnome-shell[129712]: Asked to toggle
Sep 22 10:02:39 t480s gnome-shell[129712]: Updating window geometry        false
Sep 22 10:02:39 t480s gnome-shell[129712]: Window manager warning: Overwriting existing binding of keysym ff09 with keysym ff09 (keycode 17).
bigbn commented 4 years ago

https://github.com/gnunn1/tilix/wiki/VTE-Configuration-Issue

bigbn commented 4 years ago

The line source /etc/profile.d/vte.sh in .bashrc helps me in Archlinux.

szarnyasg commented 4 years ago

@bigbn it indeed fixed the problem for me, thank you!