Sunday, May 31, 2009

Advance Ubuntu keybindings setting

You can go to System -> Preferences -> Keyboard Shortcuts for normal shortkey setting but it isn't enough for me because it isn't work with "Windows" key.

I want Windows+d to bind to "show desktop" as used in Windows but Keyboard Shortcuts doesn't work in this case.

And I found from here How come pressing Super+D doesn't show my desktop?

There's deeper setting.

Run gconf-editor (at command line)

and went to apps -> metacity -> global_keybindings and change "show_desktop" from "d" to "d" (Mod4 is represent Windows key)

And I have also binded "run_command_terminal" to "t"

Configurations after installation my Jaunty Jackalope

After clean installation new Ubuntu - Ubuntu 9.04 or Jaunty Jackalope, I have made many configurations and installing softwares.
Font size
For softwares installations, I chose from Add/Remove so nothing to remember just tick and click but I might forget what and how to make some configurations next installtion time so below is my jot down about these.

That's all for now. I will add it if more configurations are added

Ubuntu : Automount NTFS Drive

For my Ubuntu (9.04), automount ntfs drive don't come out-of-box. It might have been happening for many versions but I didn't notice.

This automount have made some problem to me. For instance, my Rhythmbox Library. Because my musics file was keeping in ntfs drive, so everytime the system was boot the library was error because the drive hadn't mounted. So I want automount very much.

I think I might have fixed it for my 8.04. For 8.10, I used synaptic upgrade from 8.04 so it might still have the configuration from 8.04.

The issue was happended again when I have a clean installation with Jaunty Jackalope.

After some googling, there are many ways to fix this issue but it's too many things to do than I think it should be. Such as fix fstab blah blah. With a great community, there must be easy way to do this.

And now I have found it. Easy one

credit from Joeb454 : HowTo: Automount NTFS Drives

You can follow this link to tg/showthread.php?t=785263he solution or see the summarization for myself below.
  • Install ntfs-config (via apt-get)
  • Unmount wanted drive (if it had mounted)
  • Open it (somewhere in menus or run with command line)
  • Choose drive(s)
  • Enable Write Support for Internal Drives
That's all! After you boot up your system again, you drive will be automounted.

Config number of file descriptors on Linux

Check file descriptor limit for a process. Vary depending on owner of the process $ cat /proc/{process-id}/limits Check current number of...