GithubHelp home page GithubHelp logo

2 Terminals open on OsX Mojave about cdto HOT 11 CLOSED

jbtule avatar jbtule commented on August 22, 2024 5
2 Terminals open on OsX Mojave

from cdto.

Comments (11)

gingerbeardman avatar gingerbeardman commented on August 22, 2024 2

To resolve the 2 window thing (a problem in High Sierra as well as Mojave)

I now use https://github.com/Ji4n1ng/OpenInTerminal (Lite version)

from cdto.

jakevossen5 avatar jakevossen5 commented on August 22, 2024 1

Confirming this still exists on 10.14.4 (18E226)

from cdto.

dogatekin avatar dogatekin commented on August 22, 2024 1

Hey thanks for letting us know, that's great!

from cdto.

dogatekin avatar dogatekin commented on August 22, 2024

I have the same problem. I discovered that this does not happen if you close all your terminal windows by using ⌘W.

from cdto.

DmitryZemlyuk avatar DmitryZemlyuk commented on August 22, 2024

Hi. +1 with the same problem. @jbtule can we help with fixes? (send log, anything...)

from cdto.

grenappels avatar grenappels commented on August 22, 2024

+1 I also have this problem!

from cdto.

jensrutschmann avatar jensrutschmann commented on August 22, 2024

I believe it happens because of this error:

Since sending application [sess=100007 pid=98033 uid:501,501,501 g:20,20 pV:396619] is not permitted to send this AppleEvent to this process, returning an errAEEventNotPermitted reply.

I see this in the event log / console every time I click the cdto icon in Finder.

Also see https://trac.cyberduck.io/ticket/10475#comment:3

If you build your app with the 10.14 SDK, the NSAppleEventsUsageDescription key is required. If it is not provided, trying to send an AppleEvent to another, running app will always return error errAEEventNotPermitted (-1743). The key is only optional when using older SDKs.

from cdto.

huti26 avatar huti26 commented on August 22, 2024

The issue only occurs when you quit Terminal using ⌘Q. If you dont actually quit the application, it should still work.

from cdto.

rterrabh avatar rterrabh commented on August 22, 2024

I have the same issue in Mac OS 10.14.3.

If terminal is not "active" (open or running without any windows), cd to works perfectly.

However, I always use ⌘Q and two windows are annoying me. Is there any perspective to fix this issue? I can help you @jbtule testing if you want to.

from cdto.

williamaeberhard avatar williamaeberhard commented on August 22, 2024

Same here with Mac OS 10.14.3. I confirm that cdto creates that second window only when Terminal has been completely closed beforehand (not running in background). To be clear, one window opens at the default directory (~ for me) and the second one opens wherever cdto was executed from.

from cdto.

jbtule avatar jbtule commented on August 22, 2024

Enable this setting

defaults write name.tuley.jay.cd-to cdto-close-default-window -bool true

And use v3.1 and cd to will now attempt to close the 2nd window.
https://github.com/jbtule/cdto/releases/tag/v3.1

from cdto.

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.