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
92 stars 9 forks source link

focus on start #43

Open posuch opened 4 years ago

posuch commented 4 years ago

HI, would love to have focus on start ( aka dropdown ) so I can start typing commands instantly without the need to click in to terminal.

archlinux gnome-shell 3.34.1 extension installed from gnome extension page

Thanks

bigbn commented 4 years ago

wayland?

posuch commented 4 years ago

echo $XDG_SESSION_TYPE x11

bigbn commented 4 years ago

It is kind of strange, because I'm archlinux user too, and unable to use wayland, so I'm still on on Xorg. But I have no any issues with focus, i'm using ddtx every day for a long time, using it on my home and office machines - no issues with focus. Could you please run

journalctl -fa

and then toggle terminal. Send printed messages here, maybe we will find there some exceptions.

posuch commented 4 years ago

-- Logs begin at Tue 2019-11-26 20:15:05 CET. -- dec 01 10:22:21 traktor gnome-shell[2783]: [AppIndicatorSupport-WARN] Item :1.65/org/ayatana/NotificationItem/dropbox_client_3140 is already registered dec 01 10:22:21 traktor gnome-shell[2783]: [AppIndicatorSupport-WARN] Attempting to re-register :1.65/org/ayatana/NotificationItem/dropbox_client_3140; resetting instead dec 01 10:22:21 traktor gnome-shell[2783]: [AppIndicatorSupport-WARN] Item :1.65/org/ayatana/NotificationItem/dropbox_client_3140 is already registered dec 01 10:22:24 traktor gnome-shell[2783]: Ignoring length property that isn't a number at line 1156, col 24 dec 01 10:22:24 traktor org.gnome.Terminal.desktop[2783]: # _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’ dec 01 10:22:24 traktor org.gnome.Terminal.desktop[2783]: # _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’ dec 01 10:22:24 traktor org.gnome.Terminal.desktop[2783]: # watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0) dec 01 10:22:24 traktor org.gnome.Terminal.desktop[2783]: # unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1) dec 01 10:22:24 traktor org.gnome.Terminal.desktop[2783]: # watch_established: "/org/gnome/terminal/legacy/" (establishing: 0) dec 01 10:22:26 traktor systemd-timesyncd[471]: Initial synchronization to time server 92.240.244.202:123 (2.arch.pool.ntp.org). dec 01 10:22:37 traktor systemd[1]: systemd-hostnamed.service: Succeeded. dec 01 10:22:37 traktor audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' dec 01 10:22:37 traktor kernel: audit: type=1131 audit(1575192157.506:254): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' dec 01 10:22:38 traktor systemd[1]: systemd-localed.service: Succeeded. dec 01 10:22:38 traktor audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' dec 01 10:22:38 traktor kernel: audit: type=1131 audit(1575192158.256:255): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' dec 01 10:22:41 traktor tracker-store[3196]: OK dec 01 10:22:41 traktor systemd[645]: tracker-store.service: Succeeded. dec 01 10:22:50 traktor systemd[1]: systemd-timedated.service: Succeeded. dec 01 10:22:50 traktor audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' dec 01 10:22:50 traktor kernel: audit: type=1131 audit(1575192170.226:256): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' dec 01 10:22:54 traktor gnome-shell[2783]: JS WARNING: [/usr/share/gnome-shell/extensions/drop-down-terminal-x@bigbn.pro/extension.js 759]: Too many arguments to function GLib.child_watch_add: expected 3, got 4 dec 01 10:22:54 traktor gjs[5560]: JS WARNING: [/usr/share/gnome-shell/extensions/drop-down-terminal-x@bigbn.pro/terminal.js 1122]: Too many arguments to function Gtk.init: expected 1, got 2 dec 01 10:22:54 traktor gjs[5560]: Some code accessed the property 'GTK_VERSION' on the module 'convenience'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway. dec 01 10:22:54 traktor gnome-shell[2783]: Some code accessed the property 'GTK_VERSION' on the module 'convenience'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway. dec 01 10:23:05 traktor geoclue[2880]: Service not used for 60 seconds. Shutting down.. dec 01 10:23:05 traktor systemd[1]: geoclue.service: Succeeded. dec 01 10:23:05 traktor audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' dec 01 10:23:05 traktor kernel: audit: type=1131 audit(1575192185.737:257): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=geoclue comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

bigbn commented 4 years ago

No, there is nothing unusual (

posuch commented 4 years ago

installed git version from aur - every time tested I did a reboot with same result, once the focus is gained ( click in ) it stays - just the forst dropdown is kinda annoying

bigbn commented 4 years ago

I'm realy, got no issues with focus, even after reboot, maybe you have some apps in autostart, that can stole the focus?

posuch commented 4 years ago

same thing - I disabled autostart apps ( insyn,syncthing,dropbox, pidgin ) - also extensions I thought might have impact ( caffeine, remove shield ) , Ill try to disale all extensions except dropdown

posuch commented 4 years ago

same thing no extensions

ghost commented 4 years ago

Same issue here. I do not use wayland and get the problem, after the shell got minimized, from opening the menu.

somepaulo commented 4 years ago

Same here. Arch + GS 3.36.1 + X11

injcristianrojas commented 4 years ago

Same here. Fedora 32 + GS 3.36.2 + X11. This didn't happen in previous versions of the plugin (version 15 installed)