This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Extract .cpio file from a pbzx Payload file. | |
# | |
# Based on https://gist.github.com/pudquick/ac29c8c19432f2d200d4, | |
# this version adds a command-line interface, improves efficiency (1 MiB chunks | |
# instead of a full copy in memory), adds Python 3 compatibility and | |
# automatically decompresses stuff (some blocks may not be compressed). | |
# | |
# Example usage (from Python): | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a Python script to extract GNOME/GTK's color scheme and apply it to Wine, so that the themes (approximately) match. | |
Instructions: | |
1. Set your Gnome theme as you would like it | |
2. Run with a command like "python wine_colors_from_gtk.py" If made executable you can run it in bash as-is | |
3. Open winecfg, go to Desktop Integration and install the new .theme file created | |
4. Hit apply and restart any apps running in Wine. They should match the Gnome theme colors now. | |
Better description with screenshots here: http://www.endolith.com/wordpress/2008/08/03/wine-colors/ |