[HOW TO] set default program in Ubuntu?

In this article I will show you how to set default program in Ubuntu? 1. Go as below: $sudo vi /usr/share/applications/default.list 2. Then you change as you want. Example you must be changed the OpenOffice is default: Original file: [Default Applications]application/csv=wps-office-wps.desktopapplication/excel=wps-office-wps.desktopapplication/ogg=rhythmbox.desktopapplication/oxps=evince.desktopapplication/pdf=evince.desktopapplication/postscript=evince.desktopapplication/tab-separated-values=libreoffice-calc.desktopapplication/vnd.lotus-1-2-3=libreoffice-calc.desktopapplication/vnd.ms-xpsdocument=evince.desktopapplication/vnd.rn-realmedia=totem.desktopapplication/vnd.sun.xml.base=libreoffice-base.desktopapplication/vnd.sun.xml.calc=libreoffice-calc.desktopapplication/vnd.sun.xml.calc.template=libreoffice-calc.desktopapplication/vnd.sun.xml.draw=libreoffice-draw.desktopapplication/vnd.sun.xml.draw.template=libreoffice-draw.desktopapplication/vnd.sun.xml.math=libreoffice-math.desktopapplication/vnd.sun.xml.writer=libreoffice-writer.desktopapplication/vnd.sun.xml.writer.template=libreoffice-writer.desktopapplication/vnd.sun.xml.writer.global=libreoffice-writer.desktopapplication/vnd.oasis.opendocument.database=libreoffice-base.desktopapplication/vnd.oasis.opendocument.formula=libreoffice-math.desktopapplication/vnd.oasis.opendocument.graphics=libreoffice-draw.desktopapplication/vnd.oasis.opendocument.graphics-template=libreoffice-draw.desktop Now...

[HOW TO] fix Error were found while checking the disk drive for /.

In my company, we use the Linux as primary OS. Sometimes user get the problem and they do not know what's happen? Here I show the example. Tomorrow user start the computer and get the error: Error were found while checking the disk drive for /. Press F to attempt to fix the errors, I to ignore, S to skip mounting, or M for manual recovery. How to fix? $sudo vi /boot/grub/grub.cfg Now...

[HOW TO] solving .dmrc and $HOME permission error

Hello Everybody, The last week, co-worker told me that her PC can not logging. It got the pop-up at screen logging: User's $HOME/.dmrc file is being ignored. THis prevents the default session and language from being saved. File should be owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writeable by other users. 1. What is the .dmrc file? The .dmrc...