western willow ventures inc.

eye on the net
  • Home
  • Contact
  • Web
  • Graphics
  • ARDi
  • Samples
  • Terms of Service
  • Fun
  • Privacy

Search

Home

ubuntu

Quickly fixing SSH when the remote key changes!

Thu, 2011-03-17 08:32 |  Franco

So, you cloned your virtual machine and made sure it has the same MAC addresses so that it would pull the same IP from the DHCP server lease. but the next time you click on your SSH icon, it fails.

Does this look familiar?

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

Well this is the magic line:

Offending key in /home/someuser/.ssh/known_hosts:19

Read more
Franco's blog |  Login to post comments |  430 reads |  Tags: command line, linux, ssh, ubuntu

Easy batch renaming in Ubuntu (and other debian systems)

Thu, 2011-03-17 08:27 |  Franco

Ever want to rename 300 .foo files to .bar? wish you could do this:

mv *.foo *.bar

Here is the answer: Debian Rename included in ubuntu.
this example renames all .php5 files to .php

rename ‘s/\.php5/.php/’ *.php5

Franco's blog |  Login to post comments |  906 reads |  Tags: command line, debian, linux, ubuntu

Turn a folder full of pictures into a timelapse video

Sun, 2011-02-20 12:02 |  Franco

So I like to build things, I also like to set up a GoPro camera above my desk to capture timed photos of my builds, but the results are usually 5 - 8 gigabytes of pictures that need to be turned into movies, so here is what I do:
ASSUMPTIONS: your pics all end in .JPG and the are all numbered sequentially. and that your system can handle video as big as your fotos.

I run this line of code from the folder where the pictures are:

Read more
Franco's blog |  Login to post comments |  633 reads |  Tags: linux, mencoder, timelapse, ubuntu

Recursive search for files with specific content using GREP

Fri, 2011-02-18 13:03 |  Franco

So you know that somewhere in your source folder (/source) that there is a script that uses the foo() function but you cant remember which one and there are thousands of files, what do you do?

You grep them!

grep -R -i -n 'foo()' *

Lets break it down, first we are grepping files, the -R indicates to search recursively, -i indicates we want to ignore case, and -n indicates we want to know which line of the file grep finds our search string on. then the search string in single quotes and lastly, a finame wildcard, in this case, search through every file.

Franco's blog |  Login to post comments |  782 reads |  Tags: command line, grep, linux, ubuntu

Fix for Ubuntu GPG error related to PPAs

Mon, 2010-11-29 09:01 |  Franco

Problem

When you try to access ubuntu extras you might see following GPG error

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used.
GPG error: http://extras.ubuntu.com maverick Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/Release

Solution

Open the terminal and run the following commands

gpg --keyserver keyserver.ubuntu.com --recv 3E5C1192

Read more
Franco's blog |  Login to post comments |  219 reads |  Tags: error, gpg, ppa, repository, ubuntu

Rename those *.JPG files to *.jpg files in linux

Tue, 2010-10-26 10:27 |  Franco

This simple line of code, when executed from within the directory will rename all picture files with the .JPG extension to have the .jpg extension

for x in *.JPG; do mv "$x" "${x%.JPG}.jpg"; done

Franco's blog |  Login to post comments |  230 reads |  Tags: linux, ubuntu

Find what foolib-dev package needs to be installed when foo not found.

Sun, 2010-08-29 22:28 |  Franco

First do this:

sudo apt-get install apt-file

Then when you get any not found errors, you can issue

apt-file search <filename>

where you replace with the name indicated as not being found.

Franco's blog |  Login to post comments |  234 reads |  Tags: compile error, ubuntu

UNR Auto-maximise madness

Mon, 2010-08-02 11:25 |  Franco

I love UNR but I dont always use my netbook like a netbook, I lke to run it at home on a big monitor and an external keyboard and mouse, so many of the netbook features are wasted and some are downright difficult to work with on a big monitor, one example is the auto maximize feature of a tool called maximus, using the code below you can disable this behavior.

gconftool-2 --set /apps/maximus/no_maximize --type BOOL true

Franco's blog |  Login to post comments |  183 reads |  Tags: maximus, ubuntu, Ubuntu Netbook Remix, UNR

Tame the flaky SFTP

Mon, 2010-08-02 11:07 |  Franco

a big thanks to Beau Henderson, Technical Manager over at Site5 for reminding me to put the following in my personal .ssh/config file:

ServerAliveInterval 180
TCPKeepAlive yes

This solves many issues with timeouts.

Franco's blog |  Login to post comments |  244 reads |  Tags: keepalive, linux, sftp, ssh, timeout, ubuntu

Open source video editing? You betcha.

Tue, 2010-06-01 15:18 |  Franco

Well at last I am doing full DV HD video editing on my linux desktop. It is *NOT* adobe premier pro, but it works for me. YMMV!

On my spanky Ubuntu Lucid 10.4 64bit,(and on Karmic too) I installed a bunch of great stuff:
First, lets install Openshot. It is weak on compositing or frame by frame editing, but it does some pretty awsome effects and makes inskcape your title editor. Also if you master out wuith it, will do Vimeo, youtube and flicker and picas video al in HD, yup, very nice, but you need some extras


sudo apt-get install inkscape libavformat-unstripped-52

Read more
Franco's blog |  Login to post comments |  315 reads |  Tags: 64 Bit, free and open sourced software, kino, openshot, record my desktop, ubuntu, video editing
  • 1
  • 2
  • 3
  • 4
  • next ›
  • last »

Popular content

Today's:

  • Contact
  • ready for the oven
  • Alexandra Falls, NWT

All time:

  • Contact
  • Web
  • ARDi - Aerial Research Drone One

Last viewed:

  • Contact
  • Web
  • How it works

Navigation

  • Login
  • Album photos
  • Contact form
  • Feed aggregator
© 2010 Western Willow Ventures Inc.

Designed by Heidi Selzler.