STEP ONE: Create a screenshot folder and sound effects folder. Mine is /media/DATA/Screenshots but yours could be ~/Documents/Screenshots
Copy and paste into a terminal
mkdir ~/Documents/Screenshots
mkdir ~/Videos/Sound_effects
STEP TWO: Enable Compiz Screenshots and PNG
STEP THREE: Install Pinta and Mplayer if you have not done so already
Copy and paste into a terminal:
sudo apt-get install pinta mplayer
STEP FOUR: Create a bin folder in Documents
Copy and paste into a terminal:
mkdir ~/Documents/bin
STEP FIVE: Create a BASH script in the bin folder
Copy and paste into a terminal:
gedit ~/Documents/bin/compiz-screenshot.sh
And paste the following text in:
#!/bin/bash
#compiz-screenshot.sh
#Released under a GPLv3 Licence by Clockwork PC http://www.clockworkpc.com.au
# Change into the Screenshots folder
cd /media/DATA/Screenshots
# Renaming the most recent PNG file in the directory
mv `ls -alt | grep png | head -n 1 | awk '{print $8}'` Screenshot_on_$(date +%F_%A_at_%H:%M:%S).png &
# Playing a camera click sound
mplayer $HOME/Videos/Sound_effects/camera1.wav &&
pinta `ls -alt | grep png | head -n 1 | awk '{print $8}'`
STEP 6: Make the script executable
Copy and paste into a terminal:
chmod +x ~/Documents/bin/compiz-screenshot.sh
STEP 7: Make a symlink in /usr/local/binCopy and paste into a terminal:
sudo ln -s ~/Documents/bin/compiz-screenshot.sh /usr/local/bin/compiz-screenshot.sh
sudo chmod +x ~/Documents/bin/compiz-screenshot.sh
STEP 8: Change settings in Compiz Screenshot according to this image
STEP 9: Download you desired sound effect, and save it to ~/Videos/Sound_effects and rename it to camera1.wav
OR
Change line 13 in ~/Documents/bin/compiz-screenshot.sh to point to the correct file.
And when you hold down the Super/Windows key and select a portion of the screen you'll get a perfectly detailed file, a camera click, and Pinta will open with it ready for you to edit.
No comments:
Post a Comment