gajim-remote is a script to control and communicate with a running instance of gajim(1) by D-Bus.
Gets detailed info on a account
change_status [status] [message] [account]
Changes the status of account or accounts
Check if Gajim is running
Gets detailed info on a contact
Returns current status (the global one unless account is specified)
Returns current status message (the global one unless account is specified)
Returns number of unread messages
Shows a help on specific command
Prints a list of registered accounts
Prints a list of all contacts in the roster. Each contact appears on a separate line
remove_contact ⟨jid⟩ [account]
Removes contact from roster
send_chat_message ⟨jid⟩ ⟨message⟩ [PGP key] [account]
Sends new chat message to a contact in the roster. Both OpenPGP key and account are optional. If you want to set only 'account', without 'OpenPGP key', just set 'OpenPGP key' to ''.
send_file ⟨file⟩ ⟨jid⟩ [account]
Sends file to a contact
send_groupchat_message ⟨room_jid⟩ ⟨message⟩ [account]
Sends new message to a groupchat you've joined.
send_single_message ⟨jid subject⟩ ⟨message⟩ [PGP key] [account]
Sends new single message to a contact in the roster. Both OpenPGP key and account are optional. If you want to set only 'account', without 'OpenPGP key', just set 'OpenPGP key' to ''.
send_xml ⟨xml⟩ [account]
Sends custom XML
set_priority ⟨priority⟩ [account]
Changes the priority of account or accounts
Pops up a window with the next pending event
Shows or hides the ipython window
Shows or hides the roster window
Open a URI of group chat gajim
$ gajim-remote handle_uri xmpp:firstname.lastname@example.org?join
Send custom XML
$ gajim-remote send_xml $(cat filename.xml) "email@example.com"
gajim-remote is written and maintained by Yann Leboulanger, and Denis Fomin, with contributions and patches merged from many individuals around the world. See files
THANKS, for a complete list.
Copyright (C) 2003-2021 Gajim Team
gajim-remote is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 only.
gajim-remote is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with gajim-remote. If not, see <https://www.gnu.org/licenses/>.
You can report bugs or feature requests in our bug tracker at https://dev.gajim.org/gajim/gajim/issues or in the gajim-devel mailing list; if you want to send us a patch, please do so in our bug tracker. You can also find us in our chat room.
You are welcome to join us at firstname.lastname@example.org
Below are public mailing lists on lists.gajim.org
More mailing lists at
Please submit bugs at https://dev.gajim.org/gajim/gajim/issues