LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

for loop in dos batch file

Posted 09-14-2011 at 11:25 PM by sumeet inani

Hi
i wanted to write a batch file that hides windows of particular application
It worked if I type line by line at command prompt
Code:
c:\>cmdow | find /i "gvim" | find /i "vis" | cut -f 1 -d " " > handle.txt
c:\>for /f %k in (handle.txt) do cmdow %k /hid
If you want a batch file to do that then
Code:
KEEP IN MIND
write %%k instead of %k
Later I came across http://www.jamesewelch.com/2008/05/0...through-files/...
Member
Posted in Uncategorized
Views 1008 Comments 0 sumeet inani is offline
Old

hindi in terminal

Posted 08-09-2011 at 03:05 AM by sumeet inani
Updated 08-09-2011 at 03:51 AM by sumeet inani

SCIM works well in GNOME gui programs like openoffice,gedit etc.
I tried to write hindi in gnome-terminal.
Result is 'improper.jpg' attached.improper.jpg
In gvim it appears like this
gvim.jpg
The only terminal 'mlterm' supports hindi rendering.
Here is what I did with help of developer 'araki ken'

Code:
(1)installed mlterm-3.0.6post-20110807 using 

./configure --enable-fribidi --enable-ind --enable-m17nlib
...
Attached Images
File Type: jpg result.jpg (9.0 KB, 6 views)
Member
Posted in Uncategorized
Views 773 Comments 0 sumeet inani is offline
Old

installing oxford in ubuntu 10.04

Posted 07-11-2011 at 06:14 AM by sumeet inani

In windows I had to insert physical cd after installation , once , to verify that you are owner. Though I had copied all files & folders of cd. Mounting its iso using daemon tools was invain.

SURPRISE !! dd command is great

I copied the cd using
Code:
dd if=/dev/cdrom conv=notrunc of=/data/sumeet/genuine.iso
I installed libgtk1.2 namely
Code:
libglib1.2ldbl_1.2.10-19build1ak1_i386.deb  libgtk1.2-common_1.2.10-18.1build2ak1_all.deb
...
Member
Posted in Uncategorized
Views 724 Comments 0 sumeet inani is offline
Old

changing order in grub2

Posted 06-13-2011 at 04:50 AM by sumeet inani
Updated 06-13-2011 at 04:54 AM by sumeet inani

i have ubuntu 10.04(lucid)
Code:
grub-install -v
grub-install (GNU GRUB 1.98-1ubuntu5)
I tried

(1)
Code:
cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=4#Did not help ?
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet
...
Member
Posted in Uncategorized
Views 684 Comments 1 sumeet inani is offline
Old

vmware tools in debian squeeze virtual machine

Posted 06-07-2011 at 07:46 AM by sumeet inani

Before proceeding we have to
Code:
uname -r
<OUTPUT>
apt-get install linux-headers-<OUTPUT> gcc-4.3
Actually this I found out from
I got file VMwareTools-8.1.4-227600.tar.gz of 97.1MB
extract & run installer as follows
Code:
tar -xvzf VMwareTools-8.1.4-227600.tar.gz
cd vmwaretools-distrib
./vmware-install.pl
answer default by pressing enter
Code:
output file attached
Thank...
Attached Files
File Type: txt temp.txt (15.2 KB, 1 views)
Member
Posted in Uncategorized
Views 1010 Comments 0 sumeet inani is offline

  



All times are GMT -5. The time now is 01:08 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration