Showing posts with label Unix. Show all posts
Showing posts with label Unix. Show all posts

VIM IDE for C, Python and Go

VIM (Vi IMproved) ကို C, Python and Go IDE အျဖစ္အသံုးျပုခ်င္သူမ်ားအတြက္ config နဲ့ plugins ေတြကို ဒီ vim-config repo မွာ ရယူနိုင္ပါတယ္။

အသံုးျပုပံုနဲ့ screenshots အခ်ို့ကို ေအာက္ကလင့္မွာျကည့္နိုင္ပါတယ္။
C IDE Screenshots
Python IDE Screenshots
Project with VIM

NERD_tree demo -> click on Picture


NERD_tree.vim နဲ့ Project.vim plugins ေတြကိုနွစ္သက္ရာသံုးနိုင္ပါတယ္။

Enjoy! :-)

zawgyi-keyboard-0.3.3 release out

zawgyi-keyboard-0.3.3 version ကို မေန့ညက ထုတ္လိုက္ပါတယ္။ ကိုစိုးမင္းရဲ့ လက္ရွိေနာက္ဆံုး Zawgyi 2009 version ျဖစ္တဲ့ `Zawgyi-One_v4.25_November_6_2009` ကိုထည့္သြင္းထားပါတယ္။ Keyboard Layout ကလဲ ကိုေစတန္ရဲ့ modified ေပးထားတဲ့ ေဇာ္ဂ်ီလက္ကြက္အေဟာင္းစတိုင္နဲ့မို့လို့ စာရိုက္သြင္းရာမွာ အရင္ပံုမွန္အတိုင္းအသံုးျပုနိုင္ပါတယ္။ ေနာက္ျပီး zawgyi_keyboard.py module မွာလဲ error တစ္ခ်ုိ့ကို ျပုျပင္ထားပါ။ Package ရဲ့ အေျပာင္းအလဲအေသးစိတ္ကိုေတာ့ ေအာက္က changelog မွာျကည့္နိုင္ပါတယ္။

changelog

v0.3.3

* upgrade new zawgyi font (Zawgyi-One_v4.25_November_6_2009.ttf) by Soe Min
* mm xkeyboard file modified for zawgyi style by Saturngod
* import zawgyi_keyboard_2009.pdf for keyboard layout
* delete zawgyi_keyboard_unicode5.1_style.png
* delete Zawgyi_Keyboard_Layout_2009_Linux-Unix.pdf
* make to be able to install on all version of FreeBSD and Linux
* add wget_SuggestMessage() in module for while wget not installed

download
zawgyi-keyboard-0.3.3

howto
install guide

project homepage
zawgyi-keyboard.googlecode.com

support
please report if you found some bugs or errors. thank you.

zawgyi-keyboard နဲ့ zawgyi font ကို အားေပးျကတဲ့အတြက္ ေက်းဇူးတင္ပါတယ္။

Enjoy using zawgyi!

zawgyi-keyboard-0.3.2 release out

zawgyi-keyboard-0.3.2 ကိုမေန့ည သန္းေခါင္ယံေက်ာှမွာထုတ္လိုက္ပါတယ္။ အရင္ zawgyi-keyboard-0.3.1 မွာပါတဲ့ zawgyi_keyboard.py နဲ့ online upgrade လုပ္တဲ့အခါ ကိုယ့္စက္က offline ျဖစ္သြားတဲ့အခါမ်ိုးမွာ ျဖစ္ေပါှေစမယ့္ errors ကို fixed လုပ္ထားပါတယ္။ ေနာက္ျပီး လက္ရွိေနာက္ဆံုး Zawgyi 2009 version ျဖစ္တဲ့ `Zawgyi-One_v4.20_August_26_2009.ttf` ကိုထည့္သြင္းထားပါတယ္၊ အေသးစိတ္ အေျပာင္းအလဲကိုေတာ့ ေအာက္က changelog မွာျကည့္နိုင္ပါတယ္။

changelog

v0.3.2
* upgrade new zawgyi font (Zawgyi-One_v4.20_August_26_2009.ttf) by Soe Min
* add error exceptions in zawgyi_keyboard.py
* fixed offline causes errors
* add some documentation in module
* add Zawgyi_Keyboard_Layout_2009_Linux-Unix.pdfဿ

download
zawgyi-keyboard-0.3.2.tar.gz

howto
install guide

project homepage
zawgyi-keyboard.googlecode.com

support
please report if you found some bugs or errors. thank you.

enjoy it!

how to upgrade zawgyi font from online

မေန့ညကထုတ္လိုက္တဲ့ zawgyi-keybaord-0.3.1 release မွာ Zawgyi-One_2009_August_25_v4.19.ttf နဲ့အတူ ပူးတြဲျပီးထြက္ပါတယ္။ ဒီေန့ည ကိုစိုးမင္းက Zawgyi-One_v4.20_August_26_2009.ttf ကိုထုတ္လိုက္တဲ့အတြက္ေျကာင့္ ကံေကာင္းစြာ ဒီ howto ကို အားျခင္းေဖာ္ျပခြင့္ရပါတယ္။ ဖြန့္အသစ္ upgrade လုပ္သူမ်ားအေနနဲ့ မိမိ၏စက္မွာ online ျဖစ္မေနပါကလဲ ယခင္ျပခဲ့တဲ့နည္းအတိုင္း `man upgrade` function နဲ့ downloaded font ရဲ့ local saved directory ကို Enter လုပ္ေပးျခင္းအားျဖင့္ upgrade လုပ္နိုင္ပါတယ္။ ခုေအာက္မွာ screenshots ေလးေတြနဲ့ online upgrade function နဲ့ ဘယ္လို font upgrade လုပ္သလဲဆိုတာ ေဖာ္ျပေပးသြားမွာျဖစ္ပါတယ္။
ပံုမွန္အတိုင္း ပထမဦးစြာ zawgyi-keybaord-0.3.1.tar.gz ကို extract လုပ္မယ္၊ `zawgyi` ဖိုဒါထဲ၀င္မယ္။ ျပီးရင္ `zawgyi_keyboard.py` script ကို python နဲ့ run ေပးျပီး program ကိုစရေအာင္၊ sudo ဒါမွမဟုတ္ su ခံသံုးေပးဖို့လဲ လိုပါမယ္။ က်ေနာ္ ခု နမူနာျပတာက downloaded package က desktop ေပာ္မွာထားတာပို့ Desktop ထဲ၀င္ျပီး စပါမယ္။

$ cd Desktop
$ tar xzf zawgyi-keyboard*.tar.gz
$ cd zawgyi
$ sudo python zawgyi_keyboard.py


[caption id="attachment_296" align="alignnone" width="480" caption="extract package & start running zawgyi_kyeboard.py"]extract package & start running zawgyi_kyeboard.py[/caption]

ဒီေနရာမွာ က်ေနာ္ `i` ကိုရိုက္နွိပ္ျပီး package ကို install လုပ္ပါမယ္၊ လုပ္ရတဲ့အေျကာင္းက package ထဲကဖြန့္က v4.19 ရွိေသးတာကို ျမင္ေစခ်င္တာရယ္၊ ေနာက္ျပီး ဒီ zawgyi-keyboard-0.3.1 မွာ kokhy fixed လုပ္ထားေပးတဲ့ mm file အသစ္ပါတာရယ္ေျကာင့္ install လုပ္ပါတယ္။

[caption id="attachment_297" align="alignnone" width="480" caption="press `i` to install package"]press `i` to install package[/caption]

Installation ျပီးတဲ့အခါမွာ က်ေနာ္ `s` ကိုရိုက္နွိပ္ျပီး show_font function ကို run ပါတယ္၊ ဒီ function က စက္ထဲ installed လုပ္ထားတဲ့ ေဇာ္ဂ်ီဖြန့္နဲ့ ခုလက္ရွိေနာက္ဆံုးထြက္လာတဲ့ ေဇာ္ဂ်ီဖြန့္ကို ယွဥ္တဲြေဖာ္ျပေပးမွာပါ။ ေအာက္ကပံုမွာျကည့္ျခင္းအားျဖင့္ က်ေနာ့္စက္ထဲက ေဇာ္ဂ်ီဖြန့္က `Zawgyi-One_2009_August_25_v4.19.ttf` ျဖစ္ျပီး လက္ရွိ online မွာေနာက္ဆံုး ထြက္ေနတာက `Zawgyi-One_v4.20_August_26_2009.ttf` ဆိုတာျဖစ္တဲ့အေျကာင္း ေဖာ္ျပေပးေနပါတယ္။ ပံုထဲမွာ Current installed font ဆိုတာက ကိုယ့္စက္ထဲမွာ သြင္းထားတဲ့ဖြန့္ကိုေျပာတာျဖစ္ျပီး Online available latest font ဆိုတာက ကိုယ့္မွာမရွိေသးပဲ အင္တာနက္ေပာ္မွာ ထြက္ရွိေနျပီျဖစ္တယ္ဆိုတာကို ဆိုလိုပါတယ္။

[caption id="attachment_298" align="alignnone" width="480" caption="press `s` to show & compare fonts"]press `s` to show & compare fonts[/caption]

ကိုယ့္စက္က Internet connection ရွိေနတယ္ဆိုပါက `o` ကိုရိုက္နွိပ္ျပီး တခါတည္း download ျပီးေတာ့ upgrade လုပ္နိုင္ပါတယ္။ ေအာက္ကပံုေလးကိုျကည့္ပါ။

[caption id="attachment_299" align="alignnone" width="480" caption="press `o` to upgrade font from Internet"]press `o` to upgrade font from Internet[/caption]

ျပီးတဲ့အခါ show_font function နဲ့ တခါျပန္ျပီး စစ္ေဆးနိုင္ပါတယ္။ ကိုယ့္စက္မွာ တကယ္ပဲ upgrade ျဖစ္သြားလား ဒါမွမဟုတ္ ေနာက္ထပ္ latest available font ထြက္ကို စမ္းစစ္နိုင္ပါတယ္။

[caption id="attachment_300" align="alignnone" width="480" caption="press `s` to check fonts & `q` to exit program"]press `s` to check fonts & `q` to exit program[/caption]

Have fun with your zawgyi-keyboard package! :-)

zawgyi-keyboard-0.3.1 release out

zawgyi-keyboard-0.3.1 release ကို မေန့ညက ထုတ္လိုက္ပါတယ္။ ျပီးခဲ့တဲ့ release ကပါတဲ့ features ေတြအျပင္ အသစ္ထပ္ထည့္ထားတဲ့ functions ေလးနွစ္ခုပါပါတယ္။ အဲဒါေတြကေတာ့ online upgrade() နဲ့ show font() functions ေတြပါ။ ဒီ functions နွစ္ခုမွာ show_font() function က ကိုယ့္ရဲ့စက္မွာသြင္းထားတဲ့ ေဇာ္ဂ်ီဖြန့္နဲ့ အင္တာနက္မွာ ေနာက္ဆံုးထြက္ျပီးရယူနိုင္တဲ့ ဖြန့္အသစ္ကို ယွဥ္တြဲေဖာ္ျပေပးမွာျဖစ္ျပီး online_upgrade() function ကေတာ့ Internet နဲ့တိုက္ရိုက္ခ်ိတ္ဆက္ထားျပီး Internet connection ရွိေနတဲ့စက္မွာ တိုက္ရိုက္ download လုပ္ေပးျပီး upgrade ပါတခါတည္း လုပ္ေပးမွာျဖစ္ပါတယ္။
ပံုမွန္အားျဖင့္ေတာ့ ဒီ functions ေတြကို အျမဲတမ္း run ေနဖို့ေတာ့မလိုေပမယ့္ လက္ရွိ ေဇာ္ဂ်ီဖြန့္အသစ္ဟာ development processes ေတြနဲ့အတူ ဆက္လက္ထြက္ရွိေနတာမို့ testing လုပ္ေနတဲ့ testers မ်ားအတြက္ေတာ့ အသံုး၀င္ပါလိမ့္မယ္။ ေနာက္ျပီး users မ်ားအတြက္လဲ zawgyi keyboard installation ကိုပိုမိုလြယ္ကူစြာ လုပ္ေဆာင္နိုင္မယ္လို့ ေမွ်ာ္လင့္ပါတယ္။
ေနာက္ျပီး keyboard မွာ BKSL key ကို kokhy က fixed လုပ္ေပးထားပါတယ္။ ေနာက္မွာ changelog ကိုျကည့္ျပီး ဘာေတြအေျပာင္းအလဲလုပ္လိုက္တယ္ဆိုတာ သိနိုင္ပါတယ္။

changelog

* upgrade new zawgyi font (Zawgyi-One_2009_Aug_25_v4.19.ttf) by Soe Min
* add show_font() and online_upgrade() in zawgyi_keyboard.py
* change font_upgrade() to man_upgrade() in zawgyi_keyboard.py
* mm file for '\' key fixed by kokhy

download
zawgyi-keyboard-0.3.1.tar.gz

howto
install guide

homepage
zawgyi-keyboard.googlecode.com

enjoy it!

how to upgrade zawgyi font with zawgyi_keyboard.py

မေန့က ကိုစိုးမင္းရဲ့ development version `new zawgyi font` Zawgyi-One_2009_August_5_rev01 ထြက္ပါတယ္။ ဒီ font အသစ္ကို zawgyi_keyboard.py script နဲ့ ဘယ္လို update လုပ္တယ္ဆိုတာ users မ်ား ပိုရွင္းသြားေအာင္ ရွင္းျပပါမယ္။

ပထမဦးဆံုး font ကို ေအာက္ကလင့္ကေန download လုပ္ယူုပါ...

http://newzawgyi.googlecode.com/svn/font.file/

download လုပ္ျပီးလို့ font က Desktop ေပါ္မွာ ရွိမယ္ေပါ့၊ new font ကို executable ျဖစ္ေအာင္ 'chmod' နဲ့အရင္ဆံုး ေျပာင္းထားမယ္၊ Terminal ကိုဖြင့္ျပီး ဖြန့္ရွိရင္ Desktop ဆီကို directory change ျပီး ေအာက္က command line နဲ့ executable mood ကိုေျပာင္းမယ္။

$ cd ~/Desktop
$ chmod 755 Zawgyi-One_2009_August_5_rev01.ttf


ေအာက္ကပံုကိုျကည့္ရင္ သိတာပါတယ္ chmod က excutable ျဖစ္ျပီးရင္ အမဲေရာင္ကေန အစိမ္းေရာင္ေျပာင္းသြားတာကို သတိထားမိျခင္းအားျဖင့္ သိသာပါတယ္။

[caption id="attachment_275" align="alignnone" width="480" caption="downloaded font and change executable mood"]downloaded font and change executable mood[/caption]


update လုပ္မယ့္ new font ကို ျပင္ဆင္ျပီးရင္ေတာ့ က်ေနာ္တို့ zawgyi_keyboard.py script ကို run ဖို့ျပင္ဆင္ရေအာင္ ထံုးစံအတိုင္း source package ကိုျဖည္ ျပီးရင္ source directory ထဲ၀င္ျပီး python နဲ့ script ကို run ရေအာင္။ source package ကိုျဖည္ျပီးသားျဖစ္ရင္ေတာ့ ေအာက္က steps ေတြကိုေက်ာ္သြားနိုင္ပါတယ္။ ေနာက္တစ္ခုက ဒီ zawgyi-keyboard-0.3.0 package ကေန install မလုပ္ရေသးရင္ i ကိုနွိပ္ျပီး အရင္ install ေပးလိုက္ျခင္းအားျဖင့္ font upgrading process ကို အကူအညီျဖစ္ေစမွာပါ။ ေအာက္က steps ေတာ့ zawgyi-keyboard-0.3.0.tar.gz ကိုျဖည္ျပီး zawgyi source directory ထဲ ၀င္ျပီး zawgyi_keyboard.py script ကို python နဲ့ စတင္လိုက္တာပါ။ package ကိုထံုးစံအတိုင္း Desktop ေပါ္မွာရွိတယ္လို့ ယူဆမယ္ေနာ္...

$ cd ~/Desktop
$ tar xzf zawgyi-keybaord-0.3.0.tar.gz
$ cd zawgyi


[caption id="attachment_276" align="alignnone" width="480" caption="preparing zawgyi_keyboard.py script to run"]preparing zawgyi_keyboard.py script to run[/caption]

ေအာက္မွာ zawgyi_keyboard.py ကို စတင္ run ျပီးတဲ့ေနာက္ u ကိုနွိပ္ျပီး font update လုပ္ဖို့ စတင္ျပီး downloaded font path directory ကိုေမးတဲ့ပုံပါ...

$ sudo python zawgyi_keyboard.py


pressed `u` for font update

pressed `y` for confirm continuous


[caption id="attachment_277" align="alignnone" width="480" caption="starting zawgyi_keyboard.py script"]starting zawgyi_keyboard.py script[/caption]

[caption id="attachment_278" align="alignnone" width="480" caption="proceeding font update"]proceeding font update[/caption]

ဒီေနရာမွာ downloaded font ရဲ့တည္ရွိရာ directory ကိုေမးတဲ့အတြက္ က်ေနာ္တို့က font ရွိရာေနရာကို ရိုက္သြင္းေပးရမယ္...
က်ေနာ္တို့အေပါ္က ျပင္ဆင္ထားျပီးသားရွိျပီးသားမို့ တည္ရွိရာ ေနရာက `/home/box02/Desktop` ကို ရိုက္ထည့္ေပးလိုက္ပါတယ္။

Enter you downloaded font directory : /home/box02/Desktop

ျပီးရင္ program က installed font နဲ့ download new font ကိုယွဥ္ျပပါမယ္၊ ေအာက္က ပံုမွာေတြ့တဲ့အတိုင္း ..

Your new given font is /home/box02/Desktop/Zawgyi-One_2009_August_5_rev01.ttf
Current installed font is ['/usr/share/fonts/zawgyi/Zawgyi-One_2009_Jul_30_rev01.ttf']

ဒီေနရာမွာ current installed font ထက္ new font က ပိုျပီး version ျမင့္တဲ့အတြက္ က်ေနာ္တို့က font upgrading ကို ဆက္လက္လုပ္ေဆာင္ဖို့အတြက္ y ကိုထက္နွိပ္ျပီး upgrading completed ျဖစ္ဖို့အတြက္ ထက္ျပီး confirm လုပ္ပါတယ္။

[caption id="attachment_279" align="alignnone" width="480" caption="entering new font directory path"]entering new font directory path[/caption]

[caption id="attachment_280" align="alignnone" width="480" caption="continuouing font upgrading and exit program"]continuouing font upgrading and exit program[/caption]

အဲဒါေတြျပီးတဲ့အခါမွာ zawgyi font install directory ကို control လုပ္ျကည့္ျခင္းအားျဖင့္ ကိုယ့္ဖြန့္အသစ္ေရာက္ရွိေနျပီျဖစ္ေျကာင္း သိနိုင္ပါတယ္။

$ ls /usr/share/fonts/zawgyi


[caption id="attachment_281" align="alignnone" width="480" caption="checking updated font"]checking updated font[/caption]

ခုဆို step by step font upgrading ျပီးပါျပီ :-)
ဒီ how to ကို ubuntu linux ေပါ္မွာ နမူနာျပထားပါတယ္။

enjoy it! :-)

zawgyi-keyboard-0.3.0 release out

မေန့ညက zawgyi-keyboard-0.3.0 release ကိုထုတ္လိုက္ပါတယ္။ ျပီးခဲ့တဲ့ post မွာေျပာခဲ့သလိုပါပဲ features အသစ္ေလးေတြပါ၀င္တဲ့အတြက္ users မ်ားအတြက္ package install လုပ္ရတာေရာ remove လုပ္ရတာေရာ လြယ္ကူေစပါတယ္၊ font upgrade feature ကိုထည့္ထားတဲ့အတြက္လဲ users မ်ားအတြက္ အဆင္ေျပေစေအာင္လို့ပါ။ ကိုစိုးမင္းရဲ့ေဇာ္ဂ်ီဖြန့္အသစ္က migration stage ေတြနဲ့အတူ ဆက္လက္ထြက္အံုးမွာမို့ ဒီ font update function နဲ့ အသစ္ဆက္ထြက္လာမယ့္ font ကို ဆက္ျပီး upgrade လုပ္သြားရံုပါပဲ။
ဒီ zawgyi-keyboard 0.3.0 version မွာ ေဇာ္ဂ်ီဖြန့္အသစ္ရဲ့ original unicode style keyboard layout နဲ့ထြက္တာမို့ ပတ္ဆင့္ေတြရိုက္ဖို့အတြက္ `shift + f` ကိုသံုးပါတယ္၊

downloading package

ဒီ zawgyi-keyboard package ကိုေအာက္ကလင့္ကေန direct ရယူပါ၊

http://zawgyi-keyboard.googlecode.com/files/zawgyi-keyboard-0.3.0.tar.gz

downloaded package က Desktop ေပါ္မွာဆိုရင္

$ cd ~/Desktop


extracting package
package ကို ျဖည္မယ္ဆိုရင္

$ tar xzf zawgyi-keyboard-*.tar.gz


entering into source package directory
package ကိုျဖည္ျပီးတဲ့အခါ ရလာတဲ့ source package folder ထဲ၀င္ရေအာင္

$ cd zawgyi


running zawgyi_keyboard.py script
package install , uninstall စသည့္ functions ေတြ run ဖို့အတြက္ main program ကို စျပီး run ရေအာင္၊ ဒီလို package install, uninstall လုပ္တာက system administration tasks ထဲမွာ တစ္ခုအပါအ၀င္ျဖစ္တဲ့အတြက္ေျကာင့္ root permitted ရဖို့ဒါမွမဟုတ္ admin permitted ရဖို့လိုတဲ့အတြက္ ဒီ python script ကို စစခ်င္း run စဥ္မွာတင္ က်ေနာ္တို့ sudo ဒါမွမဟုတ္ su နဲ့ စျပီး run ရေအာင္

$ sudo python zawgyi_keyboard.py
or
$ su
# python zawgyi_keyboard.py


အဲလို Terminal ထဲမွာ type ျပီး Enter ေခါက္လိုက္တဲ့အခါ zawgyi_keyboard python program က စတင္အလုပ္လုပ္ျပီး ဘာ tasks ကိုလုပ္ေဆာင္မလဲဆိုတာ ေမးပါမယ္။ ဥပမာ ..
[i] install, [r] remove, [u] font update, [h] layout help, [q] exit :

အဂဿငလိပ္အကဿဿခရာ စလံုးအေသး ` i ` ကိုနွိပ္ေပးမယ္ဆိုရင္ package ကို install လုပ္ေပးပါမယ္၊
` r ` ကိုနွိပ္တဲ့အခါ package ကို uninstall လုပ္ေပးပါလိမ့္မယ္။
` h ` ကိုနွိပ္ရင္ font upgrade လုပ္မယ့္ function က run ျပီး ခင္ဗ်ား upgrade လုပ္ခ်င္တဲ့ new zawgyi font ရဲ့ ေနရာ (directory) ကိုေမးပါလိမ့္မယ္။ အဲလိုေမးတဲ့အခါ အဲဒီဖြန့္ရဲ့ ဖိုဒါလမ္းေျကာင္းကို ရိုက္သြင္းေပးရမွာပါ။ ဥပမာ .. new zawgyi font (latest release) က download လုပ္ျပီး desktop ေပါ္မွာထားရင္ သူ့ရဲ့ directory path က
`/home/username/Desktop` ျဖစ္မွာပါ ကုိယ့္ရဲ့ system အလိုက္ ကိုယ့္ရဲ့ downloaded new font directory path ကို ရိုက္သြင္းေပးရမွာပါ။ အဲလိုရိုက္သြင္းျပီးတဲ့အခါ program က လက္ရွိစက္မွာသြင္းထားတဲ့ေဇာ္ဂ်ီဖြန့္နဲ့ ခုခင္ဗ်ားရိုက္သြင္းေပးလိုက္တဲ့ new downloaded font ကိုယွဥ္တြဲေဖာ္ျပေပးအံုးမွာျဖစ္ပါတယ္။ အကယ္၍ user က ဆံုးျဖတ္ျပီး ဒီလုပ္ေဆာင္ခ်က္ကို ဆက္ရမွာျဖစ္ပါတယ္။ ဒီ font update function ကလဲ in case မွသံုးရတာပါ၊ ဥပမာ new zawgyi font ကို testing လုပ္ေနသူမ်ားအတြက္ ပိုျပီးသင့္ေတာ္မွာပါ။
ဒီ python script က အရင္က shell scripts ေတြအတြက္ all in one လဲျဖစ္ပါတယ္။ အရင္ကဆို install လုပ္ဖို့အတြက္ install.sh script ကို run ရတာ remove လုပ္ဖို့အတြက္ uninstall.sh script ကို run ရတာရယ္ ေနာက္ျပီး FreeBSD Gnome2 အသံုးျပုသူမ်ားအတြက္လဲ install_freebsd.sh ကိုသံုးရတာေတြဟာ ခု py script နဲ့က် တစ္ေနရာတည္း တေျပးညီတည္း တခ်ိန္တည္းမွာ run နိုင္ျကပါျပီ။ ဒီ package ကလဲ users and learners မ်ားအတြက္ အဓိက ရည္ရြယ္ ထုတ္လုပ္လိုက္တာပါ။ ျကိုက္နွစ္သက္မယ္လုိ့လဲ ေမွ်ာ္လင့္ပါတယ္။
ဒီ zawgyi_keyboard.py script နဲ့ ပတ္သက္ျပီး errors ေတြ bugs ေတြ ေတြ့ရွိပါက reports, fix, pitches ေတြေရးျပီး က်ေနာ့္ဆီ ေပးပို့ျဖင္း တဖက္တလမ္းက ကူညီျကပါလို့ ေတာင္းဆိုပါရေစ။
ေအာက္မွာ screenshots ေလးေတြျကည့္ရေအာင္...

[caption id="attachment_258" align="alignnone" width="480" caption="starting zawgyi_keyboard.py script"]starting zawgyi_keyboard.py script[/caption]

[caption id="attachment_259" align="alignnone" width="479" caption="installing package by pressing letter ( i )"]installing package by pressing letter ( i )[/caption]

[caption id="attachment_262" align="alignnone" width="480" caption="looking up layout option help by pressing ( h )"]looking up layout option help by pressing ( h )[/caption]

[caption id="attachment_263" align="alignnone" width="480" caption="trying font update function"]trying font update function[/caption]

[caption id="attachment_265" align="alignnone" width="480" caption="System > Preferences > Keyboard"]System > Preferences > Keyboard[/caption]

[caption id="attachment_266" align="alignnone" width="480" caption="choosing myanmar layout"]choosing myanmar layout[/caption]

[caption id="attachment_267" align="alignnone" width="480" caption="getting US and Myanmar layouts"]getting US and Myanmar layouts[/caption]

[caption id="attachment_268" align="alignnone" width="480" caption="choosing keys to change between us and zawgyi keyboard layouts"]choosing keys to change between us and zawgyi keyboard layouts[/caption]

[caption id="attachment_269" align="alignnone" width="480" caption="Applications > System Tools > Zawgyi Keyboard"]Applications > System Tools > Zawgyi Keyboard[/caption]

[caption id="attachment_270" align="alignnone" width="480" caption="testing new zawgyi keyboard on gedit"]testing new zawgyi keyboard on gedit[/caption]

see those screenshots on Picasa

http://picasaweb.google.com/thebox02/ZawgyiKeyboard030TarGzInstallAndHowto?feat=directlink

Project home page
http://code.google.com/p/zawgyi-keyboard/

ေက်းဇူးတင္ပါတယ္..

enjoy with new zawgyi-keyboard-0.3.0 release :-)

zawgyi-keyboard-0.3.0 will be released with new features

က်ေနာ္ ဒီ features ေလးေတြကိုစိတ္ကူးထားတာျကာပါျပီ၊ အခ်ိန္မရခဲ့တာရယ္ေျကာင့္ပါ။ ခုေတာ့ အေျခအေနကဖန္လာပါျပီး၊ ကိုစိုးမင္းက ေဇာ္ဂ်ီဖြန့္အသစ္ကို new features ေတြနဲ့ စျပီး introduce လာခဲ့ရာ က်ေနာ္တို့လက္ရိွအသံုးျပုေနတဲ့ ေဇာ္ဂ်ီဖြန့္ဟာလဲ အင္မတန္မွ ေကာင္းမြန္လာခဲ့ပါတယ္။ ဒီလို nice features ေတြရိွတဲ့ ေဇာ္ဂ်ီဖြန့္အသစ္နဲ့အတူ Linux/Unix zawgyi_keyboard installer ကလဲ new features ေတြနဲ့ စတင္ release လိုက္ပါတယ္။ ဒီ zawgyi_keyboard.py module က Python Programming Language နဲ့ေရးသားထားျပီး ပါဝင္တဲ့ functions ေတြကေတာ့ ..
install package
remove package
layout help
font upgrade
တို့ျဖစ္ပါတယ္။ Install, remove functions က မိမိရဲ့ system ဟာ Linux လား FreeBSD လားကို အလိုေလွ်ာက္ detect လုပ္ျပီးေတာ့ သင့္ေတာ္ရာ directories ရွာေဖြျပီး font & xkeyboard ကို install & remove လုပ္ေပးမွာျဖစ္ပါတယ္။ အရင္ကလို install, uninstall, install_freebsd, uninstall_freebsd scripts ေတြကို ခဲြသံုးစရာမလိုေတာ့ပါဘူး။ ေနာက္ျပီး font upgrade feature ကလဲ မိမိ အသစ္ download လုပ္ထားတဲ့ font path (font directory) ကိုေဖာ္ျပေပးရံုနဲ့ ဒီ program က ေဇာ္ဂ်ီဖြန့္ကို အဲဒီေဖာ္ျပပါ directory မွာရွာျပီး system ထဲမွာ installed လုပ္ျပီးသားဖြန့္နဲ့ ခုခင္ဗ်ားအသစ္သြင္းခ်င္တဲ့ ေဇာ္ဂ်ီဖြန့္ကို ျပန္ျပီးေဖာ္ျပေပးမွာပါ။ အကယ္၍ user က upgrade ကိုဆက္လုပ္ခ်င္တယ္ဆိုရင္ ဒီ program ကဆက္လက္ေဆာင္ရြက္ေပးသြားမွာပါ။
layout help ကေတာ့ short guide ေလးပါပဲ၊ Linux system မွာသံုးတဲ့ GUI keyboard preferences program ကိုဖြင့္သံုးဖို့နဲ့ keyboard indicator ကို panel ေပါ္မွာ ဘယ္လို add ရတယ္ဆိုတဲ့ text base short guide ေလးပါ။
ေနာက္တစ္ခုက ဒီ python script ေလးဟာ GNU GPLv3 License နဲ့ release လုပ္တာမို့ open source လဲျဖစ္ Freedom to use, learn, edit, modify, hack လဲျဖစ္တဲ့အတြက္ ေလ့လာသူမ်ားအတြက္လဲ တစံုတရာအက်ိုးအျမတ္ရရိွေစမွာျဖစ္ပါတယ္။ အက်ဿဥ္းခ်ုံးေျပာရရင္ေတာ့ ခုထြက္မယ့္ zawgyi-keybaord-0.3.0 release မွာ zawgyi_keyboard.py script နဲ့အတူ ကိုစိုးမင္းရဲ့လက္ရာ ရင္ခုန္စရာ ေဇာ္ဂ်ီဖြန့္အသစ္ရဲ့ new features ေတြနဲ့အတူထြက္ရိွေတာ့မွာမို့ users မ်ားအတြက္ ဝမ္းသာစရာသတင္းေကာင္းေလး ေပးအပ္ပါတယ္ဗ်ား ..
ခုေလာေလာဆယ္ testing လုပ္ေနေသးတာျဖစ္တဲ့အတြက္ ဒီ ၁ရက္ ၂ရက္အတြင္း ထြက္လာမွာပါ။
ခု cygwin ေပါ္မွာ testing လုပ္ထားတာေလးကို screenshots ထားတဲ့အတြက္ နမူနာေလးေတာ့တင္ေပးလိုက္ပါတယ္။

[caption id="attachment_245" align="alignnone" width="480" caption="zawgyi_keyboard.py starting"]zawgyi_keyboard.py starting[/caption]

[caption id="attachment_246" align="alignnone" width="480" caption="short guide for layout"]short guide for layout[/caption]

[caption id="attachment_247" align="alignnone" width="480" caption="installing zawgyi-keyboard package"]installing zawgyi-keyboard package[/caption]

[caption id="attachment_248" align="alignnone" width="480" caption="zawgyi font upgrading"]zawgyi font upgrading[/caption]

[caption id="attachment_249" align="alignnone" width="479" caption="upgrading font"]upgrading font[/caption]

[caption id="attachment_250" align="alignnone" width="480" caption="uninstall package and quiting the program"]uninstall package and quiting the program[/caption]

အကယ္၍ users မ်ားမွာ idea အသစ္ေလးေတြရိွမယ္ဆိုရင္ က်ေနာ့္ကိုတင္ျပနိုင္ပါတယ္၊ release ထုတ္ျပီးတဲ့အခါ errors ေတြ bugs ေတြေတြ့တယ္ဆိုရင္လဲ reports/pitches ေတြေပးျကပါလို့ ေတာင္းဆိုပါရေစ..

Package release soon!!

Have a lot of fun!! :-)
regards

How to share files using samba on Debian 5

Debian မွာ File Sharing လုပ္ရတာလြယ္ကူပါတယ္။ ဒီထက္႔ကို Ubuntu မွာလုပ္ရတာက ပိုၿပီး လြယ္ကူပါတယ္။ ခု Debian ႏွင္႔ Windows မွာ ဖိုင္ sharing လုပ္ဖို႔အတြက္ အေျခခံေလးေရးမွာပါ။ ဒီေနရာမွာ နမူနာေလးပဲဆိုေတာ႔ Hypothesis အားျဖင္႔ Windows workgroup ကိုနာမည္တစ္ခုတပ္ၿပီး setup လုပ္ရေအာင္ workgroup name ကို MYGROUP လို႔ နာမည္ေပးၿပီး Windows Machine မွာ setup ထားၿပီးၿပီး ဒါမွမဟုတ္ Unix မွာပဲျဖစ္ျဖစ္ Mac မွာပဲျဖစ္ျဖစ္ MYGROUP နာမည္နဲ႔ ကိုယ္႔ workgroup ကို setup ထားတယ္လို႔ ယူဆပါမယ္။ အရင္ဆံုး က်ေနာ္တို႔ samba ကို install ဖို႔လိုအပ္ပါမယ္။ ခု Debian Lenny မွာ samba 3 ကို install လုပ္ပါတယ္။

$ su
# apt-get install samba


Installation ၿပီးတဲ႔အခါ က်ေနာ္တို႔ samba configuration ဖိုင္ကို modify လုပ္ေပးရပါမယ္။ modify မလုပ္ခ်င္ safe ျဖစ္ရေအာင္ default conf ဖိုင္ကို က်ေနာ္တို႔ backup လုပ္ပါမယ္။

# cp /etc/samba/smb.conf /etc/samba/smb.conf_default


ၿပီးရင္ က်ေနာ္တို႔ smb.conf လို႔ေခၚတဲ႔ samba configuration file ကို modify စလုပ္ပါမယ္၊ လုပ္ဖို႔ရာ ကိုယ္ကြ်မ္းက်င္တဲ႔ text editor တစ္ခုခုကို သံုးၿပီး လုပ္ရေအာင္၊ ဥပမာ က်ေနာ္က vim ကိုႏွစ္သက္ေတာ႔ vim command ေလးသံုးလိုက္မယ္ေနာ္..

# vim /etc/samba/smb.conf


ဒါဆိုရင္ smb.conf ဖိုင္ကို ေအာက္ကလိုျမင္ရမွာပါ။

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.
# A well-established practice is to name the original file
# "smb.conf.master" and create the "real" config file with
# testparm -s smb.conf.master >smb.conf
# This minimizes the size of the really used smb.conf file
# which, according to the Samba Team, impacts performance
# However, use this with caution if your smb.conf file contains nested
# "include" statements. See Debian bug #483187 for a case
# where using a master file is not a good idea.
#

#======================= Global Settings =======================

[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
server string = %h server

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z

# If we receive WINS server info from DHCP, override the options above.
include = /etc/samba/dhcp.conf

# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
; interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
; bind interfaces only = yes



#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
# syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d


####### Authentication #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
security = user

# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
encrypt passwords = true


# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam

obey pam restrictions = yes

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan < for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
pam password change = yes

########## Domains ###########

# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
; domain logons = yes
#
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of the user's profile directory
# from the client point of view)
# The following required a [profiles] share to be setup on the
# samba server (see below)
; logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
# logon path = \\%N\%U\profile

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
; logon drive = H:
# logon home = \\%N\%U

# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
; logon script = logon.cmd

# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe. The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

# This allows machine accounts to be created on the domain controller via the
# SAMR RPC pipe.
# The following assumes a "machines" group exists on the system
; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe.
; add group script = /usr/sbin/addgroup --force-badname %g

########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
# load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
; printing = bsd
; printcap name = /etc/printcap

# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
; printing = cups
; printcap name = cups

############ Misc ############

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /home/samba/etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
# for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
# socket options = TCP_NODELAY

# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
# domain master = auto

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash

# The following was the default behaviour in sarge,
# but samba upstream reverted the default because it might induce
# performance issues in large organizations.
# See Debian bug #368251 for some of the consequences of *not*
# having this setting and smb.conf(5) for details.
; winbind enum groups = yes
; winbind enum users = yes

# Setup usershare options to enable non-root users to share folders
# with the net usershare command.

# Maximum number of usershare. 0 (default) means that usershare is disabled.
; usershare max shares = 100

#======================= Share Definitions =======================

[homes]
comment = Home Directories
browseable = yes
writable = yes

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
read only = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0700

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# The following parameter makes sure that only "username" can connect
# to \\server\username
# This might need tweaking when using external authentication schemes
valid users = %S

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
; share modes = no

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700

[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
; write list = root, @lpadmin

# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
; read only = yes
; locking = no
; path = /cdrom
; guest ok = yes

# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom


ဒီဖိုင္ထဲမွာ set up လုပ္စရာ configuration ေတြအမ်ားႀကီးေတြ႕မွာပါ။ က်ေနာ္တို႔ ရိုးရိုးေလး file sharing ပဲလုပ္မယ္ဆိုေတာ႔ အဲဒီထဲကဟာေတာ္ေတာ္မ်ားမ်ားကို ignore လုပ္ထားၿပီး ျပင္ဆင္စရာရွိတဲ႔ data ေလးေတြကိုပဲျပင္ရပါမယ္။ File sharing အတြက္ ဘာေတြလိုအပ္မလဲဆိုေတာ႔

workgoup name (ကိုယ္႔ network အတြင္းမွာလုပ္ထားတဲ႔ workgroup name ကိုထည့္ေပးရပါမယ္)
netbios name (ကိုယ္႔ workgroup အတြင္းမွာ ကိုယ္႔ ဒီ debian machine ကိုသိသာေအာင္ နာမည္တစ္ခုတပ္ပါမယ္)
share folder name and path (ဒါကေတာ႔ ကိုယ္ sharing ေပးမယ္႔ path နဲ႔ name ကိုေပးပါမယ္)
win supports (windows supports ကိုေပးပါမယ္)
security (ဒီ security မွာ share level အေနနဲ႔ထားပါမယ္)

ဒီအခ်က္အလက္ေတြကို က်ေနာ္တို႔ ျပဳျပင္ေျပာင္းလဲေပးရပါမယ္။ ဒီေနရာမွာ ဥပမာေလး နဲ႔ ျဖည့္ရပါမယ္။ ကိုယ္လိုခ်င္သလိုနာမည္ေပးလဲရပါတယ္ ကိုယ္႔ sharing ဆိုေတာ႔ ကိုယ္႔စိတ္ႀကိဳက္လုပ္ႏိုင္ပါတယ္။ ခု ဒီမွာ home network အတြင္းမွာပဲ share လုပ္တယ္ဆိုေတာ႔ security level က သိပ္ျမင္႔မွာ မဟုတ္ပါဘူး။ စၿပီးျပင္ရေအာင္ ..

workgroup = MYGROUP
netbios name = Debian5

# My Share Data here
[MyShare]
comment = MyShare
path = /myshare
read only = no
guest ok = yes


ဒီလိုဆက္တိုက္ျဖည့္ၿပီးရင္ smb.conf ဖိုင္ထဲမွာ win supports နဲ႔ security ကိုလိုက္ရွာၿပီး ေအာက္ကအတိုင္းျပင္လိုက္ပါမယ္။

win supports = yes

security = share


ဒါေလးေလာက္ျပင္ျပီးရင္ smb.conf ဖိုင္ကို save ၿပီး close လုပ္လိုက္ပါမယ္။
ၿပီးရင္ ဒီ smb.conf ဖိုင္ကအတိုင္း share folder တည္ေဆာက္ေပးမယ္။

# mkdir /myshare


ခုလုပ္လိုက္တဲ႔ share folder အတြင္းမွာ read/write access ေပးဖို႔ရာ ..

# chmod 0777 /myshare


ၿပီးရင္ users အေနနဲ႔လဲ ပိုင္ဆိုင္ပါေစ.. အကယ္လို႔ ကိုယ္ကိုယ္တိုင္ box02 အမည္နဲ႔ useradd ထားပါက.. ဥပမာ

# chown box02.users /myshare


ကိုယ္႔ samba conf ကို test လုပ္ၾကည့္မယ္..

# testparm


ၿပီးေတာ႔ တျခားစက္ကေန ကိုယ္႔ရဲ႕ Debian Share Folders ကို access လို႔လို႔ရေအာင္ samba user add ေပးမယ္..

# smbpasswd -a box02
New SMB password:
Retype new SMB password:


ဒီမွာ ကိုယ္ေပးခ်င္တဲ႔ password ကိုရိုက္ထည့္ေပးမယ္။

အဲဒါေတြၿပီးစီးရင္ေတာ႔ samba ကို restart လုပ္ေပးမယ္။

# /etc/init.d/samba restart


အဲဒါဆိုရင္ တျခားတဖက္မွာ ကိုယ္႔ရဲ႕ Debian machine ကို `mygroup` network workgroup ထဲမွာ `Debian5` လို႔ျမင္ၿပီး ဖြင္႔ပါက user name နဲ႔ password ကိုေတာင္းပါလိမ္႔မယ္။ အဲေတာ႔က်ရင္ samba username အေနနဲ႔ box02 လို႔ရိုက္ထည့္ေပးၿပီး password ကိုက်ေတာ႔ ခဏက ရိုက္ထည့္ေပးခဲ႔တဲ႔ smb passwd ကိုရိုက္ထည့္ေပးလိုက္ရင္ ကိုယ္ sharing လုပ္ထားသမွ်ျမင္ရမွာပါ။ myshare folder ကိုလဲေတြ႕မွာပါ။

ပိုၿပီး သိခ်င္ရင္ေတာ႔ ေအာက္က pdf ေလးကို download လုပ္ၿပီး ဖက္ၾကည့္ေလ႔လာပါ..

Samba3-HOWTO.pdf

Enjoy it! :-)

How does Linux/Unix Administrator have sex?

Linux/Unix Administrators ေတြေန႔စဥ္နဲ႔အမွ် ဘာေတြလုပ္ၾကလဲသိလား? က်ေနာ္ေျပာျပမယ္ေနာ္.. :D

unzip, strip, touch, finger, mount, fsck, more, yes, umount, sleep


unzip:
ဇစ္ကို ျဖည္မယ္

strip:
အ၀တ္အစားခြ်ပ္မယ္

touch:
ထိေတြ႕မယ္

finger:
လက္ေခ်ာင္းေလးေတြသံုးမယ္

mount:
စလုပ္မယ္

fsck:
:P

more:
ပိုလုပ္မယ္

yes:
ဟုတ္ၿပီ

umount:
ခြာလိုက္ၿပီ

sleep:
အိပ္မယ္

ေပ်ာ္စရာေလးေတြပါ.. :D
မယံုရင္ အဲဒီ commands ေတြရဲ႕ man page ေတြဖတ္ေပးေနာ္.. woman page ေတာ႔ မရွိဘူး ;) အဟိ

Enjoy it!

How to install zawgyi font on FreeBSD Gnome2

ခုေနာက္ပိုင္း ပီစီကြန္ပ်ဴတာအသံုးျပဳသူေတြအတြက္ Operating Systems စိတ္ႀကိဳက္ေရြးခ်ယ္အသံုးျပဳဖို႔ အခြင္႔အေရးေတြ အလြန္႔အလြန္မ်ားစြာရွိလာပါၿပီ.. ဟိုတုန္းကလို MS Windows တစ္ခုတည္းနဲ႔ လံုေလာက္ေက်နပ္မႈေတြ မရွိေတာ႔ပဲ အဲဒီထက္ပိုမိုေကာင္းမြန္တဲ႔ Operating Systems ေတြကိုေရြးခ်ယ္ အသံုးျပဳလာၾကပါတယ္၊ ဥပမာ Linux, Unix systems ေတြထဲမွာပဲ ေရြးခ်ယ္စရာေတြက တပံုတပင္ရယ္ပါ။ Linux distributions ေတြကိုပဲၾကည့္ရင္ Ubuntu, Debian, Fedora, Gentoo စသည္ျဖင္႔ ေျမာက္မ်ားစြာေသာ Open Source Operating Systems စသည္ျဖင္႔မ်ားစြာရွိေနပါၿပီ။ Desktop Users မ်ားအတြက္လဲ အင္မတန္ေကာင္းမြန္သင္႔ေတာ္ေနပါၿပီ.. ဒီလို perfect desktop system ေကာင္းေတြရွိေသာ္လည္း တခ်ဳိ႕က်ျပန္ေတာ႔ Real Unix ကိုပဲသံုးခ်င္ၾကပါတယ္။ အရင္တုန္းက Unix ကို Desktop User မ်ား အသံုးျပဳခဲလွေသာ္လည္း ခုခါမွာ Unix ကို Desktop အသြင္ အသံုးျပဳလာၾကပါၿပီ။ PC-BSD, DesktopBSD တို႔ကိုၾကည့္မယ္ဆိုရင္ FreeBSD ကို base ခံၿပီး Desktop Use အတြက္ customize လုပ္လာၾကပါတယ္။ FreeBSD ကေတာ႔ တကယ္႔ကို complete operation system တစ္ခုပါ။ Open Sources လဲ ျဖစ္ပါတယ္။ တခ်ဳိ႕ကလဲ FreeBSD ကိုပဲ ကိုယ္႔ဟာကိုယ္ customize လုပ္ၿပီးသံုးခ်င္ၾကပါတယ္။ PC-BSD နဲ႔ DesktopBSD တို႔က offer လုပ္တဲ႔ pre-customize system နဲ႔ KDE desktop environment ကို မၾကိဳက္ၾကပဲ ကိုယ္ႀကိဳက္တဲ႔ Desktop Environment နဲ႔အတူ kernel ကိုလဲ ကိုယ္႔စိတ္ႀကိဳက္ customize လုပ္ၿပီး Desktop Use အတြက္ သံုးေနၾကပါတယ္။ ဒီလို FreeBSD ကိုကိုယ္႔ဟာကိုယ္ customize လုပ္ၿပီး Gnome Desktop သံုးသူမ်ားတြက္က ေဇာ္ဂ်ီဖြန္႔သြင္းရတာ ျပသာနာရွိလိမ္႔မယ္ မထင္ပါဘူး။ သို႔ေပမယ္႔လည္း zawgyi keyboard package ကိုလြယ္လြယ္ကူကူ download လုပ္ၿပီး install လုပ္ခ်င္သူမ်ားအတြက္ zawgyi-keyboard-0.1.2.tar.gz package ကို ေအာက္ကလင္႔မွာ သြားေရာက္ download ယူႏိုင္ပါတယ္။

For FreeBSD 7.x , Gnome2
Package: zawgyi-keyboard-0.1.2.tar.gz

http://zawgyi-keyboard.googlecode.com/files/zawgyi-keyboard-0.1.2.tar.gz

ဒီ package ကိုရၿပီးလ်င္ extract လုပ္ၿပီး zawgyi folder ထဲကို၀င္ၿပီး install_freebsd.sh ကို run ေပးပါ။

$ su
# tar xzf zawgyi-keyboard-0.1.2.tar.gz
# cd zawgyi
# sh install_freebsd.sh


uninstall လုပ္ခ်င္ပါက

# sh uninstall_freebsd.sh


Enjoy with FreeBSD Gnome2 and Zawgyi font! :-)