nautilus-open-any-terminal icon indicating copy to clipboard operation
nautilus-open-any-terminal copied to clipboard

Remove item from menu?

Open tiago138 opened this issue 1 year ago • 5 comments

How do I remove item from the menu?

tiago138 avatar Jun 08 '24 13:06 tiago138

Can you please be more specific about what exactly you want removed?

It add two open terminal here in my menu how do I remove it?

tiago138 avatar Jun 08 '24 15:06 tiago138

ping @Tiago138

Stunkymonkey avatar Jul 02 '24 17:07 Stunkymonkey

Have you uninstalled the gnome terminal specific extension?

I was trying to configure kitty terminal but it did not add kitty, a uninstalled kit and installed it again and now I have two open kitty here options

tiago138 avatar Jul 02 '24 18:07 tiago138

how did you install the extension? might be, that you installed it system-wide & user-wide.

Stunkymonkey avatar Jul 03 '24 20:07 Stunkymonkey

I installed it user-wide but it did not add kitty open terminal here, then I tried to add kitty again and it add another open terminal here. then I removed kitty and installed it again and now I have two kitty options.

I think I did install system-wide & user-wide because it did not work the first time.

tiago138 avatar Jul 04 '24 12:07 tiago138

then you need to uninstall one of them. Recompile the schemas and there is only one context-entry.

Stunkymonkey avatar Jul 04 '24 17:07 Stunkymonkey

When I try any using one of this two

make uninstall scheme
sudo make uninstall scheme

I get No rule to make target 'uninstall'. Stop.

tiago138 avatar Jul 08 '24 21:07 tiago138

try make uninstall-common

Stunkymonkey avatar Jul 08 '24 22:07 Stunkymonkey

Are you sure you're installing the latest version of this project?

I am using version 0.5.1 I did pip uninstall nautilus-open-any-terminal and sudo pip uninstall nautilus-open-any-terminal it removed the two options from the menu But doing pip install --user nautilus-open-any-terminal nautilus does not open anymore I am using pop-os 22.04

tiago138 avatar Jul 15 '24 21:07 tiago138

Please install from source or from the deb packages available on the latest release and see if the issue persists

The version nautilus-extension-any-terminal_0.6.0-1_all.deb nautilus does not open after installation

Version nautilus-extension-any-terminal_0.5.1-2_all.deb works fine.

tiago138 avatar Jul 16 '24 11:07 tiago138

If you try running nautilus from a terminal is there any output?

This is the output.

open-any-terminal: terminal is set to "kitty" opening a new window 

(org.gnome.Nautilus:193068): Gtk-WARNING **: 18:11:39.514: Theme directory apps@2x/22 of theme WhiteSur-yellow-dark has no size field


(org.gnome.Nautilus:193068): Gtk-WARNING **: 18:11:39.514: Theme directory apps@2x/32 of theme WhiteSur-yellow-dark has no size field


(org.gnome.Nautilus:193068): Gtk-WARNING **: 18:11:39.514: Theme directory preferences@2x/22 of theme WhiteSur-yellow-dark has no size field


(org.gnome.Nautilus:193068): GLib-GIO-ERROR **: 18:11:39.648: Settings schema 'com.github.stunkymonkey.nautilus-open-any-terminal' does not contain a key named 'use-generic-terminal-name'
zsh: trace trap (core dumped)  nautilus

tiago138 avatar Jul 16 '24 21:07 tiago138

The version nautilus-extension-any-terminal_0.6.0-1_all.deb nautilus does not open after installation

I encountered a similar issue to yours. In my case, I was using version 0.5 installed via pip, and upon updating to the latest version, I encountered the error Settings schema 'com.github.stunkymonkey.nautilus-open-any-terminal' does not contain a key named 'use-generic-terminal-name'. I saw that the new version of the plugin had added new keys to the application schema.

Download the latest schema file from the repository.

Depending on whether you installed the plugin globally or locally, copy the downloaded file to the appropriate directory.

  • System-wide Installation:
sudo cp com.github.stunkymonkey.nautilus-open-any-terminal.gschema.xml /usr/share/glib-2.0/schemas/
  • User-level Installation:
cp com.github.stunkymonkey.nautilus-open-any-terminal.gschema.xml ~/.local/share/glib-2.0/schemas/

Once the XML file is in the appropriate directory, compile the schema.

  • System-wide:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
  • User-level:
glib-compile-schemas ~/.local/share/glib-2.0/schemas/

Finally, restart Nautilus with nautilus -q for the changes to take effect. This should make Nautilus work again.

TheShepsMT89 avatar Aug 01 '24 23:08 TheShepsMT89

Just running sudo glib-compile-schemas /usr/share/glib-2.0/schemas should be enough.

It worked for me.

tiago138 avatar Aug 05 '24 12:08 tiago138