.\" Generated by scdoc 1.11.2 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "footclient" "1" "2023-09-25" .P .SH NAME footclient - start new terminals in a foot server .P .SH SYNOPSIS \fBfootclient\fR [\fIOPTIONS\fR] .br \fBfootclient\fR [\fIOPTIONS\fR] <\fIcommand\fR> [\fICOMMAND OPTIONS\fR] .P All trailing (non-option) arguments are treated as a command, and its arguments, to execute (instead of the default shell).\& .P .SH DESCRIPTION .P \fBfootclient\fR is used together with \fBfoot\fR(1) in \fB--server\fR mode.\& .P Running it without arguments will open a new terminal window (hosted in the foot server), with your default shell.\& The exit code will be that of the terminal.\& I.\&e \fBfootclient\fR does not exit until the terminal has terminated.\& .P .SH OPTIONS .P \fB-t\fR,\fB--term\fR=\fITERM\fR .RS 4 Value to set the environment variable \fBTERM\fR to (see \fBTERMINFO\fR and \fBENVIRONMENT\fR).\& Default: \fIfoot\fR.\& .P .RE \fB-T\fR,\fB--title\fR=\fITITLE\fR .RS 4 Initial window title.\& Default: \fIfoot\fR.\& .P .RE \fB-a\fR,\fB--app-id\fR=\fIID\fR .RS 4 Value to set the \fBapp-id\fR property on the Wayland window to.\& Default: \fIfoot\fR.\& .P .RE \fB-w\fR,\fB--window-size-pixels\fR=\fIWIDTHxHEIGHT\fR .RS 4 Set initial window width and height, in pixels.\& Default: \fI700x500\fR.\& .P .RE \fB-W\fR,\fB--window-size-chars\fR=\fIWIDTHxHEIGHT\fR .RS 4 Set initial window width and height, in characters.\& Default: \fInot set\fR.\& .P .RE \fB-m\fR,\fB--maximized\fR .RS 4 Start in maximized mode.\& If both \fB--maximized\fR and \fB--fullscreen\fR are specified, the \fIlast\fR one takes precedence.\& .P .RE \fB-F\fR,\fB--fullscreen\fR .RS 4 Start in fullscreen mode.\& If both \fB--maximized\fR and \fB--fullscreen\fR are specified, the \fIlast\fR one takes precedence.\& .P .RE \fB-L\fR,\fB--login-shell\fR .RS 4 Start a login shell, by prepending a '\&-'\& to argv[0].\& .P .RE \fB-D\fR,\fB--working-directory\fR=\fIDIR\fR .RS 4 Initial working directory for the client application.\& Default: \fICWD of footclient\fR.\& .P .RE \fB-s\fR,\fB--server-socket\fR=\fIPATH\fR .RS 4 Connect to \fIPATH\fR instead of \fB$XDG_RUNTIME_DIR/foot-$WAYLAND_DISPLAY.\&sock\fR.\& .P .RE \fB-H\fR,\fB--hold\fR .RS 4 Remain open after child process exits.\& .P .RE \fB-N\fR,\fB--no-wait\fR .RS 4 Detach the client process from the running terminal, exiting immediately.\& .P .RE \fB-o\fR,\fB--override\fR=[\fISECTION\fR.\&]\fIKEY\fR=\fIVALUE\fR .RS 4 Override an option set in the configuration file.\& If \fISECTION\fR is not given, defaults to \fImain\fR.\& .P .RE \fB-E\fR,\fB--client-environment\fR .RS 4 The child process in the new terminal instance will use footclient'\&s environment, instead of the server'\&s.\& .P .RE \fB-d\fR,\fB--log-level\fR={\fBinfo\fR,\fBwarning\fR,\fBerror\fR,\fBnone\fR} .RS 4 Log level, used both for log output on stderr as well as syslog.\& Default: \fIinfo\fR.\& .P .RE \fB-l\fR,\fB--log-colorize\fR=[{\fBnever\fR,\fBalways\fR,\fBauto\fR}] .RS 4 Enables or disables colorization of log output on stderr.\& .P .RE \fB-v\fR,\fB--version\fR .RS 4 Show the version number and quit .P .RE \fB-e\fR .RS 4 Ignored; for compatibility with \fBxterm -e\fR.\& See \fBfoot\fR(1) for more details.\& .P .RE .SH EXIT STATUS .P Footlient will exit with code 220 if there is a failure in footclient itself (for example, the server socket does not exist).\& .P If \fB-N\fR,\fB--no-wait\fR is used, footclient exits with code 0 as soon as the foot server has been instructed to open a new window.\& .P If not, footclient may also exit with code 230.\& This indicates a failure in the foot server.\& .P In all other cases the exit code is that of the client application (i.\&e.\& the shell).\& .P .SH TERMINFO .P Client applications use the terminfo identifier specified by the environment variable \fBTERM\fR (set by foot) to determine terminal capabilities.\& .P Foot has two terminfo definitions: \fBfoot\fR and \fBfoot-direct\fR, with \fBfoot\fR being the default.\& .P The difference between the two is in the number of colors they describe; \fBfoot\fR describes 256 colors and \fBfoot-direct\fR 16.\&7 million colors (24-bit truecolor).\& .P Note that using the \fBfoot\fR terminfo does not limit the number of usable colors to 256; applications can still use 24-bit RGB colors.\& In fact, most applications work best with \fBfoot\fR (including 24-bit colors)).\& Using \fB*-direct\fR terminfo entries has been known to crash some ncurses applications even.\& .P There are however applications that need a \fB*-direct\fR terminfo entry for 24-bit support.\& Emacs is one such example.\& .P While using either \fBfoot\fR or \fBfoot-direct\fR is strongly recommended, it is possible to use e.\&g.\& \fBxterm-256color\fR as well.\& This can be useful when remoting to a system where foot'\&s terminfo entries cannot easily be installed.\& .P Note that terminfo entries can be installed in the user'\&s home directory.\& I.\&e.\& if you do not have root access, or if there is no distro package for foot'\&s terminfo entries, you can install foot'\&s terminfo entries manually, by copying \fBfoot\fR and \fBfoot-direct\fR to \fB~/.\&terminfo/f/\fR.\& .P .SH ENVIRONMENT .P .SS Variables used by footclient .P \fBXDG_RUNTIME_DIR\fR .RS 4 Used to construct the default \fIPATH\fR for the \fB--server-socket\fR option, when no explicit argument is given (see above).\& .P .RE \fBWAYLAND_DISPLAY\fR .RS 4 Used to construct the default \fIPATH\fR for the \fB--server-socket\fR option, when no explicit argument is given (see above).\& .P .RE .SS Variables set in the child process .P \fBTERM\fR .RS 4 terminfo/termcap identifier.\& This is used by client applications to determine which capabilities a terminal supports.\& The value is set according to either the \fB--term\fR command-line option or the \fBterm\fR config option in \fBfoot.\&ini\fR(5).\& .P .RE \fBCOLORTERM\fR .RS 4 This variable is set to \fBtruecolor\fR, to indicate to client applications that 24-bit RGB colors are supported.\& .P .RE In addition to the variables listed above, custom environment variables may be defined in \fBfoot.\&ini\fR(5).\& .P .SH SEE ALSO .P \fBfoot\fR(1)