i3-msg(1)

NAME

   i3-msg - send messages to i3 window manager

SYNOPSIS

   i3-msg [-q] [-v] [-h] [-s socket] [-t type] [message]

OPTIONS

   -q, --quiet
       Only send ipc message and suppress the output of the response.

   -v, --version
       Display version number and exit.

   -h, --help
       Display a short help-message and exit.

   -s, --socket sock_path
       i3-msg will use the environment variable I3SOCK or the socket path
       given here. If both fail, it will try to get the socket information
       from the root window and then try /tmp/i3-ipc.sock before exiting
       with an error.

   -t type
       Send ipc message, see below. This option defaults to "command".

   message
       Send ipc message, see below.

IPC MESSAGE TYPES

   command
       The payload of the message is a command for i3 (like the commands
       you can bind to keys in the configuration file) and will be
       executed directly after receiving it.

   get_workspaces
       Gets the current workspaces. The reply will be a JSON-encoded list
       of workspaces.

   get_outputs
       Gets the current outputs. The reply will be a JSON-encoded list of
       outputs (see the reply section of docs/ipc, e.g. at
       http://i3wm.org/docs/ipc.html#_receiving_replies_from_i3).

   get_tree
       Gets the layout tree. i3 uses a tree as data structure which
       includes every container. The reply will be the JSON-encoded tree.

   get_marks
       Gets a list of marks (identifiers for containers to easily jump to
       them later). The reply will be a JSON-encoded list of window marks.

   get_bar_config
       Gets the configuration (as JSON map) of the workspace bar with the
       given ID. If no ID is provided, an array with all configured bar
       IDs is returned instead.

   get_binding_modes
       Gets a list of configured binding modes.

   get_version
       Gets the version of i3. The reply will be a JSON-encoded dictionary
       with the major, minor, patch and human-readable version.

DESCRIPTION

   i3-msg is a sample implementation for a client using the unix socket
   IPC interface to i3.

EXAMPLES

       # Use 1-px border for current client
       i3-msg "border 1pixel"

       # You can leave out the quotes
       i3-msg border normal

       # Dump the layout tree
       i3-msg -t get_tree

ENVIRONMENT

   I3SOCK
   If no ipc-socket is specified on the commandline, this variable is used
   to determine the path, at which the unix domain socket is expected, on
   which to connect to i3.

SEE ALSO

   i3(1)

AUTHOR

   Michael Stapelberg and contributors



Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.


Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.


Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.