Sections:
|
[SOLVED] Miro crashes on startup - Page 3 - Ubuntu Forums
ubuntuforums.org/showthread.php?t=588617&page=3 Then I discovered that by starting the program like below, I don't get the segfault anymore:
Code:
miro --xine-driver=opengl 又或者有人建議改安裝 icedtea-java7 來代替 sunjava Labels:
miro, video, multimedia, 多媒體, 影片, java ie4linux 2.99 安裝失敗
另外,因為作者在 2.99.0 裡面,正體中文的語系部份有寫錯,導致到 Microsoft 下載檔案的時候會失敗! 這些在 Ubuntu正體中文站 上有人提供了 解法:
先到這邊停止,作些修正:
然後就可以繼續安裝了:
然後就可以用新版的 GUI 來輕鬆安裝了。 Labels:
ie4linux, ubuntu Useful Command
grep
搜尋檔案中的字串 ◎ grep "字串" * 搜尋此層目錄中,包含「字串」的所有檔案,若「字串」中的英文字元大小寫不同,將被視為不同字串 ◎ grep -i "字串" * 搜尋此層目錄中,包含「字串」的所有檔案,若「字串」中的英文字元大小寫不同,將被視為相同字串 ◎ grep -r "字串" ./ 遞迴搜尋此層目錄包含其下所有子目錄中,包含「字串」的所有檔案,若「字串」中的英文字元大小寫不同,將被視為不同字串 Labels:
linux, command, ubuntu 為 commandline 加上顏色
grep、man 顏色設定既然 ls 顏色設好了, grep、man 當然也要對一些 keyword 來做做顏色區分囉~ grep 對要找的字做顏色標註, 只要用預設參數即可(--color), 所以在 .bashrc 寫個 alias 就好囉, 如下: alias grep='grep --color' man 的話需要在 .bashrc 最後面加以下幾行, 就可以輕鬆的看 man page 囉~ # For colourful man pages (CLUG-Wiki style) Labels:
ubuntu, commandline, color, grep, man PS 顏色設定
讓提示訊息加上色彩。 編輯 ~/.bashrc,找到 # set a fancy prompt (non-color, unless we know we "want" color) ... ... esac 將整段 # 起來。 再找到下面這段: # Comment in the above and uncomment this below for a color prompt #PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 將 # 刪除。 Labels:
ubuntu, commandline, color, ls flashplugin_nonfree 安裝失敗
[SOLVED] Bug #173890 flashplugin-nonfree md5 mispatch support thread - Ubuntu Forums
ubuntuforums.org/showthread.php?t=636397 This is the support thread for Launchpad Bug# 173890. Posts non-developer related should be put in this thread, rather than in the bug comments to prevent Ubuntu developers from being flooded by unnecessary information. Bug Symptoms The flashplugin-nonfree package fails to install with the following error (viewable only in detailed or verbose mode): Code:
md5sum mismatch install_flash_player_9_linux.tar.gz The Flash plugin is NOT installed. 下載該討論串網友包的新版 9.0.115 即可。 Labels:
ubuntu flash 於 VirtualBox 使用 USB 裝置
●設定使用usb裝置的權限 1. 在「系統」→「管理」→「使用者及群組」→「管理群組(M):」中新增群組「usbusers」,並將允許使用VitualBox的使用者都勾選起來。 sudo gedit /etc/udev/rules.d/40-permissions.rules 找: # USB devices (usbfs replacement) SUBSYSTEM=="usb_device", MODE="0664" 替換成: # USB devices (usbfs replacement) SUBSYSTEM=="usb_device", GROUP="usbusers", MODE="0664" 3. 存檔,重新開機。 ●啟動Ubuntu 7.10的usbfs Ubuntu 7.10中預設關閉usbfs的支援 找到下列方法: 開終端機,下指令: sudo gedit /etc/init.d/mountdevsubfs.sh 開啟後,找: # # Magic to make /proc/bus/usb work # #mkdir -p /dev/bus/usb/.usbfs #domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644 #ln -s .usbfs/devices /dev/bus/usb/devices #mount --rbind /dev/bus/usb /proc/bus/usb 將最後四行的#去掉,如下所示: # # Magic to make /proc/bus/usb work # mkdir -p /dev/bus/usb/.usbfs domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644 ln -s .usbfs/devices /dev/bus/usb/devices mount --rbind /dev/bus/usb /proc/bus/usb 重新開機,就不會再出現錯誤訊息了,也能夠正常使用usb裝置了。 Labels:
ubuntu, virtualbox, usb 轉換 CloneCD 的檔案到 iso
ccd2iso myimage.img myimage.iso
先安裝 ccd2iso Ubuntu 7.10 啟動畫面消失
Ubuntu 正體中文站 - ubuntu 7.10 開機變慢 [論壇 - Ubuntu安裝問題]
www.ubuntu.org.tw/modules/newbb/viewtopic.php?topi... 開機的 usplash 變黑的 Bug 和螢幕解析度有關,只在用 Desktop CD 安裝的時候會遇到。原因是因為安裝程式會偵測螢幕解析度,但是 usplash 沒辦法用那麼高的解析度顯示,於是就黑掉了
解法,例如我的 Monitor 是 1280x1024,但是 usplash 可能只能用 1024x768 跑, 到 /etc/usplash.conf 中將 xres=1280 yres=1024 改成 xres=1024 yres=768 然後再打 sudo update-initramfs -u -k `uname -r` 更新一下就應該可以看到了。 Labels:
ubuntu, startup, usplash 安裝 gcin 輸入法
gcin
sudo apt-get update
現在有 Lazybuntu 可以處理這個了,很輕鬆 RMVB 檔沒有聲音
然後你會發現你的 rmvb 有影無聲,所以要改一下 xine 設定檔
gedit ~/.xine/catalog.cache 找 [/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so] , 把decoder_priority 的值改為 10 。 最後祝看片愉快。 修正 Ubuntu 和 Windows 時間不同步
修正時區及時間無論你選擇任何時區,Ubuntu 預設都會假定你硬體時鐘的時區為 UTC (即格林威治GMT)。如果硬碟有其他作業系統,而該系統又將硬體時鐘的時區假定為你所屬時區 (微軟視窗一般會如此)。當你在兩個作業系統交替啟動時,將做成時區混亂。所以建議你把硬體時鐘修正為你所在時區。 把 /etc/default/rcS 中的 " # Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not. 重新啟動系統。這時你的時鐘必會快了或慢了幾個小時,可以依以下方法修正: $ sudo ntpdate stdtime.gov.hk # 根據你所指定的時間伺服器修正你的系統時鐘(軟體時鐘) 28 Oct 12:57.47 ntpdate[7297]: adjust time server 210.0.235.14 offset -0 .021044 sec $ sudo hwclock -w # 根據修正好的系統時鐘(軟體時鐘)時間修正硬體時鐘的時間 建議改成 sudo ntpdate time.nist.gov Labels:
ubuntu, time, utc Flash Plugin 快捷選單亂碼
Ubuntu 正體中文站 - firefox 的 flash9 右鍵選單亂碼 [論壇 - Ubuntu基本設定]
www.ubuntu.org.tw/modules/newbb/viewtopic.php?topi... CreMaker 寫到:
① 目前的 flash 9 是使用如下的格式抓中文字型的,可以用 strings libflashplayer.so | grep big 得知 -*-*-*-*-*-*-*-*-*-*-*-*-big5-* 所以我們必需使用這種格式來可讓 flash 抓到中文字型 ② 在 UBUNTU 7.04 中已安裝了 uming.ttf 及 ukai.ttf 字型,這兩個字型中都有 big5 的字型,可直接使用,就不必安裝一樣有 big5 字體的 firefly 字型了。 產生 fonts.dir 及 fonts.scale 檔案 cd /usr/share/fonts/truetype/arphic/ sudo mkfontdir sudo mkfontscale ③ 修改 /etc/X11/xorg.conf 將 /usr/share/fonts/truetype/arphic/ 加到 Section "Files" 之中,如下: Section "Files" ... ... FontPath "/usr/share/fonts/truetype/arphic" EndSection ④ 重新啟動(reboot),及檢查字體 由於 sudo xset fp rehash 似乎無法重新抓取字型,所以不妨 reboot 一下電腦,重新啟動後使用 xlsfonts | grep big5 看看是否有以下字型 -misc-ar pl shanheisun uni-medium-r-normal--0-0-0-0-p-0-big5-0 -misc-ar pl shanheisun uni-medium-r-normal--0-0-0-0-p-0-big5.eten-0 -misc-ar pl zenkai uni-medium-r-normal--0-0-0-0-p-0-big5-0 -misc-ar pl zenkai uni-medium-r-normal--0-0-0-0-p-0-big5.eten-0 如有的話,flash 應該可以抓到及顯示中文字了 Flash 9.0.115 已改用 gtk 畫字,故已無此問題 Labels:
ubuntu, flash PDF 中文破字
sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional
此方法試用後無效,workaround: 裝 Adobe Reader Ubuntu 7.10 on X32: Compiz 問題
問題描述:簡單說,即便以前可以用「桌面特效」功能無誤,在使用 Ubuntu 7.10 時還是可能會遇上跟你說「無法啟用桌面特效」的情形。此情形 IBM ThinkPad X3x 系列很多會遇到。
Bug #124519 in compiz (Ubuntu): 「need to add max texture size check」
bugs.launchpad.net/ubuntu/+source/compiz/+bug/1245... try to comment out lines 229 to 232 in /usr/bin/compiz and see if it enables composition
It works. 直接跳過這個檢查後重起 X 一切正常。 X32 僅關機重開時會有音效
問題描述:X32在暖開機(重新啟動)或休眠再啟動後音效皆無用,僅有關機重開(冷開機)才會恢復正常。此問題目前無解,Ubuntu 處已經有回報 Bug。
Update: 看起來 7.10 解決了這個問題 Beryl Emerald 雙擊標題列最大化
使用 Beryl 後,標題列最大化會變白
後來找了很多資料,終於知道該怎麼解決這個問題,其實只要在 /etc/X11/xorg.conf 設定裡面加上下面的設定即可! Section "Device" 列印為 PDF
1. 安装cups 和cups-pdf,其中cups-pdf是虚拟打印的主要模块:
sudo apt-get install cups-pdf 7.10 之後新增 PDF 印表機即可 |