are started in order. In fact, if you are using SATA or SCSI interfaces, you can start these script programs in parallel to accelerate the startup process. Use vi to edit sudo vi/etc/init. d/rc, change: 1 CONCURRENCY = none to 1 CONCURRENCY = shell disable Pango is a library that focuses on internationalization and is used for output and text rendering, however, this library may cause some programs such as Firefox to occupy too much CPU, so we can di
-1
Ds = y: simsun. ttf-misc-SimSun-bold-r-normal -- 0-0-0-0-c-0-iso10646-1
Ds = y: ai = 0.3: simsun. ttf-misc-SimSun-bold-I-normal -- 0-0-0-0-c-0-iso10646-1
Then cp fonts. dir fonts. scale, or cat fonts. dir> fonts. scale
3. modify/etc/X11/XF86Config-4, add:
FontPath "/usr/X11R6/lib/X11/fonts/TrueType" must be added before the line unix/:-1.
Add the following in the module section:
Load "xtt"
(Note that the "load type1" and "load freetype" modules are commented out .)
Similar to t
Xft-devel-2.1.2-i686-1.Firefly.dl.tgz
Fontconfig-2.2.1-i686-1.Firefly.dl.tgz
Pango-1.2.3-i686-1.Firefly.dl.tgz
In addition to the xft software package, a total of its software packages can be used with the upgradepkg command
Upgrade and restore.
Xft-devel does not need to be installed. it is set for the original uniformity of packaging.
Xft can be installed with installpkg. to restore it, you can install it before installation.
Back up the foll
document.GUI applicationsMono does not support Windows Forms, but GTK #编写GUI is available in C # programming . C # support tool for GTK #是GTK + graphics library, available for download from http://gtk-sharp.sourceforge.Net/. When the download is complete, install the RPM first:RPM-UVH *.rpm--nodeps Untie gtk-sharp-0.2.1.tar.gz: TAR-ZXVF gtk-sharp-0.2.1.tar.gz Go to subdirectory gtk-sharp-0.2.1, execute: ./configure--PREFIX=/USR makeMake installAfter you complete this step, restart again. All dy
About GTK +:GTK + (The GIMP Toolkit) was originally designed for a software called the GIMP Bitmap Image editor, by Peter Mattis,spencer Kimball and Josh MacDonald was completed in 1997 at the University of California, Berkeley, experimental Computing facility. GTK + was later used as the default image development package for both the GNOME and Xfce mainstream Linux desktop environments. Started GTK + for Linux operating systems, and later extended to support other class Unxi systems like Micros
First, Process brief:1, the first involves the plug-in type Textoverlay, the plug-in will detect whether the streaming media contains subtitles, if there is a subtitle will be called Pango and Cairo Library, the subtitle string into a picture, Compositon for processing unit and video buffer along with the pass down.2. On the Vaapisink side, the Vaassociate () will be called and the caption picture will be fused together with the video frame to display
Production environment:Operating system: Centos release 6.6 (Final)Monitoring network traffic tool: ntop-5.0.1.tar.gztasks: compiling and installing ntop softwarentop is a monitoring network traffic tool, with ntop Display network usage is more intuitive and detailed than some other network management software. 1. Check the installation environment: Install the dependent packages[[Email protected]]# yum–y Install libtool libpcap-devel gdbm-devel gdbm make
.
First install the required software and dependencies:
# Yum install httpd mysql-server mysql-devel php-mysql php-snmp net-snmp-utils net-snmp-libs net-snmp-devel libart_lgpl-devel libpng-devel freetype-devel cairo-devel pango-devel gcc make
Note that the php-snmp package is in the Optional library.
Start mysql and apache after installation
#/etc/init.d/httpdstart
#/etc/init.d/mysqldstart
Configure PHP: you only need to modify the/etc/php.
GTK + is an object-oriented GUI library implemented in C language. Digress:We may have formed the idea that C is a process-oriented language and can only write process-orientedCode. I do not know that object orientation is just an idea, not just a language. GTK + 2 uses the C language + gobject object-oriented idea to build a concise and powerful GTK library. The native language of GTK + is C, but it provides multi-language binding.Language bound: C ++, Python, Ruby, Perl, Java,C.Gtkmm: C ++ bi
-- cflags gtk +-2.0> include.txtPkg-config -- libs gtk +-2.0> libs.txtTwo. txt files will be generated under your d-root directory. We will use them later.
Step 02Start Eclipse and create a new C Project named GTK +)
Step 03Right-click the newly created GTK + project and select Properties at the bottom of the pop-up options.
Step 04Eclipse will pop up the settings window for this project, click C/C ++ General at the left, and then click Paths and Symbols
Step 05Click gnu c under the des option
@ gentux test $ ulimit-c
1000
Xiaosuo @ gentux test $./a. out
Segment error (core dumped)
Xiaosuo @ gentux test $ ls
A. out core d. c f. c g. c pango. c test_iconv.c test_regex.c
The core file is finally generated. Use gdb to debug it:
Xiaosuo @ gentux test $ gdb./a. out core
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
Welcome to change it and/or distribut
-1
Ds = y: simsun. ttf-misc-SimSun-bold-r-normal -- 0-0-0-0-c-0-iso10646-1
Ds = y: ai = 0.3: simsun. ttf-misc-SimSun-bold-I-normal -- 0-0-0-0-c-0-iso10646-1
Then cp fonts. dir fonts. scale, or cat fonts. dir> fonts. scale
3. Modify/etc/X11/XF86Config-4, add:
FontPath "/usr/X11R6/lib/X11/fonts/TrueType" must be added before the line unix/:-1.
Add the following in the module section:
Load "xtt"
(Note that the "load type1" and "load freetype" modules are commented out .)
Similar to t
-2.0/include-Ic:/gtk/include/atk-1.0-Ic: /gtk/include/cairo-Ic:/gtk/include/gdk-pixbuf-2.0-Ic:/gtk/include/pango-1.0-Ic:/gtk/include/glib-2.0-Ic: /gtk/lib/glib-2.0/include-Ic:/gtk/include/freetype2-Ic:/gtk/include/libpng14
(5) Continue entering pkg-config -- libs gtk +-2.0 in the cmd window, and press enter to display another directory:
-Lc:/gtk/lib-lgtk-win32-2.0-lgdk-win32-2.0-latk-1.0-lgio-2.0-lpangowin32-1.0-lgdi32-lpangocairo-1.0-lgdk_pixbuf-2.0-
Remote Linux host ManagementYou often need to remotely access the graphical interface of a host. ssh provides a convenient option:-Y.You can use this option to run remote X11 locally. Of course, you must install X11 locally.For example, if I log on to a Linux Remote Host under MacOS: Bash code mini :~ Weinanli $ ssh-Y ovmRun the selinux Configuration tool: Bash code system-config-selinuxNow we can see that the local X11 of MacOS is started, and the system-config-selinux window is shown below Mac
-devel glib2-devel pango-devel intltool install dependency package[Root @ www/] # wgethttp: // oss. oetiker. ch/rrdtool/pub/rrdtool-1.4.7.tar.gz[Root @ www/] # tar-zxvf rrdtool-1.4.7.tar.gz[Root @ www/] # cd rrdtool-1.4.7[Root @ www/] #./configure -- prefix =/usr/local make install4. Go to the database to create cacti data and create a user:Create database cactidb default charactersetutf8; # create a database grant all on cactidb. * to cactiuser @ lo
Before the summer, please see my previous quick installation of the Nagios article.are monitoring the server-side installation configuration:Graphics Dependent Libraries#yum install Cairo Pango zlib zlib-devel freetype freetype-devel gd gd-develRrdtools relies on the use of paint.#yum Install LIBART_LGPL RRDtoolPnp4nagios lead, collect data, display graphics#yum Install Pnp4nagiosChange the display time, or there will be a 8-hour jet lag#vi/etc/php.in
, the Common source installation method, and the second is the general method of binary package installation, and the third is the distribution related installation method. QT is the development repository for KDE, andGTK + is the development repository for GNOME. the author of Qt, Trolltech, is the company that makes Opera's browser. Because the original QT was incompatible with the GPL, Gnome was the name of the GNU Network Object Model environment. Of course, now on the Linux platform, QT is
/lib.4. Install GTK 2.24.10 in the process of installing, compiling, and testing Ubuntu under GTK.5. Configure eclipse with Windows and Ubuntu11.10 configuring C and GTK in Eclipse.The main solution:1, can not find gtk/gtk.h solution: Select GTK Project, right click Choose properties-->c/c++ BUILD-->SETTINGS-->GCC C compiler--> Includes, joins/usr/include/gtk-2.0 and/usr/include/glib-2.0.2, can not find the Glibconfig.h and other header file solution (information similar to:/usr/include/glib-2.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.