BARRIERS(1)

πŸ’– BARRIERS(1) πŸ’–

okay so bestie, welcome to the User Commands section, because this is barriers β€” the Barrier Keyboard/Mouse Server. yes, that one. the one that lets you share one keyboard and mouse across a whole little squad of computers. it's giving main character energy for your desk setup, fr fr. 🌈


✨ NAME ✨

barriers β€” Barrier Keyboard/Mouse Server πŸ–±οΈβŒ¨οΈ


🌸 SYNOPSIS 🌸

barriers [--address <address>] [--config <pathname>] [--display
<display>] [--no-xinitthreads] [--daemon|--no-daemon] [--name <screen-
name>] [--restart|--no-restart] [--debug <level>]

like, that's the whole vibe in one block πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Start the barrier server component. that's it, that's the tea. this is the server half of the operation β€” it's the one hosting the keyboard and mouse, and the clients come knocking. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -a, --address <address> β€” listen for clients on the given address. that's where the little guys connect, okay?
  • -c, --config <pathname> β€” use the named configuration file instead. custom config, custom life, periodt.
  • -d, --debug <level> β€” filter out log messages with priority below level. level may be: FATAL, ERROR, WARNING, NOTE, INFO, DEBUG, DEBUG1, DEBUG2. so like, the higher up the ladder you go, the more it yaps. πŸ—£οΈ
  • -n, --name <screen-name> β€” use screen-name instead the hostname to identify this screen in the configuration. yes, the original really does say "instead the hostname", we do not gatekeep the source material.
  • -1, --no-restart β€” do not try to restart on failure. it falls down, it stays down. no cap.
  • --restart β€” restart the server automatically if it fails. (*) glow-up resilience ✨
  • -l, --log <file> β€” write log messages to file. receipts, but on disk. πŸ“
  • --no-tray β€” disable the system tray icon. she's not doing the little tray moment today.
  • --enable-drag-drop β€” enable file drag & drop. yeet a file across screens, iconic.
  • --enable-crypto β€” enable the crypto (ssl) plugin. πŸ”
  • --display <display> β€” connect to the X server at <display>
  • --no-xinitthreads β€” do not call XInitThreads()
  • --screen-change-script <path> β€” full path to script to run on screen change; first argument is the new screen name. cute little automation moment 🧚
  • -f, --no-daemon β€” run in the foreground. so you can actually see what's happening, bestie.
  • --daemon β€” run as a daemon. (*) she runs in the background, mysterious, unbothered. πŸ’…
  • -h, --help β€” display this help and exit. always read the help, it's literally free.
  • --version β€” display version information and exit.

Default options are marked with a * 🫢


okay now the important address lore, don't skip this part:

The argument for --address is of the form: [<hostname>][:<port>]. The hostname must be the address or hostname of an interface on the system. Placing brackets around an IPv6 address is required when also specifying a port number and optional otherwise. The default is to listen on all interfaces using port number 24800. 🌐

not me begging you to remember the IPv6 brackets thing. if you're also specifying a port and you skip the brackets, it's gonna get weird. required, bestie. fr fr.

πŸ“ FILES πŸ“

If no configuration file pathname is provided then the first of the following to load successfully sets the configuration:

  • $HOME/.local/share/barrier/.barrier.conf
  • /etc/barrier.conf

so it checks your home one first, then the system one, and whoever shows up first wins the crown πŸ‘‘


Copyright Β© 2018 Debauchee Open Source Group Copyright Β© 2012-2016 Symless Ltd. Copyright Β© 2008-2014 Nick Bolton Copyright Β© 2002-2014 Chris Schoeneman


that's the whole page, bestie, you ate it πŸ’– this was barriers 2.4.0-release from November 2019, so when you see that version and date float by, that's your girl. mwah, go share a keyboard with somebody πŸ¦‹πŸ’…

πŸ“¦ where this page comes from