Search Results

Rsync - Command Line Tools to Backup Files/Directories in Linux

I have two hard drives, one is for daily use and another one is for backup needs. How to backup between those 2 hard drives in linux using command line (CLI) tools? Easy! Linux already have superb program called rsync, which can be used for backup or synchronize between two folder or drives or from […]

I have two hard drives, one is for daily use and another one is for backup needs. How to backup between those 2 hard drives in linux using command line (CLI) tools? Easy! Linux already have superb program called rsync, which can be used for backup or synchronize between two folder or drives or from hard drives to USB disk. Here is the command:

$ sudo rsync -avu –delete [source path] [destination path]

for example in my case:

$ sudo rsync -avu –delete /home/banteng/Business /media/2825dc9d-7018-49e0-bac4-2567a1d1a380/backup/Business/

options –delete (minus minus delete) is for deleting files or directories that is no longer exist in the source path, if you don’t use –delete then files or folder that is no longer exist still kept in the destination path.

You can combine this command with crontab so, you can run routine backup automatically for specific period, ie daily, weekly, etc….

Leave a Comment

Enabling X Window Reset (Ctrl Alt Backspace) in Ubuntu 9.10 Karmic Koala

By default, Ubuntu disable X window reset feature by keyboard shortcut in Jaunty (9.04) and Karmic (9.10). However we can still enable this feature, here is how:
1. Go to System > Preferences > Keyboard

2. Choose Layout Options

3. Choose  Key Sequence to Kill X Server, make sure it’s checked.

By default, Ubuntu disable X window reset feature by keyboard shortcut in Jaunty (9.04) and Karmic (9.10). However we can still enable this feature, here is how:

1. Go to System > Preferences > Keyboard

Enabling X Window Reset (Ctrl Alt Backspace) in Ubuntu 9.10 Karmic Koala

2. Choose Layout Options

Enabling X Window Reset (Ctrl Alt Backspace) in Ubuntu 9.10 Karmic Koala

3. Choose  Key Sequence to Kill X Server, make sure it’s checked.

Enabling X Window Reset (Ctrl Alt Backspace) in Ubuntu 9.10 Karmic Koala

Leave a Comment

SMC 2862 USB Wireless Works Out of the Box in Ubuntu 9.10 Karmic Koala

In Jaunty and previous release of Ubuntu, I used to install my SMC 2862 G driver using ndiswrapper, it’s a little bit annoying since sometimes it makes Ubuntu won’t boot perfectly (I should unplug and plug it again). But it’s just an old story, since now Ubuntu 9.10 Karmic can detect it perfectly, no Wind*** […]

SMC 2862 USB WirelessIn Jaunty and previous release of Ubuntu, I used to install my SMC 2862 G driver using ndiswrapper, it’s a little bit annoying since sometimes it makes Ubuntu won’t boot perfectly (I should unplug and plug it again). But it’s just an old story, since now Ubuntu 9.10 Karmic can detect it perfectly, no Wind*** driver needed, no ndiswrapper installed, it’s just works out of the box.

Leave a Comment

HP Mininote Broadcom Wireless Finally Working on Ubuntu 9.10 Karmic Koala

After success upgrading to Karmic on my PC, now it’s turn to upgrade my wife’s netbook which is HP Mininote 1016. Before upgrading, this netbook using Ubuntu 8.10 Intrepid Ibex as it’s OS, and everything work out of the box. However after upgrading to Karmic, I found problems related to Broadcom Wireless driver, it doesn’t […]

After success upgrading to Karmic on my PC, now it’s turn to upgrade my wife’s netbook which is HP Mininote 1016. Before upgrading, this netbook using Ubuntu 8.10 Intrepid Ibex as it’s OS, and everything work out of the box. However after upgrading to Karmic, I found problems related to Broadcom Wireless driver, it doesn’t working! Then I search on Google and found the solutions, here is how:

Offline Mode [in case you can’t connect using wired connection]:

  • Open Synaptic Pacakage Manager
  • Make sure 9.10 LiveCd is in CD drive
  • Go to Settings > Repositories > Ubuntu Software
  • Check the installable from cd and close
  • Reload
  • Search for “bcmwl-kernel-source”
  • Mark for installation
  • Apply
  • Reboot computer

Online Mode [You can connect to internet whether using wired or other wireless device]:

  • Open Synaptic Package Manager
  • Search for  “bcmwl-kernel-source”
  • Mark for installation
  • Apply
  • Reboot your computer

I’m using the second option [Online Mode] because I’m able to connect to the internet using my SMC USB Wireless Card.

Credit goes to Jomtois on Ubuntu Forums.

Comments (5)

Video Playback Freeze Every Few Seconds / Minutes on Ubuntu

Just upgrading to Ubuntu 9.10 Karmic Koala this morning, overall I’m quite happy with it’s performance, it’s faster than previous version (Jaunty, etc). However I’m still facing some minor problem that is not solved correctly until this Karmic release, that is when I play video on Totem or VLC, after several minutes the video becomes […]

Just upgrading to Ubuntu 9.10 Karmic Koala this morning, overall I’m quite happy with it’s performance, it’s faster than previous version (Jaunty, etc). However I’m still facing some minor problem that is not solved correctly until this Karmic release, that is when I play video on Totem or VLC, after several minutes the video becomes freeze and this happen every several seconds / minutes.

So I decided to find the solution on the Ubuntu forums and found the solution:

STEPS: Compiz Configuration

1. Download CompizConfig Settings Manager from Ubuntu repository.
2. Navigate to.. System –> Prefences –> CompizConfig Settings Manager
3. Navigate to.. General –> General Options
4. Click “General Options” to open window
5. Click “Display Settings” tab
6. Uncheck “Detect Refresh Rate”
7. Move “Refresh Rate” slider to 60, or set 60 in the box
8. Check “Sync to VBlank”
9. Click back button to move back to main CompizConfig window
10. Navigate to.. Utility –> Video Playback
11. Uncheck “Video Playback” then exit the CompizConfig Settings Manager.

STEPS: Nvidia Configuration

1. Pull up nvidia-settings
.. Navigate to.. Applications –> System Tools –> nvidia-settings
.. or open a terminal, type “nvidia-settings” , press enter
2. Click “X Server XVideo Settings”
3. Check “Sync to VBlank” _IF_ not checked
4. Click “OpenGL Settings”
5. Uncheck “Sync to VBlank” _IF_ checked
6. click quit button
7. click quit button
8. Reopen nvidia-settings to verify that config changes were saved.
.. IF they were saved, you are done with step 8.
.. IF they were not saved, ~/.nvidia-settings-rc in your home directory
.. may be under root permissions. You will need to chown chgrp for the file.
.. Then you will need to start back at Step 1 and repeat all steps.

IMPORTANT: Reboot your machine when finished. The driver changes won’t function correctly until you reboot

This is the screenshot of my nvidia settings after fixed:

Video Playback Freeze Every Few Seconds / Minutes on Ubuntu

Video Playback Freeze Every Few Seconds / Minutes on Ubuntu

That’s it, now I can enjoy watching my movie collections without freezing… :)

Reference:

Leave a Comment