Jumprit's Knowledge

Jumprit's knowledge and references to share.

Archive for the ‘Linux’ Category

How to Enable Compiz in LMDE 201109 —

ThisĀ tutorial will make Compiz run at boot without the need for fusion-icon.   1.Ā Install remaining Compiz components sudo apt-get update && sudo apt-get install compiz compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-fusion-plugins-unsupported   2. Configure Compiz – Go to Menu => Preferences => CompizConfig Settings Manager – Check everything that you would like to include. like Wobbly Windows, Desktop […]

Batch Resize in Terminal (Linux) —

Use Imagemagick to resize images in terminal (using mogrify command). To make life easier, just copy this script and run from your images directory. #!/bin/bash function resize { mogrify -quality 75 -resize 960 ${1} h=$(identify -format %h ${1}) if [ $h -gt 640 ]; then cut=$((($h-640)/2)) mogrify -quality 100 -shave 0x$cut ${1} fi } for […]