mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1118] Barrier quits when MacBook Pro lid is closed #897
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#897
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chrisrimple on GitHub (Apr 6, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1118
Describe the bug
Barrier (client) quits when MacBook Pro lid is closed
To Reproduce
Configuration:
Steps to reproduce the behavior:
Expected behavior
Barrier quits on 2019 MBP. Expect it to continue running.
Additional context
Since I'm normally running both computers with lids closed and external monitors, this makes Barrier unusable in my configuration. FWIW, ShareMouse doesn't have this issue.
@vincent-r-kennedy commented on GitHub (Apr 6, 2021):
I have not tried it with Barrier, but on paper Amphetamine should stop this.
It a (free) app to stop your mac from sleeping - I use it to stop my mac from sleeping when the lid is closed:
https://apps.apple.com/au/app/amphetamine/id937984704?mt=12
@chrisrimple commented on GitHub (Apr 6, 2021):
The Mac is not sleeping. Apple > System Preferences > Energy Settings (or Battery) > Power Adapter > Prevent Computer From Sleeping Automatically When Display Is Off is checked ON. Barrier seems to dislike the change from 3 screens (1 server, 2 client) to 2 screens (1 server, 1 client).
@rhaamo commented on GitHub (Apr 13, 2021):
Also having this issue, and it's related to having an external screen, I'm on AC and no sleep enabled.
(Barrier 2.3.3 on big sur as client too)
@chbdetta commented on GitHub (May 26, 2021):
Having the same issue when the lid is closed or when I connect/disconnect an external screen or when I change the arrangement of screens in the system display setting
@ddh commented on GitHub (Jul 31, 2021):
I was having this issue until I checked:
Apple > System Preferences > Energy Settings (or Battery) > Power Adapter > Prevent Computer From Sleeping Automatically When Display Is Off@ddh commented on GitHub (Aug 3, 2021):
I ran into this issue again but unchecking and rechecking
Apple > System Preferences > Energy Settings (or Battery) > Power Adapter > Prevent Computer From Sleeping Automatically When Display Is Offhas been a reliable workaround for me so far 🤞🏼@alexmill commented on GitHub (Oct 10, 2022):
I have fixed this for myself using Amphetamine. There is an option to UNCHECK "Allow sleep when display is closed". Unchecking that option allows me to close the lid while barrier is running. I can continue to control the client (closed clamshell Macbook on external monitor) from server's mouse/keyboard.