Skip to content

Instantly share code, notes, and snippets.

@nachanon
nachanon / 1003_fix-backlight-popup-gtkbuilder.patch
Created January 7, 2015 13:44
Patch for MATE Power Manager 1.8.0 to fix an empty backlight adjustment popup dialog's GTKBuilder script
From: Nachanon Vetjasit <nachanon@users.noreply.github.com>
Subject: Fix GTKBuilder script for media keys popup window
Bug: https://github.com/mate-desktop/mate-power-manager/issues/110
--- a/data/acme.ui
+++ b/data/acme.ui
@@ -4,36 +4,28 @@
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkWindow" id="dialog">
<child>
@nachanon
nachanon / 1003_fix-backlight-popup.patch
Created January 7, 2015 13:35
Patch for MATE Power Manager 1.8.0 to fix an empty backlight adjustment popup dialog
From: Nachanon Vetjasit <nachanon@users.noreply.github.com>
Subject: Fix nonexistent GTKBuilder object request in media keys popup window
Bug: https://github.com/mate-desktop/mate-power-manager/issues/110
--- a/src/gsd-media-keys-window.c
+++ b/src/gsd-media-keys-window.c
@@ -691,8 +691,8 @@
if (!msd_osd_window_is_composited (MSD_OSD_WINDOW (window))) {
GtkBuilder *builder;
@nachanon
nachanon / xrandr-after.txt
Created October 15, 2014 17:03
`xrandr --verbose` result after changing resolution with `mate-display-properties`
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
LVDS1 connected 1024x768+0+0 (0x49) normal (normal left inverted right x axis y axis) 309mm x 173mm
Identifier: 0x42
Timestamp: 92783
Subpixel: horizontal rgb
Gamma: 1.5:1.5:1.5
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2
@nachanon
nachanon / xrandr-before.txt
Created October 15, 2014 17:01
`xrandr --verbose` result before changing resolution with `mate-display-properties`
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (0x46) normal (normal left inverted right x axis y axis) 309mm x 173mm
Identifier: 0x42
Timestamp: 41182
Subpixel: horizontal rgb
Gamma: 1.5:1.5:1.5
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2
@nachanon
nachanon / mate-display-properties.backtrace.txt
Created October 15, 2014 16:58
Detailed backtrace of `mate-display-properties` crash when using it to change resolution from 1366x768 to 1024x768
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mate-display-properties...Reading symbols from /usr/lib/debug/.build-id/72/49f5c2bf6cc4ed29e25bfc3057bdbc64229791.debug...done.
@nachanon
nachanon / xrandr-after.txt
Created October 15, 2014 15:20
`xrandr --verbose` result after changing resolution with `xrandr -s 1024x768`
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
LVDS1 connected 1024x768+0+0 (0x49) normal (normal left inverted right x axis y axis) 309mm x 173mm
Identifier: 0x42
Timestamp: 14886661
Subpixel: horizontal rgb
Gamma: 1.5:1.5:1.5
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2
@nachanon
nachanon / xrandr-before.txt
Created October 15, 2014 15:16
`xrandr --verbose` result before changing resolution with `xrandr -s 1024x768`
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (0x46) normal (normal left inverted right x axis y axis) 309mm x 173mm
Identifier: 0x42
Timestamp: 14824992
Subpixel: horizontal rgb
Gamma: 1.5:1.5:1.5
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2
@nachanon
nachanon / mate-display-properties_xrandr.backtrace.txt
Created October 15, 2014 14:52
Detailed backtrace of `mate-display-properties` crash when using `xrandr -s 1024x768` to change resolution from 1366x768 to 1024x768
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mate-display-properties...Reading symbols from /usr/lib/debug/.build-id/72/49f5c2bf6cc4ed29e25bfc3057bdbc64229791.debug...done.
@nachanon
nachanon / mate-display-properties.backtrace.txt
Created October 15, 2014 09:37
Detailed backtrace of `mate-display-properties` crash when plugging-in second monitor (Phlips 107S66/05, connected via VGA cable)
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mate-display-properties...Reading symbols from /usr/lib/debug/.build-id/72/49f5c2bf6cc4ed29e25bfc3057bdbc64229791.debug...done.
@nachanon
nachanon / xrandr-vgamonitor-after.txt
Created October 8, 2014 12:45
`xrandr --verbose` result after plugging in second monitor (Phlips 107S66/05, connected via VGA cable)
Screen 0: minimum 320 x 200, current 2646 x 1024, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (0x46) normal (normal left inverted right x axis y axis) 309mm x 173mm
Identifier: 0x42
Timestamp: 159996
Subpixel: horizontal rgb
Gamma: 1.5:1.5:1.5
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2