顯示具有 LibreOffice 標籤的文章。 顯示所有文章
顯示具有 LibreOffice 標籤的文章。 顯示所有文章

2015年10月23日 星期五

在 KDE 中開啟 samba 分享的 office 文件

症狀:
KDE 桌面環境
在 samba 分享的資料夾中可以看見 doc docx xls xlsx odt ods 之類
需要用到 libreoffice 開啟的檔案
只能複製到本機上才能開啟
無法在檔案管理員中直接點擊開啟

請參考

https://ask.libreoffice.org/en/question/23021/solved-open-ods-or-odt-files-from-a-smb-share-throws-damaged-file-error/

解決方法:

$sudo zypper in orbit2 libreoffice-gnome

$vi ~/.profile

add

export OOO_FORCE_DESKTOP=gnome

重新登入即可

2013年11月25日 星期一

gcin for openSUSE 13.1 Update

openSUSE 13.1 的 gcin 發現有2個問題,所以決定回報 bug 並進行線上更新

1. 之前跟各位報告過 gtk2 immodule cache update 的問題
  會導致無法在 firefox 等 gtk2-based 應用程式無法輸入中文
  (當 gcin 是你最後安裝的輸入法時就會這樣)
解決方法:
for x86
# gtk-query-immodules-2.0 --update-cache

for x86_64
# gtk-query-immodules-2.0-64 --update-cache


2. libreoffice 無法使用 on_the_spot 的輸入模式
  你會看到輸入法視窗一直固定在左上角
解決方法:
編輯 /etc/X11/xim.d/gcin
將 export OOO_FORCE_DESKTOP=gnome 前後的判斷式都去除掉
只留這一行,要強迫系統使用 gtk 介面

3. 如果看不懂怎麼改,請直接安裝 M17N 套件庫中的 gcin

# zypper ar obs://M17N/openSUSE_13.1 m17n
# zypper ref m17n
# zypper in --from m17n gcin

更新尚在審核,不知何時發佈...

2012年12月11日 星期二

為您的 Libreoffice (OpenOffice) 安裝標點符號工具列


如果您習慣使用標點符號工具列來處理文書
推薦您使用
標點符號工具列 by imacat
http://extensions.openoffice.org/en/node/5720

中華民國台灣正體中文標點符號工具列 by lan Ho
http://extensions.openoffice.org/en/project/ROCtwTCP
安裝很簡單,直接點 Get it ! 然後選擇用您的 LibreOffice 或 OpenOffice 開啟即可
基本上應是跨平台的,所以 windows 使用者一樣可以安裝

以下安裝示範:
選擇您要用的工具列,按下 Get it !

選擇用 LibreOffice 開啟
此時會開啟擴充套件管理員,請按「確定」來安裝

看完授權合約,然後按「接受」

重新開啟 LibreOffice 就會出現標點符號工具列
您可以將他拉到您想放置的地方

您可以用「檢視」--「工具列」--「標點符號」來臨時開啟或關閉此工具列

您也可以用「工具」--「擴充套件管理員」來管理或移除此工具列

使用情況:
imacat 的

lan Ho 的



說明:
1. imacat 提供的工具列,上面的符號是使用文字,
若您預設的字型剛好缺這個字,就會變成空白,如下圖:

而 openSUSE 12.2 使用文泉驛微米黑作為預設字體
就會這樣...
解決方法:
(1)將系統預設字體改成文泉驛正黑體(或其他不會有問題的字體)
您可以修改 /etc/fonts/conf.avail/58-suse-post-user.conf
注意這將使您的使用者介面字體全部改變
如果您不會修改,可以直接下載 https://dl.dropbox.com/u/6331820/57-hei.conf
(這個檔案是以文泉驛正黑體作為較優先的字體)
將這個檔案放在 /etc/fonts/conf.d/ 或 ~/.fonts/ 目錄中
然後以執行 fc-cache
(2)以 LibreOffice 內建的替代字型功能,
將 LibreOffice 中的文泉驛微米黑(或您系統的預設字體)用正確的字體代替
注意這動作也同時會改變您的 LibreOffice 介面字型


2. 對於教育從業人員可能需要比較標準的字體,可由下面連結下載
(1)教育部標準字體
http://www.edu.tw/MANDR/download.aspx?download_sn=825&pages=3&site_content_sn=3364
(2)全字庫字體
http://www.cns11643.gov.tw/AIDB/download.do?name=%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89
將下載的字體放在 /usr/share/fonts/truetype/ 或 ~/.fonts/ 目錄中
執行 fc-cache
然後用 LibreOffice 選單上的「工具」--「選項」--「LibreOffice Writer」--「標準字型(亞洲語言)」更改內文所需使用的字體


3. 若您使用 LibreOffice 或 OpenOffice 有任何問題,可以到
OOo 補給站 http://ooo.tnc.edu.tw/

LibreOffice 正體中文使用者社團 (facebook) https://www.facebook.com/groups/libreozht.users/
尋求協助
歡迎您加入 LibreOffice 或 OpenOffice 的行列

2011年12月5日 星期一

增進 libreoffice 的效能

請由 工具--選項
由左邊視窗選擇 LibreOffice--記憶體

將圖形快取增大,並啟用系統匣快速啟動
相信會讓您有不同的感受

2011年11月22日 星期二

openSUSE 12.1 體驗報告(6)

Firefox 的 Oxygen 佈景主題
原本的 Firefox 長這個樣子:

請由 Firefox 的 工具--附加元件--搜尋:oxygen
您就可以找到 Oxygen KDE 的佈景主題了

安裝完後重新啟動,您就會看到 Firefox 的新風貌了


次像素字形顯示 subpixel hinting
參考
http://forums.opensuse.org/english/get-technical-help-here/applications/468189-firefox-fonts.html
步驟:
加入 http://repos.opensuse-community.org/subpixel/openSUSE_12.1/ 套件庫
YaST--軟體套件庫--新增--指定 URL--套件庫名稱自訂--位址如上--下一步 就完成了
接著開啟軟體管理
檢視--套件庫--選擇 subpixel (或您自己的命名)
選取 fontconfig-feature-subpixel-hinting
然後按上方的『切換系統套件』
重新登入
我覺得字變得清晰了

多媒體播放我用了 umplayer 和 vlc
以前習慣用的 smplayer 在播放老婆的 DV 傳過來的影片時畫面停格
但是直接用 mplayer 就不會
用 kaffeine 則只有一開始有聲音

把 Nepomuk 搜尋模組也停用了

如果想用 scim(-bridge) 可以直接使用,在安裝中文語系時就會自動安裝
但是 12.1 DVD 中附的 scim 沒有包含 gtk3-im-module 的補釘
所以在 gtk3 應用程式中會使用 xim 的備用模式,
您可以將 scim 及 scim-bridge 套件升級到 M17N 的套件庫中的
就可以在 GNOME 3 中輸入,也會在 GNOME 3 的系統匣顯示
若要使用 scim-bridge:
$ echo "export INPUT_METHOD=scim-bridge" >> ~/.profile

遇到 gtk3 應用程式時會 fallback 到 scim 模組
若要使用 scim:
$ echo "export INPUT_METHOD=scim" >> ~/.profile

scim 輸入法在 gnome 3 運作的圖
寄件者 gnome 3 input method

要在桌面搜尋有個小技巧,輸入中文後 Ctrl+space 切換成英文,就會送出字
不過因為無法選字,實用效果不大
寄件者 gnome 3 input method

gedit 中可以輸入,表示 gtk3 輸入模組有正確載入
寄件者 gnome 3 input method

gcin 在 gnome 3 下運作的情況
寄件者 gnome 3 input method

寄件者 gnome 3 input method

ibus 在 gnome 3 運作的情況:
寄件者 gnome 3 input method

寄件者 gnome 3 input method

ibus-chewing 在 libreoffice-gnome 界面下會崩潰
您可以移除這個套件,界面看起來會不大一樣而已
寄件者 gnome 3 input method

安裝了 ibus-gjs 後,用 gnome-tweak-tool (Advanced Settings) 來開啟
寄件者 gnome 3 input method

這是一個 ibus 在 gnome 3 的整合界面,不會顯示個別輸入法而是顯現您的語系
寄件者 gnome 3 input method

2011年11月21日 星期一

openSUSE 12.1 體驗報告(5)

郵件列表論壇 都會有許多人提供許多的情報,
我許多跟大家報告的東西都是由 ML 和 論壇 來的,

如果閱讀英文沒問題,您至少可以訂閱 opensuse@opensuse.org
寫一封空白郵件到 opensuse+subscribe@opensuse.org 即完成訂閱
要發問則寫信到 opensuse@opensuse.org
主要以英文討論為主

openSUSE 中文郵件列表: opensuse-zh@opensuse.org
寫一封空白郵件到 opensuse-zh+subscribe@opensuse.org 即完成訂閱
要發問則寫信到 opensuse-zh@opensuse.org
繁簡體中文皆可,目前此郵件列表蠻冷清的,
您可用中文發問,
您也可以寫個自我介紹發上來,我想大家也會歡迎的

論壇主要以英文溝通為主
若要使用中文討論
請到中文子論壇(繁簡中文通用): http://forums.opensuse.org/ae-ae-chinese/

nvidia 顯示卡驅動程式套件庫已經上線
請由 YaST--軟體套件庫--新增--社群套件庫--nVidia Graphics Drivers 來新增
請選擇並安裝適合您的『顯示卡』及『 核心類型』的套件
請參考: openSUSE NVIDIA drivers
我個人的經驗是安裝完後重開機即可直接使用,不需額外設定

停用 Apper
如果常跳出一個視窗說要設定 network proxy 要您輸入密碼
http://forums.opensuse.org/english/get-technical-help-here/applications/468131-why-authentication-required-set-network-proxy.html
您可以停用 Apper (這樣也會造成系統不會自動搜尋更新,您就要勤快手動更新了)
由 KDE 選單--系統設定--啟動與關閉--服務管理程式--取消使用 Apper Monitor

安裝 gcin
現在 gcin 可以從 M17N 套件庫安裝
http://download.opensuse.org/repositories/M17N/
openSUSE 的多國語言相關套件都是由此開發
使用以下指令:
# zypper ar obs://M17N/openSUSE_12.1 m17n
# zypper ref m17n
# zypper in gcin
正在載入套件庫資料...
讀取已安裝的套件...
正在解決套件相依性...

將會安裝下列新的套件:
gcin gcin-branding-openSUSE gcin-gtk3-immodule gcin-qt4-immodule libreoffice-gnome

5 新套件將被安裝.
全部下載大小: 2.5 MiB。 完成操作後,將增加 10.2 MiB 的使用。
要繼續嗎? [y/n/?] (y): y

我使用了 http://hyperrate.com/dir.php?eid=218 中的 kai-mono 圖示作為預設的圖示
如果您想要用上游 gcin 使用的圖示,請安裝 gcin-branding-upstream

KDE 的使用者若沒有在 gtk3-base 應用程式輸入的需求,
gcin-gtk3-immodule 不見得要安裝,
同理,GNOME3 的使用者也不一定需要 gcin-qt4-immodule,
但是終端使用者可能不見得知道,因為基本桌面安裝時,系統中都有足夠的函式庫
加上 openSUSE 12.1 預設就使用 KDE4 或 GNOME3
所以就一併請大家都安裝了

值得一提的是, openSUSE 又重新提供了 KDE3 的應用程式
如果您的應用程式套件是 kde3 開頭的,您會需要 gcin-qt3-immodule,這就要請您自行安裝了

64 位元架構的系統,若要在 32 位元應用程式中輸入,則需自行加裝 -32bit 的部份

另外 gcin 無法在 libreoffice-kde 中正確游標跟隨(輸入視窗固定在左上角,這樣會害我被老婆罵)
所以我也強制加了 libreoffice-gnome 的相依性
並在 gcin 的啟動程序中強制 libreoffice 使用 gnome 介面
如果您不是使用 gcin 時,libreoffice 則不會被影響,仍依照您系統預設來啟動相對應介面

home:swyear 套件庫仍繼續提供 gcin 套件
基本上我目前的做法是先在 home:swyear 打包,
自己試用一陣子沒問題,才會送到 M17N


gcin 現在也會自動出現在 GNOME 3 的系統匣,不需另外設定

2011年4月5日 星期二

升級 LibreOffice 3.3.2

openSUSE 最新穩定版本的 LibreOffice 放在
http://download.opensuse.org/repositories/LibreOffice:/Stable/
openSUSE 11.4 的 KDE4 使用者升級到此版本的 LibreOffice 就不會遇到輸入法無法使用的情形
(參考:openSUSE 11.4 小技巧)
openSUSE 11.4:
# zypper ar obs://LibreOffice:Stable/openSUSE_11.4 libreoffice
# zypper dup --from libreoffice

至少您會發現啟動速度快了許多



openSUSE 11.3 的使用者,雖然原本是安裝 OpenOffice.org
也可以用上面的命令來進行升級(當然要把版本改成 11.3)
# zypper ar obs://LibreOffice:Stable/openSUSE_11.3 libreoffice
正在新增套件庫 'libreoffice' [完成]
已成功新增套件庫 'libreoffice'
已啟用: 是
自動重新整理: 否
URI: http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_11.3

# zypper dup --from libreoffice

收到新的套件庫或套件簽署金鑰:
金鑰 ID: 1142BDE36BA6C051
金鑰名稱: LibreOffice OBS Project
金鑰指紋: B48F900581D652FA0131FC261142BDE36BA6C051
Key Created: 西元2010年10月13日 (週三) 21時05分34秒
Key Expires: 西元2012年12月21日 (週五) 21時05分34秒
套件庫: libreoffice

您想要拒絕此金鑰(r),暫時信任(t),或永遠信任(a)? [r/t/a/?] (r): a
正在建立套件庫 'libreoffice' 的快取 [完成]
正在載入套件庫資料...
讀取已安裝的套件...
正在計算版本升級...

將會安裝下列新的套件:
libreoffice libreoffice-base libreoffice-base-drivers-mysql libreoffice-base-extensions
libreoffice-branding-openSUSE libreoffice-calc libreoffice-calc-extensions libreoffice-components
libreoffice-converter libreoffice-draw libreoffice-draw-extensions libreoffice-filters
libreoffice-filters-optional libreoffice-help-en-US libreoffice-help-zh-TW libreoffice-hyphen
libreoffice-icon-theme-crystal libreoffice-icon-theme-galaxy libreoffice-icon-theme-hicontrast
libreoffice-icon-theme-oxygen libreoffice-impress libreoffice-impress-extensions libreoffice-kde4
libreoffice-l10n-extras libreoffice-l10n-zh-TW libreoffice-languagetool libreoffice-languagetool-en
libreoffice-libs-core libreoffice-libs-extern libreoffice-libs-gui libreoffice-mailmerge libreoffice-math
libreoffice-pyuno libreoffice-templates-en libreoffice-templates-labels-a4 libreoffice-templates-labels-letter
libreoffice-templates-presentation-layouts libreoffice-thesaurus-en-US libreoffice-ure libreoffice-writer
libreoffice-writer-extensions

下列套件將會被移除:
OpenOffice_org OpenOffice_org-base OpenOffice_org-base-drivers-mysql OpenOffice_org-base-extensions
OpenOffice_org-branding-openSUSE OpenOffice_org-calc OpenOffice_org-calc-extensions OpenOffice_org-components
OpenOffice_org-converter OpenOffice_org-draw OpenOffice_org-draw-extensions OpenOffice_org-filters
OpenOffice_org-filters-optional OpenOffice_org-help-en-US OpenOffice_org-help-zh-TW OpenOffice_org-hyphen
OpenOffice_org-icon-theme-crystal OpenOffice_org-icon-theme-galaxy OpenOffice_org-icon-theme-hicontrast
OpenOffice_org-icon-theme-oxygen OpenOffice_org-impress OpenOffice_org-impress-extensions OpenOffice_org-kde4
OpenOffice_org-l10n-extras OpenOffice_org-l10n-zh-TW OpenOffice_org-LanguageTool OpenOffice_org-LanguageTool-en
OpenOffice_org-libs-core OpenOffice_org-libs-extern OpenOffice_org-libs-gui OpenOffice_org-mailmerge
OpenOffice_org-math OpenOffice_org-pyuno OpenOffice_org-templates-en OpenOffice_org-templates-labels-a4
OpenOffice_org-templates-labels-letter OpenOffice_org-templates-presentation-layouts
OpenOffice_org-thesaurus-en-US OpenOffice_org-ure OpenOffice_org-writer OpenOffice_org-writer-extensions

下列套件將會升級:
myspell-american

下列套件將會降級:
libstlport_gcc4

下列套件將會變更供應商:
libstlport_gcc4 openSUSE -> obs://build.opensuse.org/LibreOffice
myspell-american openSUSE -> obs://build.opensuse.org/LibreOffice


1 套件將升級, 1 將降級, 41 新的, 41 將移除, 2 將變更供應商.
全部下載大小: 138.2 MiB。 完成操作後,將增加 2.7 MiB 的使用。
要繼續嗎? [y/n/?] (y): y

按下 y 之後,就會從網路下載安裝
Have a lot of fun !

(還是 OOo 的圖示...)

2011年3月15日 星期二

openSUSE 11.4 小技巧


1. 在 KDE 環境中 gtk2 程式的視窗會出現白框(本來這個地方應該要有打光的效果)

可能是由於 nvidia 私有驅動程式和 oxygen-gtk 引擎衝突的關係
您可以升級 nvidia 驅動程式(但可能會用到 beta 版,且只能用 hard way 安裝)
或是改用其他的佈景主題
由 系統設定 -> 應用程式外觀 -> GTK 樣式與字型 來設定
(選擇 oxygen-gtk 以外的主題)

我會建議安裝 qtcurve-kde4 以及 qtcurve-gtk2比較能在外觀上達成一致

2. LibreOffice 無法輸入任何文字
參考 http://en.opensuse.org/LibreOffice
因為 LibreOffice 的 KDE4 整合界面有 bugs
所以應該強迫設成 gnome 的界面
export OOO_FORCE_DESKTOP=gnome

您可以將上面的敘述加到 ~/.profile