google earth linux无法运行:OpenJDK Runtime Environment (IcedTea6 1.7.1) (fedora-37.b17.fc13-i386) OpenJDK Server VM (build 14.0-b16, mixed mode)

使用fedora 13 Linux,安装google earth,安装后却无法运行,解决过程手记。

系统环境,fedora13,内核版本为 2.6.31.5-127.fc12.i686(是fedora12的内核,因为新版本内核对显示支持有问题,用新版本内核自己编译也是一样,于是用fedora12里的老版本内核了),安装时,只选择了一部分自己觉得有必要的有安装,而并没选择其它过多的软件包。

安装google earth时选择的安装位置选择为/usr/local/而不是默认的/opt/,安装后无法运行,有selinux报错,由于对selinux并不熟悉,于是修改selinux为只报告,并不阻拦。然后在命令行里运行,又看到错误消息:具体消息没有记下来,最后两行大概是这个样子:

OpenJDK Runtime Environment (IcedTea6 1.7.1) (fedora-37.b17.fc13-i386)
OpenJDK Server VM (build 14.0-b16, mixed mode)

不知道是缺少JDK包,但在“系统-管理-添加/删除软件”里搜索JDK,好几个OpenJDK相关的包都安装过了的,有几个没有装,从名字上看,感觉只是JDK“外围”包或文档之类的。以前使用fedora12安装google earth时没有遇到任何问题,但之前是安装到默认的/opt/,于是到安装目录里运行./uninstall卸载google earth,然后再安装到默认位置。

再次运行,还是一样的错误提示。于是报死马当活马医的心态,安装OpenJKD搜索出来的所有几个包(具体哪几个不记得了, e!e!),再次运行,google earth,哈,居然好了,运行正常。

于是记下来这个过程,但控制台里较早的很多内容,已经都没有了。

---------------------------------------------------------------------

[root@fsc feng]# getenforce
Enforcing
[root@fsc feng]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted
[root@fsc feng]# setenforce
usage:  setenforce [ Enforcing | Permissive | 1 | 0 ]
[root@fsc feng]# setenforce 0
[root@fsc feng]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted
[root@fsc feng]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted
[root@fsc feng]# getenforce
Permissive
[root@fsc feng]# exit
exit
[feng@fsc ~]$ googleearth

(process:3568): GLib-GObject-CRITICAL **: gtype.c:2706: You forgot to call g_type_init()

(process:3568): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:3568): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Google Earth has caught signal 11.

We apologize for the inconvenience, but Google Earth has crashed.
This is a bug in the program, and should never happen under normal
circumstances. A bug report and debugging data have been written
to this text file:

/home/feng/.googleearth/crashlogs/crashlog-4c6fb150.txt

Please include this file if you submit a bug report to Google.
[feng@fsc ~]$ java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.1) (fedora-37.b17.fc13-i386)
OpenJDK Server VM (build 14.0-b16, mixed mode)

[feng@fsc ~]$ jobs
[feng@fsc ~]$ fobs
命令没有找到
[feng@fsc ~]$ jobs
[feng@fsc ~]$ googleearth

(process:3660): GLib-GObject-CRITICAL **: gtype.c:2706: You forgot to call g_type_init()

(process:3660): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:3660): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Google Earth has caught signal 11.

We apologize for the inconvenience, but Google Earth has crashed.
This is a bug in the program, and should never happen under normal
circumstances. A bug report and debugging data have been written
to this text file:

/home/feng/.googleearth/crashlogs/crashlog-4c6fb1d1.txt

Please include this file if you submit a bug report to Google.
[feng@fsc ~]$ java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.1) (fedora-37.b17.fc13-i386)
OpenJDK Server VM (build 14.0-b16, mixed mode)

