Skip to content

Instantly share code, notes, and snippets.

@stombi
stombi / fix_sketchup_wine.rb
Created August 18, 2021 15:30 — forked from itsanov/fix_sketchup_wine.rb
Helps fix the one-frame delay problem when running Google Sketchup in Wine
# Fixes the view each time the view changes
require 'sketchup'
def refresh
UI.start_timer(0, false) {
Sketchup.active_model.active_view.invalidate.refresh
}
end
@stombi
stombi / SketchUp-Make-2017-on-Debian-12.md
Created June 19, 2024 20:32
SketchUp Make 2017 on Debian 12

Wine install

dpkg --add-architecture i386

mkdir -pm755 /etc/apt/keyrings
wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources

apt update