Ubuntu下快速挂载window下的samba共享目录|Ubuntu Mount Windows Share (CIFS)
ubuntu 文件管理器Nautilus 使用技巧

Ubuntu 11.04中清除历史和文档记录 clear recent history

Author posted @ 2011年9月02日 03:55 in Linux , 9259 阅读

Ubuntu升级到11.04,在使用Unity后,发现了一个小问题,那就是使用计算机时访问的历史和使用的文档记录都会如实的记录下来,而且很轻易的就会访问到,这对个人隐私的保护是有着极大影响的。而且就算利用Ubuntu Tweak中的不记录历史和文档选项,也无济于事。按照老方法去删除一些文件或是文件夹也不行。这是因为,在Ubuntu 11.04中保存历史的文件和方式发生了变化。几经实验,麦哥终于找到了解决方法。

在终端中运行

rm ~/.local/share/zeitgeist/activity.sqlite
zeitgeist-daemon --replace

当然,也可以写成脚本的形式

#!/bin/sh

rm ~/.local/share/zeitgeist/activity.sqlite

zeitgeist-daemon --replace

这样,就会把历史和文档使用记录清理得一干二净了。电影播放机的播放记录清除:

rm ~/.local/share/recently-used.xbel
touch ~/.local/share/recently-used.xbel
sudo chattr +i ~/.local/share/recently-used.xbel
dacheng 说:
2011年9月02日 04:51

强大,完全看不懂,没见过Ubuntu,曾经试图学着装,也没有成功

Avatar_small
弹琴的企鹅 说:
2011年9月15日 08:55

@dacheng: 现在ubuntu的图形界面相当容易操作,越来越少地信赖命令行。

Arith Xu 说:
2012年12月16日 23:27

replace 的参数格式写错了哦~~
应该是 --replace

Avatar_small
鹅鹅 说:
2013年2月17日 18:52

@Arith Xu: 谢谢更正!

SEO 说:
2022年3月17日 21:23

If any of you is in need of unique, high quality pocket door sliding, Caldwells is the way to go. They never once did they disappoint me. https://caldwells.com/contact-us their site through this link.

JAC 10th Question Pa 说:
2022年8月23日 17:52

JAC 10th Question Paper 2023 Download – Jharkhand Matric Important Question Paper 2023 PDF, The State of Jharkhand came into existence on the 15th of November,2000. An Act to establish the Jharkhand Academic Council was enacted by the Jharkhand State Legislature and assented to by the Governor of the State on 26-12-2003, JAC 10th Question Paper 2023 which was known as Jharkhand Academic Council Act 02.7.2003.

anonymous 说:
2023年6月15日 01:12

This is important, though it's necessary to help you head over to it weblink: Kissimmee Termite Treatment

anonymous 说:
2023年6月26日 03:39

Gives you the best website address       I know there alone you'll find how easy it is. Orlando Bed Bug Pest Control

anonymous 说:
2023年6月26日 03:40

You bear through a awesome vacancy. I sanity definitely quarry it moreover personally suggest to my buddys. I am self-possessed they determination be benefited from this scene. Oviedo Bed Bug Pest Control

anonymous 说:
2023年8月13日 04:19

It is rather very good, nevertheless glance at the data with this handle. Accountant

anonymous 说:
2023年9月11日 21:00

The best article I came across a number of years, write something about it on this page.  Managed IT Services


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter