删除rar 软件包(archive for .rar file),安装unrar软件包(Unarchiver for .rar files (non-free version))
个人设置记录心得
- iamfbi
- 帖子: 1081
- 注册时间: 2009-02-06 9:18
- 来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也
Re: 个人设置记录心得
rar解压乱码问题
-
- 帖子: 9
- 注册时间: 2011-04-10 19:26
Re: 个人设置记录心得
yu@u:~$ sudo gnome-open /usr/share/fontsiamfbi 写了:安装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
sudo: gnome-open: command not found
- iamfbi
- 帖子: 1081
- 注册时间: 2009-02-06 9:18
- 来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也
Re: 个人设置记录心得
大概你是用gnome3吧,命令是什么我也不知道了sinhag-er 写了:yu@u:~$ sudo gnome-open /usr/share/fontsiamfbi 写了:安装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
sudo: gnome-open: command not found
- iamfbi
- 帖子: 1081
- 注册时间: 2009-02-06 9:18
- 来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也
Re: 个人设置记录心得
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
存放在硬盘上的内容是经过加密的,必须知道密码和加密设置才能进行解密。
安全性很高,不像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
-
- 帖子: 54
- 注册时间: 2010-10-19 0:11
Re: 个人设置记录心得
大神,膜拜ORZ
- iamfbi
- 帖子: 1081
- 注册时间: 2009-02-06 9:18
- 来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也
Re: 个人设置记录心得
解决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
从官方网站下载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
- qq420100523
- 帖子: 1684
- 注册时间: 2009-07-31 18:56
- 系统: windows、ubuntu
- 来自: 广东阳江
- iamfbi
- 帖子: 1081
- 注册时间: 2009-02-06 9:18
- 来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也
Re: 个人设置记录心得
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
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
-
- 帖子: 74
- 注册时间: 2010-10-18 15:13
- 联系:
Re: 个人设置记录心得
牛hkd贴。。。。。。。。。。。。。。。。。。。。。。。。
- iamfbi
- 帖子: 1081
- 注册时间: 2009-02-06 9:18
- 来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也
Re: 个人设置记录心得
Nautilus cannot handle "smb" locations.(Nautilus 无法处理 "smb" 位置.)的解决办法
安装有关gvfs的一些包。。
sudo apt-get -f install gvfs gvfs-fuse gvfs-bin gvfs-backends libgvfscommon0 gimp
安装有关gvfs的一些包。。
sudo apt-get -f install gvfs gvfs-fuse gvfs-bin gvfs-backends libgvfscommon0 gimp
-
- 帖子: 130
- 注册时间: 2010-12-17 13:16
Re: 个人设置记录心得
标记。感谢!
- iamfbi
- 帖子: 1081
- 注册时间: 2009-02-06 9:18
- 来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也
Re: 个人设置记录心得
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分配给了其他无线网卡,是会起冲突的。
我的无线网卡网络芯片是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分配给了其他无线网卡,是会起冲突的。
- tang.zhe
- 帖子: 1505
- 注册时间: 2010-07-15 13:31
Re: 个人设置记录心得
请问12.x下如何使用?iamfbi 写了:Ubuntu日历显示农历
...[/attachment]
Ubuntu 命令技巧: http://wiki.ubuntu.org.cn/index.php?tit ... iant=zh-cn
Ubuntu 桌面指南: https://help.ubuntu.com//
Ubuntu 桌面指南: https://help.ubuntu.com//
-
- 帖子: 1
- 注册时间: 2012-09-26 23:52
- 系统: 12.04
Re: 个人设置记录心得
Windows XP 7 8 all in one partition.
这个是怎么做到的???
这个是怎么做到的???
- iamfbi
- 帖子: 1081
- 注册时间: 2009-02-06 9:18
- 来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也
Re: 个人设置记录心得
改注册表,把XP 和7 各自放到自建的文件夹中,改引导文件。lijunchengbeyond 写了:Windows XP 7 8 all in one partition.
这个是怎么做到的???