Fedora Core 4 FAQs and solutions (100)

Source: Internet
Author: User
Tags gtk
Re: http://www.linuxforum.net/forum/gshowflat.php? Cat = & board = maid & number = 566917 & page = 0 & view = collapsed & SB = 5 & O = All & fpart =

1. How to install the input method?
Iiimf is really depressing to use, and fcitx is modified.
Step: First uninstall the original iiimf
Yum remove iiimf *
Install scim and devel
Yum install scim
Yum install scim-devel
Install scim-fcitx
No sicm-fcitx exists in the yum repository and you can download it yourself. The address is
Https://sourceforge.net/projects/scim/
Then unpack the package./configure, make, make install .........

2. Why cannot realplayer10gold be started?
I downloaded the RPM package. It cannot be started after installation. A segment error is prompted.
Cause: Conflicts between RealPlayer and scim
Edit the executable file/usr/bin/realplay
Add: Export gtk_im_module = xim
Started successfully.

3. Mobile hard drive mounting garbled characters?
My mobile hard drive was originally in utf8-encoded FAT32 format,
However, FC4 automatic mounting does not seem to use utf8,
As a result, all the mountains and rivers in China are garbled ......

You can use utf8 to manually mount a file to display Chinese characters.
But you can't mount it every time ......

Search for previous posts in the Forum and modify the storage-policy.fdi
It is found that FC4 is a little different from the previous one: the file path is changed
/Usr/share/hal/fdi/policy/10 osvendor/10-storage-policy.fdi

Modification method:
Add a line before the <device> middle </March> of the first pair:
<Merge key = "storage. Policy. Default. mount_option.utf8" type = "bool"> true </merge>

I can't find how to restart Hal because it's a good choice ...... You have to restart the system -_-
Plug in the mobile hard drive, Bingo ~~~~~ Display normal
4. System font installation problems?
Make an advertisement first: use vera sans yuanti for free,
The display is better than simsun.
Font files include: VeraSansYuanTi-BoldItalic.ttf
VeraSansYuanTi-Bold.ttf
VeraSansYuanTi-Italic.ttf
VeraSansYuanTiMono-BoldItalic.ttf
VeraSansYuanTiMono-Bold.ttf
VeraSansYuanTiMono-Italic.ttf
VeraSansYuanTiMono-Regular.ttf
VeraSansYuanTi-Regular.ttf
I used to download it on verycd. By the way, I remember my amule ......

Installation: a lazy person. To avoid adding folders in fonts. conf,
Copy the font file to/usr/share/fonts.
FC-Cache

5. There was no sound after the system was installed. Later, the system adjusted the volume and made a sound. Without making any changes to the Alsa of the system, enable the system sound, and then use RealPlayer to watch movies. Is the desktop dead?
This is natural. Both ESD and RealPlayer use OSS and require an exclusive sound card!
You can go to the Alsa homepage to go to the next ALSA-OSS installation,
Then in ~ /. Bashrc or ~ /. Add a line to i18n:
Export ld_preload =/usr/lib/libaoss. So
OK.

6. When the gnome menu is turned on after it is turned on, there will be a frequent delay, and the hard disk will be read for a while?
It is caused by incompatibility between gnome-menus and xdg menus. After the xdg menu is used, gnome-menus enters an endless loop in some cases. Unfortunately, these situations are quite common because gnome-menus developers are bound to death by ubuntu.
7. How do I play music in APE format?
I found the plug-in for xmms, called Monkey's audio codecs (xmms-Mac)
I did not go down to the source code and found two RPM packages.
Libmac-3.99.u4-alt2.i586
And xmms-in-mac-0.2.1-alt2.i586
Directly use the rpmto simulate transient dependency, and convert the rpm2targzto the tar.gz format. Then
Decompress the package and copy it to the xmms plug-in directory.

8. How can I quickly install jdk1.5.0 in FC4?
1) download jdk1.5.0. You don't need to mention it. It's everywhere. paste an address.
Http://ftp.isu.edu.tw/pub/Sun/java/J2SE/5.0/linux/
2) install./jdk-1_5_0-linux-i586.bin, and then put the decompressed directory to the directory such as/usr/local. Easy enough

3). Set the environment variables. For personal suggestions, modify the user's profile. in Linux, It Is. bashrc under the user's root directory. Add
Java_home =/usr/local/jdk1.5.0
Path = $ path: $ java_home/bin
Classpath =.: $ java_home/lib/dt. jar: $ java_home/lib/tools. Jar
Export java_home path classpath

4). Add plug-ins for Firefox and Konqueror
Firefox: ln-S/usr/local/jdk1.5.0/JRE/plugin/i386/ns7/libjavaplugin_oji.so/root /. mozilla/plugins)
Konqueror: Settings> Configure Konqueror> JAVA and JavaScript -- Java execution program path:/usr/local/jdk1.5.0/JRE/bin/Java

