Linux, Open Source, Web, Engineering, Technology
Archive for the ‘Linux’ Category
July 23, 2011
UPDATED, Finally! Adobe releases native 64 bit Flash 11 for Linux
UPDATED Jul 23/2011
Finally we have a native 64bit Flash 11. It is working very well, I highly recommend it.
Before installing it, make sure that previous versions of Flash and nspluginwrapper are uninstalled.
Download it from:
http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11/flashplayer11_b1_install_lin_64_071311.tar.gz
untar, copy and link libflashplayer.so to /usr/lib/mozilla/plugins by doing the following in the terminal. (make sure you close Firefox first)
tar zxvf flashplayer11_b1_install_lin_64_071311.tar.gz sudo cp libflashplayer.so /usr/lib/mozilla/plugins/ sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/ sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/
Done!
Or, alternatively (you should always read and understand scripts before running them) you can do this installation just by copying and pasting the following in the terminal:
wget http://queleimporta.com/downloads/flash_x64_en.sh && sudo chmod +x flash_x64_en.sh && sudo sh ./flash_x64_en.sh
This script will install Native 64 Bit Flash 11 and will also remove previous versions of flash and “nspluginwrapper”
Note: If you just want to see the code for the script, it is available here:
http://queleimporta.com/downloads/flash_x64_en.sh
EDIT #1: January 01/2009: Updated everything to use latest adobe version 10.0.d21.1
EDIT #2: March 02/2009: Updated everything to use latest adobe version 10.0.22.87
EDIT #3: August 02/2009: Updated everything to use latest adobe version 10.0.32.18
EDIT #4: January 05/2010: Updated everything to use latest adobe version 10.0.42.34
EDIT #5: February 11/2010: Updated everything to use latest adobe version 10.0.45.2
EDIT #6: October 12/2010: Updated everything to use latest adobe version 10.2.161.23 Preview
EDIT #7: July 23/2011: Updated everything to use latest version of Adobe Flash version 11.0.1.60
Posted by Alejandro. Filed under 64-bit, Firefox, Flash, Linux, terminal, Ubuntu, Web-Ecosystem.
July 21, 2011
Fix webcam not working with Google chat or Google Plus Hangouts under Ubuntu 64bit
1) Make sure Google Talk plugin is installed.
2) In the terminal:
sudo apt-get install lib32v4l-0 sudo mv /opt/google/talkplugin/GoogleTalkPlugin /opt/google/talkplugin/GoogleTalkPlugin.real echo '#!/bin/sh' | sudo tee /opt/google/talkplugin/GoogleTalkPlugin echo "LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so /opt/google/talkplugin/GoogleTalkPlugin.real" | sudo tee -a /opt/google/talkplugin/GoogleTalkPlugin sudo chmod +x /opt/google/talkplugin/GoogleTalkPlugin
3) Restart Browser.
Done!
In case you need to revert:
sudo rm /opt/google/talkplugin/GoogleTalkPlugin sudo mv /opt/google/talkplugin/GoogleTalkPlugin.real /opt/google/talkplugin/GoogleTalkPlugin
Posted by Alejandro. Filed under 64-bit, Google, Google +, Google Chat, Linux, terminal, Ubuntu.
June 22, 2011
Migrate from Gmail to Google Apps and keep labels, read-status, stars and email date
Install imapsync:
Under Ubuntu:
sudo apt-get install imapsync
then:
imapsync --host1 imap.gmail.com --user1 username@gmail.com --port1 993 --ssl1 --password1 GmailPasswordHere --host2 imap.gmail.com --user2 username@YourGoogleAppsDomain.com --port2 993 --ssl2 --password2 GoogleAppsPasswordHere --authmech1 LOGIN --authmech2 LOGIN --syncinternaldates --split1 100 --split2 100 --allowsizemismatch
Done!
Posted by Alejandro. Filed under Business, Google, Linux, terminal, Ubuntu, Web-Ecosystem.
May 1, 2011
Thunar, Nautilus, exo-utils and “the location is not a folder” error.
Installing Thunar in gnome causes Nautilus to show a “the location is not a folder” error.
The problem is a thunar dependency called exo-utils.
Removing exo-utils also removes thunar. Some of us need to have both thunar and nautilus installed in gnome:
Since the problem is exo-utils, I have built a thunar .deb without the exo-utils dependency.
Here is how for 64bit:
wget http://launchpadlibrarian.net/69753654/thunar_1.2.1-3ubuntu2_amd64.deb dpkg-deb -x thunar_1.2.1-3ubuntu2_amd64.deb tmpdir dpkg-deb --control thunar_1.2.1-3ubuntu2_amd64.deb tmpdir/DEBIAN gedit tmpdir/DEBIAN/control
Remove ‘exo-utils’ from the ‘Depends’ line and save
dpkg -b tmpdir thunar_1.2.1-3ubuntu2_amd64-no_exo-utils_dependency.deb sudo apt-get remove exo-utils sudo dpkg -i thunar_1.2.1-3ubuntu2_amd64-no_exo-utils_dependency.deb sudo apt-get -f install
Or
Download the package from here:
http://queleimporta.com/downloads/thunar_1.2.1-3ubuntu2_amd64-no_exo-utils_dependency.deb
Done!
March 26, 2011
Zero out a drive in Linux
To zero out a drive:
dd if=/dev/zero of=/dev/sda
To make sure that the drive is really zeroed out:
dd if=/dev/sda | hexdump -C | head
January 13, 2011
Install GnuCash 2.4.0 with database support in Ubuntu 10.10
Be sure to enable the “Source Code” repositories first.
wget http://downloads.sourceforge.net/sourceforge/gnucash/gnucash-2.4.0.tar.gz
tar xvfz gnucash-2.4.0.tar.gz
sudo aptitude build-dep gnucash
sudo aptitude install texinfo subversion intltool libdbi0-dev libdbd-{sqlite3,pgsql,mysql} guile-1.8 guile-1.8-dev doxygen libdbi0-dev libdbd-{sqlite3,pgsql,mysql}
cd /usr/share/guile/1.8
sudo ln -s ../../slib slib
sudo guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
cd ~/gnucash-2.4.0/
./configure --prefix=$HOME/stable/gnucash --enable-debug --enable-doxygen --enable-error-on-warning --enable-compile-warnings --enable-dbi
make all install
and finally, run it
~/stable/gnucash/bin/gnucash
Done!
Posted by Alejandro. Filed under Business, Linux, terminal, Ubuntu.
January 11, 2011
Why you should not be using a task-killer with Android
By default, every application runs in its own Linux process. Android starts the process when any of the application’s code needs to be executed, and shuts down the process when it’s no longer needed and system resources are required by other applications.
- Android is hard coded to automatically kill a task when more memory is needed.
- Android is hard coded to automatically kill a task when it’s done doing what it needs to do.
- Android is hard coded to automatically kill a task when you haven’t returned to it in a long time.
- Most services (while possibly running in the background) use very little memory when not actively doing something.
- A content provider is only doing something when there is a notification for it to give. Otherwise it uses very little memory.
- Killing a process when it isn’t ready only causes it to have to reload itself and start from scratch when it’s needed again.
- Because a task is likely running in the background for a reason, killing it will only cause it to re-spawn as soon as the activity that was using it looks for it again. And it will just have to start over again.
- Killing certain processes can have undesirable side effects. Not receiving text messages, alarms not going off, and force closes just to name a few.
- The only true way to prevent something from running at all on your phone would be to uninstall the .apk.
- Most applications will exit themselves if you get out of it by hitting “back” until it closes rather than hitting the “home” button. But even with hitting home, Android will eventually kill it once it’s been in the background for a while.
via FAQ: Why You Shouldn’t Be Using a Task Killer with Android.
December 28, 2010
Simple Invoices
What is Simple Invoices?
Simple Invoices is a free, open source, web based invoicing system that you can install on your server/pc or have hosted by one of their services providers.
via Simple Invoices | An Open Source, Web-Based Invoicing System.
Posted by Alejandro. Filed under Business, Linux, Web-Ecosystem.

