Skip to content

Instantly share code, notes, and snippets.

Patrick Uiterwijk puiterwijk

Block or report user

Report or block puiterwijk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@puiterwijk
puiterwijk / cloudSettings
Last active Sep 16, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2019-09-16T11:40:42.373Z","extensionVersion":"v3.4.2"}
View keybase.md

Keybase proof

I hereby claim:

  • I am puiterwijk on github.
  • I am puiterwijk (https://keybase.io/puiterwijk) on keybase.
  • I have a public key whose fingerprint is 178D CFB4 151B D949 D2EB 087E 8657 980D 9AB5 1E50

To claim this, I am signing this object:

View mk2mpris.py
"""mk2mpris.py: forward GNOME media key events to an MPRIS2 player.
"""
import dbus
from dbus.mainloop.glib import DBusGMainLoop
import gobject
APP_NAME = 'mk2mpris'
DBUS_INTERFACE_MK = 'org.gnome.SettingsDaemon.MediaKeys'
OBJ_PATH_MK = '/org/gnome/SettingsDaemon/MediaKeys'
OBJ_NAME_GSETTINGS = 'org.gnome.SettingsDaemon'
You can’t perform that action at this time.