[feng@fsc ~]$ su
密码:
[root@fsc feng]# pwd
/home/feng
[root@fsc feng]# cd Downloads/
[root@fsc Downloads]# ll
总用量 57824
drwxrwxr-x. 5 feng feng     4096  8月 15 16:02 1634b5f42ec7dff29638227bd15edb9d
-rw-rw-r--. 1 feng feng   829116  8月 15 15:48 1634b5f42ec7dff29638227bd15edb9d.rar
-rw-rw-r--. 1 feng feng   752024  8月 16 22:11 2004122913334251606.rm
-rw-rw-r--. 1 feng feng   180088  8月 16 22:11 734.mp3
-rw-rw-r--. 1 feng feng     7826  8月 10 22:04 GoogleBookmarks.html
-rwxr-xr-x. 1 feng feng 31399370  8月 21 18:24 GoogleEarthLinux.bin
-rw-rw-r--. 1 feng feng  1424887  8月 15 15:30 hanzhongren.rar
-rw-rw-r--. 1 feng feng 14754987  8月 21 17:26 opera-10.61-6430.i386.rpm
-rw-rw-r--. 1 feng feng   833828  8月 15 15:32 rarlinux-3.9.3.tar.gz
-rw-rw-r--. 1 feng feng  8887395  8月 15 15:47 风格安装录像.rar
[root@fsc Downloads]# ./GoogleEarthLinux.bin
Verifying archive integrity... All good.
Uncompressing Google Earth for GNU/Linux 5.2.1.1547..............................................................
loki_setup: Suspect size value for option option

loki_setup: Suspect size value for option option

Installing mimetypes...
Installing desktop menu entries...
Installing desktop icon...

(process:3982): GLib-GObject-CRITICAL **: gtype.c:2706: You forgot to call g_type_init()

(process:3982): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:3982): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Google Earth has caught signal 11.

We apologize for the inconvenience, but Google Earth has crashed.
This is a bug in the program, and should never happen under normal
circumstances. A bug report and debugging data have been written
to this text file:

/root/.googleearth/crashlogs/crashlog-4c6fb238.txt

Please include this file if you submit a bug report to Google.
[root@fsc Downloads]# java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.1) (fedora-37.b17.fc13-i386)
OpenJDK Server VM (build 14.0-b16, mixed mode)

[root@fsc Downloads]# ./GoogleEarthLinux.bin --help
Makeself version 2.1.5
1) Getting help or info about ./GoogleEarthLinux.bin :
./GoogleEarthLinux.bin --help   Print this message
./GoogleEarthLinux.bin --info   Print embedded info : title, default target directory, embedded script ...
./GoogleEarthLinux.bin --lsm    Print embedded lsm entry (or no LSM)
./GoogleEarthLinux.bin --list   Print the list of files in the archive
./GoogleEarthLinux.bin --check  Checks integrity of the archive

