On Saturday 19 February 2005 14:04, H. S. Rai wrote:
> As I am trying to shift from RH to Debian, so I need help to find
> equivalent command in RH and Debian.
That's the spirit!
> 1) How to configure mouse? What is path and name of configuration file?
Deb's got every configuration program in the package itself. It is a
menu-based terminal program. Most of the linuxes use gpm to use console
mouse. Run the following:
# dpkg-reconfigure gpm
# ln -s /etc/init.d/gpm /etc/rcY.d/S93gpm
Where Y is your current runlevel which you can get by running the command
'runlevel'. It is the last one (not the 'N').
If dpkg-reconfigure gives you any error saying gpm is not installed, do:
# apt-get install gpm
If you are talking about X, then do:
# dpkg-reconfigure xserver-xfree86
If you use pico-gui (not the editor), micro-windows or anything else, then....
I dunno.
> 2) How to run xdm, and how to enable it to accept "-query"?
Why use xdm when you have gdm and kdm? Well, still if you want it, then edit
/etc/sysconfig/desktop and put DISPLAYMANAGER=XDM in it. Then, do a
# ln -s /etc/X11/prefdm /etc/rcY.d/S92prefdm
Where Y is your current runlevel.
If you want gdm, then replace XDM with GNOME and for kdm, KDE.
> 3) How to made to create database (indexing) to able me use "locate"
> command. At present it says "No such file" for locatedb.
Put this in '/etc/cron.daily/slocate.cron'.
-----------
#!/bin/sh
renice +19 -p $$ >/dev/null 2>&1
/usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" -e
"/tmp,/var/tmp,/usr/tmp,/afs,/net"
-----------
NOTE: This is only 3 lines. The last line may wrap to 2 lines.
This will be done daily. Make sure your crond is running. You can check it by
running:
# /etc/init.d/crond status
If it is not, do
# ln -s /etc/init.d/crond /etc/rcY.d/S83crond
If you want it just once, do:
# /usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" -e
"/tmp,/var/tmp,/usr/tmp,/afs,/net"
NOTE: This is just a single line, it may wrap.
> Thanks in advance.
--
Regards,
Arjun Asthana
Registered Linux User #293731 / /\
#& / / \
#& (_) __ __ __ __ __ / / /\ \
#& / / / _ \ / // / \ \/ / / /_/\ \ \
#&@!8 /_/ /_//_/ \___/ /_/\_\ /______\ \ \
May the Source be with you \_________\/
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help