mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #44] Quick question #35
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#35
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 @kenny-w1 on GitHub (May 23, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/44
Hey, lovely project! Very happy to have an alternative to the mainline synergy what with the pay-wall and all, but I have the same problem on synergy as I do on barrier, the 'server IP: ' is always blank when I restart my client PC's, I'd like my client PCs to work without keyboards & mice but I cannot do that it would seem, I've tried saving the configuration but that doesn't seem to do it, and auto config asks me for a hostname.... What am I missing here? I must be doing something wrong but I don't know.
Using the AUR version of the program, in case that matters.
@johnny-mac commented on GitHub (May 23, 2018):
I have the same issue on my Arch distro, the client server IP always goes blank on reboot, I'd like it to be filled in & auto-"start"ed but I cant figure this out either. Surely there is something we must have missed but I'm not sure what or where that could be, perhaps a config file must be editted so it starts up with an IP & auto-"start"s....
I don't mind if I have to toggle configurations on the keyboard/mouse server PC but having to do so on the client PC's is kind of a pain, that means I have to unplug my keyboard & plug it into the other computers every time I start them up.. I have over-looked the example config files but no luck there unfortunately.
@johnny-mac commented on GitHub (May 23, 2018):
Hey kenny-w1 I have something you can try, when you start barrier you just have to add --config barrier.sgc
like this:
barrier --config barrier.sgc
That did it for me :) this just made everything 10000x easier, thank you for this awesome free fork of Synergy. you save configuration to make a barrier.sgc
I think it would benefit everyone else for this to be documented in an obvious & easy-to-see place.
@walker0643 commented on GitHub (May 25, 2018):
hi @kenny-w1 - the server's info should persist inside the following file:
$HOME/.config/Debauchee/Barrier.confCan you verify that the file exists and that it has a "serverHostname=" line under the "[General]" section?
@kenny-w1 commented on GitHub (May 26, 2018):
Yeah and my IP address for my server PC is in serverHostname=, BUT the configuration(and by configuration I mean the program won't auto-connect when it opens back up, the server IP: is always blank) won't save unless I do what Johnny here did. If I don't do barrier --config ~/.barrier.sgc after saving a configuration to /home/user/.barrier.sgc then barrier will open up without any of the configuration working, also there's a funny error about qt5_use_modules, I think its occuring since I updated cmake...
It would also appear that if I use -DCMAKE_BUILD_TYPE=Release in the CMAKE command that it won't save the configuration right or start with the configuration right or something, all I know is that with =Release it doesn't want to work on start-up. all exact same settings work fine when -DCMAKE_BUILD_TYPE=Release isn't included... I imagine that is Synergy's doing upstream but IDK.
@walker0643 commented on GitHub (Sep 8, 2018):
Closing due to lack of activity since May. If this is still a problem for you can you try "-config $HOME/.config/Debauchee/Barrier.conf" instead of ~/.barrier.sgc -- does it also work? If not can you paste the contents of that file? Thanks :)
@wemakefuture commented on GitHub (Jan 22, 2019):
I am facing the same issue. When i startup barrier doenst connect and the server IP is empty. When i save my config file, there is no IP in it. Can someone pls tell me how to set it up, so my ubuntu 18.04 is by startup connecting?
My Barrier.conf file which was saved by Barrier save configuration.
@AdrianKoshka commented on GitHub (Jan 22, 2019):
The barrier config has no IP in it to my knowledge, here's my server config:
@Riztard commented on GitHub (Nov 8, 2019):
sorry im new for using linux. so how do i start the client without fill with ip address?
@iamstoick commented on GitHub (Mar 18, 2020):
I have the same issue on my Mac (server) and Ubuntu (client) setup. Everytime I reboot my Ubuntu the server IP textfield is blank.
@PCAri75 commented on GitHub (Sep 11, 2020):
I know this is an old thread, but there is a fix described here that isn't clearly described (and I joined Git today just to add this note :) ).
For my MacBook Pro running Catalina, I added the "serverHostname" directive to the"section: options" block of the barrier.sgc file in my macOS home-directory, which now looks like this:
section: screens
end
section: aliases
end
section: links
end
section: options
relativeMouseMoves = false
screenSaverSync = true
win32KeepForeground = false
clipboardSharing = true
switchCorners = none
switchCornerSize = 0
serverhostname = <A.B.C.D>
end
I have Barrier added to my login-items, and in the Barrier settings interface I have "Hide on startup" enabled.
With that setup, Barrier starts when I log in, successfully connects to the server, and remains visible only in the menu-bar at the top of the screen.
Good luck!
--Ari
@tienloc1 commented on GitHub (Apr 1, 2021):
So simple and 100% working for me, thank you so much.
@heawon1126 commented on GitHub (Oct 30, 2022):
sudo nano ~/.config/Debauchee/Barrier.conf
[General]
autoStart=true <<<< autostart barrier
serverHostname=192.168.0.4 <<<< input you server ip
my client file Barrier.conf
[General]
autoConfig=false
autoConfigPrompted=true
autoHide=false
autoStart=true
cryptoEnabled=false
elevateMode=false
elevateModeEnum=0
groupClientChecked=true
groupServerChecked=false
interface=
language=en
logFilename=/var/log/barrier.log
logLevel=3
logToFile=false
minimizeToTray=false
port=5000
requireClientCertificate=false
screenName=i
serverHostname=192.168.0.4
startedBefore=true
wizardLastRun=9
im not good eng sorry
잘됨 클라이언트 부분임
서버호스트 네임 부분에 연결할 서버의 아이피를 넣어요
자동시작하기 위해서 autoStart=true
groupClientChecked=true 는 클라이언트 gui 보이는부분이에요 그거체크할거냐구 물어보는거에요
groupServerChecked=false 이거체크 트루로 하면 ip 안떠요 flase
i3 사용하시는대 barrier 자동시작 안되시면
sudo nano ~/.config/i3/config
exec_always --no-startup-id barrier
다른 os는 모르겠어요 ㅎㅎ
@VDK84 commented on GitHub (Jan 4, 2024):
I would like to mention that in Steam Deck Barrier.conf is in:
nano ~/.var/app/com.github.debauchee.barrier/config/Debauchee/Barrier.conf
as mention by @heawon1126 filling the serverHostname with the corresponding IP works!