Giter Club home page Giter Club logo

Comments (24)

ngaretou avatar ngaretou commented on June 11, 2024 15

Workaround for this:

  • Open Clipy preferences.
  • Uncheck 'launch at login'
  • Log out of macOS
  • On login, a prompt will pop up: do you want Clipy to run at startup? Say no don't run at startup and don't ask again.
    • This is the problem, where its 'run at startup' method is deprecated, as noted above.
    • If you directly add Clipy to the Login Items now, it will run one time, but because you said not to run it every time, it will remove itself and never run after that.
  • Now open Automator.
  • New Document
  • Application
  • Utilities on left column
  • Run Shell Script on right column
  • There paste open -a Clipy
  • Save that as "Clipy Run" in Applications folder and Close
  • Now add your Clipy Run Automator app to Login Items.

from clipy.

c-hoeger avatar c-hoeger commented on June 11, 2024 4

I for myself now switched to https://github.com/p0deje/Maccy

from clipy.

JimDanner avatar JimDanner commented on June 11, 2024 2

As a variation on this workaround by @ngaretou, after the first steps

Workaround
* Open Clipy preferences.
* Uncheck 'launch at login'
* Log out of macOS
* On login, a prompt will pop up: do you want Clipy to run at startup? Say no don't run at startup and don't ask again.

I added a launch agent (instead of using Automator) to do the starting at login. In ~/Library/LaunchAgents/ I created a file com.jim.clipy.plist with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>com.jim.clipy</string>
	<key>RunAtLoad</key>
	<true/>
	<key>ProgramArguments</key>
	<array>
		<string>open</string>
		<string>-a</string>
		<string>Clipy</string>
	</array>
</dict>
</plist>

This also works.

from clipy.

bslmac avatar bslmac commented on June 11, 2024 1

Merci/Thanks @ngaretou, facile et simple à mettre en place. Souhaitons une version à jour bientôt de la part des guerriers du code! / easy and simple to set up. Hope for an updated version soon from the code warriors!

from clipy.

zygiboos avatar zygiboos commented on June 11, 2024

same here

from clipy.

bazilinskyy avatar bazilinskyy commented on June 11, 2024

Same here

from clipy.

algkmn avatar algkmn commented on June 11, 2024

same here

from clipy.

bopeterson avatar bopeterson commented on June 11, 2024

same here

from clipy.

z0r3f avatar z0r3f commented on June 11, 2024

+1

from clipy.

somenugget avatar somenugget commented on June 11, 2024

+1

from clipy.

Bon3863 avatar Bon3863 commented on June 11, 2024

same here
MacOS 13.0.1 on MacBookPro 2019

from clipy.

c-hoeger avatar c-hoeger commented on June 11, 2024

I am not a Swift/macOS programmer, so I won't provide a fixed version, since I don't know if the solution is completely valid. I managed to build from the develop branch after a huge amount of trial and error and finally found a solution applying the following patch:

diff --git a/Clipy/Sources/AppDelegate.swift b/Clipy/Sources/AppDelegate.swift
index af0736f..11ae80c 100644
--- a/Clipy/Sources/AppDelegate.swift
+++ b/Clipy/Sources/AppDelegate.swift
@@ -153,7 +153,7 @@ class AppDelegate: NSObject, NSMenuItemValidation {

     private func toggleAddingToLoginItems(_ isEnable: Bool) {
         let appPath = Bundle.main.bundlePath
-        LoginServiceKit.removeLoginItems(at: appPath)
+        // LoginServiceKit.removeLoginItems(at: appPath)
         guard isEnable else { return }
         LoginServiceKit.addLoginItems(at: appPath)
     }

from clipy.

M-Bekheet avatar M-Bekheet commented on June 11, 2024

This solution by @arubdesu worked for me #517 (comment)

from clipy.

bvandergiessen avatar bvandergiessen commented on June 11, 2024

This solution by @arubdesu worked for me #517 (comment)

Unfortunately, according to that post, it isn't a solution:

generating a new build seems to be the only fix, short of Apple stopping their notification behavior.

from clipy.

Bon3863 avatar Bon3863 commented on June 11, 2024

Great ! @ngaretou
It works fine, thank you.

from clipy.

marcora avatar marcora commented on June 11, 2024

Please fix this issue!

from clipy.

Joghurtbecher08115 avatar Joghurtbecher08115 commented on June 11, 2024

@ngaretou Thanks, worked for me too!

from clipy.

seraphyn avatar seraphyn commented on June 11, 2024

Would be great to provide a fix in a new release.
Does someone forked the project?

from clipy.

bvandergiessen avatar bvandergiessen commented on June 11, 2024

@Econa77 Do you think you could create a new build with this bugfix (the one proposed in the comment above)?

from clipy.

seraphyn avatar seraphyn commented on June 11, 2024

I for myself now switched to https://github.com/p0deje/Maccy

Same on my side
Seems like the development stopped a few months ago

from clipy.

rickogorman avatar rickogorman commented on June 11, 2024

@ngaretou Thanks for that tip. Using your logic, I used Lingon X to add the command open -a Clipy as a launch agent, seems to work as well, another option for users.

from clipy.

jmilt7 avatar jmilt7 commented on June 11, 2024

Workaround for this:

  • Open Clipy preferences.

  • Uncheck 'launch at login'

  • Log out of macOS

  • On login, a prompt will pop up: do you want Clipy to run at startup? Say no don't run at startup and don't ask again.

    • This is the problem, where its 'run at startup' method is deprecated, as noted above.
    • If you directly add Clipy to the Login Items now, it will run one time, but because you said not to run it every time, it will remove itself and never run after that.
  • Now open Automator.

  • New Document

  • Application

  • Utilities on left column

  • Run Shell Script on right column

  • There paste open -a Clipy

  • Save that as "Clipy Run" in Applications folder and Close

  • Now add your Clipy Run Automator app to Login Items.

I am not particularly familiar with Automator but I am usually game for new experiences especially when there are nice clear instructions like these, however, when I open Automator I do not see "New Document" anywhere. There is a list of options such as "Workflow", "Application", "Quick Action", "Folder Actions" one of which I have to choose to continue. So I chose "Application" since it is the next step in the instructions anyway. I then see and choose "Utilities" and then choose "Run Shell Script" but I can find no way to paste "open -a Clipy". Did Automator change since these directions were written? Thanks

from clipy.

rangedsp avatar rangedsp commented on June 11, 2024

@jmilt7 you should be able to achieve the same thing using the 'Launch application' workflow, instructions here:
https://learn.adafruit.com/launch-deck-trellis-m4/app-launching

from clipy.

jmilt7 avatar jmilt7 commented on June 11, 2024

@jmilt7 you should be able to achieve the same thing using the 'Launch application' workflow, instructions here:
https://learn.adafruit.com/launch-deck-trellis-m4/app-launching

Thanks. Haven't tried this yet as I am debating whether just closing the notification once a day or once every couple of days is a big inconvenience or not in the whole scheme of things but I do like the idea of playing with Automator as I have never tried it before and I like to try new things. So thanks again for this.

from clipy.

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.