Coder Social home page Coder Social logo

Comments (5)

agreselin avatar agreselin commented on June 26, 2024 9

This is a solution I've adapted from a Linux Mint Forums thread.
First install caja-actions

    sudo apt install caja-actions

then make a file open-terminal-here in ~/.config/caja/scripts/

    vim ~/.config/caja/scripts/open-terminal-here

write

#!/bin/sh
#
# This script opens a gnome-terminal in the current directory.
#
# Distributed under the terms of GNU GPL version 2 or later
#
# Original author: Keith Conger <[email protected]>
#
# Sourced from
# https://forums.linuxmint.com/viewtopic.php?p=773382&sid=9939ce160bd97313f849367231eb721a#p773382
# http://g-scripts.sourceforge.net/nautilus-scripts/Execute/Open%20terminal/terminal-here
#
# Put this file in your ~/.config/caja/scripts/ directory.
# You need to have caja-actions installed to use scripts.

cd $CAJA_SCRIPT_CURRENT_URI
exec gnome-terminal

in it and make it executable

chmod +x ~/.config/caja/scripts/open-terminal-here

Open ~/.config/caja/accels

vim ~/.config/caja/accels

add add the following line

(gtk_accel_path "<Actions>/ScriptsGroup/script_file:\\s\\s\\shome\\sUSER\\s.config\\scaja\\sscripts\\sopen-terminal-here" "F4")

where USER is your user name. This binds the script to F4, but of course you can change the shortcut as you like.
Quit Caja (caja -q) and restart it.
I've tested it on Ubuntu 17.10.

from caja-extensions.

raveit65 avatar raveit65 commented on June 26, 2024 1

+1

from caja-extensions.

RobertLM78 avatar RobertLM78 commented on June 26, 2024

+1

Been playing around with AntiX+IceWM, and Rox-Filer has a nice hotkey for this action, the grave (`)

from caja-extensions.

RobertLM78 avatar RobertLM78 commented on June 26, 2024

I'll have to wait until the upgrade from Mint 17.3 to try... no caja-actions package available there. Can't wait to try it out though! Thanks agreselin! B)

from caja-extensions.

 avatar commented on June 26, 2024

There is a general issue with extensions that they cannot set keyboard shortcuts for their menu items, because libcaja-extension doesn't provide this ability.

from caja-extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.