ubuntu flash 无声解决办法

Posted 9 months, 2 weeks ago at 11:32 am. 0 comments

sudo ln -s /tmp/.esd-1000/socket /tmp/.esd/socket

关掉所有的firefox 重启

查看 /tmp 目录,打开隐藏文件显示,新建 .esd 目录(拷贝改名)

Popularity: 16% [?]

Tags:

ubuntu feisty amd64 安装 flash

Posted 9 months, 2 weeks ago at 11:32 am. 0 comments

以前在新利得里,安装过一个 moziila-flash的插件,似乎也能运行flash,但功能不全。下面的方法更好一些。

nspluginwrapper is an Open Source compatibility plugin for Netscape 4 (NPAPI) plugins. That is, it enables you to use plugins on platforms they were not built for. For example, you can use the Adobe Flash plugin on Linux/x86_64, NetBSD and FreeBSD platforms.

nspluginwrapper is distributed under the terms of the GNU General Public License (GPL).

download nspluginwrapper

其实在ubuntuforum.org已经有人解决了。原帖在此:http://ubuntuforums.org/showthread.php?t=341727
这里重新提一下,与原帖稍有不同。
通过nspluginwrapper使64位的firefox调用32位的flash player 9以实现flash显示,这是迄今为止最完美的flash解决方案。
废话完毕。

0
代码:
sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2
或许你可以冒险少装一个。

1 去nspluginwrapper主页下载rpm自己转或者从附件下载alien装好的deb包并安装。

2 去adobe那下载flash player 9

3 将libflashplayer.so复制到~/.mozilla/plugins/

4代码:
nspluginwrapper -i ~/.mozilla/plugins/libflashplayer.so

5代码:
nspluginwrapper -l

若返回
代码:
/home/’whoami’/.mozilla/plugins/npwrapper.libflashplayer.so
Original plugin: .mozilla/plugins/libflashplayer.so
Wrapper version string: 0.9.91.2

类似信息,则OK。

运行:nspluginwrapper -l
出现:段错误 (core dumped)

不过还是能用了。
via http://forum.ubuntu.org.cn/viewtopic.php?t=42579

相关日志:

%RELATEDPOSTS%

Popularity: 27% [?]

Tags: , , , , , , , ,

funny stuffs

Posted 9 months, 2 weeks ago at 11:32 am. 0 comments

Firefox 2.0 与 Access Key
打开 (g)mplayer 截图功能最简法
Cairo-Clock 漂亮的linux桌面时钟
nLite输入法
Remove text AD of MSN msgr 7
apache统计日志的小脚本
再谈IE中Flash控件的自动激活

Popularity: 21% [?]

Tags: , , , , , ,

im-switch -c 切换输入法

Posted 9 months, 2 weeks ago at 11:32 am. 0 comments

im-switch -c 切换输入法

BTW:should try this
在system->administration->Login windows下有一个选项:允许远程用户登录,选中即可以使用xmanager(win下)登录

在服务器上部署了ubuntu, 准备用远程桌面做远程控制。但是机器重启后(还没有login),远程桌面不能连接上。请问如何设置远程控制呢?我在本地PC用的是VNC viewer.

xdmcp
or
freenx

mplayer播放文件图像倒置

看看~/.mplayer/gui.conf里面的v_flip是不是给设置成“1”了,如果是那就改成“0“试试。

caused by flashplayer,
sudo gedit /usr/bin/firefox
and add the following line as last but one line of the file:

export XLIB_SKIP_ARGB_VISUALS=1

现在 firefox应该不可能再崩溃了

Popularity: 16% [?]

Tags: , , , , ,

ubuntu 新手入门视频教程

Posted 9 months, 2 weeks ago at 11:32 am. 0 comments

这可是新手们的福音啊,Ubuntu Screencasts,各种格式可供下载,我倒是很想听听 ubuntu 相关的英语…包括下列内容

如何在win下烧盘
安装ubuntu 和 win 双启动
ubuntu 桌面定制
使用 adept 安装和升级
Evolution(邮件客户端) 使用
Gaim使用
Xchat-Gnome使用
安装flash
ubuntu 升级

Popularity: 26% [?]

Tags: , , ,

ubuntu software

Posted 9 months, 2 weeks ago at 11:32 am. 0 comments

Graphics:

* The GIMP - free software replacement for Adobe Photoshop
* F-Spot - full-featured personal photo management application for the GNOME desktop
* Google Picasa - application for organizing and editing digital photos

Internet:

* Firefox
* Opera
* Flash Player 9
* gFTP - multithreaded FTP client
* Thunderbird - email and news client
* Evolution - combines e-mail, calendar, address book, and task list management functions
* aMule - P2P file sharing application
* Bittorrent client
* Azureus - Java Bittorrent client
* Gaim - multi-platform instant messaging client
* Skype
* Google Earth
* Xchat IRC - IRC client

Office:

* OpenOffice Writer - replacement for Microsoft Word
* OpenOffice Calc - replacement for Microsoft Excel
* Adobe Reader
* GnuCash - double-entry book-keeping personal finance system, similar to Quicken
* Scribus - open source desktop publishing (DTP) application

Sound & Video:

* Amarok - audio player
* Audacity - free, open source, cross platform digital audio editor
* Banshee - audio player, can encode/decode various formats and synchronize music with Apple iPods
* MPlayer - media player (video/audio), supports WMA
* Rhythmbox Music Player - audio player, similar to Apple’s iTunes, with support for iPods
* gtkPod - software similar to Apple’s iTunes, supports iPod, iPod nano, iPod shuffle, iPod photo, and iPod mini
* XMMS - audio player similar to Winamp
* dvd::rip - full featured DVD copy program
* Kino - free digital video editor
* Sound Juicer CD Extractor - CD ripping tool, supports various audio codecs
* VLC Media Player - media player (video/audio)
* Real Player
* Totem - media player (video/audio)
* Xine - media player, supports various formats; can play DVDs
* GnomeBaker - CD/DVD burning program
* K3B - CD/DVD burning program
* Multimedia-Codecs

Programming:

* Nvu - WYSIWYG HTML editor, similar to Macromedia Dreamweaver, but not as feature-rich (yet)
* Bluefish - text editor, suitable for many programming and markup languages
* Quanta Plus - web development environment, including a WYSIWYG editor

Other:

* VMware Server - lets you run your old Windows desktop as a virtual machine under your Linux desktop, so you don’t have to entirely abandon Windows
* TrueType fonts
* Java
* Read/Write support for NTFS partitions

Ubuntu automatically installs the GNOME desktop.

Lots of our desired applications are available in the Ubuntu repositories, and some of these applications have been contributed by the Ubuntu community. The rest (except for Nvu) can be obtained by using Automatix.

I will use the username falko in this tutorial. Please replace it with your own username.

via http://www.howtoforge.com/the_perfect_desktop_ubuntu7.04

Popularity: 49% [?]

Tags: , , , , , , , , , , , , ,

ubuntu 安装 flash 8

Posted 9 months, 2 weeks ago at 11:32 am. 0 comments

和以前 ubuntu 安装 fireworks 的方法类似,从 findfiles flash 8 en这里可以下载到 flash8-en.exe。(其实是个 getright 下载管理器,执行可继续下载 flash 8 英文版,下载后在 My documents - Downloads 目录中)。

在 ubuntu 下进入 flash8-en.exe 所在目录,直接 wine flash8-en.exe 即可。

一开始我装的是中文版,但在 wine 中乱码,也许也办法让 wine 支持中文,但我还是更喜欢英文版软件。

alt+f2 ,命令行运行

wine “/home/guoshuang/.wine/drive_c/Program Files/Macromedia/Flash 8/Flash.exe”

eMule 下载 flash 8 地址

显示更多

Popularity: 15% [?]

Tags: , , , , , ,

ubuntu php-gd 不支持 imagerotate

Posted 9 months, 2 weeks ago at 11:32 am. 0 comments

很麻烦,本来想直接 php gd,难道还要 flash 不成。

以下为引用内容:

安装GD,我也成功了,那些图片函数我也可以用,但有些函数如imagerotate要在绑定的GD库下才能用
你仔细看下phpinfo里面关于GD的信息,其中那个GD Version是bundled (2.0.28 compatible)才是绑定的,如果是2.0 or higher就不是了

As you are probably aware, PHP has bundled an upgraded GD library for some time, which supports image rotation, convolution and alpha blending. The package php5-gd still uses Boutell ’s version of the library, which restricts the abilities of the PHP module.

It would be great if future versions of php5-gd can be built against PHP ’s GD library in order that the GD module can be used to its greatest extent.


via here

这个方法又看不是很懂,源里也没有 libapache2-mod-php5 的源代码。

gd 例子
http://tech.coovol.com/Programming/1189609862

php manual
http://www.php.net/manual/en/function.imagerotate.php

Note: This function is only available if PHP is compiled with the bundled version of the GD library.

有人改写的 imagerotate 函数(只能处理整90度的旋转,其实就是把每个像素的位置换位置)

http://www.php.net/manual/en/function.imagerotate.php#73193

From: https://launchpadlibrarian.net/10644096/php5_5.2.1.orig.tar.gz
To: /home/guoshuang/Desktop/php5_5.2.1.orig.tar.gz
Size: 8.6 MB (9,010,594 bytes)
Transferred: 12 KB (12,288 bytes)

https://launchpad.net/ubuntu/+source/php5/5.2.1-0ubuntu1.5

以下为引用内容:

服务器安装Debian 3.1,PHP5,也装了PHP5-GD的扩展模块。但是却出现这样的错误:Fatal error: Call to undefined function imagerotate()。
首先肯定安装了php的gd模块,而且使用其他gd函数库没有问题,使用get_extension_funcs(”gd”)查看注册的gd函数,果然没有imagerotate函数。imagerotate函数是一个旋转图片的函数,没找到其他可替代的函数。因此想到,可能是Debian的gd模块不对。查看PHP的帮助文档,里面说推荐使用PHP内置的GD库,因为有函数优化方面的考虑。于是想到,可能是因为Debian的PHP5-gd模块没有使用内置的GD库。
使用apt-get source php5-gd,下载了php5的编译源码。找到debian目录下的rule文件,其中–widh-gd=shared,/usr。证实了我最开始的想法。接下来就是重新做一个php5-gd的扩展模块,然后替代它。
制件步骤很简单:
1、修改debian目录下的changelog文件。
2、将debian目录下的rule目录中的–with-gd=shared,/usr改为–with-gd=shared。
3、在php源码的根目录dpkg-buildpackage -rfakeroot 其中会提示安装一些软件包。
4、将生成的php5-gd包解开。dpkg-deb -x php5-gd*.deb test,然后将其中的gd.so替换/usr/lib/php5/…下的gd.so。
5、重启apache。

via Debian下使用PHP GD库的问题

不错的源

http://www.dotdeb.org/mirrors

Popularity: 15% [?]

Tags: , , , , , ,

linux 下的 flash player 9 不支持背景透明

Posted 9 months, 2 weeks ago at 11:32 am. 3 comments

flash player for linux 不支持 wmode=transparent,也不支持全屏。

fullscreen 的 solaris 版本,ubuntu不行, 干脆不显示。
http://labs.adobe.com/wiki/index.php/Flash_Player:9:Update:Full-Screen_Mode:Demos

最新的 flash player(2008-01-18)也不行,还是不支持透明。
http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&P2_Platform=Linux&P3_Browser_Version=Netscape4

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

flash beta 地址:
http://labs.adobe.com/downloads/flashplayer9.html

ubuntu 中 flash 插件的位置在 /usr/lib/flashplugin-nonfree 其它地方都是符号链接。

继续寻找办法中…

Popularity: 19% [?]

Tags: , , , , , , , ,

something about suse

Posted 9 months, 2 weeks ago at 11:31 am. 0 comments

SUSE LINUX 9平台下如何在命令行下通过ifconfig命令修改网卡IP?谢谢

ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up

我的系统是ubuntu6.06,最近新装好的mysql在进入mysql工具时,总是有错误提示:
# mysql -uroot -p
Enter password:
ERROR 1045 (28000): Access denied for user ‘root’@'localhost’ (using password: NO)

使用网上介绍的方法修改root用户的密码:
# mysqladmin -uroot -p password ‘newpassword’
Enter password:
mysqladmin: connect to server at ‘localhost’ failed
error: ‘Access denied for user ‘root’@'localhost’ (using password: YES)’

现在终于被我找到了解决方法,如下(请先测试方法三,谢谢!):

方法一:
# /etc/init.d/mysql stop
# mysqld_safe –user=mysql –skip-grant-tables –skip-networking &
# mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD(’newpassword’) where USER=’root’;
mysql> FLUSH PRIVILEGES;
mysql> quit

# /etc/init.d/mysql restart
# mysql -uroot -p
Enter password: <输入新设的密码newpassword>

mysql>

方法二:
直接使用/etc/mysql/debian.cnf文件中[client]节提供的用户名和密码:
# mysql -udebian-sys-maint -p
Enter password: <输入[client]节的密码>
mysql> UPDATE user SET Password=PASSWORD(’newpassword’) where USER=’root’;
mysql> FLUSH PRIVILEGES;
mysql> quit

# mysql -uroot -p
Enter password: <输入新设的密码newpassword>

mysql>

方法三:
这种方法我没有进行过测试,因为我的root用户默认密码已经被我修改过了,那位有空测试一下,把结果告诉我,谢谢!
# mysql -uroot -p
Enter password: <输入/etc/mysql/debian.cnf文件中[client]节提供的密码>

suse+apache2+php+mysql
http://www.novell.com/coolsolutions/feature/595.html

Non-oss 非開放原碼軟體

非自由的軟體,例如 Flashplayer, Java, Opera, IPW-firmware, RealPlayer 等。
Image:susemini.png
Version:
10.2
http://download.opensuse.org/distribution/10.2/repo/non-oss/
Image:susemini.png
Version:
10.1
http://download.opensuse.org/distribution/SL-10.1/non-oss-inst-source
Image:susemini.png
Version:
10.0

* http://download.opensuse.org/distribution/SL-10.0-OSS/inst-source-java/ (Java)
* http://download.suse.com/i386/10.0/SUSE-Linux10.0-GM-Extra (Extra)

[編輯]
更新

官方的安全性及錯誤修正的更新來源
Image:susemini.png
Version:
10.2
http://download.suse.com/update/10.2/
Image:susemini.png
Version:
10.1
http://download.suse.com/update/10.1/
Image:susemini.png
Version:
10.0
http://download.suse.com/update/10.0/
[編輯]
Src-開放原碼軟體

Source RPMs. 只有進階使用者需要。
Image:susemini.png
Version:
10.2
http://download.opensuse.org/distribution/10.2/repo/src-oss/suse/
[編輯]
Src-非開放原碼軟體

Source RPMs. 只有進階使用者需要。
Image:susemini.png
Version:
10.2
http://download.opensuse.org/distribution/10.2/repo/src-non-oss/suse/
[編輯]
偵錯

包含偵錯訊息的套件。 只有進階使用者需要。
Image:susemini.png
Version:
10.2
http://download.opensuse.org/distribution/10.2/repo/debug/
[編輯]
半官方的套件庫

這些並非 openSUSE 官方提供套件庫,但他們提供了許多您可以安心使用的套件。
[編輯]
GNOME 社群版

不包含在發行版本中的 GNOME 套件,由社群維護的版本
Image:susemini.png
Version:
10.2
http://software.opensuse.org/download/GNOME:/Community/openSUSE_10.2/
Image:susemini.png
Version:
10.1
http://software.opensuse.org/download/GNOME:/Community/SUSE_Linux_10.1/
Image:susemini.png
Version:
10.0
http://software.opensuse.org/download/GNOME:/Community/SUSE_Linux_10.0/
Image:susemini.png
Version:
Factory
http://software.opensuse.org/download/GNOME:/Community/openSUSE_Factory/
[編輯]
GNOME 穩定版

更新與穩定的 GNOME 套件
Image:susemini.png
Version:
10.2
http://software.opensuse.org/download/GNOME:/STABLE/openSUSE_10.2/
Image:susemini.png
Version:
10.1
http://software.opensuse.org/download/GNOME:/STABLE/SUSE_Linux_10.1/
Image:susemini.png
Version:
10.0
http://software.opensuse.org/download/GNOME:/STABLE/SUSE_Linux_10.0/
[編輯]
GNOME 非穩定版

最新版的 GNOME 套件 請注意!就如這個套件庫名稱所顯示的,不保證這些軟體的穩定性。
Image:susemini.png
Version:
10.2
http://software.opensuse.org/download/GNOME:/UNSTABLE/openSUSE_10.2/
Image:susemini.png
Version:
10.1
http://software.opensuse.org/download/GNOME:/UNSTABLE/SUSE_Linux_10.1/
[編輯]
KDE 修正版 (Backports)

由最新版本的 KDE 應用程式回饋修正到 KDE 官方支援版本。也適用於最新版的 KDE。
Image:susemini.png
Version:
10.2
http://software.opensuse.org/KDE:/Backports/openSUSE_10.2/
Image:susemini.png
Version:
10.1
http://software.opensuse.org/KDE:/Backports/SUSE_Linux_10.1/
Image:susemini.png
Version:
10.0
http://software.opensuse.org/KDE:/Backports/SUSE_Linux_10.0/
[編輯]
KDE 核心套件

最新版本的 KDE。 如何升級到最新版本的 KDE 請參考 這裡。
Image:susemini.png
Version:
10.2
http://software.opensuse.org/KDE:/KDE3/openSUSE_10.2/
Image:susemini.png
Version:
10.1
http://software.opensuse.org/KDE:/KDE3/SUSE_Linux_10.1/
Image:susemini.png
Version:
10.0
http://software.opensuse.org/KDE:/KDE3/SUSE_Linux_10.0/
[編輯]
KDE 社群版

不包含在發行版本中的套件,由社群維護的版本。
Image:susemini.png
Version:
10.2
http://software.opensuse.org/KDE:/Community/openSUSE_10.2
Image:susemini.png
Version:
10.1
http://software.opensuse.org/KDE:/Community/SUSE_Linux_10.1/
Image:susemini.png
Version:
10.0
http://software.opensuse.org/KDE:/Community/SUSE_Linux_10.0/
[編輯]
KDE 遊樂場

KDE 應用程式的開發中版本以及諸如此類的。
Image:susemini.png
Version:
10.2
http://software.opensuse.org/KDE:/Playground/openSUSE_10.2/
Image:susemini.png
Version:
10.1
http://software.opensuse.org/KDE:/Playground/SUSE_Linux_10.1/
Image:susemini.png
Version:
10.0
http://software.opensuse.org/KDE:/Playground/SUSE_Linux_10.0/
[編輯]
KDE 4

由 SVN 取得的快照版本。可供開發者使用。
Image:susemini.png
Version:
10.2
http://software.opensuse.org/KDE:/KDE4/openSUSE_10.2/

Popularity: 11% [?]

Tags: , , , , , , ,

ad 468x60