Archive for the ‘Ubuntu Tricks’ Category

Compiling Firefox with jssh Support on Ubuntu

sudo apt-get build-dep firefox sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev libglu1-mesa-dev hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/ 192src #wait 10 minutes cd mozilla-central gedit .mozconfig mk_add_options MOZ_CO_PROJECT=browser mk_add_options [email protected]@/firefox-jssh ac_add_options –enable-extensions=default,jssh ac_add_options –enable-webservices ac_add_options –enable-application=browser autoconf2.13 cd js/src autoconf2.13 cd ../.. make -f client.mk build [sudo apt-get install yasm] [possible errors] /mozilla-central/config/rules.mk:1877: *** .js component […]

Posted on March 3, 2011 at 8:13 am by Jordan Carter · Permalink · Leave a comment
In: Ubuntu Tricks, Uncategorized · Tagged with: , ,

Rails or Ruby Memcached Gem on Ubuntu and Linux

Get the following error when trying to install memcached ruby gem on your Ubuntu or Linux box? rlibmemcached_wrap.c: In function ‘_wrap_memcached_get_sasl_callbacks’: rlibmemcached_wrap.c:12413: error: ‘sasl_callback_t’ undeclared (first use in this function) rlibmemcached_wrap.c:12413: error: ‘result’ undeclared (first use in this function) rlibmemcached_wrap.c:12424: error: expected expression before ‘)’ token rlibmemcached_wrap.c: In function ‘Init_rlibmemcached’: rlibmemcached_wrap.c:13694: error: ‘SASL_OK’ undeclared (first […]

Posted on October 13, 2010 at 9:26 am by Jordan Carter · Permalink · 2 Comments
In: Ruby on Rails, Server Config, Ubuntu Tricks · Tagged with: , ,

How To – Persist Rails or IRB Console Command History After Exit

Sick of not having Ubuntu rails or irb terminal not saving your command history after exiting the console?  Try this little trick to fix it up! Append into your ~/.irbrc the following

Posted on September 14, 2010 at 11:46 am by Jordan Carter · Permalink · 3 Comments
In: How To, Ruby on Rails, Ubuntu Tricks · Tagged with: , , ,

Memcached – Libmemcached already built; run ‘rake clean’ first if you need to rebuild.

Trying to install memcached ruby gem on Ubuntu 10.04 Lucid Lynx and I get the error Libmemcached already built; run ‘rake clean’ first if you need to rebuild. Fixed this by installing sudo apt-get install libsasl2-dev gem uninstall memcached && gem install memcached Full Error Stacktrace:

Posted on June 28, 2010 at 2:10 pm by Jordan Carter · Permalink · 5 Comments
In: Ruby on Rails, Server Config, Ubuntu Tricks · Tagged with: , ,

Package ‘adobe-flashplugin’ is Virtual when installing Flash on Firefox or Chrome – Ubuntu Lucid Lynx 10.04 64

Trying to install Flash on Ubuntu 10.04 64 bit fails with the error Package ‘adobe-flashplugin’ is Virtual I managed to install it with the following pasted into terminal. sudo add-apt-repository ppa:sevenmachines/flash && sudo apt-get update && sudo apt-get install flashplugin64-installer

Posted on June 8, 2010 at 9:36 am by Jordan Carter · Permalink · 13 Comments
In: Ubuntu Tricks · Tagged with: , , ,

Share Keyboard and Mouse between Two or Multiple Computers

I have three computers at my desk.  No reason other than I am a geek.  I have a desktop, nice beasty thing.  I have a Tablet Laptop and I have a netbook. I wanted to connect them all up so that I could use the screen space on them, put twitter on one maybe, gmail […]

Posted on June 4, 2010 at 9:42 am by Jordan Carter · Permalink · Leave a comment
In: Ubuntu Tricks · Tagged with: 

VirtualBox shared folder guest access command

Enable shared folders Add shared folder via “Devices” > “Shared Folder…” Windows from virtualbox.org net use x: \\vboxsvr\sharename Linux from virtualbox.org mount -t vboxsf [-o OPTIONS] sharename mountpoint Sharename is for example (by default) if you shared your Hosts Desktop, it would be Desktop.  Easy.

Posted on May 18, 2010 at 10:36 am by Jordan Carter · Permalink · Leave a comment
In: Ubuntu Tricks · Tagged with: ,

Git /usr/local/lib/liblber & /usr/local/lib/libldap_r no version information available error

I just updated my system today and rebooted (I like to reboot once a couple weeks…) and git started freeking out on me. I tried to git add ap [tab tab] but “git: /usr/local/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/libcurl-gnutls.so.4)” would pop up before the auto-complete and mess everything up. I could continue without […]

Posted on April 1, 2010 at 10:28 am by Jordan Carter · Permalink · One Comment
In: Server Config, Ubuntu Tricks · Tagged with: