Popular Posts

Monday 2 April 2018

Zorin OS Your computer faster and virus free better!

YOUR COMPUTER.
BETTER.

Zorin OS is an alternative to Windows and macOS, designed to make your computer faster, more powerful and secure.








Zorin OS 12
...






ZORIN OS 12.3 ULTIMATE

THE ULTIMATE EXPERIENCE.

Zorin OS Ultimate lets you unleash the full potential of your computer. Whether you're into business, multimedia or gaming, you can rely on its enormous selection of software to do incredible work, or just to have fun.
Included only in Zorin OS Ultimate




The best Business
and Media apps

Learn more




Over 20 fun games




Added macOS, Gnome 2 and Unity desktop layouts in Zorin Appearance




Video wallpapers with Zorin Background Plus




Zorin Support
Learn more
...and everything from Zorin OS Core




LibreOffice suite
(compatible with Microsoft Office)




Useful accessories and utilities




Safe from PC viruses and malware




Windows and Gnome 3 desktop layouts in Zorin Appearance




Compatible with Windows apps
Learn more

ZORIN OS BUSINESS

Give your computers the ultimate upgrade so your business can reach new heights.

ZORIN OS 12.3 CORE

THE CORE ESSENTIALS.

Zorin OS Core gives you all the essential features you need from your computer in a fast, secure and easy to use package. Whether you're browsing the web, working on office documents or chatting with your friends, you can count on Zorin OS Core for a smooth desktop experience.
Included in Zorin Ohttps://zorinos.com/download/S Core




LibreOffice suite
(compatible with Microsoft Office)




Useful accessories and utilities




Safe from PC viruses and malware




Windows and Gnome 3 desktop layouts in Zorin Appearance




Compatible with Windows apps
Learn more
Pay what you want 
  

Enter any euro amount.

Sunday 1 April 2018

Burmese Font and Keyboard Installation for Ubuntu 14.04 LTS(Linux)


Ubuntu Myanmar LoCo Team ရဲ့ Facebook page မှာအမြဲတမ်းမေးလေ့ရှိတဲ့ မေးခွန်းပါ။ Ubuntu မှာ မြန်မာ font ဘယ်လိုသွင်းရမလဲ မြန်မာလို ရိုက်မရလို့ပြောပြပါဦးဆိုတဲ့ မေးခွန်းတွေအတွက် ဖြေရလွယ်အောင် ဒီ post လေးထပ်ရေးလိုက်ပါတယ်။ Ubuntu 14.04 LTS version ကိုအခြေခံပြီး ပြောပြသွားပါမယ်။
အလျှင်ဦးဆုံး install လုပ်ပုံတွေမပြောခင် font နဲ့ keyboard တနည်းအားဖြင့် input source တို့ရဲ့ သဘောတရားလေးကို ရှင်းပြပါရစေ။ Ubuntu, Windows, Android, iDevice ဘယ် System မှာမဆို မြန်မာလိုမြင်ရဖို့ မြန်မာ font လိုအပ်ပြီး မြန်မာလို ရေးသားနိုင်ဖို့ Keyboard လိုအပ်ပါတယ်။ လက်ရှိကျွန်တော်တို့ online မှာ၊ User တွေကြားမှာ အဓိကသုံးနေတဲ့ မြန်မာစာ Font ၂မျိုးရှိပါတယ်။ ဇော်ဂျီ နဲ့ ယူနီကုဒ်ပါ။ ဇော်ဂျီကတော့ Web ပေါ်မှာရော Social Network တွေမှာပါအသုံးများတာ အားလုံးပဲသိကြမှာပါ။ မြန်မာ font ဆိုတာနဲ့ ဇော်ဂျီကိုပဲ သတိရကြတာပါ။ တကယ်တမ်းတော့ ဇော်ဂျီက Unicode ဆိုတဲ့စနစ်ကို အခြေခံထားပေမယ့် အပြည့်အဝမလိုက်နာထားတဲ့ Font အမျိုးအစားတစ်ခုပါ။ ယူနီကုဒ်စနစ်ကို လိုက်နာပြီး Ubuntu မှာပါအဆင်ပြေတဲ့ Font တွေကတော့ Padauk, Myanmar3, Tharlon, Noto Sans Myanmar, Yunghkio, Mon3 Anonta 1 တို့ပဲဖြစ်ပါတယ်။ Ubuntu မှာကတော့ Unicode Font အနေနဲ့ Padauk font ပါဝင်ပြီးသားဖြစ်ပေမယ့် Zawgyi သုံးပြီးရေးထားတာတွေကို မြင်ရဖို့အတွက်တော့ Zawgyi font install လုပ်ပေးဖို့လိုအပ်ပါတယ်။
Keyboard (Input Source) ဆိုတာကတော့ မြန်မာလိုစာရိုက်နိုင်ဖို့အတွက်ပါ။ Zawgyi font သုံးပြီးစာရိုက်နိုင်ဖို့အတွက် Zawgyi Keyboard လိုအပ်သလို ယူနီကုဒ်သုံးပြီး စာရိုက်နိုင်ဖို့အတွက် Unicode Keyboard လိုအပ်ပါတယ်။ တချို့တွေမေးကြပါတယ်။ မြန်မာလိုမြင်ရပေမယ့် စာရိုက်လို့မရလို့ပါတဲ့။ အဲဒါကတော့ Zawgyi Font သွင်းထားပြီး keyboard မသွင်းထားတဲ့အတွက် စာရိုက်လို့မရတာပါ။ Zawgyi မှမဟုတ်ပါဘူး Unicode လည်း keyboard မသွင်းထားရင် မြန်မာလို စာရိုက်လို့မရပါဘူး။
Ubuntu Installation ပြုလုပ်တဲ့အချိန် Location ကို Rangoon ရွေးခဲ့ရင်တော့ ယူနီကုဒ် Padauk font ပါဝင်လာပြီး ပြက္ခဒိန်ကို မြန်မာလိုမြင်ရပါလိမ့်မယ်။ Keyboard အနေနဲ့ကတော့ xkb input method ကိုအခြေခံထားတဲ့ unicode keyboard တစ်ခုပါဝင်ပြီးသားပါ။ Text Entry ဆိုတဲ့ setting ထဲမှာ ထပ်ဖြည့်ပေးရပါတယ်။ ဇော်ဂျီသုံးချင်တယ်ဆိုလျှင်တော့ Zawgyi Font နဲ့ Keyboard ကိုထပ်သွင်းပေးရပါလိမ့်မယ်။
xkb input method ကိုသုံးထားတဲ့ keyboard က သုံးရတာပေါ့ပေါ့ပါးပါးရှိပါတယ်။ ဒါပေမယ့် အင်္ဂလိပ်လိုနဲ့ မြန်မာလိုကို ပြောင်းဖို့အတွက် shortcut key နှစ်ခုကို တွဲနှိပ်ပေးရပါတယ်။ Control + Shift ဒါမှမဟုတ် Alter + Shift key တွေကို တွဲနှိပ်ပေးရတာမျိုးပါ။ ကျွန်တော့်အနေနဲ့ အဓိကသုံးဖြစ်တာကတော့ IBus input method ကိုသုံးထားတဲ့ keyboard ပါ။ သူ့မှာထူးခြားတာက အင်္ဂလိပ်၊ မြန်မာ ပြောင်းဖို့အတွက် Left Shift key တစ်ခုတည်းကိုပဲတစ်ချက်နှိပ်ရုံနဲ့ အလွယ်တကူပြောင်းပေးနိုင်တာပါ။ keyboard layout နဲ့ ရိုက်ရတဲ့ပုံစံကတော့ xkb အတိုင်းပါပဲ။
နောက်တစ်ခုက Zawgyi Font နဲ့ပက်သက်ပြီး တက်တတ်တဲ့ပြဿနာလေးပါ။ Ubuntu ကို Install လုပ်ပြီးပြီးချင်း တမ်းသုံးလို့ရတာက Padauk Unicode Font နဲ့ပါ။ အဲဒါကို ကျွန်တော်တို့က Zawgyi သုံးနေကျမို့ Zawgyi Font ကို install လုပ်လိုက်မယ်ဆိုရင် System တစ်ခုလုံး မြန်မာလိုကို Zawgyi font နဲ့ ပြပေးသွားမှာပါ။ အဲဒီအခါ နဂိုက မှန်မှန်ကန်ကန်ပြနေတဲ့ ပြက္ခဒိန်မှာရှိတဲ့ မြန်မာစာသားတွေအားလုံး တလွဲဖြစ်သွားပါလိမ့်မယ်။ အကြောင်းကတော့ Unicode နဲ့ရေးထားတဲ့ စာသားတွေကို Zawgyi font သုံးပြီး ပြပေးသလို ဖြစ်သွားတာကြောင့်ပါ။ အကြောင်းအရင်ကတော့ System Fallback Font သတ်မှတ်တဲ့ နေရာမှာ System က Code Point တစ်နည်းအားဖြင့် Character Symbol များတဲ့ font ကိုပဲအဓိကထားပြီးရွေးလို့ပါ။ Fallback Font ဆိုတာကတော့ အရှင်းဆုံးပြောရရင် အက္ခရာတိုင်းအတွက် ဘယ်အက္ခရာကို ဘယ် font နဲ့ပြပေးမယ်ဆိုတာကို သတ်မှတ်ပေးတာပါ။ Unicode font တွေနဲ့ ယှဉ်ရင် Zawgyi က Code Point ပိုများပါတယ်။ ဥပမာ Unicode မှာ ရရစ်  ကတစ်မျိုးတည်းရှိပြီး Zawgyi မှာတော့ ၈မျိုးလောက်ရှိပါတယ်။ ဒါကြောင့် မြန်မာအက္ခရာတွေအတွက် System Font သတ်မှတ်တဲ့နေရာမှာ Zawgyi က Unicode ထက် အသာစီးရပြီး သူ့ကိုပဲ Fallback Font အနေနဲ့သုံးသွားတာပါ။ အလျှင်ကတော့ အဲဒီပြဿနာကိုဖြေရှင်းဖို့ system fallback font ကို ပြောင်းလဲသတ်မှတ်ပေးနိုင်တဲ့ my-fs-cli ဆိုပြီး command-line tool လေးလုပ်ပေးထားဖူးပါတယ်။ launchpad ရဲ့ ppa ကနေတစ်ဆင့် ဒါမှမဟုတ် .deb file ကို download လုပ်ပြီးဖြစ်ဖြစ် install လုပ်နိုင်ပါတယ်။ ဒါပေမယ့် User တွေအနေနဲ့ keyboard တစ်ခါ install လုပ် font ပြဿနာအတွက် အဲဒီ tool ကို တစ်ခါ install ထပ်လုပ်နဲ့ဆိုတော့ အဆင့်တွေများပါတယ်။
အခု အဲဒီပြဿနာတွေကို အလွယ်တကူရှင်းနိုင်ဖို့အတွက် keyboard နဲ့တစ်ပါတည်း fallback font switcher ကိုပါထည့်ပေးထားလိုက်ပါတယ်။ installation ကိုလဲ အလွယ်ကူဆုံး၊ အရှင်းဆုံးဖြစ်အောင်လို့ အသေးစိပ်ဖေါ်ပြပေးပါ့မယ်။ အလျှင်ဦးဆုံး Terminal ကိုဖွင့်ပြီး အောက်မှာဖော်ပြထားတဲ့အတိုင်း command ကို တစ်ကြောင်းပြီး တစ်ကြောင်းရိုက်သွားလိုက်ပါ။
$ wget https://github.com/naingyeminn/mm-kb/archive/master.zip -O mm-kb.zip
$ unzip mm-kb.zip $ cd mm-kb-master/ $ sudo make install $ ibus-daemon -rdx
$ gsettings set org.freedesktop.ibus.panel show 0
$ im-config -n ibus
Command အားလုံးရိုက်ပြီးပြီဆိုရင်တော့ ပုံမှာပြထားတဲ့အတိုင်း တစ်ဆင့်ချင်းသွားပြီး Keyboard ကို activate လုပ်ပေးရပါမယ်။
  • Text Entry Settings… ကိုရွေးပါ။
Text Entry Setting
  • ”+” button ကိုနှိပ်ပြီး search box ထဲမှာ Burmese လို့ရိုက်ထည့်ပြီးရှာလိုက်ပါ။ Burmese, Burmese (mm-myanmar3), Burmese (mm-zawgyi) ဆိုပြီး Keyboard Layout သုံးခုတွေ့ရပါလိမ့်မယ်။
input
  • Unicode အတွက် Burmese (mm-myanmar3) ဖြစ်ပြီး Zawgyi အတွက်ကတော့ Burmese (mm-zawgyi) ဖြစ်ပါတယ်။ ကြိုက်ရာကိုရွေးထည့်ပြီး အသုံးပြုနိုင်ပါတယ်။ Burmese ကတော့ မူရင်းပါဝင်ပြီးဖြစ်တဲ့ xkb unicode keyboard ပါ။
  • keyboard layout ကိုတော့ Super + Space key ကိုနှိပ်ပြီး ပြောင်းနိုင်ပါတယ်။ keyboard နှစ်ခုထည့်ထားလျှင် နှစ်ခု၊ သုံးခုထည့်ထားလျှင် သုံးခု အလှည့်ကျ ပြောင်းပေးသွားမှာပါ။
  • မြန်မာလိုစာရိုက်နေရာကနေ အင်္ဂလိပ်လို ပြန်ရိုက်ချင်တယ်ဆိုရင် English keyboard ပြောင်းနေစရာမလိုပါဘူး။ ရိုက်နေတဲ့ Zawgyi ဒါမှမဟုတ် Myanmar3 keyboard ကနေပဲ Left Shiftkey ကိုတစ်ခက်နှိပ်ပေးလိုက်တာနဲ့ အင်္ဂလိပ်လိုဖြစ်သွားမှာပါ။ နောက်တစ်ချက်ထပ်နှိပ်ရင်တော့ မြန်မာလိုပြန်ပြောင်းပေးပါလိမ့်မယ်။
  • အပေါ်မှာ ကျွန်တော်ပြောခဲ့တဲ့အတိုင်း mm-kb ကို install လုပ်လိုက်တာနဲ့ System font အနေနဲ့ Zawgyi ကို အလိုအလျောက်သုံးသွားပါလိမ့်မယ်။ Unicode သုံးချင်သူတွေအနေနဲ့ကတော့ Unity Dashboard ထဲမှာ myanmar လို့ရိုက်ပြီးရှာကြည့်လိုက်ပါ။ Myanmar Font Switcherတွေ့ပါလိမ့်မယ်။ Zenity သုံးပြီးရေးထားတဲ့ Script လေးပါ။ အဲဒီ script လေးသုံးပြီး ပေးထားတဲ့ Font တွေထဲကမှ ကြိုက်နှစ်သက်ရာ Font ကိုပြောင်းပေးနိုင်ပါတယ်။
myanmar-font-switcher
myanmar-font-switcher
  • Zawgyi အသုံးပြုတဲ့သူတွေအနေနဲ့ Zawgyi font ကြောင့် မြန်မာလိုပြပေးနေတဲ့ Date/Time စာသားတွေ လွဲသွားတာကိုမလိုချင်ရင်တော့ အင်္ဂလိပ်လိုပြောင်းပေးနိုင်ပါတယ်။ System Preferences> Language Support> Regional Formats မှာ Burmese ကို English (United States) ပြောင်းပေးလိုက်ပါ။ အဆင်ပြေသွားပါလိမ့်မယ်။
Language Support
အဆင်မပြေတာ ဒါမှမဟုတ် လိုအပ်တာများကိုအကြံပေးချင်၊ အကြောင်းကြားချင်ရင်တော့ Comment ကနေဖြစ်စေ Facebook Group မှာဖြစ်စေ မေးမြန်းအကြံပေးနိုင်ပါတယ်။
Ref:http://naingyeminn.com/posts/burmese-keyboard-for-ubuntu-1404/











Ubuntu Myanmar LoCo Team ရဲ့ Facebook page မှာအမဲြတမ်းမေးလေ့ရှိတဲ့ မေးခွန်းပါ။ Ubuntu မှာ မြန်မာ font ဘယ်လိုသွင်းရမလဲ မြန်မာလို ရိုက်မရလို့ပြောပြပါဦးဆိုတဲ့ မေးခွန်းတွေအတွက် ဖြေရလွယ်အောင် ဒီ post လေးထပ်ရေးလိုက်ပါတယ်။ Ubuntu 14.04 LTS version ကိုအခြေခံပီြး ပြောပြသွားပါမယ်။ အလျှင်ဦးဆံုး install လုပ်ပံုတွေမပြောခင် font နဲ့ keyboard တနည်းအားဖြင့် input source တို့ရဲ့ သဘောတရားလေးကို ရှင်းပြပါရစေ။ Ubuntu, Windows, Android, iDevice ဘယ် System မှာမဆို မြန်မာလိုမြင်ရဖို့ မြန်မာ font လိုအပ်ပီြး မြန်မာလို ရေးသားနိုင်ဖို့ Keyboard လိုအပ်ပါတယ်။ လက်ရှိကျွန်တေ်ာတို့ online မှာ၊ User တွေကြားမှာ အဓိကသံုးနေတဲ့ မြန်မာစာ Font ၂မျိုးရှိပါတယ်။ ဇေ်ာဂျီ နဲ့ ယူနီကုဒ်ပါ။ ဇေ်ာဂျီကတော့ Web ပေ်ါမှာရော Social Network တွေမှာပါအသံုးများတာ အားလံုးပဲသိကြမှာပါ။ မြန်မာ font ဆိုတာနဲ့ ဇေ်ာဂျီကိုပဲ သတိရကြတာပါ။ တကယ်တမ်းတော့ ဇေ်ာဂျီက Unicode ဆိုတဲ့စနဈကို အခြေခံထားပေမယ့် အပြည့်အဝမလိုက်နာထားတဲ့ Font အမျိုးအစားတဈခုပါ။ ယူနီကုဒ်စနဈကို လိုက်နာပီြး Ubuntu မှာပါအဆင်ပြေတဲ့ Font တွေကတော့ Padauk, Myanmar3, Tharlon, Noto Sans Myanmar, Yunghkio, Mon3 Anonta 1 တို့ပဲဖြဈပါတယ်။ Ubuntu မှာကတော့ Unicode Font အနေနဲ့ Padauk font ပါဝင်ပီြးသားဖြဈပေမယ့် Zawgyi သံုးပီြးရေးထားတာတွေကို မြင်ရဖို့အတွက်တော့ Zawgyi font install လုပ်ပေးဖို့လိုအပ်ပါတယ်။ Keyboard (Input Source) ဆိုတာ



##Introduction
-- This package contains two types of Burmese Keyboard, Myanmar3 and ZawGyi-One.
+- This package contains two types of Burmese Keyboard, Unicode and ZawGyi-One.
-##Installation/Uninstallation
+##Installation
-- Download mm-kb zip file and extract it.
+- Type the following command one after another.
+```
+$ git clone https://github.com/naingyeminn/mm-kb.git
+$ cd mm-kb
+$ sudo make install
+$ ibus-daemon -rdx
+$ im-config -n ibus
+$ gsettings set org.freedesktop.ibus.panel show 0
+```
+Now you can add the keyboard as follow.
+
+- Click on **Text Entry Settings...**
+![Text Entry Setting](https://dl.dropboxusercontent.com/u/26716001/Ubuntu/ScreenShots/mm-kb/Ubuntu%2064-bit-2014-10-01-22-11-27.png)
+
+- Click on **"+"** button and search **Burmese** input. You will see Burmese, Burmese (mm-myanmar3), and Burmese (mm-zawgyi).
+![input](https://dl.dropboxusercontent.com/u/26716001/Ubuntu/ScreenShots/mm-kb/Ubuntu%2064-bit-2014-10-01-22-12-22.png)
+
+- Add **Burmese (mm-myanmar3)** for ***Unicode*** keyboard and **Burmese (mm-zawgyi)** for ***ZawGyi-One*** keyboard.
-- Double click the script, "install"
+- Now you can change keyboard layout by pressing (**Super + Space**) key.
-- Click on "Run"
+- Whatever you are using, Burmese (mm-myanmar3) or Burmese (mm-zawgyi), you can switch between Burmese and English characters by a single press of **Left Shift** key.
-- Choose the Option You want and Click "Ok"
+##Changing System Fallback Font
+
+After installation, your system font will be changed into **ZawGyi-One**. If you want to switch to **Unicode** fonts, search **Myanmar Font Switcher** in Unity Dashboard and open it. You can change the font you want in there.
+
+![myanmar-font-switcher](https://dl.dropboxusercontent.com/u/26716001/Ubuntu/ScreenShots/mm-kb/myanmar-font-switcher.png)
+
+![myanmar-font-switcher](https://dl.dropboxusercontent.com/u/26716001/Ubuntu/ScreenShots/mm-kb/Screenshot%20from%202014-10-02%2015%3A07%3A32.png)
##Contact
@@ -23,4 +46,4 @@ naingyeminn@gmail.com
nym@ubuntu-mm.net
FreeNode IRC : yeminn
website : http://nym.ubuntu-mm.net
-```
+```

View 
49  install
@@ -1,49 +0,0 @@
-#/bin/bash
-
-SUDO=`which gksudo` || `which kdesudo` || exit 316
-var=`zenity --list --radiolist --width="400" --height="300" --title="Myanmar Keyboards" --text="Please select the option:" --column="Check:" --column="Options" TRUE "Install Unicode Keyboard" FALSE "Install Zawgyi Keyboard" FALSE "Install Both" FALSE "Uninstall"`
-case $var in
- "Install Unicode Keyboard")
- "$SUDO" "ibus-table-createdb -n /usr/share/ibus-table/tables/mm-myanmar3.db -s ./src/tables/mm-myanmar3.txt"
- "$SUDO" "cp -fv ./src/icons/mm-myanmar3.svg /usr/share/ibus-table/icons"
- "$SUDO" "mkdir -p /usr/share/fonts/mm"
- "$SUDO" "cp -fv ./src/fonts/mm3.ttf /usr/share/fonts/mm"
- "$SUDO" "cp -fv ./src/fonts/tharlon.ttf /usr/share/fonts/mm"
- "$SUDO" "cp -fv ./src/fonts/Tharlon-Regular.ttf /usr/share/fonts/mm"
- gconftool --type list --list-type String --set /desktop/ibus/general/preload_engines "[mm-myanmar3]"
- ibus-daemon -x &
- im-switch -s ibus
- ;;
- "Install Zawgyi Keyboard")
- "$SUDO" "ibus-table-createdb -n /usr/share/ibus-table/tables/mm-zawgyi.db -s ./src/tables/mm-zawgyi.txt"
- "$SUDO" "cp -fv ./src/icons/mm-zawgyi.svg /usr/share/ibus-table/icons"
- "$SUDO" "mkdir -p /usr/share/fonts/mm"
- "$SUDO" "cp -fv ./src/fonts/ZawgyiOne2008.ttf /usr/share/fonts/mm"
- gconftool --type list --list-type String --set /desktop/ibus/general/preload_engines "[mm-zawgyi]"
- ibus-daemon -x &
- im-switch -s ibus
- ;;
- "Install Both")
- "$SUDO" "ibus-table-createdb -n /usr/share/ibus-table/tables/mm-myanmar3.db -s ./src/tables/mm-myanmar3.txt"
- "$SUDO" "cp -fv ./src/icons/mm-myanmar3.svg /usr/share/ibus-table/icons"
- "$SUDO" "ibus-table-createdb -n /usr/share/ibus-table/tables/mm-zawgyi.db -s ./src/tables/mm-zawgyi.txt"
- "$SUDO" "cp -fv ./src/icons/mm-zawgyi.svg /usr/share/ibus-table/icons"
- "$SUDO" "mkdir -p /usr/share/fonts/mm"
- "$SUDO" "cp -fv ./src/fonts/mm3.ttf /usr/share/fonts/mm"
- "$SUDO" "cp -fv ./src/fonts/tharlon.ttf /usr/share/fonts/mm"
- "$SUDO" "cp -fv ./src/fonts/Tharlon-Regular.ttf /usr/share/fonts/mm"
- "$SUDO" "cp -fv ./src/fonts/ZawgyiOne2008.ttf /usr/share/fonts/mm"
- gconftool --type list --list-type String --set /desktop/ibus/general/preload_engines "[mm-myanmar3,mm-zawgyi]"
- ibus-daemon -x &
- im-switch -s ibus
- ;;
- "Uninstall")
- "$SUDO" "rm -fv /usr/share/ibus-table/tables/mm*"
- "$SUDO" "rm -fv /usr/share/ibus-table/icons/mm-myanmar3.svg"
- "$SUDO" "rm -fv /usr/share/ibus-table/icons/mm-zawgyi.svg"
- "$SUDO" "rm -rfv /usr/share/fonts/mm"
- gconftool --type list --list-type String --set /desktop/ibus/general/preload_engines "[]"
- "$SUDO" "killall ibus-daemon"
- im-switch -s default
- ;;
-esac 

View 
 makefile
@@ -3,11 +3,17 @@ install: uninstall
ibus-table-createdb -n /usr/share/ibus-table/tables/mm-zawgyi.db -s ./src/tables/mm-zawgyi.txt
cp -fv ./src/icons/*.svg /usr/share/ibus-table/icons
test -d /usr/share/fonts/mm || mkdir -p /usr/share/fonts/mm && cp ./src/fonts/*.ttf /usr/share/fonts/mm
+ test -d /usr/share/mmfs || mkdir -p /usr/share/mmfs && cp ./src/mmfs/* /usr/share/mmfs/
+ ln -s /usr/share/mmfs/mmfs /usr/local/bin/mmfs
+ cp ./src/mmfs/myanmar-font-switcher.desktop /usr/share/applications/
uninstall:
rm -fv /usr/share/ibus-table/tables/mm*
rm -fv /usr/share/ibus-table/icons/mm-myanmar3.svg
rm -fv /usr/share/ibus-table/icons/mm-zawgyi.svg
rm -rfv /usr/share/fonts/mm
+ rm -rfv /usr/share/mmfs
+ rm -fv /usr/share/applications/myanmar-font-switcher.desktop
+ rm -fv /usr/local/bin/mmfs
.PHONY: install uninstall

Binary file not shown.

Binary file not shown.

Binary file not shown.



 View 
 src/icons/mm-myanmar3.svg 100755 → 100644
No changes.



 View 
 src/icons/mm-zawgyi.svg 100755 → 100644
No changes.

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?><!DOCTYPE fontconfig SYSTEM 'fonts.dtd'><fontconfig>
+<!--- Myanmar Font Switcher configuration. -->
+ <match target="pattern">
+ <test compare="eq" name="lang" qual="any"><string>my</string></test>
+ <edit mode="assign" name="family">
+ <string>Noto Sans Myanmar</string>
+ </edit>
+ </match>
+<!--- Please do not modify the above lines. You can add additional configuration below. -->
+</fontconfig>

@@ -0,0 +1,22 @@
+#!/bin/bash
+FONT=$(zenity --list --radiolist --title="Myanmar Font Switcher" --text="Choose a System Fallback Font you like..." --column="Check:" --column="Font Name:" TRUE "Myanmar3" FALSE "TharLon" FALSE "Zawgyi-One" FALSE "Noto Sans Myanmar" FALSE "Myanmar Census" FALSE "MON3 Anonta 1")
+
+CONFIG=~/.config/fontconfig/fonts.conf
+if [[ $FONT ]]; then
+ if [ -f ~/.fonts.conf ]; then
+ rm ~/.fonts.conf
+ cp /usr/share/mmfs/fonts.conf $CONFIG
+ echo ".fonts.conf is deprecated. Replaced new config in .config/fontconfig"
+ fi
+ if [ ! -f $CONFIG ]; then
+ mkdir -p ~/.config/fontconfig
+ cp /usr/share/mmfs/fonts.conf $CONFIG
+ echo "Found no config. Created new."
+ fi
+ sed -i "s/Myanmar3/$FONT/g" $CONFIG
+ sed -i "s/TharLon/$FONT/g" $CONFIG
+ sed -i "s/Zawgyi-One/$FONT/g" $CONFIG
+ sed -i "s/Noto Sans Myanmar/$FONT/g" $CONFIG
+ sed -i "s/Myanmar Census/$FONT/g" $CONFIG
+ sed -i "s/MON3 Anonta 1/$FONT/g" $CONFIG
+fi

@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Myanmar Font Switcher
+Comment=Change Myanmar fonts as System Fallback Font
+Keywords=fonts;switcher;myanmar;unicode;
+Icon=preferences-desktop-font
+Exec=mmfs %u
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=GTK;GNOME;Utility;
Myanmar Font for Kali Linux 2016.2 Myanmar Font Error Fix on Kali Linux