Skip to content

Instantly share code, notes, and snippets.

@thorhop
thorhop / gist:0de8aa862bc6b07bee66
Created January 31, 2015 15:52
systemsettings5 crashes on confirm dialogue
write(2, "\n(systemsettings5:10427): GLib-G"..., 106
(systemsettings5:10427): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
) = 106
write(2, "\n(systemsettings5:10427): GStrea"..., 106
(systemsettings5:10427): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
) = 106
write(2, "\n(systemsettings5:10427): GStrea"..., 121
(systemsettings5:10427): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed
) = 121
write(2, "\n(systemsettings5:10427): GStrea"..., 107
@thorhop
thorhop / .xsession-errors
Created February 1, 2015 04:13
Phonon related crash (play audio file = crash)
knotify(5618)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-thor/ksycoca4"
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QString)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QString)
control point init error: "Failed to start SSDP"
(knotify4:5618): GStreamer-CRITICAL **: gst_object_ref: assertion 'object != NULL' failed
(knotify4:5618): GStreamer-CRITICAL **: gst_object_sink: assertion 'GST_IS_OBJECT (object)' failed
(knotify4:5618): GStreamer-CRITICAL **: gst_object_ref: assertion 'object != NULL' failed
@thorhop
thorhop / kcmshell5 kcm_phonon
Created February 1, 2015 04:18
Missing phonon4qt5_backend
kf5.kservice.sycoca: Trying to open ksycoca from "/home/thor/.cache/ksycoca5"
"/home/thor/.config/kde.org/libphonon.conf"
libpaths ("/nix/store/gd42yr6s93v2bssyxns9f7hq7kp3lgw1-phonon-4.8.1/lib/qt5/plugins", "/nix/store/5k4r5aqrbx4xkxsr7afz1rpmczxdyjka-qt-5.3.2/plugins", "/nix/store/1r59mnbb4dm0y7n7ih68azm4q8zq45r2-kde-cli-tools-5.1.2/bin", "/nix/store/lqsk6jxaa1ha61mkwwcj4pk38393528y-qt-4.8.6/lib/qt4/plugins", "/nix/store/s89ssjg8s2r9lvll852v4rxw3z3kk5w9-system-path/lib/kde4/plugins", "/nix/store/s89ssjg8s2r9lvll852v4rxw3z3kk5w9-system-path/lib/qt5/plugins")
void BackendSelection::load() "/nix/store/gd42yr6s93v2bssyxns9f7hq7kp3lgw1-phonon-4.8.1/lib/qt5/plugins/phonon4qt5_backend" does not exist
void BackendSelection::load() "/nix/store/5k4r5aqrbx4xkxsr7afz1rpmczxdyjka-qt-5.3.2/plugins/phonon4qt5_backend" does not exist
void BackendSelection::load() "/nix/store/1r59mnbb4dm0y7n7ih68azm4q8zq45r2-kde-cli-tools-5.1.2/bin/phonon4qt5_backend" does not exist
void BackendSelection::load() "/nix/store/lqsk6jxaa1ha61mk
@thorhop
thorhop / gist:726efe340f3c35a05ad9
Created February 1, 2015 04:58
Building with libxtst
/nix/store/w1lj2s6v2wjmgd44fdi9i1p53qbxrqdc-gcc-wrapper-4.8.3/bin/cc -Wall `pkg-config --cflags xtst x11` -o ksuperkey xcape.c `pkg-config --libs xtst x11` -pthread
In file included from xcape.c:33:0:
/nix/store/yvhx7bf2p8m30i1qrfldnbywkpny9xwj-libXtst-1.2.2/include/X11/extensions/XTest.h:31:39: fatal error: X11/extensions/xtestconst.h: No such file or directory
#include <X11/extensions/xtestconst.h>
@thorhop
thorhop / cmd output
Created February 1, 2015 22:27
What am I doing wrong...
$ nix-build pkgs/tools/X11/touchegg/default.nix --dry-run
error: cannot auto-call a function that has an argument without a default value (‘stdenv’)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINPUT" >&5
$as_echo_n "checking for XINPUT... " >&6; }
if test -n "$XINPUT_CFLAGS"; then
pkg_cv_XINPUT_CFLAGS="$XINPUT_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xorg-server xi >= 1.5.99.1 inputproto >= 2.1.99.6\""; } >&5
($PKG_CONFIG --exists --print-errors "x11 xext xorg-server xi >= 1.5.99.1 inputproto >= 2.1.99.6") 2>&5
ac_status=$?
let
pkgs = import <nixpkgs> {};
in
{ stdenv ? pkgs.stdenv }:
with pkgs;
stdenv.mkDerivation rec {
name = "frame-${version}";
version = "2.5.0";
let
pkgs = import <nixpkgs> {};
in
{ stdenv ? pkgs.stdenv }:
{ stdenv, fetchurl, pkgconfig, xlibs, xorg }:
stdenv.mkDerivation rec {
name = "frame-${version}";
version = "2.5.0";
src = fetchurl {
url = "https://launchpad.net/frame/trunk/v${version}/+download/${name}.tar.xz";
sha256 = "bc2a20cd3ac1e61fe0461bd3ee8cb250dbcc1fa511fad0686d267744e9c78f3a";
};
{ stdenv, fetchurl, pkgconfig, xlibs, xorgserver, xinput }:
stdenv.mkDerivation rec {
name = "frame-${version}";
version = "2.5.0";
src = fetchurl {
url = "https://launchpad.net/frame/trunk/v${version}/+download/${name}.tar.xz";
sha256 = "bc2a20cd3ac1e61fe0461bd3ee8cb250dbcc1fa511fad0686d267744e9c78f3a";
};