วิธีการ disable Recent Documents ครับ


Posted in:
Waranoncpe's picture

หลายคนคงจะรู้สึกโรคจิตเหมือนกันกับผมใช่มั้ยครับ เวลาเราเปิดไฟล์ต่างๆ เเล้วต้องมานั่งลบ Recent Documents (ไปที่ Places->Recent Documents -Clear) ทุกครั้ง ไม่ว่าจะเป็นไฟล์งาน ไฟล์หนัง นั่นเนกลัวเเฟนรู้อะดิ อิอิ.. เพราะว่ามันดูเเล้วรกหูรกตา ดังรูป


วิธีการ Disable Recent Documents มีดังนี้
1. เปิด Terminal (Application->Accessories->Terminal)
2. $rm ~/.recently-used.xbel      #ทำการลบไฟล์เก่า recently-used.xbelทิ้งไป
3. $touch ~/.recently-used.xbel     #ทำการสร้างไฟล์ใหม่ recently-used.xbel
4. $sudo chattr +i ~/.recently-used.xbel   #ไม่สามารถเเก้ไขไฟล์ recently-used.xbelได้

จากนั้นเราก็ไม่ต้องมานั่งกังวลอีกต่อไปแล้วครับ ดังรูป


คราวนี้ไม่ว่าจะทำอะไรก็ไม่มีใครรู้เเล้วล่ะครับ สู้ยอดๆ

สุดท้ายนี้ขอเเถมอีกนิดนึงครับ ถ้าเกิดว่าเราต้องการจะ Enable Recent Documents โดยใช้คำสั่งนี้


     $sudo chattr -i ~/.recently-used.xbel     #สามารถทำเเก้ไขไฟล์ recently-used.xbelได้

ขอบคุณมากครับ -> http://www.watchingthenet.com/ubuntu-tip-clear-disable-recent-documents.html

AttachmentSize
ubrecentdocs1.png54.9 KB
ubrecentdocs2.png15.28 KB

อะจ๊าก

อะจ๊าก มีงี้ด้วย

QQ's picture

ใน ubuntu-tweak

ใน ubuntu-tweak ก็มีตัวเลือกนี้ให้ครับ :d

ขอบคุณครั

ขอบคุณครับ ^^

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <i> <center> <span> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <br> <dt> <dd> <object> <embed> <hr> <img> <blockquote> <b> <u> <del> <div> <p> <table> <tr> <td> <font>

More information about formatting options