[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...

[HOW TO] use cron on Synology NAS

Morning Guys, Today I show you how to set the cron on Synology NAS. Basically Synology OS have core OS is unix. Thus it's the same about core service - I think so. Unlike Linux based system, you do not use "crontab -e/ -l on the Synology NAS. You must go as below: $sudo -i $nano /etc/crontab Here you can edit the cron $synoservice -restart crond To restart the cron Also you can run the task...

[HOW TO] install Citrix Reciver in Ubuntu?

Morning, Do you know citrix receiver (ica client)? In this article, I show you how to install the citrix receiver in Ubuntu? Firstly you come Citrix official to download the version x64 for Ubuntu 64-bit or x86 for Ubuntu 32-bit. Here I use the icaclient_13.0.0.256735_amd64.deb. Dpkg command will help you install as below: ho-pc-nvhviet tmp # dpkg -i icaclient_13.0.0.256735_amd64.deb (Reading...

[HOW TO] PostgresSQL add/create/delete user account and grant permission

Hello, In the afternoon I have configured the Postgres database for one developer. After finished, I think I should write a little article about Postgres installtion. Let's start! 1. Install the postgres  t13n@ho-pc-pttien:~$ sudo apt-get install postgresql postgresql-contrib With that, postgres will be installed on your PC 2. Check the authentication way  t13n@ho-pc-pttien:~$ sudo...

[HOW TO] configure the log file of cron job in SuseSLES

Hello, Yesterday I have configured the log file to crontab on SuseSLES 11SP3. In SuseSLES, if you don't enable crotanb log in /etc/syslog-ng/syslog-ng.conf then syslog-ng don't write. Here I show you the step by step: 1. Go to /etc/syslog-ng, vi syslog-ng.conf and uncomment the line: #cron.* 2. Restart the cron service #sudo /etc/init.d/syslog restart 3. Restart cron service #sudo /etc/init.d/cron You...

[HOW TO] delete files older than x days

Sometimes in Linux, you want to clear older file than x day in a directory. In this article, I show you how to create a script and set crontab in this case. Step 1: Script #!/bin/bashfind /tmp/* -mtime +5 -exec rm {} \; find: the command will search for the files/folders /tmp/*: the direcroty to start searching -mtime +5 files older than 5 days. -exec: what to do with the files we found. rm...

Anniversary

Hello Sunday :) * pageviews - 89 posts, last published on Apr 18, 2014That's day I wrote the first post on a personal blog about technology.Enough for me to see the difference, met a few people, new ones. There is fun, there is something I really like, there is one love I like this blog. I will continue to post here. Writing is a way of maturing, sharing.All is well&nbs...

[HOW TO] Pictures do not display as thumbnail preview

In Windows 7, I can't get pictures to show as thumbnail previews. I've tried three different methods suggested on this site. Why is this so difficult? The three methods I've tried are as follows: 1. Open the folder in Windows Explorer and click the down arrow next to Views at the top. ChooseMedium icons and see if the thumbnails start working again. 2. If not, click on Organize,...

[WHAT] is RandR?

Tonight, I have a little think about XUBUNTU. I'm googling about this. Link and link, keyword and keyword and ... I have seen RandR. Ok, it aslo need for me to update the information about technology. I need to notice into here. I don't want missing it :D RandR is a communications protocol written as an extension to the X11[2] and Wayland[3] protocols for display servers. Both, XRandR...

[HOW TO] install MySQL Workbench in Linux

In the morning, Developer told me: please help him install MySQL Workbench.Ok, one question, what is a MySQL Workbench?MySQL Workbench is a unified visual tool for database architects, developers, and DBAs. MySQL Workbench provides data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more. MySQL Workbench is available...

[HOW TO] change password Postgres

Hello Dude, Today is the last of working day. I'm here with two monitor and one PC. Working as everyday. Developer told me about postgre database. He could not connect to Postgres from PhpPgAdmin because don't know password's Postgres. Ok, I like it. Yesterday, I just worked with Postgress installation. Now, what's next step? 1. Check Postgres status as below: ~ # service postgresql...

[HOW TO] fix Bacula Windows Client and error 1067

This article details how to fix the error: Windows could not start the bacula File Service service on Local Computer. Error 1067: The process terminated unexpectedly This error appears when you tried start the Bacula Service on Windows Services. I googled about this but don't result. Nobody show how to fix this error. Gruzzz! Luckily, I found the solution to fix it. Now Bacula Service is running stability.You...

[HOW TO] fix ALT + PrintScreen doesn't work properly.

Hello Dude, "ALT + PrintScreen" doesn't work properly in Ubuntu/Xubuntu/Lubuntu/Kubuntu. When you tried to use the PrintScreen keyboard to capture an image. What's happen? It's bug in Ubuntu. In this article, I will show you how to fix: You open a terminal windows and type the command as below: cremia@Tbilixi:~$ sudo sysctl -w kernel.sysrq=0[sudo] password for cremia: kernel.sysrq =...

[HOW TO] install and configure additional language in SUSE Linux.

Morning Guys, In this article, I will show you how to configure additional language in SUSE Linux. Additional language already installed in SUSE Linux. Thus you can only enable it as command below: vi /etc/X11/xorg.conf.d/90-keytable.conf Content: Section "InputClass"         Identifier "LocalKeyboard"         MatchIsKeyboard "on"        ...

[WHAT] What's the difference between Citrix Presentation Server 4.5 & Citrix XenApp 5.0

Today, I have a problem with the ICA file. Customer changed them system and they (production) don't know what the system is running! They told me: you use the Citrix Online Plugin to run. But they don't true, it can not run. Finally, I use the Citrix XenApp to run the ICA file. Amzing! it's running. The customer is not always right. Q. What's the difference between Citrix Presentation...