2013年10月16日 星期三

Arch Linux安裝移除軟件

  1. 安裝軟件
    # pacman -S
  2. 移除軟件
    # pacman -R
  3. 移除軟件包含相依性軟件
    # pacman -Rsc
  4. 更新軟件
    # pacman -Syu
  5. 列出無使用軟件
    # pacman -Qdt
  6. 清除未安裝的package cache
    # pacman -Sc
  7. 尋找package
    # pkgfile ???
  8. 更新file database
    # pkgfile --update

Arch Linux更改LXDE Desktop Pager數量

# pacman -S obconf
打開obconf即可看到Desktop相關設定

2013年10月9日 星期三

在Arch Linux安裝LibreOffice出現亂碼

# pacman -S libreoffice
選擇需要安裝的,並且記得選擇想使用的語言

打開程式出現亂碼(都是框框),表示沒有安裝相對應的字型
#pacman -S ttf-ubuntu-font-family

可以用pacman -Ss ttf找出可安裝的字型package

Arch Linux無法使用7-Zip

安裝7-zip
# pacman -S p7zip

無法開啟
在Terminal執行7zFM產生錯誤
# 7zFM
/usr/lib/p7zip/7zFM: error while loading shared libraries: libwx_gtk2u_adv-2.8.so.0: cannot open shared object file: No such file or directory

libwx_gtk2u_adv-2.8.so包含在wxgtk內,安裝這package即可使用
# pacman -S wxgtk 

在Arch Linux自動掛載virtualbox share folder

  1. # vi /etc/modules-load.d/virtualbox.conf
    vboxsf
  2. systemctl enable vboxservice.service

在Arch Linux使用PCManFM Trash

使用PCManFM Trash產生Operation not supported錯誤

假如要使用Trash、mount volumes、folder/file tracking需要gvfs

# pacman -S polkit-gnome gvfs

# mkdir ~/.config/autostart
# ln -s /usr/share/applications/polkit-gnome-authentication-agent-1.desktop ~/.config/autostart/

LXDE開機自動執行程式


# mkdir ~/.config/autostart
# ln -s /usr/share/applications/???.desktop ~/.config/autostart/