Untarring tar.gz files #"tar -zvxf file name.tar.gz" Untarring tar.bz2 files #"tar xvjf filename.tar.bz2" insatlling deb pkg files #"dpkg -i file dir/filename" Eding in Kate #""kdesu kate /etc/apt/filename Updating KDE #"sudo apt-get update && sudo apt-get dist-upgrade" Adept Crash and database is locked #"sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a" #Reconfiguring "X" #To reconfigure your X server, open a console and type sudo dpkg-reconfigure xserver-xorg #To configure only the driver and resolution, type « sudo dpkg-reconfigure xserver-xorg -phigh » #To disable capslock type in terminal: xmodmap -e "remove lock = Caps_Lock" #How to convert .rpm files to .deb files < sudo alien package_file.rpm > #Fixing The Smbmnt suid root for direct user mounts in samba and smb4k 'sudo dpkg-statoverride --update --add root root 4755 $(which smbmnt)' #Fixing broken pakages in adept "Package is in a very bad inconsistent state - you should reinstall it before attempting a removal."