Coder Social home page Coder Social logo

Comments (6)

bruno- avatar bruno- commented on August 17, 2024 2

I confirm I get the same behavior ("Background Item Added" notification) after every reboot.

This may have to do with writing the launchd plist file every time tmux-continuum runs:

echo "$launchd_plist_file_content" > "$osx_auto_start_file_path"

If someone wants to troubleshoot this:

  • I'd first check if the notification pops if the above line is commented out.
  • If that fixes the problem, then I think we only want to write launchd plist file if the template content changed.

from tmux-continuum.

d8n1z avatar d8n1z commented on August 17, 2024 1

can confirm that commenting line 68 out works out, as @bruno- suggested. A good PR any1?

> sw_vers
ProductName:            macOS
ProductVersion:         13.2.1
BuildVersion:           22D68
---
> cat .tmux.conf
...
# save interval
set -g @continuum-restore 'on'
set -g @continuum-save-interval '15'

# auto-start at boot
set -g @continuum-boot 'on'
set -g @continuum-boot-options 'iterm'
...

from tmux-continuum.

nk-tedo-001 avatar nk-tedo-001 commented on August 17, 2024 1

I confirm I get the same behavior ("Background Item Added" notification) after every reboot.

This may have to do with writing the launchd plist file every time tmux-continuum runs:

echo "$launchd_plist_file_content" > "$osx_auto_start_file_path"

If someone wants to troubleshoot this:

  • I'd first check if the notification pops if the above line is commented out.
  • If that fixes the problem, then I think we only want to write launchd plist file if the template content changed.

I try to comment this line and then run tmux source .tmux.conf no popup showed up.
When I uncomment and re-run the command, the popup appears.

from tmux-continuum.

erikw avatar erikw commented on August 17, 2024

I notice that these notifications comes also when starting a new tmux session in general; it came even 2 times when I started a new tmux session (with no other running already)

Screenshot 2023-02-01 at 11 00 33

from tmux-continuum.

PBHDK avatar PBHDK commented on August 17, 2024

Hi!

Facing the same problem. Any update on this?

Also, @erikw , is the script working for you at all? I get the notifications, but iTerm isn't starting reboot.

from tmux-continuum.

erikw avatar erikw commented on August 17, 2024

@PBHDK iTerm does start for me at boot still.

from tmux-continuum.

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.