gimp 工具栏调整

Posted 11 months, 1 week ago at 11:32 am. 0 comments

打开 ~/.gimp-2.2/toolrc 文件(gimp 2.3 目录为 ~/.gimp-2.2/toolrc),把下面移动工具(move)部分的内容放到最前面即可

(GimpToolInfo “gimp-move-tool”
(stock-id “gimp-tool-move”)
(visible yes))

visible yes 表示显示此工具

参考 調整 gimp tools button

Popularity: 17% [?]

Tags: , ,

VLC remote interface

Posted 11 months, 1 week ago at 11:32 am. 0 comments

vlc -I http

默认 /usr/share/vlc/http 和 8080

http://127.0.0.1:8080/ 控制

http://www.videolan.org/doc/play-howto/en/ch04.html
http://www.videolan.org/doc/play-howto/en/apb.html

The HTTP interface

VLC ships with a little HTTP server integrated. It is used both to stream using HTTP, and for the HTTP remote control interface.

To start VLC with the HTTP interface, use:

% vlc -I http [--http-src /directory/ --http-host host:port]

If you want to have both the “normal” interface and the HTTP interface, use vlc –extraintf http.

The HTTP interface will start listening at host:port (:8080 if omitted), and will reproduce the structure of /directory at http://host:port/ ( vlc_source_path/share/http if omitted ).

Use a browser to go to http://your_host_machine:port. You should be taken to the main page

VLC is shipped with a set of files that should be enough for generic needs. It is also possible to customize pages. See Appendix B, Building pages for the HTTP interface.

Available pages are :

/index.html gives access to the playlist, allows you to add or delete items and to control playback.
/info.html gives you statistics and data about the usage of the server.
/admin/. This folder gives more power and is therefore protected by a login/password. The default couple is admin/admin. The passwords and users can be changed in the .access file in the VLC_directory/share/http/admin folder. (Each folder can be protected, see Appendix B, Building pages for the HTTP interface for more details).
/vlm/. This folder allows you to control the VideoLAN manager (VLM). The VLM allows you to stream several input streams with only one VLC instance. For more information about VLM, please look at the Streaming Howto.

Popularity: 9% [?]

Tags: ,

windows软件的linux下替代品

Posted 11 months, 1 week ago at 11:32 am. 0 comments

via http://www.linuxeq.com/

推荐这个列表
视窗软件的Linux类似/替换/相近品

Popularity: 11% [?]

Tags: ,

ubuntu 软件安装包备份

Posted 11 months, 1 week ago at 11:32 am. 0 comments

原文来自 Backup installed packages on ubuntu,蛮有趣的,大约内容如下:

所有通过 synaptic(新立得)、apt-get、aptitude(shell 模式的新立得)安装的软件,都会在

/var/cache/apt/archives

留下 .deb 安装包。备份这些文件就可以很方便的重装或者新装ubuntu。另外,作者还介绍了一个图形化的刻盘工具—APTonCD

APTonCD is a tool with a graphical interface which allows you to create one or more CDs or DVDs (you choose the type of media) with all of the packages you’ve downloaded via APT-GET or APTITUDE, creating a removable repository that you can use on other computers.One thing you need to remember this will create backup all the packages installed using apt-get,synaptic because these package arcives are stored in /var/cache/apt/archives

APTonCD will also allow you to automatically create media with all of your .deb packages located in one especific repository, so that you can install them into your computers without the need for an internet conection.

Popularity: 32% [?]

Tags: , , , , , ,

ubuntu 视频

Posted 11 months, 1 week ago at 11:32 am. 0 comments

有人试着同时打开 ubuntu 程序菜单的所有程序(40个以上),证明 ubuntu 是如此的稳定和高效。
Video of Ubuntu Edgy Eft’s (knot 2) stability/performance

30 种 beryl 效果演示
30 Beryl effects on Linux Ubuntu Edgy Eft (pt.1)

Popularity: 13% [?]

Tags: , , ,

ssh 相关的一点小技巧

Posted 11 months, 1 week ago at 11:32 am. 0 comments

vi /etc/ssh/sshd_config 如下:
Port 44444
Protocol 2
PermitRootLogin without-password #root用户必须有key才能登陆
UseDNS no
PasswordAuthentication no # 强制只有key才能登陆

# 以上仅针对登陆机

# 如何来建立自己名字的key呢?
ssh-keygen -C bixuan -t dsa

如果是从secureCRT生成的,那必须转换一下:
ssh-keygen -i -f Identity.pub >> authorized_keys

如个openssh的版本低于2.9
那么请用:
ssh-keygen -X -f Identity.pub >> authorized_keys

即可

