Lubuntu 安装笔记


在 Mac 下创建启动优盘

Create Lubuntu 16.04/17.04 USB Bootable Flash Drive in Mac

How do I create an Ubuntu live USB using a Mac?

cd ~/Desktop
hdiutil convert -format UDRW lubuntu-17.04-desktop-amd64.iso -o lubuntu-17.04-desktop-amd64
diskutil list
diskutil unmountDisk /dev/diskN
sudo dd if=lubuntu-17.04-desktop-amd64.dmg of=/dev/rdiskN bs=1m


Update the System

sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt-get update -y && sudo apt-get dist-upgrade -y

apt-get update updates the list of available packages and their versions, but it does not install or upgrade any packages.

apt-get upgrade actually installs newer versions of the packages you have. After updating the lists, the package manager knows about available updates for the software you have installed. This is why you first want to update.

apt-get dist-upgrade, in addition to performing the function of apt-get upgrade, also intelligently handles changing dependencies with new versions of packages and will attempt to upgrade the most important packages at the expense of less important ones if necessary. Thus, the apt-get dist-upgrade command may actually remove some packages in rare but necessary instances.



Customize Look and Feel

Preferences → Customize Look and Feel

  • Widget: Industrial
  • Mouse Cursor: DMZ (Black)
  • Window Border: Theme - Nightmare-02

装主要的应用程序,Chromium 和 Geany

Install Chromium & Remove Firefox

sudo add-apt-repository ppa:canonical-chromium-builds/stage
sudo apt-get update
sudo apt-get install chromium-browser
dpkg --list | grep firefox
sudo apt-get --purge autoremove firefox

Install Geany the Code Editor

  • System Tools → Synaptic Package Manager: geany, geany-common, geany-plugin-markdown, geany-plugins-common
    • Geany is a text editor using the GTK+ toolkit with basic features of an integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. It supports many filetypes and has some nice features.


Install Chinese Language and Input Method

Lubuntu 中默认的输入法引擎是 fcitx,但 IBus 更好用。我选择用它和 SunPinyin。(输入法方案 1

sudo apt-get install ibus ibus-sunpinyin

Preferences → Language Support → Install/Remove Languages…
Install Chinese (simplified)
Keyboard input method system: IBus

然后去到 System Tools → Synaptic Package Manager 中,把 fcitx 相关的都卸载掉。

如果再去到 Preferences → Language Support,会提示 The language support is not installed completely 1),我选 Remind Me Later,忽略这个提示。


还有一种方案是搜狗输入法 for Linux,这需要安装 fcitx。(输入法方案 5




sudo mkdir -p /usr/local/share/fonts/truetype
sudo cp ~/Desktop/wqy*.ttc /usr/local/share/fonts/truetype

这样就装好了「文泉驿微米黑」字体,可以打开 Leafpad 记事本或 Geany 编辑器,用「门」这个字试一试新装好的字体。

在 Leafpad 记事本中, 也可以用 Noto Sans CJK SC, Regular 字体。

How to Install TrueType Fonts on Ubuntu


设置共享,让这台 Lubuntu 可以做为文件服务器来分享文件,按这里的步骤设置即可:


How do I edit applications panel menu in Lubuntu?

If you want to edit menu entries, the program you want to use is alacarte. Do not waste your time in xml files. Alacarte is the best graphical menu editor for all gtk based menu systems.

sudo apt-get install alacarte

2018/04/01 更新(原文写于 2016/11/22)

2018/03/16 更新(原文写于 2016/11/22)
增加了:设置共享,设置 Samba 服务器的部分。

2017/09/03 更新(原文写于 2016/11/22)
增加了 Geany、IBus、SunPinyin、文泉驿微米黑字体等内容。

这是因为系统检测到 fcitx 没有安装