Kevin's Blog

IT, Scala, Java, Web, Ubuntu

Tag: Ubuntu Linux (page 1 of 3)

Installing 64bit Flash Player in Ubuntu Linux

You can ignore this warning now but should get the latest flash player if you are still using the old one having the security issues.

Show »

WARNING!!! (updated on the 16th of June in 2010)

A critical security vulnerability in Adobe Flash player was discovered about twelve days ago and Adobe has released a new version which has the problem solved. However, there is no 64bit version of Flash with the security update available yet. Besides, Adobe temporarily removed the 64bit Flash download link so you cannot download it now. Since security is concerned, I had removed the 64bit one and installed the 32bit version with npviewer through the synaptic package manager as it is the new version with the security update. Although this 32 bit one is very unstable and crashes many times, I cannot take the risk of having security problem. Those who have installed the 32bit version then have been experiencing the problem that you cannot click any buttons on the Flash player, open the /usr/lib/nspluginwrapper/i386/linux/npviewer file and add the following line just before the last line.

You can find more details from Fix the “can’t click on flash” bug in Ubuntu with 1 command on the OMG! Ubuntu site.

So, please do not try the rest of this blog entry except for this one

I think there are numerous 64 bit Ubuntu users who are suffering from the crash of Flash Player just like myself.  There is a better way to install Flash Player for 64 bit Linux than installing one from the Ubuntu repository and that is what I am about to write.  This is obviously not the perfect solution yet I think the best way to use 64bit Flash Player for now.  I hope Adobe will release a stable 64 bit Flash Player for Linux soon.  Anyway, here we go!

Adobe has released a preview version of Flash Player (Flash Player “Square”) for 64bit Linux.
http://labs.adobe.com/downloads/flashplayer10.html
http://labs.adobe.com/downloads/flashplayer10_64bit.html
http://labs.adobe.com/downloads/flashplayer10_square.html
At the bottom of the web page, you can find the download link.

In my case, the latest alpha version of 64 bit Flash player does not work well (e.g. Video on youtube constantly freezes) yet the previous alpha one works better. So first, try the latest one and if it doesn’t work well, download the following one.

http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d21.1.linux-x86_64.so.tar.gz
http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz

*** This part is added on the 28th of September, 2009 ***
I installed the latest alpha version which is libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz today (the 28th of September, 2009). So far, it seems fine.

*** Updated on the 2nd of May, 2010
libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz works fine.

*** Updated on the 4th of Feb, 2011
flashplayer10_2_p3_64bit_linux_111710.tar.gz works fine.

Before installing it, if there is a previously installed Flash player, it has to be removed first.

To check it, open ‘Synaptic Package Manager’.
System -> Administration -> Synaptic Package Manager

Search by 'flash' and make sure neither <code>flashplugin-nonfree</code> nor <code>flashplugin-installer</code> is installed. If any of these are installed, remove first.

Search by 'flash' and make sure neither flashplugin-nonfree nor flashplugin-installer is installed. If any of these are installed, remove first.


-Search by ‘flash’ and make sure neither flashplugin-nonfree nor flashplugin-installer is installed. If any of these are installed, remove first.

Extract the libflashplayer file downloaded to the firefox ‘plugins’ directory.
e.g.) If the file is in the /home/username/Desktop directory,

$ cd /usr/lib/firefox/plugins
$ sudo tar -zxvf ~/Desktop/flashplayer10_2_p3_64bit_linux_111710.tar.gz 

To use this Flash player in other browsers such as Opera, create the symbolic link to the /usr/lib/firefox/plugins/libflashplayer.so file in the ‘/usr/lib/mozilla/plugins’ directory.

$ cd /usr/lib/mozilla/plugins
$ sudo ln -s /usr/lib/firefox/plugins/libflashplayer.so

If the file with the same name already exists, user ‘f’ option to overwrite it.

$ sudo ln -sf /usr/lib/firefox/plugins/libflashplayer.so

Now, open the Firefox and test if it works well. 😀

*** This part is added on the 28th of September, 2009 ***
I also tried what the following blog entry says about several weeks ago.

Secrets Of The mms.cfg File

I created the directory /etc/adobe and created a file named mms.cfg in the directory (so the absolute path of the file is /etc/adobe/mms.cfg).

Then I put the following line in the file.
OverrideGPUValidation=1

It seems to work for mine. When I watch a video clip on youtube, it plays smoother than before.

Enabling Visual Effects in Ubuntu

Somebody asked a question regarding my video on youtube.
http://www.youtube.com/watch?v=TOp83ByFrMA