附注:(建议ListenAddress 0.0.0.0改成只监听内网ip,省得开销iptables。laurence注)

# cat /etc/ssh/sshd_config
UseDNS no
Port 44444
Protocol 2
PermitRootLogin without-password
#PermitRootLogin yes|No
PasswordAuthentication no
Subsystem sftp /usr/libexec/openssh/sftp-server

Popularity: 9% [?]

Tags: ,

feisty 安装 NTFS 分区写入支持

Posted 11 months, 1 week ago at 11:32 am. 0 comments

读 ntfs 分区本来就没问题。要加入NTFS分区写入支持,在 feisty 中很容易。直接安装 ntfs-config 即可

sudo apt-get install ntfs-config

打开 系统工具 - NTFS 写入支持配置程序,勾选 启用内(外)部设备写支持即可。以后就可以写 NTFS 分区了。

Widows NTFS Partitions Read/write support made easy in Ubuntu Feisty

相关日志:

windows 查看 linux 分区工具
windows 访问ubuntu 目录 SMB

Popularity: 37% [?]

Tags: , , , , , , , ,

ubuntu 下的音乐播放器

Posted 11 months, 1 week ago at 11:32 am. 0 comments

Beep Media Player
简单的播放器

Banshee
音乐管理和播放
Import, organize, play, and share your music using Banshee’s simple, powerful interface.
Rip CDs, play and sync your iPod, create playlists, and burn audio and MP3 CDs. Most portable music devices are supported.

Rhythmbox
带 Album 管理的播放器

Listen

据说是最好的音乐播放器。

A nice music player and manager for GNOME

With Listen you can:

- Play your favorite songs
- Manage your library
- Make playlists
- Automatically or manually download album covers
- Automatically synchronize album covers with iPod
- Easily burn an audio CD
- Directly get informations from wikipedia when you play a song
- See the lyrics of a song
- Have statistics about your favorite songs, albums or artists
- Listen to web radio
- Submit your songs to Audioscrobbler
- Quick access to last.fm related file

XMMS
老牌播放器,现在显得有点过时了。

quod libet

amarok
KDE下的播放器。功能强大。我喜欢它的 win+b 下一首歌快捷键,以及显在在系统托盘功能。

Muine Music Player
简洁、舒适的播放器

mplayer
强大的播放器,甚至可以在tty终端中播放。就是图形界面差了些。

kaffeine
KDE 音乐播放器。

Juk
KDE 播放器

Quod Libet
Quod Libet is a GTK+-based audio player written in Python. It’s designed around the idea that you know how to organize your music better than we do. It lets you make playlists based on regular expressions (don’t worry, regular searches work too). It lets you display and edit any tags you want in the file. And it lets you do this for all the file formats it supports — Ogg Vorbis, FLAC, MP3, Musepack, and MOD.

exaile

Exaile
is a music player aiming to be similar to KDE’s Amarok, but for GTK+ and written in Python.

Decibel Audio Player

Decibel Audio Player is a GTK+ open-source (GPL license) audio player designed for GNU/Linux, which aims at being very straightforward to use by mean of a very clean and user friendly interface. It is especially targeted at Gnome and will follow as closely as possible the Gnome HIG.

相关日志:

linux mp3 中文乱码问题
ubuntu 媒体
Guide to Best Linux [Ubuntu (GNOME)] Applications
ubuntu 下中文字幕问题
ubuntu 下让 totem 播放 rmvb
ubuntu feisty amd64 播放 rmvb 问题

Popularity: 70% [?]

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

linux 命令行英->中翻译

Posted 11 months, 1 week ago at 11:32 am. 0 comments

如果没有 w3m(文本浏览器) 的话,先安装

sudo apt-get install w3m

然后建立自己的脚本

sudo gedit /usr/local/bin/dict

内容如下:

#!/bin/bash
w3m http://www.ipark.cn/page/dic.asp?w=$1

保存退出。修改 dict 权限

sudo chmod 755 /usr/local/bin/dict

以后执行
dict fire 就可以查询 fire 的中文翻译。

此方法参考 Multilingual dictionary via command line in Ubuntu 得出。注意:因为ipark.cn是gb2312而不是utf-8所以不能中译英(因为乱码),请自行改为支持 utf-8的翻译站点。

google translate url

http://translate.google.com/translate_t?text=fire&hl=en&langpair=en|zh-CN&tbb=1&ie=UTF-8
http://translate.google.com/translate_t?text=%E8%AF%B4&hl=en&langpair=zh|en&tbb=1&ie=UTF-8

Popularity: 14% [?]

Tags: , , , ,

ubuntu feisty amd64 安装 flash

Posted 11 months, 1 week 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: 30% [?]

Tags: , , , , , , , ,

ad 468x60