How to Set Priority for a service at booting of Linux
0 comments 12/10/2010 07:25:00 AM Posted by Surendra Kumar AnneLabels: Booting, Hacks
This is possible with renaming of the scripts located in running configuration(rc) folders. As you people know that
all the startup scripts are stored in rc1.d, rc2.d etc... each of these folders corresponding to scripts to be started in that run-level
for example.. if you want to start some script in runlevel 1 they are kept in /etc/rc1.d folder so that when Linux is booting up these scripts are executed at runlevel 1.
So how can i set priority to my scripts/services?
Just go in to one of the rc folders, you can see all the scripts which are started in that runlevel..
if you observe those scripts, these scripts will start with different numbers. here are some for your reference.
K09apache2
K15pulseaudio
K20acpi-support
K20kerneloops
K20saned
K20speech-dispatcher
K20virtualbox-ose
K20virtualbox-ose-guest-utils
K74bluetooth
README
S30killprocs
S70dns-clean
S70pppd-dns
S90single
so the script(services) start sequence will be like K09apache2 then K15pulseaudio so on.. so if you want to give priority to your service just name with less number.. as shown below..
K09apache2
K01pulseaudio
K20acpi-support
K20kerneloops
K20saned
K20speech-dispatcher
K20virtualbox-ose
K20virtualbox-ose-guest-utils
K74bluetooth
README
S30killprocs
S70dns-clean
S70pppd-dns
S90single
So now the first script/service which start in this list is K01pulseaudio
Please comment your thoughts on this..
How to : Confiugre Pidgin To Connect Microsoft OCS/LCS IM Server
2 comments 2/14/2010 10:25:00 PM Posted by Meghana M BhombhoreLabels: Applications, Desktop, Hacks, Pidgin
Note:I am seeing so many people visiting this page, but leaving early.. please feel free to comment at comment section what problems you faced in installing PIDGIN, i am very much interested in helping you..
Good news for all the Linux lovers who are working in Corporate companies where most of the communication is through Microsoft OCS(Office Communicator Software)/IBM Same time IM clients. OCS is primarily used for IM communications, but if you want to use OCS in Linux its not possible till this point. Recently Pidgin started supporting SIP(Session Initiation Protocol) Protocol. So for the people how know about MS OCS. Here is the short notes for you.
MS OCS is a properitery software is an enterprise real-time communications server, providing the infrastructure for enterprise instant messag ing, presence, file transfer, Peer to peer and multiparty voice and video calling, ad hoc and structured conferences (audio, video and web) and PSTN connectivity. These features are available within an organization, between organizations, and with external users on the public internet, or standard phones, on the PSTN as well as SIP trunking.
Its little bit tricky to install and use it. Here are the steps how to accomplish this.
Note : By default Pidgin will not support MS OCS. We require a third party (pidgin-sipe ) to accesses MS OCS.
Step1 : Check if pidgin is installed or not, From Ubuntu9.10 pidgin is removed as default IM client. So you have to install it.
Installation in Ubuntu :
#apt-get install pidgin
Installing in Redhat/Fedora/CentOS :
#yum install pidgin
Step2 : Install Pidgin-sipe plugin
Installation in Ubuntu :
#apt-get install pidgin-sipe
Installation in Redhat/Fedora/CentOS :
I am not sure if its included in Fedora/Redhat/CentOS repos. If you get error in installing through YUM, install it through source package.
#yum install pidgin-sipe
or
Download source from Soruceforge here .
#mkdir ~/temp
#cd ~/temp
#wget http://sourceforge.net/projects/sipe/files/sipe/pidgin-sipe-1.8.0/pidgin-sipe-1.8.0.tar.gz/download
#tar xvfz pidgin-sipe-1.8.0.tar.gz#cd pidgin-sipe
#./configure;make;make install
Step3 : Most of the time when you install software/packages in Linux you no need to restart the mechine. But this addon/plugin to work you have to restart your machine(its my observation, if its works without restart its good).
Step4 : Configuring Pidgin to support OCS.
Go to Applications
__Internet
__Pidgin instant messanger
__Accounts
__Manage Accounts
__Add
Enjoy using MS OCS in linux.
Right Click To Open A Document
0 comments 2/08/2010 06:00:00 PM Posted by Meghana M BhombhoreLabels: Hacks
How to open a document/spreed sheet or any office document on right clicking with mouse on a desktop or in a folder in Linux(Ubuntu/Redhat)?
Ans : By default there is no option to open a document/spreed sheet on right clicking on a desktop or in a folder, This is default option in Window$. If you are core windows user and recently shifted to linux you will think why its not there in Linux. And how to get your right click option.
Step 1 : Check whether Templates directory in your home directory or not?
$cd
$ls
If this ls command did not show Templates folder please create one in your home directory
$ mkdir ~/Templates
Step2 : Now open a empty office document and just save it in to the Templates directory
All About Firefox "About Protocol"
0 comments 1/27/2010 07:58:00 AM Posted by Meghana M BhombhoreLabels: Applications, Hacks
Today I found some interesting hack about Mozilla/Firefox. I am in need of java in my Ubuntu machine. I have installed java, but I am not able to see any java related sites in my browser So when I have started searching for related topics, I found my answer how to check java is configured in your browser or not. I came to know about Firefox hidden “about protocol”. Though my browser is showing java enabled, but I am not able to see java content of site. The solution for this is to check whether java is configured properly to your browser or not.
Ans : Just open new tab in firefox and type about:plugins. This should show all
http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
And When I tweaked some more I have realized we can do much with this Firefox about protocol.
Though below things are not that much useful, but its fun to see them
Type below about commands in your Firefox and see yourself what info you can find with Firefox. My favorite one is about:robots
about:
about:blank
about:buildconfig
about:cache
about:cache-entry
about:config
about:crashes
about:credits
about:license
about:mozilla
about:plugins
about:rights
about:rights#webservices
about:robots
about:support