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

2011年3月28日 星期一

Build LXDE source code變得容易

參考這篇文章

用 apt-get 節省系統開發和評估的時間


可以讓LXDE的編譯變得容易

sudo apt-get source lxde



sudo apt-get build-dep lxde




sudo ./configure



sudo make



sudo make install


透過Facebook分享

2009年6月6日 星期六

How to compile LXDE - lxmenu-data

nelsonchung@nelsonchung-laptop:~/Src/lxde$ cd lxmenu-data
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ ls
AUTHORS ChangeLog COPYING INSTALL Makefile.am po rename.py
autogen.sh configure.in desktop-directories layout NEWS README TODO
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ ./autogen.sh
+ [ x != x ]
+ aclocal
+ AUTOMAKE=automake-1.10 intltoolize -c --automake --force
+ automake-1.10 --add-missing --copy --include-deps
configure.in:3: installing `./install-sh'
configure.in:3: installing `./missing'
+ autoconf
+ cp -f /usr/share/automake-1.10/mkinstalldirs .
+ rm -rf autom4te.cache
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ ls
aclocal.m4 ChangeLog COPYING install-sh intltool-update.in Makefile.in NEWS rename.py
AUTHORS configure desktop-directories intltool-extract.in layout missing po TODO
autogen.sh configure.in INSTALL intltool-merge.in Makefile.am mkinstalldirs README
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.40.6 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.0
checking for XML::Parser... ok
configure: creating ./config.status
config.status: creating Makefile
config.status: creating layout/Makefile
config.status: creating desktop-directories/Makefile
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ sudo make
Making all in po
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
Making all in layout
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
Making all in desktop-directories
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-audio-video.directory.in lxde-audio-video.directory
Generating and caching the translation database
NOTICE: ../po/hr.po is not in UTF-8 but iso-8859-2, converting...
Merging translations into lxde-audio-video.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-development.directory.in lxde-development.directory
Found cached translation database
Merging translations into lxde-development.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-education.directory.in lxde-education.directory
Found cached translation database
Merging translations into lxde-education.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-game.directory.in lxde-game.directory
Found cached translation database
Merging translations into lxde-game.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-graphics.directory.in lxde-graphics.directory
Found cached translation database
Merging translations into lxde-graphics.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-hardware.directory.in lxde-hardware.directory
Found cached translation database
Merging translations into lxde-hardware.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-internet-and-network.directory.in lxde-internet-and-network.directory
Found cached translation database
Merging translations into lxde-internet-and-network.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-look-and-feel.directory.in lxde-look-and-feel.directory
Found cached translation database
Merging translations into lxde-look-and-feel.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-menu-applications.directory.in lxde-menu-applications.directory
Found cached translation database
Merging translations into lxde-menu-applications.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-menu-system.directory.in lxde-menu-system.directory
Found cached translation database
Merging translations into lxde-menu-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-network.directory.in lxde-network.directory
Found cached translation database
Merging translations into lxde-network.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-office.directory.in lxde-office.directory
Found cached translation database
Merging translations into lxde-office.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-other.directory.in lxde-other.directory
Found cached translation database
Merging translations into lxde-other.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-personal.directory.in lxde-personal.directory
Found cached translation database
Merging translations into lxde-personal.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-settings.directory.in lxde-settings.directory
Found cached translation database
Merging translations into lxde-settings.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-settings-system.directory.in lxde-settings-system.directory
Found cached translation database
Merging translations into lxde-settings-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-system.directory.in lxde-system.directory
Found cached translation database
Merging translations into lxde-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-system-tools.directory.in lxde-system-tools.directory
Found cached translation database
Merging translations into lxde-system-tools.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-utility-accessibility.directory.in lxde-utility-accessibility.directory
Found cached translation database
Merging translations into lxde-utility-accessibility.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-utility.directory.in lxde-utility.directory
Found cached translation database
Merging translations into lxde-utility.directory.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data'

nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ sudo make
Making all in po
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
Making all in layout
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
Making all in desktop-directories
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-audio-video.directory.in lxde-audio-video.directory
Generating and caching the translation database
NOTICE: ../po/hr.po is not in UTF-8 but iso-8859-2, converting...
Merging translations into lxde-audio-video.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-development.directory.in lxde-development.directory
Found cached translation database
Merging translations into lxde-development.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-education.directory.in lxde-education.directory
Found cached translation database
Merging translations into lxde-education.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-game.directory.in lxde-game.directory
Found cached translation database
Merging translations into lxde-game.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-graphics.directory.in lxde-graphics.directory
Found cached translation database
Merging translations into lxde-graphics.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-hardware.directory.in lxde-hardware.directory
Found cached translation database
Merging translations into lxde-hardware.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-internet-and-network.directory.in lxde-internet-and-network.directory
Found cached translation database
Merging translations into lxde-internet-and-network.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-look-and-feel.directory.in lxde-look-and-feel.directory
Found cached translation database
Merging translations into lxde-look-and-feel.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-menu-applications.directory.in lxde-menu-applications.directory
Found cached translation database
Merging translations into lxde-menu-applications.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-menu-system.directory.in lxde-menu-system.directory
Found cached translation database
Merging translations into lxde-menu-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-network.directory.in lxde-network.directory
Found cached translation database
Merging translations into lxde-network.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-office.directory.in lxde-office.directory
Found cached translation database
Merging translations into lxde-office.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-other.directory.in lxde-other.directory
Found cached translation database
Merging translations into lxde-other.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-personal.directory.in lxde-personal.directory
Found cached translation database
Merging translations into lxde-personal.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-settings.directory.in lxde-settings.directory
Found cached translation database
Merging translations into lxde-settings.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-settings-system.directory.in lxde-settings-system.directory
Found cached translation database
Merging translations into lxde-settings-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-system.directory.in lxde-system.directory
Found cached translation database
Merging translations into lxde-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-system-tools.directory.in lxde-system-tools.directory
Found cached translation database
Merging translations into lxde-system-tools.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-utility-accessibility.directory.in lxde-utility-accessibility.directory
Found cached translation database
Merging translations into lxde-utility-accessibility.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-utility.directory.in lxde-utility.directory
Found cached translation database
Merging translations into lxde-utility.directory.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data'
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ sudo make install
Making install in po
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
Making install in layout
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/etc/xdg/menus" || /bin/mkdir -p "/usr/local/etc/xdg/menus"
/usr/bin/install -c -m 644 'lxde-applications.menu' '/usr/local/etc/xdg/menus/lxde-applications.menu'
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
Making install in desktop-directories
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/desktop-directories" || /bin/mkdir -p "/usr/local/share/desktop-directories"
/usr/bin/install -c -m 644 'lxde-audio-video.directory' '/usr/local/share/desktop-directories/lxde-audio-video.directory'
/usr/bin/install -c -m 644 'lxde-development.directory' '/usr/local/share/desktop-directories/lxde-development.directory'
/usr/bin/install -c -m 644 'lxde-education.directory' '/usr/local/share/desktop-directories/lxde-education.directory'
/usr/bin/install -c -m 644 'lxde-game.directory' '/usr/local/share/desktop-directories/lxde-game.directory'
/usr/bin/install -c -m 644 'lxde-graphics.directory' '/usr/local/share/desktop-directories/lxde-graphics.directory'
/usr/bin/install -c -m 644 'lxde-hardware.directory' '/usr/local/share/desktop-directories/lxde-hardware.directory'
/usr/bin/install -c -m 644 'lxde-internet-and-network.directory' '/usr/local/share/desktop-directories/lxde-internet-and-network.directory'
/usr/bin/install -c -m 644 'lxde-look-and-feel.directory' '/usr/local/share/desktop-directories/lxde-look-and-feel.directory'
/usr/bin/install -c -m 644 'lxde-menu-applications.directory' '/usr/local/share/desktop-directories/lxde-menu-applications.directory'
/usr/bin/install -c -m 644 'lxde-menu-system.directory' '/usr/local/share/desktop-directories/lxde-menu-system.directory'
/usr/bin/install -c -m 644 'lxde-network.directory' '/usr/local/share/desktop-directories/lxde-network.directory'
/usr/bin/install -c -m 644 'lxde-office.directory' '/usr/local/share/desktop-directories/lxde-office.directory'
/usr/bin/install -c -m 644 'lxde-other.directory' '/usr/local/share/desktop-directories/lxde-other.directory'
/usr/bin/install -c -m 644 'lxde-personal.directory' '/usr/local/share/desktop-directories/lxde-personal.directory'
/usr/bin/install -c -m 644 'lxde-settings.directory' '/usr/local/share/desktop-directories/lxde-settings.directory'
/usr/bin/install -c -m 644 'lxde-settings-system.directory' '/usr/local/share/desktop-directories/lxde-settings-system.directory'
/usr/bin/install -c -m 644 'lxde-system.directory' '/usr/local/share/desktop-directories/lxde-system.directory'
/usr/bin/install -c -m 644 'lxde-system-tools.directory' '/usr/local/share/desktop-directories/lxde-system-tools.directory'
/usr/bin/install -c -m 644 'lxde-utility-accessibility.directory' '/usr/local/share/desktop-directories/lxde-utility-accessibility.directory'
/usr/bin/install -c -m 644 'lxde-utility.directory' '/usr/local/share/desktop-directories/lxde-utility.directory'
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data'

透過Facebook分享

How to compile LXDE - menu-cache

nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ ./autogen.sh
+ [ x != x ]
+ aclocal
+ autoheader
+ AUTOMAKE=automake-1.10 libtoolize -c --automake --force
+ automake-1.10 --add-missing --copy --include-deps
configure.in:12: installing `./compile'
configure.in:15: installing `./config.guess'
configure.in:15: installing `./config.sub'
configure.in:5: installing `./install-sh'
configure.in:5: installing `./missing'
libmenu-cache/Makefile.am: installing `./depcomp'
+ autoconf
+ cp -f /usr/share/automake-1.10/mkinstalldirs .
+ rm -rf autom4te.cache


nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmenu-cache/Makefile
config.status: creating libmenu-cache/libmenu-cache.pc
config.status: creating libmenu-cache/libmenu-cache-uninstalled.pc
config.status: creating menu-cache-gen/Makefile
config.status: creating menu-cache-daemon/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands


nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ make
make all-recursive
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
Making all in libmenu-cache
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Werror-implicit-function-declaration -DMENUCACHE_LIBEXECDIR="\"/usr/local/libexec\"" -g -O2 -MT menu-cache.lo -MD -MP -MF .deps/menu-cache.Tpo -c -o menu-cache.lo menu-cache.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Werror-implicit-function-declaration -DMENUCACHE_LIBEXECDIR=\"/usr/local/libexec\" -g -O2 -MT menu-cache.lo -MD -MP -MF .deps/menu-cache.Tpo -c menu-cache.c -fPIC -DPIC -o .libs/menu-cache.o
menu-cache.c: In function 「read_all_known_des」:
menu-cache.c:279: 警告: 永遠不相容的指標類型賦值
menu-cache.c: In function 「menu_cache_new」:
menu-cache.c:328: 警告: 傳遞參數 2 (屬於 「read_all_known_des」)時在不相容的指標類型間轉換
menu-cache.c: In function 「menu_cache_unref」:
menu-cache.c:363: 警告: 傳遞參數 1 (屬於 「menu_cache_item_unref」)時在不相容的指標類型間轉換
menu-cache.c: In function 「menu_cache_reload」:
menu-cache.c:462: 警告: 傳遞參數 2 (屬於 「read_all_known_des」)時在不相容的指標類型間轉換
menu-cache.c:469: 警告: 傳遞參數 1 (屬於 「menu_cache_item_unref」)時在不相容的指標類型間轉換
menu-cache.c: In function 「menu_cache_item_unref」:
menu-cache.c:511: 警告: 比較不相關的指標時缺少類型轉換
menu-cache.c:517: 警告: 比較不相關的指標時缺少類型轉換
menu-cache.c: In function 「menu_cache_get_dir_from_path」:
menu-cache.c:643: 警告: 永遠不相容的指標類型賦值
menu-cache.c: In function 「menu_cache_dir_make_path」:
menu-cache.c:657: 警告: 傳遞參數 1 (屬於 「menu_cache_item_get_id」)時在不相容的指標類型間轉換
menu-cache.c: In function 「get_socket_name」:
menu-cache.c:666: 警告: 初始化丟棄了指標目的類型的限定
menu-cache.c: In function 「register_menu_to_server」:
menu-cache.c:859: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cache.c: In function 「unregister_menu_from_server」:
menu-cache.c:890: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cache.c: In function 「list_app_in_dir」:
menu-cache.c:925: 警告: 傳遞參數 1 (屬於 「list_app_in_dir」)時在不相容的指標類型間轉換
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Werror-implicit-function-declaration -DMENUCACHE_LIBEXECDIR=\"/usr/local/libexec\" -g -O2 -MT menu-cache.lo -MD -MP -MF .deps/menu-cache.Tpo -c menu-cache.c -o menu-cache.o >/dev/null 2>&1
mv -f .deps/menu-cache.Tpo .deps/menu-cache.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -export-symbols-regex menu_cache -o libmenu-cache.la -rpath /usr/local/lib menu-cache.lo -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
libtool: link: /usr/bin/nm -B .libs/menu-cache.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libmenu-cache.exp
libtool: link: /bin/grep -E -e "menu_cache" ".libs/libmenu-cache.exp" > ".libs/libmenu-cache.expT"
libtool: link: mv -f ".libs/libmenu-cache.expT" ".libs/libmenu-cache.exp"
libtool: link: echo "{ global:" > .libs/libmenu-cache.ver
libtool: link: cat .libs/libmenu-cache.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libmenu-cache.ver
libtool: link: echo "local: *; };" >> .libs/libmenu-cache.ver
libtool: link: gcc -shared .libs/menu-cache.o /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -Wl,-soname -Wl,libmenu-cache.so.0 -Wl,-version-script -Wl,.libs/libmenu-cache.ver -o .libs/libmenu-cache.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libmenu-cache.so.0" && ln -s "libmenu-cache.so.0.0.0" "libmenu-cache.so.0")
libtool: link: (cd ".libs" && rm -f "libmenu-cache.so" && ln -s "libmenu-cache.so.0.0.0" "libmenu-cache.so")
libtool: link: ar cru .libs/libmenu-cache.a menu-cache.o
libtool: link: ranlib .libs/libmenu-cache.a
libtool: link: ( cd ".libs" && rm -f "libmenu-cache.la" && ln -s "../libmenu-cache.la" "libmenu-cache.la" )
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
Making all in menu-cache-gen
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-cache-gen.o -MD -MP -MF .deps/menu-cache-gen.Tpo -c -o menu-cache-gen.o menu-cache-gen.c
menu-cache-gen.c: In function 「write_entry」:
menu-cache-gen.c:147: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c:151: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c:183: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c: In function 「write_dir」:
menu-cache-gen.c:223: 警告: 傳遞引數 1(屬於 「g_free」)丟棄了指標目的類型的限定
menu-cache-gen.c:228: 警告: 傳遞引數 1(屬於 「g_free」)丟棄了指標目的類型的限定
menu-cache-gen.c: In function 「main」:
menu-cache-gen.c:314: 警告: 格式字串不是一個字面字串而且沒有待格式化的引數
menu-cache-gen.c:386: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c:424: 警告: 傳遞參數 2 (屬於 「g_hash_table_foreach」)時在不相容的指標類型間轉換
mv -f .deps/menu-cache-gen.Tpo .deps/menu-cache-gen.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT canonicalize.o -MD -MP -MF .deps/canonicalize.Tpo -c -o canonicalize.o canonicalize.c
mv -f .deps/canonicalize.Tpo .deps/canonicalize.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT desktop-entries.o -MD -MP -MF .deps/desktop-entries.Tpo -c -o desktop-entries.o desktop-entries.c
mv -f .deps/desktop-entries.Tpo .deps/desktop-entries.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT entry-directories.o -MD -MP -MF .deps/entry-directories.Tpo -c -o entry-directories.o entry-directories.c
mv -f .deps/entry-directories.Tpo .deps/entry-directories.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT gmenu-tree.o -MD -MP -MF .deps/gmenu-tree.Tpo -c -o gmenu-tree.o gmenu-tree.c
mv -f .deps/gmenu-tree.Tpo .deps/gmenu-tree.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-layout.o -MD -MP -MF .deps/menu-layout.Tpo -c -o menu-layout.o menu-layout.c
mv -f .deps/menu-layout.Tpo .deps/menu-layout.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-monitor.o -MD -MP -MF .deps/menu-monitor.Tpo -c -o menu-monitor.o menu-monitor.c
mv -f .deps/menu-monitor.Tpo .deps/menu-monitor.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-util.o -MD -MP -MF .deps/menu-util.Tpo -c -o menu-util.o menu-util.c
mv -f .deps/menu-util.Tpo .deps/menu-util.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -o menu-cache-gen menu-cache-gen.o canonicalize.o desktop-entries.o entry-directories.o gmenu-tree.o menu-layout.o menu-monitor.o menu-util.o ../libmenu-cache/libmenu-cache.la -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
libtool: link: gcc -g -O2 -o .libs/menu-cache-gen menu-cache-gen.o canonicalize.o desktop-entries.o entry-directories.o gmenu-tree.o menu-layout.o menu-monitor.o menu-util.o ../libmenu-cache/.libs/libmenu-cache.so /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
Making all in menu-cache-daemon
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -DMENUCACHE_LIBEXECDIR="\"/usr/local/libexec\"" -Werror-implicit-function-declaration -g -O2 -MT menu-cached.o -MD -MP -MF .deps/menu-cached.Tpo -c -o menu-cached.o menu-cached.c
menu-cached.c: In function 「pre_exec」:
menu-cached.c:156: 警告: 永遠不相容的指標類型初始化
menu-cached.c: In function 「regenerate_cache」:
menu-cached.c:176: 警告: 永遠不相容的指標類型初始化
menu-cached.c:177: 警告: 永遠不相容的指標類型初始化
menu-cached.c:178: 警告: 永遠不相容的指標類型初始化
menu-cached.c:179: 警告: 永遠不相容的指標類型初始化
menu-cached.c:181: 警告: 永遠不相容的指標類型賦值
menu-cached.c:182: 警告: 永遠不相容的指標類型賦值
menu-cached.c:183: 警告: 永遠不相容的指標類型賦值
menu-cached.c:189: 警告: 傳遞參數 2 (屬於 「g_spawn_sync」)時在不相容的指標類型間轉換
menu-cached.c: In function 「delayed_reload」:
menu-cached.c:259: 警告: 傳遞參數 3 (屬於 「g_signal_connect_data」)時在不相容的指標類型間轉換
menu-cached.c:274: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cached.c: In function 「cache_file_is_updated」:
menu-cached.c:469: 警告: 永遠不相容的指標類型賦值
menu-cached.c: In function 「get_socket_name」:
menu-cached.c:481: 警告: 初始化丟棄了指標目的類型的限定
menu-cached.c: In function 「create_socket」:
menu-cached.c:507: 警告: 格式字串引數太少
menu-cached.c: In function 「on_client_data_in」:
menu-cached.c:585: 警告: 傳遞參數 3 (屬於 「cache_file_is_updated」)時在不相容的指標類型間轉換
menu-cached.c:611: 警告: 傳遞參數 3 (屬於 「g_signal_connect_data」)時在不相容的指標類型間轉換
menu-cached.c:630: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cached.c:632: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
mv -f .deps/menu-cached.Tpo .deps/menu-cached.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -o menu-cached menu-cached.o -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
libtool: link: gcc -g -O2 -o menu-cached menu-cached.o /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'

nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ make install
Making install in libmenu-cache
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libmenu-cache.la' '/usr/local/lib/libmenu-cache.la'
libtool: install: /usr/bin/install -c .libs/libmenu-cache.so.0.0.0 /usr/local/lib/libmenu-cache.so.0.0.0
/usr/bin/install: cannot create regular file `/usr/local/lib/libmenu-cache.so.0.0.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make: *** [install-recursive] Error 1
nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ sudo make install
[sudo] password for nelsonchung:
Making install in libmenu-cache
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libmenu-cache.la' '/usr/local/lib/libmenu-cache.la'
libtool: install: /usr/bin/install -c .libs/libmenu-cache.so.0.0.0 /usr/local/lib/libmenu-cache.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libmenu-cache.so.0.0.0 libmenu-cache.so.0 || { rm -f libmenu-cache.so.0 && ln -s libmenu-cache.so.0.0.0 libmenu-cache.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libmenu-cache.so.0.0.0 libmenu-cache.so || { rm -f libmenu-cache.so && ln -s libmenu-cache.so.0.0.0 libmenu-cache.so; }; })
libtool: install: /usr/bin/install -c .libs/libmenu-cache.lai /usr/local/lib/libmenu-cache.la
libtool: install: /usr/bin/install -c .libs/libmenu-cache.a /usr/local/lib/libmenu-cache.a
libtool: install: chmod 644 /usr/local/lib/libmenu-cache.a
libtool: install: ranlib /usr/local/lib/libmenu-cache.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include/menu-cache" || /bin/mkdir -p "/usr/local/include/menu-cache"
/usr/bin/install -c -m 644 'menu-cache.h' '/usr/local/include/menu-cache/menu-cache.h'
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libmenu-cache.pc' '/usr/local/lib/pkgconfig/libmenu-cache.pc'
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
Making install in menu-cache-gen
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
test -z "/usr/local/libexec" || /bin/mkdir -p "/usr/local/libexec"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'menu-cache-gen' '/usr/local/libexec/menu-cache-gen'
libtool: install: /usr/bin/install -c .libs/menu-cache-gen /usr/local/libexec/menu-cache-gen
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
Making install in menu-cache-daemon
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
test -z "/usr/local/libexec" || /bin/mkdir -p "/usr/local/libexec"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'menu-cached' '/usr/local/libexec/menu-cached'
libtool: install: /usr/bin/install -c menu-cached /usr/local/libexec/menu-cached
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'

透過Facebook分享

2009年5月31日 星期日

啟動network manager(n-applet) under LXDE

系統有三個檔案
/usr/share/applications/nm-connection-editor.desktop
/usr/share/app-install/desktop/nm-applet.desktop
and
/etc/xdg/autostart/nm-applet.desktop

經過比較
發現
參數為
Exec=nm-applet --sm-disable
就可以
參數為
Exec=nm-connection-editor
則是呼叫網路連線編輯器出來

So, /usr/share/app-install/desktop/nm-applet.desktop and
/etc/xdg/autostart/nm-applet.desktop
都可以

Then,

cd
cd .config
mkdir autostart
cp /etc/xdg/autostart/nm-applet.desktop .
sudo leafpad nm-applet.desktop
在OnlyShowIn加上LXDE

[Desktop Entry]
Name=Network Manager
Comment=Control your network connections
Icon=nm-device-wireless
Exec=nm-applet --sm-disable
Terminal=false
Type=Application;Network;
OnlyShowIn=GNOME;XFCE;LXDE;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=NetworkManager
X-GNOME-Bugzilla-Component=general
X-GNOME-Autostart-enabled=true
X-Ubuntu-Gettext-Domain=nm-applet


這是由於 此參數決定在哪個桌面環境
network manager會被執行到

所以加上LXDE
就可以在LXDE桌面環境被啟動

也可以參考此篇

自動執行 程式 在系統(其實應該是說桌面系統)起來之後


Reference:
http://wiki.lxde.org/en/LXSession

透過Facebook分享
nelsonchung@nelsonchung-laptop:~$ sudo apt-get install build-essential
[sudo] password for nelsonchung:
正在讀取套件清單... 完成
正在重建相依關係
正在讀取狀態資料... 完成
下列的額外套件將被安裝:
dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
建議套件:nelsonchung@nelsonchung-laptop:~$ sudo apt-get install build-essential
[sudo] password for nelsonchung:
正在讀取套件清單... 完成
正在重建相依關係
正在讀取狀態資料... 完成
下列的額外套件將被安裝:
dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
建議套件:
debian-keyring g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg
libstdc++6-4.3-doc
下列【新】套件將會被安裝:
build-essential dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
升級 0 個,新安裝 5 個,移除 0 個,有 0 個未被升級。
需要下載 6170kB 的套件檔。
此操作完成之後,會多佔用 21.2MB 的磁碟空間。
是否繼續進行 [Y/n]?y

debian-keyring g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg
libstdc++6-4.3-doc
下列【新】套件將會被安裝:
build-essential dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
升級 0 個,新安裝 5 個,移除 0 個,有 0 個未被升級。
需要下載 6170kB 的套件檔。
此操作完成之後,會多佔用 21.2MB 的磁碟空間。
是否繼續進行 [Y/n]?y

是否繼續進行 [Y/n]?y
下載:1 http://tw.archive.ubuntu.com jaunty/main libstdc++6-4.3-dev 4.3.3-5ubuntu4 [1356kB]
下載:2 http://tw.archive.ubuntu.com jaunty/main g++-4.3 4.3.3-5ubuntu4 [4162kB]
下載:3 http://tw.archive.ubuntu.com jaunty/main g++ 4:4.3.3-1ubuntu1 [1438B]
下載:4 http://tw.archive.ubuntu.com jaunty/main dpkg-dev 1.14.24ubuntu1 [643kB]
下載:5 http://tw.archive.ubuntu.com jaunty/main build-essential 11.4 [7172B]
取得 6170kB 用了 1min 43s (59.4kB/s)
選中了曾被取消選擇的套件 libstdc++6-4.3-dev。
(正在讀取資料庫 ... 系統目前總共安裝有 113953 個檔案和目錄。)
正在解壓縮 libstdc++6-4.3-dev (從 .../libstdc++6-4.3-dev_4.3.3-5ubuntu4_i386.deb) ...
選中了曾被取消選擇的套件 g++-4.3。
正在解壓縮 g++-4.3 (從 .../g++-4.3_4.3.3-5ubuntu4_i386.deb) ...
選中了曾被取消選擇的套件 g++。
正在解壓縮 g++ (從 .../g++_4%3a4.3.3-1ubuntu1_i386.deb) ...
選中了曾被取消選擇的套件 dpkg-dev。
正在解壓縮 dpkg-dev (從 .../dpkg-dev_1.14.24ubuntu1_all.deb) ...
選中了曾被取消選擇的套件 build-essential。
正在解壓縮 build-essential (從 .../build-essential_11.4_i386.deb) ...
Processing triggers for man-db ...
正在設定 dpkg-dev (1.14.24ubuntu1) ...
正在設定 libstdc++6-4.3-dev (4.3.3-5ubuntu4) ...
正在設定 g++-4.3 (4.3.3-5ubuntu4) ...
正在設定 g++ (4:4.3.3-1ubuntu1) ...

正在設定 build-essential (11.4) ...



紀錄
在ubuntu 9.04 remix上安裝的版本

透過Facebook分享

2009年5月30日 星期六

安裝Anjuta

Ubuntu正體中文站有人推薦

Anjuta DevStudio

安裝
sudo apt-get install anjuta

下列的額外套件將被安裝:
anjuta-common autoconf autogen automake autotools-dev devhelp-common exuberant-ctags
gettext intltool libdevhelp-1-0 libgda4-4 libgda4-bin libgda4-common libgda4-sqlite
libgladeui-1-9 libltdl7-dev libopts25 libopts25-dev libtool libwebkit-1.0-1 m4
建議套件:
libgtk2.0-dev libgtkmm2.0-dev libgnome2-dev libgnomemm2.0-dev glade-gnome autoconf2.13
autobook autoconf-archive gnu-standards autoconf-doc cvs gettext-doc libgda4-mysql
libgda4-postgres libtool-doc automaken gfortran fortran95-compiler gcj
下列【新】套件將會被安裝:
anjuta anjuta-common autoconf autogen automake autotools-dev devhelp-common
exuberant-ctags gettext intltool libdevhelp-1-0 libgda4-4 libgda4-bin libgda4-common
libgda4-sqlite libgladeui-1-9 libltdl7-dev libopts25 libopts25-dev libtool
libwebkit-1.0-1 m4
升級 0 個,新安裝 22 個,移除 0 個,有 0 個未被升級。
需要下載 17.6MB 的套件檔。
此操作完成之後,會多佔用 64.1MB 的磁碟空間。

分類
  1. 是一個IDE軟體
  2. for GTK/GNOME 桌面使用
功能
  • project management
  • application wizards
  • an interactive debugger
  • a powerful source editor with source browsing
  • syntax highlighting
使用後心得
代補

透過Facebook分享

如何修改LXDE主選單

編輯前
Firefox的翻譯是英文
無縮圖


編輯後的差異
用紅色部份表示

[Desktop Entry]
Version=1.0
Name=Firefox Web Browser
Name[ca]=Navegador web Firefox
Name[cs]=Firefox Webový prohlížeč
Name[es]=Navegador web Firefox
Name[fa]=مرورگر اینترنتی Firefox
Name[fi]=Firefox-selain
Name[fr]=Navigateur Web Firefox
Name[hu]=Firefox webböngésző
Name[it]=Firefox Browser Web
Name[ja]=Firefox ウェブ・ブラウザ
Name[ko]=Firefox 웹 브라우저
Name[nb]=Firefox Nettleser
Name[nl]=Firefox webbrowser
Name[nn]=Firefox Nettlesar
Name[no]=Firefox Nettleser
Name[pl]=Przeglądarka WWW Firefox
Name[pt]=Firefox Navegador Web
Name[pt_BR]=Navegador Web Firefox
Name[sk]=Internetový prehliadač Firefox
Name[sv]=Webbläsaren Firefox
Name[zh_TW]=火狐遊覽器
Comment=Browse the World Wide Web
Comment[ca]=Navegueu per el web
Comment[cs]=Prohlížení stránek World Wide Webu
Comment[de]=Im Internet surfen
Comment[es]=Navegue por la web
Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید
Comment[fi]=Selaa Internetin WWW-sivuja
Comment[fr]=Navigue sur Internet
Comment[hu]=A világháló böngészése
Comment[it]=Esplora il web
Comment[ja]=ウェブを閲覧します
Comment[ko]=웹을 돌아 다닙니다
Comment[nb]=Surf på nettet
Comment[nl]=Verken het internet
Comment[nn]=Surf på nettet
Comment[no]=Surf på nettet
Comment[pl]=Przeglądanie stron WWW
Comment[pt]=Navegue na Internet
Comment[pt_BR]=Navegue na Internet
Comment[sk]=Prehliadanie internetu
Comment[sv]=Surfa på webben
Comment[zh_TW]=遊覽WWW
GenericName=Web Browser
GenericName[ca]=Navegador web
GenericName[cs]=Webový prohlížeč
GenericName[es]=Navegador web
GenericName[fa]=مرورگر اینترنتی
GenericName[fi]=WWW-selain
GenericName[fr]=Navigateur Web
GenericName[hu]=Webböngésző
GenericName[it]=Browser Web
GenericName[ja]=ウェブ・ブラウザ
GenericName[ko]=웹 브라우저
GenericName[nb]=Nettleser
GenericName[nl]=Webbrowser
GenericName[nn]=Nettlesar
GenericName[no]=Nettleser
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador Web
GenericName[sk]=Internetový prehliadač
GenericName[sv]=Webbläsare
GenericName[zh_TW]=遊覽器
Exec=firefox %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/usr/share/pixmaps/firefox-3.0.png
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;
StartupWMClass=Firefox
StartupNotify=true

這樣子修改
就可以在LXDE的主選單->網路->看到"火狐遊覽器"
以及firefox的縮圖

此外
由於符合freedesktop的標準
你可以在/usr/share/applications找到*.desktop
就是各個application在主選單表現出來的特性

Reference:
http://wiki.lxde.org/en/Main_Menu

透過Facebook分享

2008年10月12日 星期日

2008年8月17日 星期日

自動執行 程式 在系統(其實應該是說桌面系統)起來之後

想要在Linux桌面系統起來之後
執行我想要執行的程式

因為我使用LXDE
無法在LXDE起來之後
將network manager launch起來

查了一下資料
lxde-最初的繆思中有提及

請先在/etc/xdg/lxsession/LXDE/default檔案中
加入你要執行的指令
or
shellscript
like this
lxde-settings
smproxy
xscreensaver -no-splash
openbox --config-file $XDG_CONFIG_HOME/openbox/lxde-rc.xml
lxpanel --profile LXDE
pcmanfm -d
nm-applet
then
在/etc/xdg/lxsession/LXDE/autostart
@lxde-settings
@lxpanel --profile LXDE
@pcmanfm -d
@nm-applet

就可以在進入LXDE桌面環境下
launch network manager

Update at 20080821
根據Yarema的表示
也可以將應用程式的desktop file放到
~/.config/autostart下
可參考lxde mailing list
以下擷取來自Yarema的回覆內容

It is basic procedure to start applications on startup of LXDE.

Alternatively, it is enough to put application desktop file in your
~/.config/autostart folder to autostart application on LXDE start.

Same thing you can do with Network Manager. I agree that LXDE network
manager is still not polished and needa some development work.

Keyword:
auto execute launch lxde linux 桌面 系統 程式 network manager


Updated in 20080823
LXDE wiki
有提到
他們是follow
freedesktop.org Autostart spec.
所以把應用程式的.desktop檔案放在
~/.config/autostart
就可以讓LXDE起來之後
launch 你想要的應用程式了

透過Facebook分享

2008年8月10日 星期日

重新安裝lxde

從7.10升級到8.04

移除lxde

nelsonchung@nelsonchung--ubuntu-NB:~$ sudo apt-get remove lxde
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
套件『lxde』沒有安裝,所以無法刪除。
下列的套件曾因其他套件而被自動安裝,現在已不需要:
libpopt-dev libfaad2-0 g++-4.1 ms-sys libmp4v2-0 python-pymad python-pyogg
libstdc++6-4.1-dev python-pyvorbis libx264-54 python-mutagen libaudacious5
libiso9660-4 gpicview mozilla-firefox-locale-zh-cn
mozilla-firefox-locale-zh-tw libungif4g
使用 'apt-get autoremove' 來移除他們。
更新 0 個套件,新安裝 0 個套件,刪除 0 個套件,另不更新 1 個套件。
nelsonchung@nelsonchung--ubuntu-NB:~$ sudo apt-get autoremove lxde
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
套件『lxde』沒有安裝,所以無法刪除。
下列的套件曾因其他套件而被自動安裝,現在已不需要:
libpopt-dev libfaad2-0 g++-4.1 ms-sys libmp4v2-0 python-pymad python-pyogg
libstdc++6-4.1-dev python-pyvorbis libx264-54 python-mutagen libaudacious5
libiso9660-4 gpicview mozilla-firefox-locale-zh-cn
mozilla-firefox-locale-zh-tw libungif4g
下列的套件都將被【刪除】:
g++-4.1 gpicview libaudacious5 libfaad2-0 libiso9660-4 libmp4v2-0
libpopt-dev libstdc++6-4.1-dev libungif4g libx264-54
mozilla-firefox-locale-zh-cn mozilla-firefox-locale-zh-tw ms-sys
python-mutagen python-pymad python-pyogg python-pyvorbis
更新 0 個套件,新安裝 0 個套件,刪除 17 個套件,另不更新 1 個套件。
After this operation, 18.5MB disk space will be freed.
繼續執行嗎? 是按 [Y] 鍵,否按 [n] 鍵 y
(正在讀取資料庫 ... 系統目前總共安裝有 183306 個檔案和目錄。)
正在刪除 gpicview ...
正在刪除 libaudacious5 ...
正在刪除 libfaad2-0 ...
正在刪除 libiso9660-4 ...
正在刪除 libmp4v2-0 ...
正在刪除 libpopt-dev ...
正在刪除 libungif4g ...
正在刪除 libx264-54 ...
正在刪除 mozilla-firefox-locale-zh-cn ...
正在刪除 mozilla-firefox-locale-zh-tw ...
正在刪除 ms-sys ...
正在刪除 python-mutagen ...
正在刪除 python-pymad ...
正在刪除 python-pyvorbis ...
正在刪除 python-pyogg ...
正在刪除 g++-4.1 ...
正在刪除 libstdc++6-4.1-dev ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place

安裝lxde
nelsonchung@nelsonchung--ubuntu-NB:~$ sudo apt-get install lxde
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
有一些套件無法被安裝。這也許是系統無法實現您要求的狀態
或是您使用不穩定(unstable)發行版而這些需要的套件尚未完成
或從 Incoming 目錄移除。

您僅要求對單一套件進行操作,這極有可能是因為
該套件無法安裝,您最好提交一個針對這個套件
的臭蟲報告。
底下的資訊有助於解決現在的情況:

下列的套件有無法滿足的依存關係:
lxde: 依存關係: gpicview (>= 0.1.9) 但是它卻不會被安裝。
依存關係: lxappearance (>= 0.2) 但是它卻無法安裝。
E: 損毀的套件
nelsonchung@nelsonchung--ubuntu-NB:~$ sudo apt-get remove lxde
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
套件『lxde』沒有安裝,所以無法刪除。
更新 0 個套件,新安裝 0 個套件,刪除 0 個套件,另不更新 5 個套件。
nelsonchung@nelsonchung--ubuntu-NB:~$ sudo apt-get autoremove lxde
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
套件『lxde』沒有安裝,所以無法刪除。
更新 0 個套件,新安裝 0 個套件,刪除 0 個套件,另不更新 5 個套件。
nelsonchung@nelsonchung--ubuntu-NB:~$ sudo apt-get install lxde
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
有一些套件無法被安裝。這也許是系統無法實現您要求的狀態
或是您使用不穩定(unstable)發行版而這些需要的套件尚未完成
或從 Incoming 目錄移除。

您僅要求對單一套件進行操作,這極有可能是因為
該套件無法安裝,您最好提交一個針對這個套件
的臭蟲報告。
底下的資訊有助於解決現在的情況:

下列的套件有無法滿足的依存關係:
lxde: 依存關係: gpicview (>= 0.1.9) 但是它卻不會被安裝。
依存關係: lxappearance (>= 0.2) 但是它卻無法安裝。
E: 損毀的套件

問題有像
http://www.ubuntu-tw.net/modules/newbb/viewtopic.php?viewmode=flat&order=DESC&topic_id=9456&forum=11&move=next

發現是自己在從7.10(gusty)升級到8.04(hardy)
軟體來源卻忘記作修正
系統\管理\軟體來源\第三方軟體
將原本http://ppa.launchpad.net/lxde/ubuntu的部份
從gusty改成hardy
以及http://ppa.launchpad.net/lxde/ubuntu source的部份 也作相同的修改

nelsonchung@nelsonchung--ubuntu-NB:~$ sudo apt-get install lxde
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
下列的【新】套件都將被安裝:
gpicview leafpad lxappearance lxde-common lxde-settings-daemon xarchiver
xscreensaver
建議(Suggested)的套件:
evince-gtk lxlauncher rar qcam streamer xdaliclock xfishtank
推薦(Recommended)的套件:
arj p7zip-full rpm libjpeg-progs xli xloadimage
下列的【新】套件都將被安裝:
gpicview leafpad lxappearance lxde xarchiver xscreensaver
下列的套件都將更新:
lxde-common lxde-settings-daemon
更新 2 個套件,新安裝 6 個套件,刪除 0 個套件,另不更新 4 個套件。
需要下載 6235kB 的檔案。
After this operation, 4547kB of additional disk space will be used.
繼續執行嗎? 是按 [Y] 鍵,否按 [n] 鍵 y
警告:下列的套件驗證失敗!
gpicview lxappearance lxde-settings-daemon lxde-common lxde
不驗證這些套件就直接安裝?[y/N]y
下載:1 http://tw.archive.ubuntu.com hardy/universe leafpad 0.8.13-1 [91.4kB]
下載:2 http://tw.archive.ubuntu.com hardy/universe xarchiver 0.4.6-7ubuntu1 [365kB]
下載:3 http://ppa.launchpad.net hardy/main gpicview 0.1.9-1~lxde [45.3kB]
下載:4 http://tw.archive.ubuntu.com hardy/main xscreensaver 5.04-4ubuntu1 [263kB]
下載:5 http://ppa.launchpad.net hardy/main lxappearance 0.2-4~lxde [24.1kB]
下載:6 http://ppa.launchpad.net hardy/main lxde-settings-daemon 0.3.2.1+svn20080509-0.2~ubuntu0.2 [9362B]
下載:7 http://ppa.launchpad.net hardy/main lxde-common 0.3.2.1+svn20080509-0.2~ubuntu0.2 [5434kB]
下載:8 http://ppa.launchpad.net hardy/main lxde 0.3.2.1+svn20080509-0.2~ubuntu0.2 [2638B]
讀取 6235kB 用了 31s (198kB/s)
選中了曾被取消選擇的套件 leafpad。
(正在讀取資料庫 ... 系統目前總共安裝有 182587 個檔案和目錄。)
正在解壓縮 leafpad (從 .../leafpad_0.8.13-1_i386.deb) ...
選中了曾被取消選擇的套件 gpicview。
正在解壓縮 gpicview (從 .../gpicview_0.1.9-1~lxde_i386.deb) ...
選中了曾被取消選擇的套件 lxappearance。
正在解壓縮 lxappearance (從 .../lxappearance_0.2-4~lxde_i386.deb) ...
正預備替換 lxde-settings-daemon 0.3.2.1+svn20080509-0.1~ubuntu0.1 (使用 .../lxde-settings-daemon_0.3.2.1+svn20080509-0.2~ubuntu0.2_i386.deb) ...
正在解壓縮替換的套件檔 lxde-settings-daemon ...
正預備替換 lxde-common 0.3.2.1+svn20080509-0.1~ubuntu0.1 (使用 .../lxde-common_0.3.2.1+svn20080509-0.2~ubuntu0.2_all.deb) ...
正在解壓縮替換的套件檔 lxde-common ...
選中了曾被取消選擇的套件 xarchiver。
正在解壓縮 xarchiver (從 .../xarchiver_0.4.6-7ubuntu1_i386.deb) ...
選中了曾被取消選擇的套件 xscreensaver。
正在解壓縮 xscreensaver (從 .../xscreensaver_5.04-4ubuntu1_i386.deb) ...
選中了曾被取消選擇的套件 lxde。
正在解壓縮 lxde (從 .../lxde_0.3.2.1+svn20080509-0.2~ubuntu0.2_all.deb) ...
正在設定 leafpad (0.8.13-1) ...

正在設定 gpicview (0.1.9-1~lxde) ...
正在設定 lxappearance (0.2-4~lxde) ...
正在設定 xarchiver (0.4.6-7ubuntu1) ...

正在設定 xscreensaver (5.04-4ubuntu1) ...

正在設定 lxde-settings-daemon (0.3.2.1+svn20080509-0.2~ubuntu0.2) ...
正在設定 lxde-common (0.3.2.1+svn20080509-0.2~ubuntu0.2) ...

正在設定 lxde (0.3.2.1+svn20080509-0.2~ubuntu0.2) ...

OK

重開機

透過Facebook分享

2008年7月21日 星期一

連線上 lxde's irc channel

Install ChatZilla on your firefox 2.0

restart firefox and then type
irc://irc.oftc.net/lxde

you can see the infomation
[INFO]Channel view for #lxde” opened.

=-=User mode for nelsonchung is now +i

-->|YOU (nelsonchung) have joined #lxde

=-=Topic for #lxde is “English please | LXDE =Lightweight X11 Desktop Environment http://lxde.org/ | Mailing list available now! http://lxde.org/contact.html | Wiki is updated! http://lxde.org/wiki/

=-=Topic for #lxde was set by ChanServ!services@services.oftc.net on 2008年07月11日 13:32:19

Done!!


Reference:
http://lxde.org/contact.html

透過Facebook分享

2008年7月18日 星期五

build lxnm 遇到的問題

Platform Ubuntu 7.10
在LXDE的桌面環境下

下載lxnm-0.2.1

解壓縮後
到該目錄
./configure
nelsonchung@nelsonchung--ubuntu-NB:~/桌面/lxde/lxnm-0.2.1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating utils/Makefile
config.status: creating data/Makefile
config.status: creating data/lxnm.conf
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands

LxNM......................................... : Version 0.2.1

Prefix....................................... : /usr/local


接下來
make

nelsonchung@nelsonchung--ubuntu-NB:~/桌面/lxde/lxnm-0.2.1$ make
make all-recursive
make[1]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1'
Making all in src
make[2]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT lxnm.o -MD -MP -MF .deps/lxnm.Tpo -c -o lxnm.o lxnm.c
lxnm.c: 在函式 「lxnm_parse_command」 中:
lxnm.c:221: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
lxnm.c:224: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
lxnm.c:227: 警告: 傳遞參數 3 (屬於 「pthread_create」
nelsonchung@nelsonchung--ubuntu-NB:~/桌面/lxde/lxnm-0.2.1$ make
make all-recursive
make[1]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1'
Making all in src
make[2]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT lxnm.o -MD -MP -MF .deps/lxnm.Tpo -c -o lxnm.o lxnm.c
lxnm.c: 在函式 「lxnm_parse_command」 中:
lxnm.c:221: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
lxnm.c:224: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
lxnm.c:227: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
lxnm.c:230: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
lxnm.c:233: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
lxnm.c:236: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
lxnm.c:239: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
mv -f .deps/lxnm.Tpo .deps/lxnm.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o lxnm lxnm.o -pthread -lgthread-2.0 -lrt -lglib-2.0
mkdir .libs
gcc -g -O2 -o lxnm lxnm.o -pthread /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so
make[2]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/src'
Making all in utils
make[2]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/utils'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT lxnetctl.o -MD -MP -MF .deps/lxnetctl.Tpo -c -o lxnetctl.o lxnetctl.c
mv -f .deps/lxnetctl.Tpo .deps/lxnetctl.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o lxnetctl lxnetctl.o -pthread -lgthread-2.0 -lrt -lglib-2.0
mkdir .libs
gcc -g -O2 -o lxnetctl lxnetctl.o -pthread /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so
make[2]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/utils'
Making all in data
make[2]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/data'
Making all in man
make[2]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/man'
make[2]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1'
make[1]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1'
)時在不相容的指標類型間轉換
lxnm.c:230: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
lxnm.c:233: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
lxnm.c:236: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
lxnm.c:239: 警告: 傳遞參數 3 (屬於 「pthread_create」)時在不相容的指標類型間轉換
mv -f .deps/lxnm.Tpo .deps/lxnm.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o lxnm lxnm.o -pthread -lgthread-2.0 -lrt -lglib-2.0
mkdir .libs
gcc -g -O2 -o lxnm lxnm.o -pthread /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so
make[2]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/src'
Making all in utils
make[2]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/utils'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT lxnetctl.o -MD -MP -MF .deps/lxnetctl.Tpo -c -o lxnetctl.o lxnetctl.c
mv -f .deps/lxnetctl.Tpo .deps/lxnetctl.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o lxnetctl lxnetctl.o -pthread -lgthread-2.0 -lrt -lglib-2.0
mkdir .libs
gcc -g -O2 -o lxnetctl lxnetctl.o -pthread /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so
make[2]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/utils'
Making all in data
make[2]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/data'
Making all in man
make[2]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1/man'
make[2]: Entering directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1'
make[1]: Leaving directory `/home/nelsonchung/桌面/lxde/lxnm-0.2.1'



透過Facebook分享

2008年6月5日 星期四

下載 LXDE source code

nelsonchung@nelsonchung--ubuntu-NB:~$ svn co https://lxde.svn.sourceforge.net/svnroot/lxde/trunk lxde
程式 'svn' 目前尚未安裝。 您可以由輸入以下內容安裝:
sudo apt-get install subversion
bash: svn: command not found
nelsonchung@nelsonchung--ubuntu-NB:~$

還沒裝svn喔
裝一下

nelsonchung@nelsonchung--ubuntu-NB:~$ sudo apt-get install subversion
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
The following packages were automatically installed and are no longer required:
python-pymad python-pyogg python-pyvorbis python-mutagen gpicview
Use 'apt-get autoremove' to remove them.
下列的【新】套件都將被安裝:
libsvn1
建議(Suggested)的套件:
subversion-tools db4.4-util
下列的【新】套件都將被安裝:
libsvn1 subversion
更新 0 個套件,新安裝 2 個套件,刪除 0 個套件,另不更新 1 個套件。
需要下載 843kB 的檔案。
解壓縮後將消耗 4878kB 的空間。
繼續執行嗎? 是按 [Y] 鍵,否按 [n] 鍵

下載:1 http://tw.archive.ubuntu.com gutsy/main libsvn1 1.4.4dfsg1-1ubuntu3 [602kB]
下載:2 http://tw.archive.ubuntu.com gutsy/main subversion 1.4.4dfsg1-1ubuntu3 [241kB]
讀取 843kB 用了 6s (140kB/s)
選中了曾被取消選擇的套件 libsvn1。
(正在讀取資料庫 ... 系統目前總共安裝有 156890 個檔案和目錄。)
正在解壓縮 libsvn1 (從 .../libsvn1_1.4.4dfsg1-1ubuntu3_i386.deb) ...
選中了曾被取消選擇的套件 subversion。
正在解壓縮 subversion (從 .../subversion_1.4.4dfsg1-1ubuntu3_i386.deb) ...
正在設定 libsvn1 (1.4.4dfsg1-1ubuntu3) ...

