Stunkymonkey / nautilus-open-any-terminal

GNU General Public License v3.0
513 stars 50 forks source link

When uninstall some terminal still shown in list #55

Closed starsareintherose closed 1 year ago

starsareintherose commented 1 year ago

I uninstall the terminator but it still shown "open in terminator", how to get rid of it?

Stunkymonkey commented 1 year ago

you have to uninstall this plugin as well. The application itself does not "enable" the context-entry.

starsareintherose commented 1 year ago

I have already uninstall nautilus-open-any-terminal and tried to re-install it, it present again

Stunkymonkey commented 1 year ago

do you have something installed like https://github.com/timhughes/nautilus-open-terminator? how did you install the plugin? via pip? nixpkgs? aur?

starsareintherose commented 1 year ago

I install via aur

local/libnautilus-extension 42.2-1
    Library for extending the Default file manager for GNOME
local/nautilus 42.2-1 (gnome)
    Default file manager for GNOME
local/nautilus-open-any-terminal 0.3.0-10
    context-menu entry for opening other terminal in nautilus
local/python-nautilus 1.2.3-7
    Python bindings for the Nautilus Extension API
Stunkymonkey commented 1 year ago

try pacman -R nautilus-open-any-terminal and restart nautilus with nautilus -q (which closes it)

starsareintherose commented 1 year ago

sorry, maybe I don't describe my issue clearly. Previous I use terminator, and it has the option of open in terminator, and Now I uninstall terminator and it still shown open in terminator when I click

Stunkymonkey commented 1 year ago

Terminator itself does not "enable" the context-entry. By installing this plugin the contex-entry is shown even if the application is missing. maybe you are missing: glib-compile-schemas /usr/share/glib-2.0/schemas?

starsareintherose commented 1 year ago
ls /usr/share/glib-2.0/schemas          ░▒▓ ✔  21:26:43  ▓▒░
00_org.gnome.shell.extensions.classic.gschema.override
00_org.gnome.shell.gschema.override
10_ubuntu-dock.gschema.override
com.gexperts.Tilix.gschema.xml
com.github.stunkymonkey.nautilus-open-any-terminal.gschema.xml
gschema.dtd
gschemas.compiled
io.bassi.Amberol.gschema.xml
io.github.seadve.Kooha.gschema.xml
org.freedesktop.ColorHelper.gschema.xml
org.freedesktop.folks.gschema.xml
org.freedesktop.pulseaudio.gschema.xml
org.freedesktop.Tracker3.Extract.gschema.xml
org.freedesktop.Tracker3.FTS.gschema.xml
org.freedesktop.Tracker3.Miner.Files.gschema.xml
org.freedesktop.TrackerMiners3.enums.xml
org.gnome.crypto.cache.gschema.xml
org.gnome.crypto.pgp.gschema.xml
org.gnome.desktop.a11y.applications.gschema.xml
org.gnome.desktop.a11y.gschema.xml
org.gnome.desktop.a11y.interface.gschema.xml
org.gnome.desktop.a11y.keyboard.gschema.xml
org.gnome.desktop.a11y.magnifier.gschema.xml
org.gnome.desktop.a11y.mouse.gschema.xml
org.gnome.desktop.app-folders.gschema.xml
org.gnome.desktop.background.gschema.xml
org.gnome.desktop.calendar.gschema.xml
org.gnome.desktop.datetime.gschema.xml
org.gnome.desktop.default-applications.gschema.xml
org.gnome.desktop.enums.xml
org.gnome.desktop.input-sources.gschema.xml
org.gnome.desktop.interface.gschema.xml
org.gnome.desktop.lockdown.gschema.xml
org.gnome.desktop.media-handling.gschema.xml
org.gnome.desktop.notifications.gschema.xml
org.gnome.desktop.peripherals.gschema.xml
org.gnome.desktop.privacy.gschema.xml
org.gnome.desktop.screensaver.gschema.xml
org.gnome.desktop.search-providers.gschema.xml
org.gnome.desktop.session.gschema.xml
org.gnome.desktop.sound.gschema.xml
org.gnome.desktop.thumbnail-cache.gschema.xml
org.gnome.desktop.thumbnailers.gschema.xml
org.gnome.desktop.wm.keybindings.gschema.xml
org.gnome.desktop.wm.preferences.gschema.xml
org.gnome.Disks.gschema.xml
org.gnome.eog.enums.xml
org.gnome.eog.gschema.xml
org.gnome.Evince.gschema.xml
org.gnome.evolution-data-server.addressbook.gschema.xml
org.gnome.evolution-data-server.calendar.gschema.xml
org.gnome.evolution-data-server.gschema.xml
org.gnome.Evolution.DefaultSources.gschema.xml
org.gnome.evolution.eds-shell.gschema.xml
org.gnome.evolution.shell.network-config.gschema.xml
org.gnome.Geary.gschema.xml
org.gnome.GWeather4.enums.xml
org.gnome.GWeather4.gschema.xml
org.gnome.libgnomekbd.desktop.gschema.xml
org.gnome.libgnomekbd.gschema.xml
org.gnome.libgnomekbd.keyboard.gschema.xml
org.gnome.login-screen.gschema.xml
org.gnome.mutter.gschema.xml
org.gnome.mutter.wayland.gschema.xml
org.gnome.nautilus.gschema.xml
org.gnome.nm-applet.gschema.xml
org.gnome.online-accounts.gschema.xml
org.gnome.SessionManager.gschema.xml
org.gnome.settings-daemon.enums.xml
org.gnome.settings-daemon.peripherals.gschema.xml
org.gnome.settings-daemon.peripherals.wacom.gschema.xml
org.gnome.settings-daemon.plugins.color.gschema.xml
org.gnome.settings-daemon.plugins.gschema.xml
org.gnome.settings-daemon.plugins.housekeeping.gschema.xml
org.gnome.settings-daemon.plugins.media-keys.gschema.xml
org.gnome.settings-daemon.plugins.power.gschema.xml
org.gnome.settings-daemon.plugins.sharing.gschema.xml
org.gnome.settings-daemon.plugins.wwan.gschema.xml
org.gnome.settings-daemon.plugins.xsettings.gschema.xml
org.gnome.Settings.gschema.xml
org.gnome.shell.extensions.appindicator.gschema.xml
org.gnome.shell.extensions.apps-menu.gschema.xml
org.gnome.shell.extensions.arch-update.gschema.xml
org.gnome.shell.extensions.auto-move-windows.gschema.xml
org.gnome.shell.extensions.blur-my-shell.gschema.xml
org.gnome.shell.extensions.dash-to-dock.gschema.xml
org.gnome.Shell.Extensions.GSConnect.gschema.xml
org.gnome.shell.extensions.native-window-placement.gschema.xml
org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
org.gnome.shell.extensions.user-theme.gschema.xml
org.gnome.shell.extensions.window-list.gschema.xml
org.gnome.shell.gschema.xml
org.gnome.system.dns_sd.gschema.xml
org.gnome.system.gvfs.enums.xml
org.gnome.system.locale.gschema.xml
org.gnome.system.location.gschema.xml
org.gnome.system.proxy.gschema.xml
org.gnome.totem.enums.xml
org.gnome.totem.gschema.xml
org.gnome.totem.plugins.opensubtitles.gschema.xml
org.gnome.totem.plugins.pythonconsole.gschema.xml
org.gnome.tweaks.gschema.xml
org.gtk.gtk4.Settings.ColorChooser.gschema.xml
org.gtk.gtk4.Settings.Debug.gschema.xml
org.gtk.gtk4.Settings.EmojiChooser.gschema.xml
org.gtk.gtk4.Settings.FileChooser.gschema.xml
org.gtk.Settings.ColorChooser.gschema.xml
org.gtk.Settings.Debug.gschema.xml
org.gtk.Settings.EmojiChooser.gschema.xml
org.gtk.Settings.FileChooser.gschema.xml

and

glib-compile-schemas --help           ░▒▓ 1 ✘  21:27:38  ▓▒░
用法:
  glib-compile-schemas [选项…] 目录

编译所有的 GSettings 架构文件为架构缓存。
要使用扩展 .gschema.xml,需要有架构文件,
缓存文件被称为 gschemas.compiled。

帮助选项:
  -h, --help           显示帮助选项

应用程序选项:
  --version            显示程序版本并退出
  --targetdir=目录     gschemas.compiled 文件存储于何处
  --strict             在架构里出现任何错误时中止
  --dry-run            不要对 gschema.compiled 进行写操作
  --allow-any-name     不要强制键名的限制
Stunkymonkey commented 1 year ago

i can see you have the file /usr/share/glib-2.0/schemas/com.github.stunkymonkey.nautilus-open-any-terminal.gschema.xml So you did not perform the uninstall. please execute pacman -R nautilus-open-any-terminal

starsareintherose commented 1 year ago

I now uninstall, what next should I do, I also run nautilus -q

starsareintherose commented 1 year ago

I want to it shown open in tilix but not show open in terminator, if I reinstall it, it shows both

Stunkymonkey commented 1 year ago

Ok. Based on the information I just thought you want to uninstall it.

So interestingly tilix itself supports the context-entry itself. https://github.com/gnunn1/tilix/blob/master/data/nautilus/open-tilix.py

So I am not entirely sure how nautilus handles this. what happens if you set gsettings set com.github.stunkymonkey.nautilus-open-any-terminal terminal tilix? I guess you would see two context-entrys. If you want a single one, the correct solution is still to uninstall my extension.

starsareintherose commented 1 year ago

okay, thanks