2015年12月13日星期日

Notes for building BLFS 7.x

1. Default icons for GTK+ 3.x applications

In order to show all general icons for GTK+ 3.x applications, we have to install adwaita-icon-theme.
That's because the default icon theme for GTK+ 3 is "Adwaita". That means GTK+ 3 will try to search all missing icons from "adwaita" icon theme. On the other hand, that means we do not need to setup something likes "gtk-icon-theme-name = "Adwaita"" in the configuration file (e.g. /etc/gtk-3.0/settings.ini).

Reference:
https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-icon-theme-name

2. "hicolor" icon theme

According to the "Icon Theme specification", the "hicolor" icon theme should be available (Refer to the Directory Layout section of the specification):
In order to have a place for third party applications to install their icons there should always exist a theme called "hicolor". The data for the hicolor theme is available for download at: http://www.freedesktop.org/software/icon-theme/. Implementations are required to look in the "hicolor" theme if an icon was not found in the current theme.

Reference:
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html

3. VirtualBox Guest Addition

After VirtualBox 5.0.10, we do not need to create the link or file "/etc/rc.d/init.d/function" for VirtualBox Guest Addition because it is not needed anymore.

Reference:
https://www.virtualbox.org/ticket/14733

4. FHS media mount point for UDisk

If you want to set the mount point of media from "/run/media" to "/media", you have to add the option "--enable-fhs-media" when you build the UDisk package.

5. X Window Desktop file of UXterm (For LXQT)

5.1 extract the xterm source package
5.2 cp -v *.desktop /usr/share/applications/

6. Handle missing icons in the "Choose an Application" dialog box for LXQT

We have to create the related symbolic links of icon images for those application that the icon image file is missing in the /usr/share/icons directory.
For example,
ln -s /usr/share/pixmaps/assistant-qt5.png /usr/share/icons/hicolor/128x128/apps/assistant-qt5.png

Reference:
Some icon are missing in the "Choose an Application" dialog box

沒有留言: