Shutter is an amazing screenshot taker and annotator.
To install it successfully, you have to install two packages:
sudo apt-get install shutter libgoo-canvas-perl
Note: That second package is to allow editing and annotation
You are done with the installation now.
Next, you need to assign the shortcuts to the keyboard (like PrintScrn for example):
- Open Keyboard -> Shortcuts -> Custom Shortcuts
- Add custom shortcut (we will add 2):
- For full screen screenshots, give it any name, e.g. “shutter” and make the command “shutter -f”. Then double click on keyboard bindings to assign a keyboard shortcut of your choice (in my case I used PrntScrn)
- For Active Window screenshots, give it any name, e.g. “shutter-window” and make the command “shutter -a”. Then double click on keyboard bindings to assign a keyboard shortcut of your choice (in my case I used Shift+PrntScrn)
So, the case is as follows:
I have about 15 videos files that were recorded at 4K and are very large in size. I wanted to keep everything as is, but just reduce the resolution to HD (720p).
ffmpeg would be great to achieve this, so I created the following script:
for i in *.MP4;
do name=`echo $i | cut -d'.' -f1`;
ffmpeg -i $i -s 1280x720 -c:a copy $name.mp4.mp4;
This loops them one-by-one and calls ffmpeg to process them and create an output file with the same name, but with extension .mp4.mp4 (just to distinguish them, nothing more).
That’s it! Enjoy!
It’s very easy to do, all you need is just add your user to the wireshark group, e.g.
sudo adduser hobba wireshark
so this makes user hobba able to capture packets without requiring sudo privileges.
Tested on LinuxMint 18.1 (based on Ubuntu 16.04)
This solved a very annoying problem for me, as the screen was heavily tearing and I didn’t like the video playback performance.
All you need to do is the following:
- If you are using Ubuntu 16.04, then you don’t need this step. If you are using a variant that is based on it, like LinuxMint 18.1 in my case, you have to edit the name of your distribution, as the installer must detect that your OS is Ubuntu 16.04, not anything else.
- Edit the file /etc/lsb_release and comment out the following lines:
DISTRIB_DESCRIPTION=”Linux Mint 18.1 Serena”
- Add the following lines:
DISTRIB_DESCRIPTION=”Ubuntu 16.04 LTS”
- Download the Intel installer compatible with Ubuntu 16.04 from here: https://download.01.org/gfx/ubuntu/16.04/main/pool/main/i/intel-graphics-update-tool/intel-graphics-update-tool_2.0.2_amd64.deb and install it**
- You will find a new software installed called “Intel Graphics Update Tool for Linux* OS”, open it and enter your password, as it needs administrative access
- You don’t need to change any settings, just click Next on all screens and start the installation. It will need to download some packages, so you have to be connected to the Internet
- After it’s done, restart your computer
**Note: If it complains about missing dependency for the ttf-ancient-fonts, just install it via apt-get
Just edit the file ~/.vmware/preferences and add the following line
mks.gl.allowBlacklistedDrivers = “TRUE”
That’s it, enjoy!
We lose USB Flash drives all the time, so if you hold any sensitive or personal stuff, you’d better have it encrypted, just in case.
- This works only on Linux, won’t work on Windows or MAC
- Before you start the encryption, make sure to backup all your existing data on the flash drive, because the process will wipe it.
- You won’t be able to read your data on Windows or MAC
- If you lose your password, forget about your data
Let’s get going then. The steps are pretty simple:
- Open the “Disks” application:
- Select your flash drive (mine is the SanDisk Ultra USB 3.0 above)
- Press Ctrl + Shift + F to start the formatting process
- In the Type field, choose “Encrypted”
- Fill in the remaining fields, e.g.
- Click “Format”
- Confirm by clicking “Format” again
- That’s it. You’re Done!
Now, whenever you insert and try to mount your flash drive in any Linux computer, the following dialogue will automatically appear:
Enter your password and then you will be able to use the flash drive.
Tested on Linux Mint 18.1 (based on Ubuntu 16.04 LTS).
Found a great script that does an amazing job with compressing PDF files whilst maintaining a good quality:
Get the script from here: http://www.alfredklomp.com/programming/shrinkpdf/
Just copy the script to a text file and make it executable, then run:
./shrinkpdf infile.pdf outfile.pdf
It compressed 3 PDF files from 80 MB to 13 MB!