This is a customized msys2 distro with additional applications for my daily use. Software and configurations include: mingw64 cli tools, emacs, texlive, doublecmd, firefox, sumatrapdf, rime, …
With this repo, I can have a uniform tools over Windows.
The setting up steps:
- install msys2 to anywhere, for example,
C:\Users\kimim\msys64
- add customizations from http://github.com/kimim/kimim-msys2
cd C:\Users\kimim\msys64 git init git remote add origin http://github.com/kimim/kimim-msys2 git fetch git reset origin/master git checkout -t origin/master git submodule init git submodule update
As an Emacs user, I prefer to remmap LShift
to LCtrl
and Caps
to
LShift
. remap the keys with this reg
file:
Inactive Windows title bar background color is light gray, which is
too light in dark theme, so I turn it to dark color with this reg
setting:
pacman -S mingw64/mingw-w64-x86_64-emacs \
mingw64/mingw-w64-x86_64-rust \
mingw64/mingw-w64-x86_64-clang \
mingw64/mingw-w64-x86_64-go \
mingw64/mingw-w64-x86_64-python-pygments \
mingw64/mingw-w64-x86_64-graphviz \
mingw64/mingw-w64-x86_64-sqlite3 \
mingw64/mingw-w64-x86_64-ag
License: https://www.tug.org/texlive/LICENSE.TL
Install TexLive to /texlive
git clone git@github.com:kimim/beamertheme-kimim.git \
texlive/texmf-local/tex/latex/beamertheme-kimim
mktexlsr
https://www.gnu.org/software/emacs/
License: General Public License 3.0
An extensible, customizable, free/libre text editor — and more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing.
https://www.emacswiki.org/emacs/EmacsSvg
pacman -S mingw64/mingw-w64-x86_64-librsvg
(auto-image-file-mode 1)
cd /mingw64/share/info
ls *.info* | xargs -I {} install-info {} dir
pacman -S msys/texinfo-tex mingw64/mingw-w64-x86_64-diffutils
- put
gsl
toC:\Users\CNJIMA5\msys64\mingw64\include\c++\10.3.0\
pacman -S mingw-w64-x86_64-clang-tools-extra
Java is required by Clojure.
- Visit version tag at https://github.com/graalvm/graalvm-ce-builds/tags
- Download
graalvm-ce-java16-windows-amd64-21.x.x.zip
- Unzip to
/usr/local/lib/graalvm-ce-java16-21.x.x
- Set
PATH
at ./etc/profile, for example:export JAVA_HOME=`cygpath -w /usr/local/lib/graalvm-ce-java11-21.0.0` export PATH=$PATH:/usr/local/lib/graalvm-ce-java11-21.0.0/bin/ export PATH=$PATH:/usr/local/lib/graalvm-ce-java11-21.0.0/languages/js/bin/
curl https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -o lein
chmod +x lein
mv lein /usr/local/bin
lein
License: General Public License 3.0
Inkscape is a Free and open source vector graphics editor for GNU/Linux, Windows and MacOS X. It offers a rich set of features and is widely used for both artistic and technical illustrations such as cartoons, clip art, logos, typography, diagramming and flowcharting. It uses vector graphics to allow for sharp printouts and renderings at unlimited resolution and is not bound to a fixed number of pixels like raster graphics. Inkscape uses the standardized SVG file format as its main format, which is supported by many other applications including web browsers.
License: General Public License 3.0
GIMP is a cross-platform image editor available for GNU/Linux, OS X, Windows and more operating systems. It is free software, you can change its source code and distribute your changes.
Whether you are a graphic designer, photographer, illustrator, or scientist, GIMP provides you with sophisticated tools to get your job done. You can further enhance your productivity with GIMP thanks to many customization options and 3rd party plugins.
https://www.freeplane.org/wiki/index.php/Home
License: General Public License 2.0 or later
Freeplane is a free and open source software application that supports thinking, sharing information and getting things done at work, in school and at home. The software can be used for mind mapping and analyzing the information contained in mind maps.
Update Freeplane/resources/templates/standard-1.6.mm
- change some font size
License: General Public License 3.0
LilyPond is a music engraving program, devoted to producing the highest-quality sheet music possible. It brings the aesthetics of traditionally engraved music to computer printouts. LilyPond is free software and part of the GNU Project.
License: Mozilla Public License 2.0
Thunderbird is a free email application that’s easy to set up and customize - and it’s loaded with great features!
- Menu -> Preferences -> General -> Config Editor
- search: “layout.css.devPixelsPerPx”
- change the value from “-1.0” to “2.1”
see: https://support.mozilla.org/en-US/questions/1269224#answer-1282444
For email account of outlook.
Receiving:
- Server Type: IMAP Mail Server
- Server Name: outlook.office365.com
- Port: 993
- Connection security: SSL/TLS
Sending:
- Server Type: SMTP Server
- Server Name: outlook.office365.com
- Port: 587
- Connection security: STARTTLS
License: Mozilla Public License 2.0
Firefox is the fast, lightweight, privacy-focused browser that works across all your devices.
https://addons.mozilla.org/firefox/addon/sepiafox/
https://addons.mozilla.org/firefox/addon/dark-background-light-text
This extension is useful, that you can switch between light color and night color for web pages. It is good to use together with emacs kimim-light-theme and kimim-night-theme.
License: General Public License 3.0
Screen capture, file sharing and productivity tool
Task settings -> Screen recording options… -> Audio source
License: General Public License 3.0
inMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.
https://doublecmd.sourceforge.io/
License: General Public License 2.0
Double Commander is a free cross platform open source file manager with two panels side by side. It is inspired by Total Commander and features some new ideas.
wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine. These run entirely “headless” and do not require a display or display service.
remove db in nsswitch.conf:
- passwd: files db - group: files db + passwd: files + group: files
Then put passwd and group information to files:
getent passwd $(id -u) > /etc/passwd
getent group $(id -G) > /etc/group
Otherwise, you will get this kind of error, when you start a shell terminal:
Could not fork child process: There are no available terminals (-1)
pacman -S openssh-netcat
- Before backup, remove files under
/var/cache/pacman/pkg/
- compress files excludes:
home
,texlive
andtmp
- start to keep history log for each update
- add
IgnorePkg = gnupg
to/etc/pacman.conf
to ignore update to gnupg, because latest gnupg does not work with emacs. - update kimim-emacs-everywhere