Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create "Open in Terminix" plugin for Nautilus #37

Closed
gnunn1 opened this issue Jan 19, 2016 · 6 comments
Closed

Create "Open in Terminix" plugin for Nautilus #37

gnunn1 opened this issue Jan 19, 2016 · 6 comments

Comments

@gnunn1
Copy link
Owner

gnunn1 commented Jan 19, 2016

I'm a consistent user of the gnome-terminal nautilus plugin "Open in Terminal", need to create the equivalent feature for terminix somehow.

@bilelmoussaoui
Copy link
Contributor

@alex285
Copy link
Contributor

alex285 commented Jan 22, 2016

Also this can add a plugin on Gnome Software in Nautilus:
https://bugzilla.gnome.org/show_bug.cgi?id=760851

@gnunn1
Copy link
Owner Author

gnunn1 commented Jan 27, 2016

I have added an initial plugin, essentially a modified python plugin from the libnautilus-extension package. I'm sure it could use some improvement, if someone is a Python dev feel free to have at it but closing this for now.

@YarnSphere
Copy link

I don't know if it is expected, but the "Open in Terminal" plugin would also create an entry to open with gnome-terminal, which I don't have installed. I'm now using Nautilus-Actions.

Example configuration (you can import it by creating a .desktop file):

[Desktop Entry]
Type=Action
TargetToolbar=true
TargetLocation=true
Icon[en_GB]=terminix
Icon[en]=terminix
Icon[C]=terminix
Tooltip[en_GB]=Open in Terminix
Tooltip[en]=Open in Terminix
Tooltip[C]=Open in Terminix
ToolbarLabel[en_GB]=Open in Terminix
ToolbarLabel[en]=Open in Terminix
ToolbarLabel[C]=Open in Terminix
Name[en_GB]=Open in Terminix
Name[en]=Open in Terminix
Name[C]=Open in Terminix
Profiles=profile-zero;

[X-Action-Profile profile-zero]
Exec=terminix -w %f
Name[en_GB]=Default profile
Name[en]=Default profile
Name[C]=Default profile

@phw
Copy link
Contributor

phw commented Feb 22, 2017

@nunocastromartins I am not sure I understand correctly. What exactly did you install? Terminix already comes with a Nautilus plugin, which will add a "Open in Terminix" action.

Gnome Terminal has its own Nautilus plugin.

@YarnSphere
Copy link

You're right. My bad. Only needed python2-nautilus and not nautilus-open-terminal; ended up with two entries in the context menu because of that.
The Nautilus-Actions option is still viable, though - if one doesn't want to install python2-nautilus. In my case, since I'm already using Nautilus-Actions for something else, might as well not install an extra package. :-)

Again, my bad, I apologise for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants