Linux, Open Source, Web, Engineering, Technology


Archive for the ‘terminal’ 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 https://blog.alejandrocuervo.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:
https://blog.alejandrocuervo.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 acuervo. Filed under 64-bit, Firefox, Flash, Linux, terminal, Ubuntu, Web-Ecosystem.

Tags: , , .



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 acuervo. Filed under 64-bit, Google, Google +, Google Chat, Linux, terminal, Ubuntu.

Tags: , , .



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 acuervo. Filed under Business, Google, Linux, terminal, Ubuntu, Web-Ecosystem.

Tags: , , .



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:

https://blog.alejandrocuervo.com/downloads/thunar_1.2.1-3ubuntu2_amd64-no_exo-utils_dependency.deb

Done!

Posted by acuervo. Filed under Linux, terminal, Ubuntu.

Tags: , , , .



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 acuervo. Filed under Business, Linux, terminal, Ubuntu.

Tags: , , , .



November 16, 2009

Restoring Nautilus as the default “Open Containing Folder” in Firefox

Using the terminal:

gksudo gedit /usr/share/applications/mimeinfo.cache

Search for: x-directory/gnome-default-handler=

and make sure the whole line reads

x-directory/gnome-default-handler=nautilus-folder-handler.desktop

instead of:

x-directory/gnome-default-handler=Thunar-folder-handler.desktop
x-directory/gnome-default-handler=pcmanfm-folder-handler.desktop;
x-directory/gnome-default-handler=kde4-dolphin.desktop

Posted via email

Posted by acuervo. Filed under Firefox, Linux, terminal, Ubuntu.

.



November 4, 2009

Terminal commands to keep handy on an unresponsive Ubuntu.

This is an ever growing list of terminal commands to keep handy

  1. sudo apt-get install --fix-broken
  2. sudo dpkg --configure -a
  3. htop
  4. dpkg --get-selections > installed-software (Back up list of installed Software)
  5. dpkg --set-selections < installed-software (Restore previously installed software)
  6. apt-get -u dselect-upgrade (Execute #5)
  7. lshw > lshw.txt (See your system's hardware info)

Posted by acuervo. Filed under Linux, terminal, Ubuntu.

Tags: , , .



August 24, 2009

Incremental Backup with rdiff-backup

rdiff-backup tries to “combine the best features of a mirror and an incremental backup”. It’s a command line utility that not only gives you a plain mirror of your files, but also allows you to retrieve previous versions of your files using the extra difference data it keeps. This means you can quickly copy and paste to restore a file from your most recent backup, or retrieve the contents of files as they were at the time of any previous backup. rdiff-backup has built in support for network backups over SSH and is network-efficient and fast thanks to its incremental nature. It’s also possible to run rdiff-backup on Windows, soon I’ll be investigating whether it will work as a backup solution for the Windows systems on my network.

Tom has a nice rdiff-backup tutorial. Is there a GUI for all this somewhere?

Posted via web

Posted by acuervo. Filed under Linux, terminal.

.



"The opposite of love is not hate, it's indifference.
The opposite of art is not ugliness, it's indifference.
The opposite of faith is not heresy, it's indifference.
And the opposite of life is not death, it's indifference."

Elie Wiesel
4936 grains of sand from alejandro cuervo