Monday, May 14, 2012

Ubuntu 12.04 removing history


Ubuntu removing history

Removing desktop history



rm ~/.local/share/recently-used.xbel 
touch ~/.local/share/recently-used.xbel 
sudo chattr +i ~/.local/share/recently-used.xbel

Then I did the following that cleared all the entries that were in there:

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


reference:


http://ubuntuforums.org/showthread.php?t=1729516


Detect memory speed



apt-get install lshw

sudo lshw -short -C memory

Or

sudo dmidecode --type 17 | grep Speed

List Hardware


sudo lshw

Implementing a killswitch when your VPN connection drops on Ubuntu

VPN setup on ubuntu I setup the VPN in these 2 modes in Ubuntu 24.04, 25.04, 25.10, screen shoots are from 25.10.  Using only ubuntu pre pac...