Sunday, November 10, 2013

Ubuntu/Debian မွာ Application ကို Autostart ျပဳလုပ္နည္း

Application ကို Autostart လုပ္ထားတယ္ဆိုတာက စက္တက္လာတာနဲ႔ application auto ဖြင့္တာကိုဆိုလိုတာပါ ။Example >> Windows မွာ startup application ေပါ့ေနာ္။ ကိုယ္ၾကိဳက္တဲ့ေဆာ့လ္၀ဲကိုလုပ္ထားႏိုင္ပါတယ္။ကြ်န္ေတာ္ကေတာ့ Guake ဆိုတဲ့ Command ရိုက္တဲ့ application တစ္ခုနဲ႔လုပ္ျပမွာပါ ။

ပထမဆံုး Terminal ကိုဖြင့္ပါ ။



၁. $ cd .config လို႔ရိုက္လုိက္ပါ ။

၂. cd autostart (မရွိပါက sudo mkdir autostart)

၃. sudo nano guake.desktop (guake ေနရာတြင္တျခား application ရဲ႕နံမည္ကို ထည့္ပါ )

၄. ျပီးရင္ေအာက္ကကုဒ္ကို ကူးပီး paste လုိက္ပါ ။

[Desktop Entry]
Type=Application
Exec=/usr/bin/pidgin
Hidden=false
X-GNOME-Autostart-enabled=true
Name[en_US]=pidgin
Name=empathy
Comment[en_US]=Multi protocol Chat client
Comment=Multi protocol chat client

၅.file ကို save ပီး restart ခ်လုိက္ပါ ။ျပန္တက္လာရင္ auto open ျဖစ္သြားလိမ့္မယ္။ ကိုယ္လုပ္ထားတဲ့ app ေပါ့။

0 comments:

Post a Comment