Skip to content

Instantly share code, notes, and snippets.

View ifred's full-sized avatar

Ivan Frederiks ifred

View GitHub Profile
@ifred
ifred / away-on-lock-x.py
Created June 6, 2012 09:33 — forked from icgood/away-on-lock-x.py
Sets and clears away status in pidgin/purple when xscreensaver locks and unlocks the screen.
#!/usr/bin/env python2
# Author: Ian Good <ian.good@rackspace.com>
# Inspired by http://costela.net/projects/awayonlock/
# Use at your own risk!
import os
import sys
import signal
import hashlib
@ifred
ifred / usr.bin.skype
Created June 6, 2012 10:25
Apparmor profile for Skype (LP: #933440)
# REPOSITORY: http://apparmor.test.opensuse.org/backend/api draglor 53
# Additional profiling based on work by Андрей Калинин, LP: #226624
# Additional profiling based on LP: #933440
#include <tunables/global>
/usr/bin/skype flags=(complain) {
#include <abstractions/audio>
#include <abstractions/base>
#include <abstractions/fonts>
#include <abstractions/freedesktop.org>
#include <abstractions/gnome>