2) Running ./GoogleEarthLinux.bin :
./GoogleEarthLinux.bin [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm             Ask before running embedded script
--noexec              Do not run embedded script
--keep                Do not erase target directory after running
the embedded script
--nox11               Do not spawn an xterm
--nochown             Do not give the extracted files to the current user
--target NewDirectory Extract in NewDirectory
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
--                    Following arguments will be passed to the embedded script
[root@fsc Downloads]# pwd
/home/feng/Downloads
[root@fsc Downloads]# cd /usr/local/google-earth/
[root@fsc google-earth]# ll
总用量 74024
-rw-r--r--.   1 root root    71677  8月 21 19:01 drivers.ini
-rwxr-xr-x.   1 root root     1308  8月 21 19:01 googleearth
-rwxr-xr-x.   1 root root     3876  8月 21 19:01 googleearth-bin
-rw-r--r--.   1 root root     4754  8月 21 19:01 googleearth-icon.png
-rw-r--r--.   1 root root      638  8月 21 19:01 googleearth-mimetypes.xml
-rw-r--r--.   1 root root    17748  8月 21 19:01 googleearth.xpm
-rw-r--r--.   1 root root      426  8月 21 19:01 Google-googleearth.desktop
-rw-r--r--.   1 root root    18011  8月 21 19:01 gpl.txt
-rwxr-xr-x.   1 root root  1490232  8月 21 19:01 gpsbabel
-rw-r--r--.   1 root root      983  8月 21 19:01 ImporterGlobalSettings.ini
-rw-r--r--.   1 root root     5054  8月 21 19:01 ImporterUISettings.ini
-rw-r--r--.   1 root root        0  8月 21 19:01 kh20
drwxr-xr-x.   2 root root     4096  8月 21 19:01 lang
-rwxr-xr-x.   1 root root    14724  8月 21 19:01 libalchemyext.so
-rwxr-xr-x.   1 root root    10140  8月 21 19:01 libapiloader.so
-rwxr-xr-x.   1 root root   438432  8月 21 19:01 libauth.so
-rwxr-xr-x.   1 root root   883784  8月 21 19:01 libbase.so
-rwxr-xr-x.   1 root root   614024  8月 21 19:01 libbasicingest.so
-rwxr-xr-x.   1 root root  3116356  8月 21 19:01 libcollada.so
-rwxr-xr-x.   1 root root    85932  8月 21 19:01 libcommon_gui.so
-rwxr-xr-x.   1 root root    10344  8月 21 19:01 libcommon_platform.so
-rwxr-xr-x.   1 root root   660692  8月 21 19:01 libcommon.so
-rwxr-xr-x.   1 root root   220524  8月 21 19:01 libcommon_webbrowser.so
-rwxr-xr-x.   1 root root    22948  8月 21 19:01 libcomponentframework.so
-rwxr-xr-x.   1 root root   209928  8月 21 19:01 libcurl.so.4
-rwxr-xr-x.   1 root root  7657140  8月 21 19:01 libevll.so
-rwxr-xr-x.   1 root root   845264  8月 21 19:01 libflightsim.so
-rwxr-xr-x.   1 root root    11704  8月 21 19:01 libfusioncommon.so
-rwxr-xr-x.   1 root root  7900272  8月 21 19:01 libgdal.so.1
-rwxr-xr-x.   1 root root   277340  8月 21 19:01 libge_net.so
-rwxr-xr-x.   1 root root  3387556  8月 21 19:01 libgeobase.so
-rwxr-xr-x.   1 root root   330520  8月 21 19:01 libgeobaseutils.so
-rwxr-xr-x.   1 root root   517084  8月 21 19:01 libGLU.so.1
-rwxr-xr-x.   1 root root  1194992  8月 21 19:01 libgoogleearth_free.so
-rwxr-xr-x.   1 root root   360628  8月 21 19:01 libgooglesearch.so
-rwxr-xr-x.   1 root root   281384  8月 21 19:01 libgps.so
-rwxr-xr-x.   1 root root   415112  8月 21 19:01 libicudata.so.38
-rwxr-xr-x.   1 root root  1087360  8月 21 19:01 libicuuc.so.38
-rw-r--r--.   1 root root   432748  8月 21 19:01 libIGAttrs.so
-rw-r--r--.   1 root root  1014232  8月 21 19:01 libIGCore.so
-rw-r--r--.   1 root root   558320  8月 21 19:01 libIGExportCommon.so
-rw-r--r--.   1 root root  3707908  8月 21 19:01 libIGGfx.so
-rw-r--r--.   1 root root   297548  8月 21 19:01 libIGMath.so
-rw-r--r--.   1 root root   885932  8月 21 19:01 libIGOpt.so
-rw-r--r--.   1 root root  1095360  8月 21 19:01 libIGSg.so
-rw-r--r--.   1 root root   164340  8月 21 19:01 libIGUtils.so
-rwxr-xr-x.   1 root root   227636  8月 21 19:01 libinput_plugin.so
-rwxr-xr-x.   1 root root  1861468  8月 21 19:01 liblayer.so
-rwxr-xr-x.   1 root root    96492  8月 21 19:01 liblayout.so
-rwxr-xr-x.   1 root root   367428  8月 21 19:01 libmath.so
-rwxr-xr-x.   1 root root   378344  8月 21 19:01 libmeasure.so
-rwxr-xr-x.   1 root root    44036  8月 21 19:01 libmoduleframework.so
-rwxr-xr-x.   1 root root  1235196  8月 21 19:01 libnavigate.so
-rw-r--r--.   1 root root     7552  8月 21 19:01 libnss_mdns4_minimal.so.2
-rwxr-xr-x.   1 root root    36808  8月 21 19:01 libport.so
-rwxr-xr-x.   1 root root   208088  8月 21 19:01 libproj.so.0
-rwxr-xr-x.   1 root root  2517408  8月 21 19:01 libQtCore.so.4
-rwxr-xr-x.   1 root root  8941228  8月 21 19:01 libQtGui.so.4
-rwxr-xr-x.   1 root root   878444  8月 21 19:01 libQtNetwork.so.4
-rwxr-xr-x.   1 root root 14368872  8月 21 19:01 libQtWebKit.so.4
-rwxr-xr-x.   1 root root   393664  8月 21 19:01 librender.so
-rwxr-xr-x.   1 root root   154380  8月 21 19:01 libreporting.so
-rwxr-xr-x.   1 root root  1123308  8月 21 19:01 libsgutil.so
-rwxr-xr-x.   1 root root  1612904  8月 21 19:01 libspatial.so
-rwxr-xr-x.   1 root root   211092  8月 21 19:01 libviewsync.so
-rwxr-xr-x.   1 root root    77928  8月 21 19:01 libwebbrowser.so
-rwxr-xr-x.   1 root root   315180  8月 21 19:01 libwmsbase.so
drwxr-xr-x.   3 root root     4096  8月 21 18:28 linux
-rw-r--r--.   1 root root      661  8月 21 19:01 PCOptimizations.ini
drwxr-xr-x.   3 root root     4096  8月 21 18:28 plugins
-rw-r--r--.   1 root root        7  8月 21 19:01 qt.conf
drwxr-xr-x. 291 root root    16384  8月 21 19:01 resources
drwxr-xr-x.   2 root root     4096  8月 21 19:01 shaders
-rwxr-xr-x.   1 root root     1708  8月 21 19:01 uninstall
[root@fsc google-earth]# ./uninstall
Product: Google Earth
Installed in /usr/local/google-earth
Uninstalling desktop menu entries...
Uninstalling mimetypes...
Google Earth has been successfully uninstalled.

[root@fsc google-earth]# ll
总用量 0
[root@fsc google-earth]# pwd
/usr/local/google-earth
[root@fsc google-earth]# cd ..
[root@fsc local]# ll
总用量 36
drwxr-xr-x. 2 root root 4096  8月 21 19:05 bin
drwxr-xr-x. 2 root root 4096 10月  1 2009 etc
drwxr-xr-x. 2 root root 4096 10月  1 2009 games
drwxr-xr-x. 2 root root 4096 10月  1 2009 include
drwxr-xr-x. 2 root root 4096  8月 15 15:42 lib
drwxr-xr-x. 2 root root 4096 10月  1 2009 libexec
drwxr-xr-x. 2 root root 4096 10月  1 2009 sbin
drwxr-xr-x. 5 root root 4096  8月  4 01:05 share
drwxr-xr-x. 2 root root 4096 10月  1 2009 src
[root@fsc local]# pwd
/usr/local
[root@fsc local]# cd /home/feng/Downloads/
[root@fsc Downloads]# ll
总用量 57824
drwxrwxr-x. 5 feng feng     4096  8月 15 16:02 1634b5f42ec7dff29638227bd15edb9d
-rw-rw-r--. 1 feng feng   829116  8月 15 15:48 1634b5f42ec7dff29638227bd15edb9d.rar
-rw-rw-r--. 1 feng feng   752024  8月 16 22:11 2004122913334251606.rm
-rw-rw-r--. 1 feng feng   180088  8月 16 22:11 734.mp3
-rw-rw-r--. 1 feng feng     7826  8月 10 22:04 GoogleBookmarks.html
-rwxr-xr-x. 1 feng feng 31399370  8月 21 18:24 GoogleEarthLinux.bin
-rw-rw-r--. 1 feng feng  1424887  8月 15 15:30 hanzhongren.rar
-rw-rw-r--. 1 feng feng 14754987  8月 21 17:26 opera-10.61-6430.i386.rpm
-rw-rw-r--. 1 feng feng   833828  8月 15 15:32 rarlinux-3.9.3.tar.gz
-rw-rw-r--. 1 feng feng  8887395  8月 15 15:47 风格安装录像.rar
[root@fsc Downloads]# ./GoogleEarthLinux.bin
Verifying archive integrity... All good.
Uncompressing Google Earth for GNU/Linux 5.2.1.1547..............................................................
loki_setup: Suspect size value for option option

loki_setup: Suspect size value for option option

loki_setup: Suspect size value for option option

Installing mimetypes...
Installing desktop menu entries...
Installing desktop icon...

(process:4330): GLib-GObject-CRITICAL **: gtype.c:2706: You forgot to call g_type_init()

(process:4330): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:4330): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Google Earth has caught signal 11.

We apologize for the inconvenience, but Google Earth has crashed.
This is a bug in the program, and should never happen under normal
circumstances. A bug report and debugging data have been written
to this text file:

/root/.googleearth/crashlogs/crashlog-4c6fb365.txt

Please include this file if you submit a bug report to Google.
[root@fsc Downloads]# java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.1) (fedora-37.b17.fc13-i386)
OpenJDK Server VM (build 14.0-b16, mixed mode)

[root@fsc Downloads]#

We apologize for the inconvenience, but Google Earth has crashed.
This is a bug in the program, and should never happen under normal
circumstances. A bug report and debugging data have been written
to this text file:

/root/.googleearth/crashlogs/crashlog-4c6fb238.txt

Please include this file if you submit a bug report to Google.
[root@fsc Downloads]# java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.1) (fedora-37.b17.fc13-i386)
OpenJDK Server VM (build 14.0-b16, mixed mode)

##############################################

knityster仁兄说有这样的一个方法,还没有验证是否跟上面所说的是否是同一问题;暂转载过来,供有来者参考,希望有用。

knityster原文:http://hi.baidu.com/knityster/blog/item/6ae1e095f24f30067af4804f.html

在此感谢!

在Fedora 13 下下载了官方的GoogleEarth后无法启动,出现如下错误:
========================================================================
[root@YWX download]# googleearth

(process:3026): GLib-GObject-CRITICAL **: gtype.c:2706: You forgot to call g_type_init()

(process:3026): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:3026): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Google Earth has caught signal 11.

We apologize for the inconvenience, but Google Earth has crashed.
This is a bug in the program, and should never happen under normal
circumstances. A bug report and debugging data have been written
to this text file:

/root/.googleearth/crashlogs/crashlog-4c83a96c.txt

Please include this file if you submit a bug report to Google.
[root@YWX download]# java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.1) (fedora-42.b18.fc13-i386)
OpenJDK Server VM (build 14.0-b16, mixed mode)
========================================================================

Google了好久, 终于找到解决办法:
vi ~/.config/Google/GoogleEarthPlus.conf

找到类似如下语句:
lastTip=9

在其后添加如下语句:
enableTips=false

----------------------------------------

字面意思好像是“不启用提示”, 对使用应该没有什么影响, 没办法,凑合着用了。

P.S.
Linux 下 修改 Google Earth 的默认缓存和KMLPath目录方法:
==========================================
#  vi ~/.config/Google/GoogleEarthPlus.conf

相应修改 CachePath 和  KMLPath 字段的值即可
==========================================

wordpress 3.0.1终于出中文版了,支持并感激汉化工作者~~

刚才进入wordpress控制板,看到3.0.1中文版出来了,终于出来了,二话不说马上,autoupdate,使用美国主机,自动升级速度非常快,不像之前使用天朝网络里的服务器主机那样,十次升级,9次都要超时。重新载入页面后,控制板里的文字都成中文了,不像之前那样半中半英的了。

从3.0到现在,wordpress终于中文版了,可能是汉化工作者最近一直比较忙,没来得及,现在终于不负广大wp支持者的厚望出了中文版,感谢

UE/US正则表达式查找搜索替换,查询的字符串未找到(UE studio/ultraEdit)/修改UE使用Perl正则引擎