Unfortunately I don’t really have time to explain the details nor am I sure if Ubuntu supports his/her graphics card so I’m putting here some information which can be a starting point to get what he/she wants.

To enable some basic visual effects, select the ‘Appearance’ menu.
-System -> Preferences -> Appearance
System -> Preferences -> Appearance

-Select the ‘Visual Effects’ tab -> Select the ‘Extra’ effect -> Click the ‘Close’ button.
Select the 'Visual Effects' tab -> Select the 'Extra' effect -> Click the 'Close' button.
If Ubuntu or Compiz doesn’t support your graphics card, you may get some error message here.
If you are using ATI or nVidia Graphics card, I strongly recommend you to install EnvyNG which automatically checks what Graphics card you use and finds the proper driver for it. It only works for ATI and nVidia ones.  I am using Intel one so I cannot use it and therefore can’t explain how to use it.  To install it, open the ‘Synaptic Package Manager’
System -> Administration -> Synaptic Package Manager
and search by envyng then you can see ‘envyng-core’, ‘envyng-gtk’ and ‘envyng-qt’. Install envyng-gtk (I assume you’re using Ubuntu but not Kubuntu) and it will install envyng-core and envyng-gtk.

OK, get back to the visual effect one. After selecting the ‘Extra’ visual effect, it should have some visual effects and now it’s time to customise it to have more effects. If you have not installed ‘CompizConfig Setting Manager’ yet, install it first.

-Run ‘Add/Remove Applications’ -> 1. Make sure it shows ‘All available applications’ -> 2. Search ‘compiz’ -> 3. Check ‘Advanced Desktop Effects Settings (ccsm) -> 4. Click the ‘Apply Changes’ button.
Run 'Add/Remove Applications' -> 1. Make sure it shows 'All available applications' -> 2. Search 'compiz' -> 3. Check 'Advanced Desktop Effects Settings (ccsm) -> 4. Click the 'Apply Changes' button.

Run the ‘CompizConfig Setting Manager’
-System -> Preferences -> CompizConfig Setting Manager
System -> Preferences -> CompizConfig Setting Manager

Now you can have whatever you want with Compiz-Fusion!
e.g.) To have the Cube, enable the ‘Desktop Cube’ and ‘Rotate Cube’

Do whatever you want!

Do whatever you want!

Enable Ctrl+Alt+Backspace Again

Ctrl+Alt+Backspace Disabled

As stated in the Ubuntu 9.04 release notes, Ctrl-Alt-Backspace key combination to restart Xorg is disabled.

Ctrl-Alt-Backspace disabled by default in Xorg

The Ctrl-Alt-Backspace key combination to force a restart of X is now disabled by default, to eliminate the problem of accidentally triggering the key combination. Users who do want this function can enable it in their xorg.conf, or by running the command dontzap --disable.

Enable Ctrl+Alt+Backspace Again

Ubuntu Linux 9.10 Karmic Koala

This part is added on the 23rd of November in 2009 as in the 9.10 version, enabling Ctrl+Alt+Backspace is different from doing it in the 9.04 version.
If you are using Ubuntu Linux 9.04 Jaunty Jackalope, please scroll down to skip this part then you can find one for Jaunty Jackalope.

* System -> Preferences -> Keyboard
* System -> Preferences -> Keyboard

Select the 'Layouts' tab -> Click the 'Layout Options' button
* Select the ‘Layouts’ tab -> Click the ‘Layout Options’ button

Click the 'Key sequence to kill the X server' to expand it -> Check the 'Control + Alt + Backspace' option -> Click the 'Close' button
* Click the ‘Key sequence to kill the X server’ to expand it -> Check the ‘Control + Alt + Backspace’ option -> Click the ‘Close’ button

Done!!!

Ubuntu Linux 9.04 Jaunty Jackalope

* Open the /etc/X11/xorg.conf file and add

* Or simply use dontzap.
* If it is not installed already,

* Use the dontzap command to enable Ctrl+Alt+Backspace

This acually adds

to the /etc/X11/xorg.conf file.

* After it is done, make sure to log out & in for the change to take effect.

* To enable the “DontZap” option again,

* More information about the DontZap option.

http://www.x.org/archive/X11R6.8.0/doc/xorg.conf.5.html#sect4

This disallows the use of the Ctrl+Alt+Backspace sequence. That sequence is normally used to terminate the Xorg server. When this option is enabled, that key sequence has no special meaning and is passed to clients. Default: off.

Older posts

© 2018 Kevin's Blog

Theme by Anders NorenUp ↑

%d bloggers like this: