Installing wxPython 4.0 (Project Phoenix) on Fedora 27
wxPython

Installing wxPython 4.0 (Project Phoenix) on Fedora 27

I’ve stayed away from wxPython in the past because updates were slow and Python 3 wasn’t supported. Within the last couple of weeks, 4.0 was completed, which at least answers the Python 3 problem. I’ve been pounding my head against X11 idiosyncracies all weekend, so I thought I’d take a break and try it out. Dependencies It looks like the prequisites were sourced from Debian. $ sudo dnf install -y {dpkg,freeglut,gstreamer{,1}-plugins-ba{se,d-free},gtk3,lib{jpeg,notify,SM,tiff},python{2,3},SDL}{,-devel} @development-tools

  • CJ Harries
    CJ Harries
rofi: Matching and Sorting
rofi

rofi: Matching and Sorting

This is the fifth in a series of several posts on how to do way more than you really need to with rofi. It’s a neat little tool that does so many cool things. I don’t have a set number of posts, and I don’t have a set goal. I just want to share something I find useful. This post looks at configuring rofi’s matching and sorting. Assumptions Code Overview Comparison Basic Sort Config (Yet Another) rofi Options Script Full Script Change Matching and Sorting Via a modi Assumptions I’m running Fedora 27.

  • CJ Harries
    CJ Harries
Cursor Detection Run Time Analysis
Automation

Cursor Detection Run Time Analysis

This is a quick follow-up to an earlier post today. I don’t have much to add, just more code and some (basic) graphs. Direct Xlib usage is seriously the way to go. Code Script Runner Raw Data Munging Setup pyautogui-pixel-color.py xlib-color.py xwd-convert-chained.py xwd-convert.sh All Together Slow Only Conclusions Code You can find everything here in the repo. Script Runner To get some data, I had to revamp most of the scripts from the first post.

  • CJ Harries
    CJ Harries
Quickly Detect Cursor Position and Color
Automation

Quickly Detect Cursor Position and Color

I’ve been absolutely thrilled moving my home dev world back to Fedora. I’m not fighting OS ads, virtualization just works, and my settings actually stay the same after updates. I am, however, missing AutoHotkey. It’s been an integral part of my computing world since undergrad. I’ve spent the better part of three years looking for a POSIX AHK clone with no luck. I’ve tossed around the idea of starting something similar for some time now.

  • CJ Harries
    CJ Harries