UE默认使用UltraEdit正则表达式,就是UE自己改造过的正则语法,跟常用的perl兼容正则表达式语法不一致,所以即使写对了正则表达式,还会显示“查询的字符串未找到”。
这就需要修改UE的正则引擎为Perl引擎,方法如下:
在crtl+f,在“查找”对话框里点右下角的“高级”按钮,下面长出来部分的“正则表达式引擎”勾选perl,即可以。
如下图所示:

[附注] 网上有文章如是说
--------------------------------
用UltraEdit打开文本,首先到菜单中选择正则表达式引擎,正则表达式引擎分支位于“配置 - 搜索”之下,有如下选项:

Perl 兼容正则表达式
如果选中该选项,则编辑器将基于 Boost C++ 库使用 Perl 样式的正则表达式(当在查找/替换对话框里选中正则表达式时)。
UltraEdit 样式正则表达式
如果选中该选项,则编辑器将在查找/替换对话框里选中正则表达式时使用 UltraEdit 样式的正则表达式。
UNIX 样式正则表达式
如果选中该选项,则编辑器将在查找/替换对话框里选中正则表达式时使用 UNIX 样式的正则表达式。
选择自己喜好的正则表达式类型,不同的引擎语法不同,比如Perl兼容的正则表达式,回车是\r,而在UltraEdit风格的以及Unix兼容的回车则分别是^p和\n,下面以UltraEdit风格来说明。
选好风格后开始搜索,使用Ctrl+R弹出替换对话框,钩选“正则表达式”,搜索内容中输入 *X400*^p ,替换为空即可,点击全部替换后,则所有包含X400字样的行都被删除。
-----------------------------------
不知这里讲的是哪个版本的UE/US,跟目前使用的UES06.50a+1并不一样。

linux 字符界面下显示查看图片,不知真的假的

wo306964521 发表于 2009-03-05 14:48

linux 字符界面怎么显示图片

linux 字符界面怎么显示图片
linux 字符界面怎么显示图片
linux 字符界面怎么显示图片

emmoblin 发表于 2009-03-05 20:20

用framebuffer
在字符下都能看电影

kns1024wh 发表于 2009-03-06 22:27

[quote]原帖由 [i]emmoblin[/i] 于 2009-3-5 20:20 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6914430&ptid=1064227][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]
用framebuffer
在字符下都能看电影 [/quote]
比较有趣的事情

wo306964521 发表于 2009-03-09 16:18

回复 #2 emmoblin 的帖子

linux下要显示图片用什么工具好呢?尽量少占资源。尽量不要桌面环境

kelvinwu_2008 发表于 2009-04-23 10:32

二楼的能不能截个图看看?

有点夸张.

我也想知道如何在字符下看图片,知道人说说.

lrz 发表于 2009-04-23 13:03

fedora 8
yum install fbida

启动时内核行加vga=792
fbi jpg

lrz 发表于 2009-04-23 21:11

中午时赶着上班,现在补图。
[attach]230724[/attach]
不过fbi在fbterm中运行有问题,所以用的是mgaview。
至于看电影,试试这个:
mplayer -vo fbdev2 电影文件 -vf scale=1024:768

cst05001 发表于 2009-04-26 09:50

为什么不用图形界面呢?极端?

tianlijian 发表于 2009-04-29 21:55

[quote]原帖由 [i]lrz[/i] 于 2009-4-23 13:03 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6985859&ptid=1064227][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]
fedora 8
yum install fbida

启动时内核行加vga=792
fbi jpg [/quote]
除了fbi还要装什么,我的提示/dev/fb0: no such file or directory

jerrywjl 发表于 2009-04-30 00:40

当年很早期的mplayer,就能够在RH9.0字符界面下看avi。

tianlijian 发表于 2009-04-30 13:56

有没有人说说,具体需要安装哪些东西?

emmoblin 发表于 2009-04-30 22:24

DirectFB
可能能办到

mgunix 发表于 2009-05-12 13:21

[quote]原帖由 [i]lrz[/i] 于 2009-4-23 21:11 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6986432&ptid=1064227][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]
中午时赶着上班,现在补图。
230724
不过fbi在fbterm中运行有问题,所以用的是mgaview。
至于看电影,试试这个:
mplayer -vo fbdev2 电影文件 -vf scale=1024:768 [/quote]

好强悍啊!

页: [1]

华硕A8笔记本(ati x2300显卡)linux 2.6.33/fedora13显示花屏闪烁

07年底购买的笔记本电脑,华硕A8,ATI x2300独立显卡,从一开始就是多系统,linux当然是必装的,最近默认启动系统已经改成linux了。

大概是从redhat9开始了解linux的原因,对fedora比较好感,从fedora8一直安装到现在最新的fedora13。但fedora12 yum更新,安装过linux 2.6.33内核以后,一启动,还没有进入图形界面就花屏,闪烁个没完。估计是某个驱动与显卡不兼容所致,但并不知道具体是哪个驱动所致,才疏学浅,对linux只限于入门使用。于是fedora12后来的升级,升级后,修改grub,启用之前的2.6.31版的内核。曾经自己编译了一次linux 2.6.33 的内核,但照样是花屏,这问题就不再理会。

fedora13出来了,因为默认是新版本内核,感觉很可能会花屏的,于是一个月都没有下载安装。前些天下载安装到上网本上,感觉跟之前版本改变还是不小的,图形界面好像更细腻一点,firefox F11全屏功能也正常了(fedora12里F11不能真正全屏,仅仅是隐藏菜单,工具栏什么的都没有隐藏)。试了试,果然,一进入fedora13安装过程,就是花屏闪烁。如此安装运行时,一定花屏的。

突发奇想是否可以硬安装f13,然后把fedora12里的内核安装上去,rpm包可以用zip解压缩的,把解压出来的内核文件,驱动文件拷到相应目录下,这样是否可以正常呢?甚至fedora12的rpm可以直接在fedora13里安装?

于是试试,在一直闪烁的屏幕前安装linux,实在不很舒服,眼花。只选一少部分比较重要的包,这样速度比较快,安装完就可以更快的测试旧版本内核的安装。

终于在闪烁中完成了fedora的安装(全新安装),从fedora12里的/Packages/解压出kernel-2.6.31.5-127.fc12.i686.rpm,sa切换到root用户,rpm -ivh kernel-2.6.31.5-127.fc12.i686.rpm。

安装完成后,奇迹还真出现了。重启电脑,选择刚安装的kernel,目录都是好的。

wordpress 3.0.1开启多用户功能的具体操作方法步骤 (Warning: An existing WordPress network was detected./wp-config.php配置“above the line reading /* That’s all, stop editing! Happy blogging. */:”)

wordpress 3.0版本整合了多用户功能,但没有默认启用,需要手工配置。3.0刚出来时看控制板里没有启用多用户的选项,就没有查询启用方式。今天——其实是昨天了——比较无聊,想起这茬儿,于是查一个具体怎么启用。

在一个专用于测试的wordpress上操作,该wordpress已经升级到3.0.1,并安装有2.9.x的汉化包(3.0以来没有中文汉化出来,因此有一部分文字显示为英文)。没有启用“固定链接”(伪静态)。

google一下,很多篇相关文章,多数都是从这里转载的
http://www.bokezhuanqian.com/how-to-open-multi-user-in-wordpress-3-0/
讲很很清楚,照着操作。很显然,最主要的操作是第一步
wp-config.php文件,在末尾添加define(‘WP_ALLOW_MULTISITE’, ‘true’);
下面两步顺利进行,接下来的第4步
Network Title站点名称,点击过install后,出现一大篇英文大致如下

-------------------------------------------------------------start-------

Create a Network of WordPress Sites

1. Create a blogs.dir directory in /home/xxx/html/xxx/wp-content. This directory is used to stored uploaded media for your additional sites and must be writeable by the web server.
2. Add the following to your wp-config.php file in /home/xxx/html/xxx/ above the line reading /* That’s all, stop editing! Happy blogging. */:

define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'www.path8.net' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );

3. Add the following to your .htaccess file in /home/xxx/html/xxx/, replacing other WordPress rules:

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]

# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]

--------------------------------------------------------------end------

没有仔细看,新建文件夹,添加配置信息到wp-config.php文件末尾,修改.htaccess文件,重新登录进入后台页面,没有看到“奇迹就要发生”,跟之前完全一样,所不同的就是"工具- network" (Tools - network) 里面有警告信息,信息如下

----------------------------------------------------------------start----

Warning: An existing WordPress network was detected.

Please complete the configuration steps. To create a new network, you will need to empty or remove the network database tables.

Enabling the Network

Complete the following steps to enable the features for creating a network of sites.

..........(还是上面的那一大段英文)

--------------------------------------------------------------end------

把改个发动过的文件恢复为最初的备份,重试,还是一样的“Warning”;甚至删掉整个数据库,重装wordpress,也照样有错。感觉倍受打击,照着攻略操作都不对。

于是回来检查操作过程,再跟网上“前辈”们讲的不一样仔仔细细对照一下,看到有点不太一样的提示,这样的句:

Add the following to your wp-config.php file in /home/xxx/html/xxx/ above the line reading /* That’s all, stop editing! Happy blogging. */:

意思就是要放到wp-config.php文件里“/* That’s all, stop editing! Happy blogging. */”这样一行上面,但找了N遍都没有找到这一句,翻译着看,也没有这样的一句,看来3.0.1在这方面改变了。只能抛开前辈们写的“攻略”,自己找解决方案。

提示消息是最有用的,在wp-config.php增加的配置语句,要放到某一行前面,above,放前面是不行的,但具体位置,找不到。看来如果在英文版里操作的话,应该很容易找到。或者死马当活马医了,wp-config.php文件并不长,靠前随便找个位置放进去试试看。

原本最前面是数据库配置,极端一点,放到数据库配置前面,如果不对再往后移。

修改上传,重新加载后台页面,哈,居然对了,在左侧栏里出现了“super admin”一栏!抓图留念。

------------------------------------------

下面是bokezhuanqian.com上的wordpress3.0开启多用户方法,备参考之用。

wordpress 3.0 怎么开启多用户?

刚刚兴冲冲的在后台寻找多用户的菜单,一直没找到,于是立马Google下,发现了方法,和大家分享一下!
PS:下列操作过程中请注意备份修改的文件。
1. 打开wp-config.php文件,在末尾添加define(‘WP_ALLOW_MULTISITE’, ‘true’);,然后上传至服务器,刷新后台界面,你会发现Tools菜单下多了个Networks选项。

2. 点击会出现如图右侧显示,在进行操作之前,你必须停用所有的插件。

3. 停用以后在点击NetWork菜单,就出现了如下的安装界面。点击可以查看大图

4. Network Title站点名称,Admin E-mail Address管理员邮箱,然后点击install。点击查看大图

这里需要在wp-content目录下创建一个名为blogs.dir的文件夹,用来存储其他子站上传的多媒体文件,同时必须将读写权限更改成0666 (-rw-rw-rw-)以确保该目录可写。

PS:再提醒一次,注意备份wp-config.php和.htaccess文件。
拷贝define( ‘MULTISITE’, true );这部分到你的wp-config.php文件中
define( ‘AUTH_SALT’, ‘+X-||odG>*b`%=D4>|)uuDvz4A^V+bsj$8B2~FV|(i%U Ei`Yn8k4&&v0p{)4.w.’ );
这部分是你的站点密钥,最好也拷贝到wp-config.php文件中,位置放在末尾就ok了。

5. 最后拷贝RewriteRule部分到你的.htaccess文件中。

OVER,现在退出帐户,重新登录一下吧~哈哈哈~奇迹就要发生!!!

发现Google已经收录。2分钟之前。

--------------------------------------------------------------
可以任意转载, 转载时请务必以超链接形式标明文章原始出处及此声明
本文地址:http://www.bokezhuanqian.com/how-to-open-multi-user-in-wordpress-3-0/