小程序enjoytime 3.1发布_2013-4-14更新

软件和网站开发以及相关技术探讨
回复
头像
careone
帖子: 839
注册时间: 2007-12-17 21:41

小程序enjoytime 3.1发布_2013-4-14更新

#1

帖子 careone » 2012-05-12 13:19

新贴名:
小程序enjoytime 3.1发布_2013-4-14更新
下载地址:
https://sourceforge.net/projects/emacsl ... enjoytime/
语法选项及功能见3楼
原贴名:
* openfetion改用中国移动飞信官方主题
* 小软件enjoytime 3.0新版本发布,增加更多实用内容[2012/5/12更新]
enjoytime_3.0_all.deb
2012.5.12更新
(612.93 KiB) 已下载 124 次
郑重感谢:
enjoytime的原始程序来自 ljj_jjl2008 兄弟的 wharf 程序,经过多次更新才有现在的 enjoytime 3.0:
**********************
来源: http://forum.ubuntu.org.cn/viewtopic.ph ... 2&start=15
我发掘整理的一个Wharf(图标化的启动菜单),依赖很少,可以独立运行于任何桌面。---2012.04.05最后更新

**********************
目前原作者(ljj_jjl2008)的 wharf程序已变化为 iconmenu 和 icon.de桌面环境 两个项目(截止2012.5),我个人会继续关注。如果时机合适,会继续推出新版的程序。也多谢各位网友的支持和关心!

注:下面网址的 enjoytime 旧版本及贴子不再更新
小程序 enjoytime[2011/11/2]更新
http://forum.ubuntu.org.cn/viewtopic.php?f=88&t=347692


careone <careone@139.com>
2012.5.11

-----------------
enjoytime 3.0_all.deb 的功能
使用说明:启动程序后,程序会在屏幕左上角自动隐藏,鼠标移到左上角时,程序会自动弹出。

(安装后可能在amd64平台上运行不了,但有部分独立的命令可以单独执行,详见下面的说明):

1. 在旧版本基础上,去除了大量游戏菜单,补充更多实用功能;
2. 加入退出菜单选项(见主程序菜单最后一排图标)和系统托盘功能;
3. 调整背景底图为鹅黄色纯色底图,视觉效果更自然舒适;
4. 加入“自定义程序菜单”操作提示(见主程序菜单最后一排图标);
5. 保留旧版本的菜单文件(/usr/local/share/enjoytime/menu.rc.d/menu.rc.20111101),可以直接复制替换 /usr/local/share/enjoytime/menu.rc 文件快速地调用旧版本中众多的街机游戏菜单;
6. 微调了部分图标的显示效果;
7. 优化菜单内容的先后顺序;
8. 集成了之前个人编写的几个实用小程序:fcitx-patch/fcitx-patch-gtk(修复fcitx菜单乱码和gedit中文显示乱码问题,原理是调整和加入部分配置文件;fetion-theme-switch/fetion-theme-switch-gtk(更改openfetion主题:中国移动飞信官方主题/新的状态图标主题/openfetion原始主题,三种主题随意转换;)
9. 序号8提到的几个程序,也可以直接从命令行或图形界面启动:
fetion-theme-switch --help (命令行)
fetion-theme-switch-gtk (图形界面)

fcitx-patch --help (命令行)
fcitx-patch-gtk (图形界面)
10. 如果有网友之前因为 gedit打开中文文件经常乱码,安装完本软件后没做任何改动却突然发现gedit打开中文文件显示却完全正常,不用惊讶,这只是本软件集成的 几个 "%gconf.xml"文件的作用。(原理我在 forum.ubuntu.org.cn上写过一个帖子,说明了原理,同时单独打过一个叫做 fcitx-patch 的deb软件包,有空的朋友看过就会明白了。注意:本软件enjoytime已经完全包含了 fcitx-patch软件包,不用再单独安装我很久以前写的那个fcitx-patch软件包);

11. openfetion飞信的那一套状态图标主题,是我空闲的时候设计的,个人感觉还算直观清爽。图标原理及创意如下:
这5个文件名后缀是.SVG,图片实际上是png格式.

away.svg: PNG image, 16 x 16, 8-bit/color RGBA, non-interlaced
busy.svg: PNG image, 16 x 16, 8-bit/color RGBA, non-interlaced
invisible.svg: PNG image, 16 x 16, 8-bit/color RGBA, non-interlaced
offline.svg: PNG image, 16 x 16, 8-bit/color RGBA, non-interlaced
online.svg: PNG image, 16 x 16, 8-bit/color RGBA, non-interlaced
新的状态图标主题
新的状态图标主题
在线:从@符号变化而来.绿色取自PIDGIN的在线状态图片;
忙碌:颜色取自稻穗的金黄色,代表为丰收而忙碌(之前有用紫色,但感觉紫色有些刺眼,改为金黄色更能让人心情舒畅);
离开:颜色为太空蓝.方框里的一横,代表"人离开,座位在";
隐身:颜色取自MAC经典的钛黑.方框里的四点,代表若隐若现;
离线:颜色取自MAC经典的钛黑.人已离开,空空如也.
切换openfetion主题
切换openfetion主题
修复gedit打开中文文件乱码及其它中文相关问题
修复gedit打开中文文件乱码及其它中文相关问题
程序退出
程序退出
系统托盘
系统托盘
enjoytime-tray.jpg (4.67 KiB) 查看 2425 次
Careone <careone@139.com>, 2012.5.11
***
popo.png
popo.png (1.95 KiB) 查看 2302 次
sina-uc.png
sina-uc.png (4.41 KiB) 查看 2302 次
renren.png
renren.png (1.04 KiB) 查看 2302 次
sina-weibo.png
sina-weibo.png (3.73 KiB) 查看 2302 次
pidgin-plugin-logoes-zh-cn.zip
(26.58 KiB) 已下载 109 次
上次由 careone 在 2013-04-14 17:58,总共编辑 5 次。
魁拔不死,天下不宁。
魁拔既死,天下不平。
--------------
Careone <emacslocale^126.com>
https://sourceforge.net/projects/emacslocale/files/
头像
quanru
帖子: 336
注册时间: 2009-11-25 11:24

Re: 小软件enjoytime 3.0新版本发布,增加更多实用内容[2012/5/12更新]

#2

帖子 quanru » 2012-05-12 15:09

let me look look
望青年不怨天尤人不贪图安逸
头像
careone
帖子: 839
注册时间: 2007-12-17 21:41

Re: 小程序enjoytime 3.1发布_2013-4-14更新

#3

帖子 careone » 2013-04-14 18:04

主模块: system-grasp
命令行:
system-grasp --tips

## -*- coding: utf8 -*-

old file name: fixmaster-zh-cn
new file name(since ver 1.1): system-grasp

version: 1.1
2013-04-14 updated, by Careone <emacs-locale@qq.com>
----------------

cmd:

代码: 全选

system-grasp --tips
* Chapter 1: Base Operations

** example 1: system-grasp --fcitx
自动检测已安装的适合 fcitx 使用的字体,并修改 ~/.fcitx/config 配置文件。
说明:
本程序仅针对早期版本的 fcitx 进行字体调整(配置文件中使用中文字符串来设置
参数)。较新版本的 fcitx 程序,配置文件已改用英文字符串来设置参数,因此不再适
用。

** example 2: system-grasp --vi zh_CN
设置 VI/VIM/GVIM 的字符编码,以便在终端/控制台/图形界面能正常显示中文菜单和中
文文本文件内容。
说明:
本程序目前已支持 --vi [zh_CN | zh_TW] 选项,但 zh_TW 选项暂未进行充分测试使用,
使用效果暂不确定。

** example 3: system-grasp --ugedit zh_CN
(用户级别)设置“当前用户”的 gedit 字符编码,以便能正常显示中文文本文件内容。
说明:
运行命令后,需要注销用户,并重新登录到图形界面即可生效。

** example 4: system-grasp --ggedit zh_CN
请以 root 用户,或者 sudo/sudo 来运行本命令。
(全局生效)设置“所有用户”的 gedit 字符编码,以便能正常显示中文文本文件内容。
说明:
运行命令后,普通用户在下次登录到图形界面时即可生效。如果用户自行设定了相关字符
编码,以用户的设定值为准,忽略全局设置。
如果想使用全局设置,请删除下面的 gedit 设置文件(删除前请先备份原文件):
~/.gconf/apps/gedit-2/preferences/encodings/%gconf.xml
注销并重新登录到图形界面即可生效。

** example 5: system-grasp --zhcon
请以 root 用户,或者 sudo/sudo 来运行本命令。
如果检测到 zhcon 已安装,添加3条可执行命令到目录 /usr/local/bin/
详细功能如下:

*** 以帧缓冲(fb, framebuffer)和 utf8 模式启动 zhcon
/usr/local/bin/zhcon.fb
作用相当于直接运行 zhcon --drv=fb --utf8

*** 以 vga 和 utf8 模式启动 zhcon
/usr/local/bin/zhcon.vga
作用相当于直接运行 zhcon --drv=vga --utf8

*** 以 utf8 模式启动 zhcon
/usr/local/bin/zhcon.utf8
作用相当于直接运行 zhcon --utf8

* Chapter 2: Todo
以后可能会陆续补充和完善其它功能,敬请期待。
命令行:

代码: 全选

system-grasp -h
Usage: system-grasp [OPTION]
examples:
system-grasp --fcitx
system-grasp --fcitx-wbpy-only
system-grasp --ggedit zh_CN (root please)
system-grasp --ugedit zh_CN
system-grasp --vi zh_CN
system-grasp --zhcon (root please)

system-grasp --xorg-failsafe (root please)
system-grasp --xorg-reset (root please)

OPTIONS
Chinese related
--fcitx [auto | wqy-microhei | wqy-zenhei]
(User) set font for FCITX Chinese input method.
-fo, --fcitx-wbpy-only
(User) use Fcitx Wubi and Pinyin only (disable others)
--zhcon
creat zhcon.utf8, zhcon.fb and zhcon.vga for Chinese users.
(root please)

Editors related
--ggedit LANG
(Global) fix gedit to support Chinese GB2312/GBK/GB18030 encondings well.
example: --ggedit zh_CN
--ugedit LANG
(User) fix gedit to support Chinese GB2312/GBK/GB18030 encondings well.
example: --ugedit zh_CN

--vi LANG
(User) fix VI/VIM/GVIM to support some languages well,
now support zh_CN (Chinese, China) only.
example: --vi zh_CN
--vif LANG
(User) FORCE fix VI/VIM/GVIM to support some languages
well, such as zh_CN (Chinese, China) and more.
example: --vif zh_CN

Xorg related
-xf, --xorg-failsafe
switch video card to failsafe mode. (root please)
if your video card support Linux/Unix/BSD bad, try this option
-xr, --xorg-reset
reset default xorg.conf setting. Equal delete /etc/X11/xorg.conf
(root please)

Misc
--tips show tips and exit
-x, --extra show extra functions and exit
-v, --version print the version information and exit
-h, --help print this message and exit
附加模块

代码: 全选

system-grasp --extra
extra functions:
* sound-theme-switch --winxp
enable to Windows XP sound theme

* fetion-theme-switch -f1
enable official China Mobile Fetion theme (auto backup)

* system-grasp --et-game
toggle Enjoytime menu to game mode
* system-grasp --et
reset Enjoytime menu to default mode
魁拔不死,天下不宁。
魁拔既死,天下不平。
--------------
Careone <emacslocale^126.com>
https://sourceforge.net/projects/emacslocale/files/
回复