關於我自己

我的相片
Taiwan
別拿我跟一般人比,我是有人生終極目標的!(看不順眼我說的話嗎?那你可以滾了!)
顯示具有 linux 標籤的文章。 顯示所有文章
顯示具有 linux 標籤的文章。 顯示所有文章

2009年12月10日 星期四

無腦安裝 64bit Flash Player on Linux

二零零九十二月八號,adobe released native 64bit Flash player 10 on linux.拎背隨手不小心看到了安裝shellscript,連五分鐘都可以省掉了。

環境 ubuntu 9.04 x64
------script------
#!/bin/bash
# Script created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com

echo "Stopping any Firefox that might be running"
sudo killall -9 firefox

echo "Removing any other flash plugin previously installed:"
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper

echo "Installing Flash Player 10"
cd ~
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
tar zxvf libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

echo "Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it."
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/

# now doing some cleaning up:
sudo rm -rf libflashplayer.so
sudo rm -rf libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
----end of script----
複製貼上,install.sh。
$> chmod +x install.sh
$> ./install.sh

來源

週三, 六月 02 2010 02:04 後記:
目前最新下載為 http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz

可去這裡查

2009年5月10日 星期日

XMind 用自己的jre



XMind 一個看起好像很屌的「brainstorm」製圖軟體,對老子感覺再有新構想的時候好像還不錯用。

登入了網站下載了ubuntu x64 deb安裝,…蝦密?!要安裝open jre,切,不要!改下載portable版本。
點開資料夾進到 XMind for Linux 64bit\
$>./xmind
蝦密,找不到jre!(沒有仔細看錯誤訊息)
找遍程式目錄,就是沒找到可以設定jre目錄的設定檔。(他媽的,平常的話早就不用了!)

拎背今天心情好,所以再看了一次錯誤訊息。原來,程式只會固定找XMind for Linux 64bit目錄下的jre folder。切,怪方式!
∴ $XMindPortableHome\XMind for Linux 64bit\ 下面建個 symbolic link到jre就好了....($> ln -s /$javaHome/jre jre)

最後記得要把 xmind.ini 裡面的相對路徑改成絕對路徑(如放在主選單目錄),否則用絕對路徑啟動的時候會有找不到class的錯誤!

2009年4月28日 星期二

叉楞霸系統改裝第二步

  1. 下載 UNetbootin ,將隨便一個128mb usb flash,裝上 ubuntu 9.04 net install 開機image。
  2. 開始安裝,選選選,下載套件,跑去看電視。
  3. 全部搞定...
拎背ㄟ叉楞霸就這樣裝好ubuntu 9.04,就這樣!沒有任何調校!絕大多數功能正常。(搞得拎背還有點無聊的失落感)

Work out of box (針對在8.10需要特別設定的)
  • 小紅點(半套)
  • Fn 調亮度
  • Fn 鍵盤燈
  • GMA X4500HD driver
  • 1280x800
  • 大小聲按鈕
  • 讀卡機
  • 無線網路
  • Fn 無線網路
  • 左方無線開關
  • ThinkVantage(有event)
  • 雙螢幕設定
有問題
  • 小紅點scroll (已解決)
  • 靜音按鈕(完全沒有event)
還沒試
  • HDAPS
  • HDD clicking bug
  • 待命 (work out of box)
  • 休眠
叉楞霸從按下grub之後,加上輸入帳號密碼的時間,一直到desktop ready,只花了42秒!還是5x00rpm的硬碟!

Ubuntu 9.04 真是夠屌啊!