Got tired of manually having to edit source files when I added a ppa to the last release(s) so now does it automaticly. If you have suggestions please leave in comments. Thanks add-apt-repository.sh #!/bin/bash if [ $# -eq 1 ] distVer=(`lsb_release -sc` vivid utopic trusty) NM=`uname -a && date` NAME=`echo $NM | md5sum | cut […]
Archive | Ubuntu
exFat Fix: fuse-exfat-1.1.0, ERROR: file system is larger than underlying device
sudo apt-get source exfat-fuse chang around line 257 of libexfat/mount.c to if (0 && (le64_to_cpu(ef->sb->sector_count) * SECTOR_SIZE(*ef->sb) > exfat_get_size(ef->dev))) sudo apt-get build-dep exfat-fuse dpkg-buildpackage -rfakeroot -uc -b If the build is successful, there will be a .deb file located in the parent directory.
VMware – Enable 3D HW Acceleration
Linux: Edit the file ~/.vmware/preferences and look for a line that starts with mks.gl.allowBlacklistedDrivers This should be changed/added to: mks.gl.allowBlacklistedDrivers = TRUE
Fixes Teamviewer initctl start on Ubuntu
Problem: initctl start teamviewerd initctl: Unknown job: teamviewerd fail Solved: sudo /opt/teamviewer8/tv_bin/teamviewerd -f Reference: https://github.com/dnschneid/crouton/issues/99 OR TRY: sudo teamviewer –daemon enable Other solution is this one: cp /opt/teamviewer/tv_bin/script/teamviewerd.service /etc/init.d/teamviewerd service teamviewerd start if you need it automatically starting you can use: update-rc.d teamviewerd defaults Another way is: sudo ln -s /opt/teamviewer9/tv_bin/teamviewerd /etc/init.d/teamviewerd sudo update-rc.d teamviewerd […]
Tweak to fix slow & choppy video playback on VLC
In VLC Preferences: Subtitles & OSD: – Enable On Screen Display (OSD): unchecked – Show media title on video start: unchecked Input & Codecs: – Use GPU accelerated decoding: checked – Video quality post-processing level: set to 3 or lower – Skip H.264 in-loop deblocking filter: set to All Please comment if you have any […]
Tesseract OCR
OSX: brew install imagemagick brew install tesseract –all-languages Debian/Ubuntu: apt-get install imagemagick tesseract\* Sample Usage: convert input image to grayscale using imagemagik convert input.png -colorspace Gray output.tif decode with tesseract tesseract output.tif result; cat result.txt
SparkleShare + Dashboard
SparkleShare: # Run all of the following commands as the root su # Fetch the Dazzle script curl https://raw.github.com/hbons/Dazzle/master/dazzle.sh \ –output /usr/bin/dazzle && chmod +x /usr/bin/dazzle # Run the initial setup dazzle setup # Link SparkleShare clients using their link codes (found # on the client in the SparkleShare folder) dazzle link # Create a […]