Skip to content

Instantly share code, notes, and snippets.

@ElijahLynn
Last active June 7, 2022 23:15
Show Gist options
  • Save ElijahLynn/6a5f6b1ef64e39c40ef3626caacbe95b to your computer and use it in GitHub Desktop.
Save ElijahLynn/6a5f6b1ef64e39c40ef3626caacbe95b to your computer and use it in GitHub Desktop.
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
@ElijahLynn
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment