This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
// | |
// AppDelegate.swift | |
// test | |
// | |
// Created by IOANNIS DELIGIANNIS on 1/2/16. | |
// Copyright © 2016 IOANNIS DELIGIANNIS. All rights reserved. | |
// | |
import Cocoa |
// Run any SwiftUI view as a Mac app. | |
import Cocoa | |
import SwiftUI | |
NSApplication.shared.run { | |
VStack { | |
Text("Hello, World") | |
.padding() | |
.background(Capsule().fill(Color.blue)) |
Open a Terminal and try the next commands : | |
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:1 | |
Luna : Workspace Overview ( keep Enter pressed ), Freya : Multitasking View | |
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:2 | |
Terminal maximizes | |
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:3 | |
Terminal minimizes |
Source: https://www.reddit.com/r/linux/comments/14heuu/xfce_gala_plank_awesome/ | |
Add the elementary daily ppa and install gala + plank + dconf-tools | |
sudo apt-add-repository ppa:elementary-os/daily | |
sudo apt-get update $$ sudo apt-get dist-upgrade | |
sudo apt-get install gala plank dconf-tools gtk2-engines-pixbuf | |
Set gala as xfce's default window manager |
# Gnome 3 - based on https://blog.samalik.com/make-your-gnome-title-bars-smaller/ | |
.header-bar.default-decoration { | |
padding-top: 3px; | |
padding-bottom: 3px; | |
font-size: 0.8em; | |
} | |
.header-bar.default-decoration .button.titlebutton { | |
padding: 0px; | |
} |