正在設定 subversion (1.4.4dfsg1-1ubuntu3) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place

nelsonchung@nelsonchung--ubuntu-NB:~$ svn co https://lxde.svn.sourceforge.net/svnroot/lxde/trunk lxde
svn: PROPFIND 要求於 '/svnroot/lxde/trunk' 的失敗
svn: PROPFIND of '/svnroot/lxde/trunk': 無法連接到伺服器 (https://lxde.svn.sourceforge.net)

跟 proxy 有關係嗎
??

參考charles artiche -

svn proxy


modify ./subversion/servers
http-proxy-host = your proxy
http-proxy-port = your port

nelsonchung@nelsonchung--ubuntu-NB:~$ svn co https://lxde.svn.sourceforge.net/svnroot/lxde/trunk lxde
驗證 'https://lxde.svn.sourceforge.net:443' 的伺服器憑證時發生錯誤:
- 本憑證並不是由受信任的權威機權所核發. 請手動利用指紋以驗證
憑證的有效性!
憑證資訊:
- 主機名稱: *.svn.sourceforge.net
- 有效期間: 自 Tue, 09 Oct 2007 14:15:07 GMT 至 Mon, 08 Dec 2008 15:15:07 GMT
- 發行者: Equifax Secure Certificate Authority, Equifax, US
- 指紋: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a
(R)拒絕, (t)暫時接受 或 (p)永遠接受?

svn: PROPFIND 要求於 '/svnroot/lxde/trunk' 的失敗
svn: PROPFIND of '/svnroot/lxde/trunk': Could not read status line: connection was closed by proxy server. (https://lxde.svn.sourceforge.net)
nelsonchung@nelsonchung--ubuntu-NB:~$ svn co https://lxde.svn.sourceforge.net/svnroot/lxde/trunk lxde
A lxde/lxterminal
A lxde/lxterminal/configure.ac
A lxde/lxterminal/AUTHORS
A lxde/lxterminal/ChangeLog
A lxde/lxterminal/src
A lxde/lxterminal/src/lxterminal.c
A lxde/lxterminal/src/lxterminal.h
A lxde/lxterminal/src/Makefile.am
A lxde/lxterminal/COPYING
A lxde/lxterminal/Makefile.am
A lxde/lxterminal/autogen.sh
A lxde/lxterminal/NEWS
A lxde/lxterminal/README
A lxde/lxterminal/po
A lxde/lxterminal/po/ChangeLog
A lxde/lxterminal/po/Makefile.in.in
A lxde/lxterminal/po/zh_TW.po
A lxde/lxterminal/po/POTFILES.in
A lxde/lxine
A lxde/lxine/gtkxine.h
A lxde/lxine/callbacks.c
A lxde/lxine/lxine.c
A lxde/lxine/actions.c
A lxde/lxine/pixmaps
A lxde/lxine/pixmaps/pause.xpm
A lxde/lxine/pixmaps/pause2.xpm
A lxde/lxine/pixmaps/eplayer.png
A lxde/lxine/pixmaps/playlist.xpm
A lxde/lxine/pixmaps/play.xpm
A lxde/lxine/pixmaps/stop.xpm
A lxde/lxine/pixmaps/play2.xpm
A lxde/lxine/pixmaps/stop2.xpm
A lxde/lxine/pixmaps/black.mpv
A lxde/lxine/pixmaps/speaker.xpm
A lxde/lxine/callbacks.h
看起來在抓了
大約需要抓五分鐘到十分鐘
OK!!

透過Facebook分享

2008年6月2日 星期一

使用LXDE 進行無線網路連線

IBM R50e
Ubuntu 7.10
LXDE - desktop environment

無線網路不能用

sudo ifup eth1
Ignoring unknown interface eth1=eth1.

sudo ifdown eth1
ifdown: interface eth1 not configured

add something in /etc/network/interfaces
auto eth1

reboot

still have the problem

右下角圖示點他的時候
會出現一大多重複性的AP
點選其中一臺進行連線
似乎都不會成功

用系統工具 -> 網路
輸入密碼
點選無線連結
網路名稱選擇其中一台網路ap
填密碼(是你的情況而定)
一次不行
再設定一次
就ok

公司使用 WEP金鑰 (十六進位) D-Link

透過Facebook分享

2008年4月1日 星期二

安裝LXDE

加入
deb http://people.linux.org.tw/~pcman/ubuntu ./
到/etc/apt/sources.list

nelsonchung@nelsonchung--ubuntu-NB:/etc/apt$ sudo apt-get update
略過 cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-zh_TW
略過 cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-zh_TW
略過 http://people.linux.org.tw ./ Release.gpg
略過 http://people.linux.org.tw ./ Translation-zh_TW
略過 http://people.linux.org.tw ./ Release
略過 http://people.linux.org.tw ./ Packages
下載:1 http://people.linux.org.tw ./ Packages [3487B]
下載:2 http://tw.archive.ubuntu.com gutsy Release.gpg [191B]
下載:3 http://tw.archive.ubuntu.com gutsy/main Translation-zh_TW [22.6kB]
下載:4 http://security.ubuntu.com gutsy-security Release.gpg [191B]
略過 http://security.ubuntu.com gutsy-security/main Translation-zh_TW
略過 http://tw.archive.ubuntu.com gutsy/restricted Translation-zh_TW
略過 http://security.ubuntu.com gutsy-security/restricted Translation-zh_TW
略過 http://security.ubuntu.com gutsy-security/universe Translation-zh_TW
略過 http://security.ubuntu.com gutsy-security/multiverse Translation-zh_TW
已有 http://security.ubuntu.com gutsy-security Release
下載:5 http://tw.archive.ubuntu.com gutsy/universe Translation-zh_TW [13.2kB]
已有 http://security.ubuntu.com gutsy-security/main Packages
下載:6 http://packages.medibuntu.org gutsy Release.gpg [189B]
略過 http://packages.medibuntu.org gutsy/free Translation-zh_TW
略過 http://packages.medibuntu.org gutsy/non-free Translation-zh_TW
已有 http://security.ubuntu.com gutsy-security/restricted Packages
已有 http://security.ubuntu.com gutsy-security/main Sources
已有 http://security.ubuntu.com gutsy-security/restricted Sources
已有 http://packages.medibuntu.org gutsy Release
下載:7 http://tw.archive.ubuntu.com gutsy/multiverse Translation-zh_TW [449B]
已有 http://security.ubuntu.com gutsy-security/universe Packages
已有 http://security.ubuntu.com gutsy-security/universe Sources
已有 http://security.ubuntu.com gutsy-security/multiverse Packages
已有 http://security.ubuntu.com gutsy-security/multiverse Sources
下載:8 http://tw.archive.ubuntu.com gutsy-updates Release.gpg [191B]
略過 http://packages.medibuntu.org gutsy/free Packages
略過 http://tw.archive.ubuntu.com gutsy-updates/main Translation-zh_TW
略過 http://packages.medibuntu.org gutsy/non-free Packages
略過 http://tw.archive.ubuntu.com gutsy-updates/restricted Translation-zh_TW
已有 http://packages.medibuntu.org gutsy/free Packages
已有 http://packages.medibuntu.org gutsy/non-free Packages
略過 http://tw.archive.ubuntu.com gutsy-updates/universe Translation-zh_TW
略過 http://tw.archive.ubuntu.com gutsy-updates/multiverse Translation-zh_TW
已有 http://tw.archive.ubuntu.com gutsy Release
下載:9 http://dl.google.com testing Release.gpg [189B]
略過 http://dl.google.com testing/non-free Translation-zh_TW
已有 http://tw.archive.ubuntu.com gutsy-updates Release
已有 http://tw.archive.ubuntu.com gutsy/main Packages
已有 http://dl.google.com testing Release
錯誤 http://dl.google.com testing Release

已有 http://tw.archive.ubuntu.com gutsy/restricted Packages
下載:10 http://dl.google.com testing Release [772B]
略過 http://dl.google.com testing Release
已有 http://tw.archive.ubuntu.com gutsy/main Sources
已有 http://dl.google.com testing/non-free Packages
已有 http://tw.archive.ubuntu.com gutsy/restricted Sources
已有 http://tw.archive.ubuntu.com gutsy/universe Packages
已有 http://tw.archive.ubuntu.com gutsy/universe Sources
已有 http://tw.archive.ubuntu.com gutsy/multiverse Packages
已有 http://tw.archive.ubuntu.com gutsy/multiverse Sources
已有 http://tw.archive.ubuntu.com gutsy-updates/main Packages
已有 http://tw.archive.ubuntu.com gutsy-updates/restricted Packages
已有 http://tw.archive.ubuntu.com gutsy-updates/main Sources
已有 http://tw.archive.ubuntu.com gutsy-updates/restricted Sources
已有 http://tw.archive.ubuntu.com gutsy-updates/universe Packages
已有 http://tw.archive.ubuntu.com gutsy-updates/universe Sources
已有 http://tw.archive.ubuntu.com gutsy-updates/multiverse Packages
已有 http://tw.archive.ubuntu.com gutsy-updates/multiverse Sources
讀取 40.7kB 用了 11s (3614B/s)
讀取套件清單中... 完成
W: GPG error: http://dl.google.com testing Release: 由於沒有公鑰,下列簽名無法進行驗證: NO_PUBKEY A040830F7FAC5991
W: 用『apt-get -f install』指令或許能修正這些問題。
nelsonchung@nelsonchung--ubuntu-NB:/etc/apt$ sudo apt-get -f install
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
The following packages were automatically installed and are no longer required:
python-pymad python-pyogg python-pyvorbis python-mutagen python-pysqlite2
Use 'apt-get autoremove' to remove them.
更新 0 個套件,新安裝 0 個套件,刪除 0 個套件,另不更新 0 個套件。
nelsonchung@nelsonchung--ubuntu-NB:/etc/apt$ sudo apt-get install lxde
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
The following packages were automatically installed and are no longer required:
python-pymad python-pyogg python-pyvorbis python-mutagen python-pysqlite2
Use 'apt-get autoremove' to remove them.
下列的【新】套件都將被安裝:
gpicview lxde-common lxpanel lxsession openbox pcmanfm xscreensaver
建議(Suggested)的套件:
menu netpbm xfishtank xdaliclock qcam streamer
推薦(Recommended)的套件:
obconf xli xloadimage libjpeg-progs
下列的【新】套件都將被安裝:
gpicview lxde lxde-common lxpanel lxsession openbox pcmanfm xscreensaver
更新 0 個套件,新安裝 8 個套件,刪除 0 個套件,另不更新 0 個套件。
需要下載 6767kB 的檔案。
解壓縮後將消耗 15.6MB 的空間。
繼續執行嗎? 是按 [Y] 鍵,否按 [n] 鍵 y
警告:下列的套件驗證失敗!
pcmanfm lxpanel lxsession openbox lxde-common gpicview lxde
不驗證這些套件就直接安裝?[y/N]y
下載:1 http://tw.archive.ubuntu.com gutsy/main xscreensaver 4.24-5ubuntu3 [284kB]
下載:2 http://people.linux.org.tw ./ pcmanfm 0.3.9.10-1~pcman1 [290kB]
下載:3 http://people.linux.org.tw ./ lxpanel 0.2.9-1~pcman1 [330kB]
下載:4 http://people.linux.org.tw ./ lxsession 0.3.2-1~pcman1 [51.7kB]
下載:5 http://people.linux.org.tw ./ openbox 3.4.6.1-0 [334kB]
下載:6 http://people.linux.org.tw ./ lxde-common 0.3.0.1-1~pcman1 [5429kB]
下載:7 http://people.linux.org.tw ./ gpicview 0.1.9-1~pcman1 [45.9kB]
下載:8 http://people.linux.org.tw ./ lxde 0.3.0.1-1~pcman1 [2124B]
讀取 6767kB 用了 9s (693kB/s)
選中了曾被取消選擇的套件 pcmanfm。
(正在讀取資料庫 ... 系統目前總共安裝有 130745 個檔案和目錄。)
正在解壓縮 pcmanfm (從 .../pcmanfm_0.3.9.10-1~pcman1_i386.deb) ...
選中了曾被取消選擇的套件 lxpanel。
正在解壓縮 lxpanel (從 .../lxpanel_0.2.9-1~pcman1_i386.deb) ...
選中了曾被取消選擇的套件 lxsession。
正在解壓縮 lxsession (從 .../lxsession_0.3.2-1~pcman1_i386.deb) ...
選中了曾被取消選擇的套件 openbox。
正在解壓縮 openbox (從 .../openbox_3.4.6.1-0_i386.deb) ...
選中了曾被取消選擇的套件 xscreensaver。
正在解壓縮 xscreensaver (從 .../xscreensaver_4.24-5ubuntu3_i386.deb) ...
選中了曾被取消選擇的套件 lxde-common。
正在解壓縮 lxde-common (從 .../lxde-common_0.3.0.1-1~pcman1_all.deb) ...
選中了曾被取消選擇的套件 gpicview。
正在解壓縮 gpicview (從 .../gpicview_0.1.9-1~pcman1_i386.deb) ...
選中了曾被取消選擇的套件 lxde。
正在解壓縮 lxde (從 .../lxde_0.3.0.1-1~pcman1_all.deb) ...
正在設定 pcmanfm (0.3.9.10-1~pcman1) ...

正在設定 lxpanel (0.2.9-1~pcman1) ...

正在設定 lxsession (0.3.2-1~pcman1) ...

正在設定 openbox (3.4.6.1-0) ...

正在設定 xscreensaver (4.24-5ubuntu3) ...

正在設定 lxde-common (0.3.0.1-1~pcman1) ...
正在設定 gpicview (0.1.9-1~pcman1) ...
正在設定 lxde (0.3.0.1-1~pcman1) ...

到系統->管理->登入畫面
General-> Default session -> LXDE (original is Run Xclient script)

重開機 (要恢復怎麼辦??)

Reference:
http://www.ubuntu.org.tw/modules/newbb/viewtopic.php?topic_id=8545&viewmode=flat&order=ASC&type=&mode=0&start=0

透過Facebook分享