Python3 Gtk3 Thread Example

Quick Python3 Gtk3 app to execute Python scripts to test long running threads in Gtk3 app. Some things could be better, like the python paths collection and displaying the PID, but I was focused on running threads without freezing the GUI and it just kind of happened. Hope it’s useful to someone.

Create mov,mp4 thumbnails from Python3

I was working on a Gtk 3 project to roll up all my iPhone videos into a flowbox for easy locating and processing since iPhone doesn’t name things in a meaningful way and photo managers dump things into not so meaningful folders, thumbnails was a must to locate videos easily. Plus, I wanted to do […]

GTK3 Calendar dialog example in Python.

  #!/usr/bin/python3 import gi gi.require_version(‘Gtk’, ‘3.0’) from gi.repository import Gtk, Gio, GObject GObject.threads_init() class CalDialog(Gtk.Dialog): ”’ Calendar Dialog ”’ def __init__(self, parent): Gtk.Dialog.__init__(self, “Select Date”, parent, 0, (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.OK)) self.set_default_size(300, 200) self.value = None box = self.get_content_area() calendar = Gtk.Calendar() calendar.set_detail_height_rows(1) calendar.set_property(“show-details”,True) calendar.set_detail_func(self.cal_entry) box.add(calendar) self.show_all() def cal_entry(self, calendar, year, month, date): #print(year, month, […]

Brightness fix on System 76 Oryx Pro

Backlight Fix System 76 Oynx Pro (2018) GTX1060 update 1/16/2019 Intel never had any problems after the BIOs update so this is focused on Nvidia. I have a GTX1060 but this may work for other cards, just be sure you have the correct driver for your card and I cannot guarantee you’ll have the same […]

Apple is a shit hole company

I went to upgrade to El Capitan on my MacBook Pro (17-inch, Mid 2009). I added max ram and a solid state drive. I have no problems virtualizing Windows and Linux on this fucker, but Apple decided my 17″ MBP is no longer viable and will not let me upgrade. Yes, I know I can […]

Krita and the accidental painting.

It has been a long time since I checked out Krita. I Painted this in Krita 3.1.1 on Mac Yosemite, versions for Windows as well and of course Linux; all are free. The bird took about six hours, give or take, and the program was not shut down for two days. I had one lock […]

Linux like Package Management for Windows and Mac

Package managers for installing open software. These gives you Linux like package management similar to Linux apt, zypper, yum, etc… Windows: Mac: Brew GUI