Category Archives: Uncategorized

Reduce PDF file size in Linux

A GhostScript command can help in reducing your pdf size. $gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -sOutputFile=output.pdf input.pdf You can also use the following parameters for -dPDFSETTINGS instead of /screen: /screen – Lowest quality, lowest size /ebook – Moderate quality … Continue reading

Posted in Uncategorized | Leave a comment

commands to check Qt version and select one from many

$qtchooser -list-versions            #This will give you list of Qt versions installed on your system $export QT_SELECT=qt4        # to select qt4, simillarly can  try selecting differernt versions too.

Posted in Qt, Uncategorized | Leave a comment

libboost installation

Currently, I am working on  CAD software and I need boost library for it. I am installing FreeCAD which demands minimum version of 1.33. here is list of dependencies of FreeCAD My system is giving me My system is giving me … Continue reading

Posted in Uncategorized | Leave a comment

Fix broken package in Ubuntu

This problem is too common, sometimes we have some partial downloaded packages that stuck in our apt-get package manager and create troubles for us. To do this try these commands and see if any works for your case: 1) You … Continue reading

Posted in Uncategorized | Leave a comment

Removing all files located

Sometimes, we need to delete all the files searched by locate command. What we do ( i do this before :P) is to go to those files path and delete them manually, one by one, which was a tedious job. So … Continue reading

Posted in Linux, Uncategorized | Tagged , | Leave a comment

Errors were encountered while processing: E: Sub-process /usr/bin/dpkg returned an error code (1)

During installation of octave, I got these errors regarding configuration of packages: This is because during installation of packages, they get installed but yet configured to octave configuration file. Therefore, I tried command $sudo dpkg –configure -a && sudo apt-get … Continue reading

Posted in octave, Uncategorized | Leave a comment

Wifi problem solved in M$ Windows

I was having WiFi connection problem in M$ Windows which I had installed alongside  ubuntu but never use. I check BIOS Settings, then troubleshooting and all what I could do. After looking into all solutions/troubleshoots, I contact one of my … Continue reading

Posted in Uncategorized | Leave a comment