个人设置记录心得

仅供存放个人的配置文件,不要在本版发问。
头像
iamfbi
帖子: 1081
注册时间: 2009-02-06 9:18
来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也

Re: 个人设置记录心得

#46

帖子 iamfbi » 2011-10-16 11:53

rar解压乱码问题
删除rar 软件包(archive for .rar file),安装unrar软件包(Unarchiver for .rar files (non-free version))
Laptop: i5-460m hm55 4g 320g hd5470 14'led 2.3kg (acer 4738g)
Windows XP 7 8 all in one partition.
Ubuntu 10.04 LTS
Mac OS X 10.6.7
折腾笔记
论坛随手记
sinhag-er
帖子: 9
注册时间: 2011-04-10 19:26

Re: 个人设置记录心得

#47

帖子 sinhag-er » 2011-10-31 10:34

iamfbi 写了:安装WIN字体到UBUNTU

代码: 全选

1.打开fonts文件夹
sudo gnome-open /usr/share/fonts

2.新建一个文件夹“winfonts”

3.权限设置
sudo chmod 755 windows7fonts -R

4.建立字体缓存
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv 
yu@u:~$ sudo gnome-open /usr/share/fonts
sudo: gnome-open: command not found
头像
iamfbi
帖子: 1081
注册时间: 2009-02-06 9:18
来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也

Re: 个人设置记录心得

#48

帖子 iamfbi » 2011-11-03 12:59

sinhag-er 写了:
iamfbi 写了:安装WIN字体到UBUNTU

代码: 全选

1.打开fonts文件夹
sudo gnome-open /usr/share/fonts

2.新建一个文件夹“winfonts”

3.权限设置
sudo chmod 755 windows7fonts -R

4.建立字体缓存
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv 
yu@u:~$ sudo gnome-open /usr/share/fonts
sudo: gnome-open: command not found
大概你是用gnome3吧,命令是什么我也不知道了
Laptop: i5-460m hm55 4g 320g hd5470 14'led 2.3kg (acer 4738g)
Windows XP 7 8 all in one partition.
Ubuntu 10.04 LTS
Mac OS X 10.6.7
折腾笔记
论坛随手记
头像
iamfbi
帖子: 1081
注册时间: 2009-02-06 9:18
来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也

Re: 个人设置记录心得

#49

帖子 iamfbi » 2011-12-24 9:17

eCrytfs 用于加密文件

存放在硬盘上的内容是经过加密的,必须知道密码和加密设置才能进行解密。
安全性很高,不像windows里所谓的加密软件,只是把文件隐藏而己。
此软件只能把文件加密,防止别人阅读,不能防止被人删除。
缺点:挂载过程太复杂繁琐,但可能相对安全性更高。

安装

安装eCrytfs:
$sudo apt-get install ecryptfs-utils

创建一个目录用于存放加密文件:
$mkdir ~/.Files

给这个目录设置权限让他人无法访问:
$chmod 700 ~/.Files

创建一个目录用于挂载文件:
$mkdir ~/Files

挂载

挂载加密文件夹:
sudo mount -t ecryptfs ~/.Files ~/Files (把前面的文件夹加密挂载到后面的目录中,此处如需密码是sudo要用的密码)

挂载选项:
passphrase:(加密文件夹的密码,自设。)

select cipher:
1) aes: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
2) blowfish: blocksize = 16; min keysize = 16; max keysize = 56 (not loaded)
3) des3_ede: blocksize = 8; min keysize = 24; max keysize = 24 (not loaded)
4) twofish: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
5) cast6: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
6) cast5: blocksize = 8; min keysize = 5; max keysize = 16 (not loaded)
Selection [aes]: (选择加密方式,默认是[aes]。)

:Select key bytes:
1) 16
2) 32
3) 24
(选择加密位数,默认是[16]。)

Enable plaintext passthrough(y/n) [n]:
(是否允许使用明文, n)

Enable filename encryption (y/n) [n]:
(是否把文件名也进行加密,y)

Filename Encryption Key (FNEK) Signature [xxxxxxxx]: (提示加密选项,和例行警告)
Attempting to mount with the following options:
ecryptfs_unlink_sigs
ecryptfs_fnek_sig=xxxxxxxx
ecryptfs_key_bytes=16
ecryptfs_cipher=aes
ecryptfs_sig=xxxxxxxx
WARNING: Based on the contents of [/root/.ecryptfs/sig-cache.txt],it looks like you have never mounted with this key before. This could mean that you have typed your passphrase wrong.

Would you like to proceed with the mount (yes/no)? : yes(再次确认挂载)

Would you like to append sig [xxxxxxxx] to [/root/.ecryptfs/sig-cache.txt]
in order to avoid this warning in the future (yes/no)? : no(保存密钥到记录中,以避免提示,no)
Not adding sig to user sig cache file; continuing with mount.

Mounted eCryptfs (己成功挂载,可以进行读写文件了)
(注意:以上的加密的所有选项,必须记住,解密时必须用相同的设置)

卸载

卸载加密文件夹
sudo umount ~/Files
Laptop: i5-460m hm55 4g 320g hd5470 14'led 2.3kg (acer 4738g)
Windows XP 7 8 all in one partition.
Ubuntu 10.04 LTS
Mac OS X 10.6.7
折腾笔记
论坛随手记
mypotato
帖子: 54
注册时间: 2010-10-19 0:11

Re: 个人设置记录心得

#50

帖子 mypotato » 2011-12-28 19:28

大神,膜拜ORZ :em11
头像
iamfbi
帖子: 1081
注册时间: 2009-02-06 9:18
来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也

Re: 个人设置记录心得

#51

帖子 iamfbi » 2012-01-10 14:05

解决ubuntu 10.04下使用google earth 6.1中文问题

从官方网站下载ubuntu版的deb安装包,并安装。

安装所需库
sudo apt-get install lsb-core libfreeimage3 libqt4-webkit

删除QT库
sudo rm /opt/google/earth/free/libQt*.*

修改googleearth文件
sudo gedit /opt/google/earth/free/googleearth
在最后的 LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin “$@”
前一行插入: export LD_PRELOAD=/usr/lib/libfreeimage.so.3
Laptop: i5-460m hm55 4g 320g hd5470 14'led 2.3kg (acer 4738g)
Windows XP 7 8 all in one partition.
Ubuntu 10.04 LTS
Mac OS X 10.6.7
折腾笔记
论坛随手记
头像
qq420100523
帖子: 1684
注册时间: 2009-07-31 18:56
系统: windows、ubuntu
来自: 广东阳江

Re: 个人设置记录心得

#52

帖子 qq420100523 » 2012-01-10 14:49

神贴。留名。 :em02
上次由 qq420100523 在 2012-12-06 18:02,总共编辑 1 次。
头像
iamfbi
帖子: 1081
注册时间: 2009-02-06 9:18
来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也

Re: 个人设置记录心得

#53

帖子 iamfbi » 2012-02-16 14:01

Ubuntu日历显示农历

1,使用命令
sudo apt-get install lunar-applet
2,删除原日期显示,右键单击面板,“添加到面板–农历日期”。轻松解决


可能日期干支表示法里没有“年月日“,解决办法
代码:
cd /usr/local/share/locale/en_US/LC_MESSAGES
sudo msgunfmt liblunar.mo -o liblunar.po
编辑liblunar.po
把 liblunar.po 里的 msgstr "年 %(shengxiao) %(Y60)%(M60)%(D60)" 修改为 msgstr "年 %(shengxiao) %(Y60)年%(M60)月%(D60)日"
然后:
代码:
sudo msgfmt liblunar.po -o liblunar.mo
sudo rm liblunar.po
Screenshot_1.jpeg
Screenshot_1.jpeg (25.33 KiB) 查看 15074 次
Laptop: i5-460m hm55 4g 320g hd5470 14'led 2.3kg (acer 4738g)
Windows XP 7 8 all in one partition.
Ubuntu 10.04 LTS
Mac OS X 10.6.7
折腾笔记
论坛随手记
风无心
帖子: 74
注册时间: 2010-10-18 15:13
联系:

Re: 个人设置记录心得

#54

帖子 风无心 » 2012-02-21 9:27

牛hkd贴。。。。。。。。。。。。。。。。。。。。。。。。
头像
iamfbi
帖子: 1081
注册时间: 2009-02-06 9:18
来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也

Re: 个人设置记录心得

#55

帖子 iamfbi » 2012-02-23 17:14

Nautilus cannot handle "smb" locations.(Nautilus 无法处理 "smb" 位置.)的解决办法

安装有关gvfs的一些包。。
sudo apt-get -f install gvfs gvfs-fuse gvfs-bin gvfs-backends libgvfscommon0 gimp
Laptop: i5-460m hm55 4g 320g hd5470 14'led 2.3kg (acer 4738g)
Windows XP 7 8 all in one partition.
Ubuntu 10.04 LTS
Mac OS X 10.6.7
折腾笔记
论坛随手记
LingU
帖子: 130
注册时间: 2010-12-17 13:16

Re: 个人设置记录心得

#56

帖子 LingU » 2012-05-06 7:32

标记。感谢!
头像
iamfbi
帖子: 1081
注册时间: 2009-02-06 9:18
来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也

Re: 个人设置记录心得

#57

帖子 iamfbi » 2012-11-10 10:04

RTL8187L驱动安装

我的无线网卡网络芯片是RTL8187L。

1.到realtek官方网站下载无线网卡RTL8187L驱动源代码包。
http://www.realtek.com/downloads/downlo ... e#RTL8187L
4.解压下载到的驱程,在终端进入驱动源代码目录,编译驱动。
sudo make
sudo make install
呵呵,重启后成功。

最主要编辑/etc/udev/rules.d/70-persistent-net.rules文件。
更改MAC,把wlan0让出来给8187L。
否则8187L不能分配为wlan1,而显示wlan%d。

因为8187L的驱动就占着wlan0来写的,如果在8187L前wlan0分配给了其他无线网卡,是会起冲突的。
Laptop: i5-460m hm55 4g 320g hd5470 14'led 2.3kg (acer 4738g)
Windows XP 7 8 all in one partition.
Ubuntu 10.04 LTS
Mac OS X 10.6.7
折腾笔记
论坛随手记
头像
tang.zhe
帖子: 1505
注册时间: 2010-07-15 13:31

Re: 个人设置记录心得

#58

帖子 tang.zhe » 2012-12-06 16:34

iamfbi 写了:Ubuntu日历显示农历
...[/attachment]
请问12.x下如何使用?
lijunchengbeyond
帖子: 1
注册时间: 2012-09-26 23:52
系统: 12.04

Re: 个人设置记录心得

#59

帖子 lijunchengbeyond » 2013-02-13 19:44

Windows XP 7 8 all in one partition.
这个是怎么做到的???
头像
iamfbi
帖子: 1081
注册时间: 2009-02-06 9:18
来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也

Re: 个人设置记录心得

#60

帖子 iamfbi » 2013-02-13 22:18

lijunchengbeyond 写了:Windows XP 7 8 all in one partition.
这个是怎么做到的???
改注册表,把XP 和7 各自放到自建的文件夹中,改引导文件。
Laptop: i5-460m hm55 4g 320g hd5470 14'led 2.3kg (acer 4738g)
Windows XP 7 8 all in one partition.
Ubuntu 10.04 LTS
Mac OS X 10.6.7
折腾笔记
论坛随手记
回复