5). Font settings
Set/usr/local/jdk1.5.0/JRE/lib/fontconfig. * Back up the file to another place and download the uploaded file to/usr/local/jdk1.5.0/JRE/lib/to remove the TXT file.
Open the file and search for simsun. TTC. Just modify the path according to your settings.
But it is best not to use simsun. TTC because it is not free, find a free one (Do It Yourself) or use verasansyuanti (I don't know if it is free)
9. The chmsee-0.9.5 is successfully installed under FC4?
Modify the configure file in chmsee-0.9.5.tar.bz2
Change libgtkhtml-3.1> = 3.1.8 (several) to libgtkhtml-3.6> = 3.6
Then you can install it smoothly.

10. An error occurred while installing Azureus on FC4?
Change the running script of Azureus. Assume that your jre1.5 is installed in/usr/local/jre1.5 and that Azureus is installed in/usr/local/Azureus;

CD/usr/local/Azureus
VI Azureus
Specify the Java directory here, such as java_program_dir = "/usr/local/jre1.5/bin/"; specify the installation directory of Azureus, such as program_dir = "/usr/local/Azureus"

11,] UTF-8 GTK program mplayer, xmms all options are garbled Chinese
Modify the file/usr/share/themes/Raleigh/GTK/gtkrc

Style "default-text "{
Fontset = "-Adobe-Helvetica-Medium-r-normal -- 12-*-iso8859-1 ,\
-*-Simsun-Medium-r-normal -- 12-*-iso10646-1, *-r -*"
}

Class "gtkwidget" style "default-text"

12. Install mplayer in FC4 and gcc4.0 without patching
1. Go to the official mplayer website.
Http://www.mplayerhq.hu/homepage/design7/dload.html
From daily CVS snapshot source (the second item in the first table)
Download the CVS mplayer
MPlayer-current.tar.bz2
Download codes and skin
All-20050412.tar.bz2
Proton-1.2.tar.bz2
Find a TTF font
Simsun. TTF in Windows is used here (the extension should not be changed to TTF)
Put it under/usr/share/fonts/Chinese/TrueType
2. decompress the downloaded software package
Tar vjxf all-20050412.tar.bz2
MV all-20050412/usr/lib/Codes
Chmod 644/usr/lib/code/
Chown root. Root/usr/lib/codes/
3. Install mplayer
CD MPlayer-20050622
./Configure -- prefix =/usr/local/mplayer/-- enable-Gui -- enable-FreeType
-- With-codecsdir =/usr/lib/codes/-- language = zh_cn -- charset = utf8
4. Install skin
Tar vjxf Blue-1.4.tar.bz2
MV Porton/usr/local/mplayer/share/mplayer/skin/
CD/usr/local/mplayer/share/mplayer/skin/
Ln-s Porton default
5. Create a starter on the desktop
At the first run, specify the directory/usr/share/fonts/Chinese/TrueType/simsun. TTF in the "font" of "attribute settings ".
Problem Found: The rmvb file cannot be played. It is estimated that the decoder version is too low.
Install RealPlayer first and add the RealPlayer decoder directory to configure. I have not tried this step. It is estimated that the problem can be solved.
13. How can I return to the previous character interface from gnome in FC4?
If you only want to temporarily switch back, press CTRL + ALT + F1. When you switch back, press CTRL + ALT + f7.
Modify the/etc/inittab and change ID: 5: initdefault: to ID: 3: initdefault:

14. Install the ATI graphics card driver under FC4!

After a patch is added to the file ....zip, remove the duplicate name file .rar.
Download the latest driver from www.ati.com.
Install rpm-IVH -- force fglrx_6_8_0-8.14.13-1.i386.rpm
CP fglrx_6_8_0-8.14.13-fc4.patch/lib/modules/fglrx/build_mod
CD/lib/modules/fglrx/build_mod
Patch-P0 <fglrx_6_8_0-8.14.13-fc4.patch
Sh make. Sh
CD ..
Sh make_install.sh
In this way, it is installed.
Run fglrxconfig now
The configuration below is the same as that under FC3.
Restart. start to feel it ..

Below are some data
[Root @ localhost bin] # fglrxinfo
Display: 0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL Renderer string: radeon 9550 generic
OpenGL version string: 1.3.5140 (X4.3.0-8.14.13)

[Root @ localhost bin] # fgl_glxgears
914 frames in 5.0 seconds = 182.800 FPS
1191 frames in 5.0 seconds = 238.200 FPS
1763 frames in 5.0 seconds = 352.600 FPS
1863 frames in 5.0 seconds = 372.600 FPS
1860 frames in 5.0 seconds = 372.000 FPS
1856 frames in 5.0 seconds = 371.200 FPS
1827 frames in 5.0 seconds = 365.400 FPS
1750 frames in 5.0 seconds = 350.000 FPS
1859 frames in 5.0 seconds = 371.800 FPS
1862 frames in 5.0 seconds = 372.400 FPS
1863 frames in 5.0 seconds = 372.600 FPS
2189 frames in 5.0 seconds = 437.800 FPS
2628 frames in 5.0 seconds = 525.600 FPS
2484 frames in 5.0 seconds = 496.800 FPS
1854 frames in 5.0 seconds = 370.800 FPS
1862 frames in 5.0 seconds = 372.400 FPS
1864 frames in 5.0 seconds = 372.800 FPS
Http://www.linuxsir.org/bbs/attachment.php? Attachmentid = 26869

For more updates, see:
Http://www.wonyen.net/bbs/topic.aspx? Id = 26476

Welcome to my Linux Group:
Xiaowen penguins (QQ group number 6940814)

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.