Thursday, September 1, 2011

Adobe Flash in Ubuntu 64-bit

Copy and paste the following command in Terminal:

> sudo add-apt-repository ppa:sevenmachines/flash && sudo apt-get update && sudo apt-get install flashplugin64-installer

Tuesday, May 31, 2011

from MP4 to MP3

> ffmpeg -i video.mp4 -f mp3 -ab 192000 -vn music.mp3

Monday, May 30, 2011

Unison in Windows 7 64bit

Unison is a powerful file synchronization program, which works in Linux, Windows, and probably also Mac. Unison is a freeware.

1) install GTK 64bit runtime

"gtk2-runtime-2.22.0-2010-10-21-ash.exe" or higher

It can be found at http://sourceforge.net/projects/gtk-win

2) download and unzip Unison GUI client into a directory where you like to have Unison

http://alan.petitepomme.net/unison/assets/2010.10.15-Esup-Unison-Unison_GTK_2.40.61.zip

It can be found at http://alan.petitepomme.net/unison/index.html


Saturday, May 7, 2011

Edit "Open With"

If you want to delete applications from this list you have to edit the following file from command line

/usr/share/applications/mimeinfo.cache

If you added item by yourself, or you want to add new item you need to edit the following file from command line

~/.local/share/applications/mimeinfo.cache

deafault actions you need to edit the following file from command line

~/.local/share/applications/defaults.list

Delete Google-earth

> sudo su -
> cd /opt/google-earth/
> export DISPLAY=:0
> ./uninstall

Clean-up WINE menus

> rm -f $HOME/.config/menus/applications-merged/wine*
> rm -rf $HOME/.local/share/applications/wine
> rm -f $HOME/.local/share/desktop-directories/wine*
> rm -f $HOME/.local/share/icons/????_*.xpm

Saturday, February 26, 2011

"Statdict" Pronunciation in ubuntu

1. Download "WyabdcRealPeopleTTS" from sourceforge
2. Install it under usr/share/stardict/sounds/
3. Change the preference of Stardict as follows:
    (1) play --> aplay
    (2) change the directory of "WyabdcRealPeopleTTS"




Saturday, January 1, 2011

ubuntu shutdown menu

if ubuntu shutdown menu disappears,

> sudo apt-get install indicator-applet-session

Then right-click the panel>Add to Panel... and then select 'Indicator applet session'

Original post: http://ubuntuforums.org/showthread.php?t=1332398