Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Script to toggle fullscreen for Guake 0.8.x
#!/usr/bin/env python2
# -*- coding: utf-8; -*-
# Depends on https://github.com/Guake/guake/pull/1446
import dbus
try:
bus = dbus.SessionBus()
remote_object = bus.get_object('org.guake.RemoteControl', '/org/guake/RemoteControl')
remote_object.fullscreen_toggle()
except dbus.DBusException:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment