Re: KDE madness again

2019-11-03 Thread Kumar Appaiah
On Sun, Nov 03, 2019 at 08:45:49AM +0100, deloptes wrote:
> 
> Long time ago I stopped using KDE, because they started going insane.
> 
> Two days ago upgraded to Buster and now wanted to check if all works fine.
> 
> One of the things I need to use is qdbusviewer - unfortunately there is no
> acceptable alternative. Now I spend already one hour because of the
> stupidity and madness of the way KDE decided to do configuration
> 
> $ qdbusviewer
> qdbusviewer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qdbusviewer':
> No such file or directory

I am currently running most packages on testing. On my system,
qdbusviewer seems to be:

# ls -l /usr/bin/qdbusviewer
lrwxrwxrwx 1 root root 9 May  3  2019 /usr/bin/qdbusviewer -> qtchooser

qdbusviewer itself seems to be in qttools5-dev-tools, and I seem to be
able to run it as:

# /usr/lib/x86_64-linux-gnu/qt5/bin/qdbusviewer

Please let mke know if some version information from my side would
help.

Thanks.

Kumar
-- 
Computers are not intelligent.  They only think they are.



Re: One jigdo file missing - cannot build ISO image DVD7.

2019-03-10 Thread Kumar Appaiah
On Sun, Mar 10, 2019 at 06:46:36PM +1030, djs wrote:
> When using jigdo-lite to download files for debian-9.8.0-amd64-DVD7 the
> majority of the files download correctly. The procedure becomes stuck
> at http://ftp.au.debian.org/debian/pool/main/a/afl/afl-doc_2.36b-1_all.
> deb . One file missing! I waited several weeks to see if this missing
> file would be updated but it did not. I tried several other mirrors
> around the world and the same problem appears even if trying to
> download it directly. Seems to be a broken file globally mirrored.
> The error message is '2019-03-10 18:25:18 (0.00 B/s) - Read error at
> byte 0/132596 (Connection reset by peer). Retrying.' Files required to
> download and build all other DVD iso images did correctly complete.
> Images 2 to 6 and 8 to 14 are all OK. DVD image 1 is also broken but
> this can be downloaded as an image directly so this is not a problem.
> Can a workaround be suggested to complete or ignore this missing file?

You can download the missing package from https://snapshot.debian.org

For instance:

https://snapshot.debian.org/package/afl/2.36b-1/#afl-doc_2.36b-1

Kumar
-- 
"...you might as well skip the Xmas celebration completely, and instead
sit in front of your linux computer playing with the
all-new-and-improved linux kernel version."
(By Linus Torvalds)



xterm choking on compose key input

2015-01-07 Thread Kumar Appaiah
Hi.

I regularly use the compose key to insert characters. The locale I
use, en_IN, doesn't have a Compose file in /usr/share/X11/locale, so I
copied the /usr/share/X11/locale/en_US.UTF-8/Compose file to
~/.XCompose.

Now, most applications work fine. However, xterm seems to choke on
compose key input, and I get garbage whenever I type any compose key
sequence. However, if I run LANG=en_US.UTF-8 xterm, then it works
fine.

Is there a way to fix xterm, short of changing my locale or writing a
wrapper that calls LANG=en_US.UTF-8 xterm?

Thanks.

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150107083850.ga4...@bluemoon.iitb.ac.in



Re: xterm choking on compose key input

2015-01-07 Thread Kumar Appaiah
Dear Sven,

Thanks for the e-mail.

On Wed, Jan 07, 2015 at 06:12:22PM +0100, Sven Joachim wrote:
 On 2015-01-07 09:38 +0100, Kumar Appaiah wrote:
 
  I regularly use the compose key to insert characters. The locale I
  use, en_IN, doesn't have a Compose file in /usr/share/X11/locale, so I
  copied the /usr/share/X11/locale/en_US.UTF-8/Compose file to
  ~/.XCompose.
 
  Now, most applications work fine. However, xterm seems to choke on
  compose key input, and I get garbage whenever I type any compose key
  sequence. However, if I run LANG=en_US.UTF-8 xterm, then it works
  fine.
 
 Which version of xterm is that?  If ~/.XCompose exists, xterm does not
 read any other Compose files here:

dpkg -l xterm gives me:
Desired=Unknown/Install/Remove/Purge/Hold
ii  xterm  312-1amd64X terminal emulator

 ,
 | $ strace xterm -e true 21 | grep Compose 
 | open(/home/sven/.XCompose, O_RDONLY)  = 5
 | stat64(/home/sven/.XCompose, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
 | stat64(/home/sven/.XCompose, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
 | open(/home/sven/.XCompose, O_RDONLY)  = 5
 `
 
 So I don't have any explanation for the behavior you observe.

strace xterm -e true 21 | grep Compose
open(/home/kumar/.XCompose, O_RDONLY) = 6
stat(/home/kumar/.XCompose, {st_mode=S_IFREG|0644, st_size=563251, ...}) = 0
stat(/home/kumar/.XCompose, {st_mode=S_IFREG|0644, st_size=563251, ...}) = 0
open(/home/kumar/.XCompose, O_RDONLY) = 6

This is fine. It is clear that xterm honours the .XCompose file. It's
just that the characters it seems to receive aren't the right
ones. For example, Compose + . + . should give me an ellipsis, as it
does on other programs. But on xterm, I get â\200¦. But LC_ALL=en_US.UTF-8 
xterm
works perfectly.

Thanks.

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150108065438.gb12...@bluemoon.iitb.ac.in



Re: C++ compiler g++-4.9

2014-12-10 Thread Kumar Appaiah
On Wed, Dec 10, 2014 at 01:23:31PM +0100, Nick Mpallas wrote:
Hi guys,
I am building a platform and I need to compile apache mesos from sources.
The issue is that the guys the require support for specific c++11 features
that in the 4.7 compiler currently supported by debian aren't there. Will
the g++ compiler will be updated?We would like to use debian as the
backbone operating system for our cluster.

Your hint would be to check the g++ package.

From what I can tell, the testing g++ package is, indeed, g++-4.9,
from https://packages.debian.org/jessie/g++

So, you can expect jessie to ship with g++-4.9 as the default.

Kumar
-- 
Checking host system type...
i586-unknown-linux
configure: error: sorry, this is the gnu os, not linux
-- Topic on #Linux


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141210130856.GA29959@odessa



Re: MP3 player compatible with Debian

2014-10-04 Thread Kumar Appaiah
On Sat, Oct 04, 2014 at 03:19:26PM +0100, Lisi Reisz wrote:
 There was a thread about MP3 players a bit back, and one in particular found 
 favour.  But my memory, Google-foo, archive-foo have all failed me.  Can any 
 kind person remind me/recommend a suitable inexpensive MP3 player for me to 
 take on holiday. 
 
 I want to be able to load it easily frorm/with a Debian computer, and I don't 
 want to spend exorbitant amounts.  It must remember where it got to, and I 
 want to be able to select my track/book/whatever.  The very cheap one I was 
 given last year restarted at the beginning every time it had been turned off. 
  
 Much as I liked the first track, I got very tired of it.

The Sandisk Sansa family is quite good[1]. I personally use the Sansa
Clip+, but have used the old Fuze in the past. While they work out of
the box, many of them support the free alternative firmware Rockbox
for extra goodnessp[2].

Kumar

[1]: http://www.sandisk.com/products/music-video-players/
[2]: http://www.rockbox.com/
-- 
To kick or not to kick...
-- Somewhere on IRC, inspired by Shakespeare


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141004151339.GB18788@odessa



Suspend/hibernate menu options missing from KDE

2014-08-17 Thread Kumar Appaiah
Dear Debian User,

I am using a Jessie, and largely have KDE 4.11.

I am trying to configure my KDE to allow sleep on lid close and such
goodness. In the Power Management section of my KDE System Settings, I
am unable to find any sleep/suspend options. Likewise, the K Menu's
Leave section also has only Restart and Shut Down in the relevant
sections. However, sudo pm-suspend and sudo pm-hibernate and sudo
pm-suspend, indeed, do what I want.

From searching online, I found that the output of both of these
commands in false:

qdbus org.freedesktop.PowerManagement 
/org/freedesktop/PowerManagementorg.freedesktop.PowerManagement.CanHibernate
qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement 
org.freedesktop.PowerManagement.CanSuspend

In addition, my /etc/default/acpi-support has this:
ACPI_SLEEP=true
ACPI_HIBERNATE=true
LOCK_SCREEN=true
LID_SLEEP=true
#LID_SHUTDOWN=true
DISPLAY_DPMS=xset
XRANDR_OUTPUT=LVDS
#DISPLAY_DPMS_NO_USER=true

However, closing the lid only locks my screen, and doesn't suspend
my computer.

Would you be able to suggest something?

Thanks.

Kumar

-- 
sct Anyone want the new supermount? :)
klogd whats new aboutit
sct klogd: It cleans whiter than white. :)
-- Seen on #Linux


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140817070756.GA15207@odessa



Re: ntpdate: Can't find host 0.debian.pool.ntp.org

2014-04-17 Thread Kumar Appaiah
On Fri, Apr 18, 2014 at 12:43:28AM +, Amit wrote:
 Have a minimal debian system and installed ntpdate. Time seems to be set
 correctly but getting these messages:
 
 $ journalctl -b | grep ntp
 Apr 17 17:36:22 test ntpdate[709]: Can't find host 0.debian.pool.ntp.org:
 Name or service not known (-2)
 Apr 17 17:36:22 test ntpdate[709]: Can't find host 1.debian.pool.ntp.org:
 Name or service not known (-2)
 Apr 17 17:36:22 test ntpdate[709]: Can't find host 2.debian.pool.ntp.org:
 Name or service not known (-2)
 Apr 17 17:36:22 test ntpdate[709]: Can't find host 3.debian.pool.ntp.org:
 Name or service not known (-2)
 Apr 17 17:36:22 test ntpdate[709]: no servers can be used, exiting
 Apr 17 17:36:45 test ntpdate[1148]: adjust time server 64.113.32.5 offset
 0.017320 sec
 Apr 17 17:37:01 test ntpdate[1362]: adjust time server 64.113.32.5 offset
 0.012608 sec
 
 Is this normal?

It appears that your machine's NTP requests are blocked. Is the
machine connected to the internet, and is there a NAT/firewall that
may block some protocols?

Kumar
-- 
Not only Guinness - Linux is good for you, too.
-- Banzai on IRC


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140418004716.GB3350@odessa



Re: Maildir ext4 slowness

2014-04-09 Thread Kumar Appaiah
On Wed, Apr 09, 2014 at 11:29:26AM +0300, Andrei POPESCU wrote:
 On Ma, 08 apr 14, 22:47:05, Kumar Appaiah wrote:
  
  Of late, I've observed that folders with over 1000 messages seem quite
  slow to respond (order of 3-4 seconds), which wasn't really happening
  in the old days when I was using mboxes.
 
 I get at most 2-3 seconds with 12000+ messages Maildirs :)
 
 Following settings might help:
 
 # This speeds up mutt especially with large folders
 set header_cache=~/.cache/mutt/header/
 unset header_cache_compress
 unset maildir_header_cache_verify
 set message_cachedir=~/.cache/mutt/message/
 set read_inc=500
 
 More details about them in muttrc(5).
 
  I prefer Maildir since I can use notmuch to index my mails easily.
 
 Yep.

You are correct. This helped alleviate the delay significantly!

I'll try to play around more to check things out, but it looks like
this is what I was missing.

Thanks!

Kumar
-- 
On the Internet, no one knows you're using Windows NT
-- Submitted by Ramiro Estrugo, restr...@fateware.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140409113212.GA6452@odessa



Re: Maildir ext4 slowness

2014-04-09 Thread Kumar Appaiah
On Tue, Apr 08, 2014 at 11:53:52PM -0500, Stan Hoeppner wrote:
 As with any MUA directly accessing maildir files performance gradually
 slows down over time with more and more mail files because they are
 scattered across the filesystem, especially with EXT, much less so with
 XFS.  Seeking to 1000 files all over the disk to read the headers takes
 time.  mbox is quicker because you typically have far more messages
 stored linearly on disk, thus you have much less seeking when reading
 headers.

I intend trying out XFS on the next opportunity, just to compare the 
performance.

 Mutt, as with other MUAs, creates a header cache so it only needs to
 read the headers of new mail files.  If you're slowing down with large
 maildir folders, the most likely problem is that your header caching is
 not working properly.  I am not a mutt user so I cannot tell you which
 knob to turn or which cache file to delete/recreate to fix this.  I have
 seen the same problem with many other MUAs and this is most often the
 cause.  See this thread from '08 for background on the excessive
 seeking.  The patch for this should already be in your mutt version if
 it's current, but understanding what is being discussed may give you an
 idea as to what is broken, and where to start looking:
 
 http://lkml.iu.edu//hypermail/linux/kernel/0812.2/00514.html

The suggestion of using a header cache was what I wasn't aware of, and
this helped speed up access significantly. Thanks for the suggestion
and the link.

Kumar
-- 
Not only Guinness - Linux is good for you, too.
-- Banzai on IRC


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140409113507.GB6452@odessa



Maildir ext4 slowness

2014-04-08 Thread Kumar Appaiah
Dear Debian User,

Of late, I've observed that opening my Maildir boxes in Mutt has been
a tad slow. Here is the rough structure:

I have an LVM home directory (ext4), within which I have a folder
called ~/Maildir. This folder has several Maildirs, say inbox,
debian-user etc., each of which gets its mail delivered using
procmail.

tune2fs gives me these features: has_journal ext_attr resize_inode
dir_index filetype needs_recovery extent flex_bg sparse_super
large_file huge_file uninit_bg dir_nlink extra_isize

Of late, I've observed that folders with over 1000 messages seem quite
slow to respond (order of 3-4 seconds), which wasn't really happening
in the old days when I was using mboxes. I prefer Maildir since I can
use notmuch to index my mails easily.

Is there something I could to to speed things up? For instance, I
could create a 20 GB file, create another filesystem on it and mount
it as my Maildir, if that would help.

Thanks.

Kumar
-- 
'Ooohh.. FreeBSD is faster over loopback, when compared to Linux
over the wire. Film at 11.'
-- Linus Torvalds


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140409024705.GA8611@odessa



Re: mbox files - can they be compacted?

2014-04-06 Thread Kumar Appaiah
On Sun, Apr 06, 2014 at 02:10:09PM +0200, Rafał Radecki wrote:
Hi All ;)
Is there an option to compact large mbox files from the shell? I did not
find anything in google, I have some very large constantly updated mbox
files and would like to know if they can be made smaller with any tool.
AFAIK mutt does such operation when for example an email is deleted but I
am curious if there are other options.

What do you mean by compacting? If you are talking about gzipping
it, then you can just gzip your mboxes. If you want Mutt to directly
read/write gzipped mboxes, you can check the gzipped mboxes section
here:
http://mutt.blackfish.org.uk/storage/

Do note that this might slow down access to the files, since it has to
compress/decompress the mbox each time you want to read or write it.

HTH.

Kumar
-- 
If a 'train station' is where a train stops, what's a 'workstation'?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140406123338.GA4176@odessa



Re: images not correctly rendered in iceweasel

2014-03-21 Thread Kumar Appaiah
On Fri, Mar 21, 2014 at 06:41:42PM -0400, kamaraju kusumanchi wrote:
  FWIW, I am using iceweasel 27.0.1-1 from experimental, and the
  rendering is identical for me in chromium and iceweasel. This seems to
  be an artefact in 24 though…
 
Thanks for the reply Kumar. That is a good data point to have. Could you
please post the output of dpkg -l iceweasel chromium on the machine you
tested this? Is there anyone who is able to reproduce the problem?

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version Architecture Description
+++-==-===--=
ii  chromium   32.0.1700.123-4 amd64Chromium web browser
ii  iceweasel  27.0.1-1amd64Web browser based on Firefox

Hope this helps.

Kumar
-- 
Ever heard of .cshrc?
That's a city in Bosnia.  Right?
(Discussion in comp.os.linux.misc on the intuitiveness of commands.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140321225541.GA20802@odessa



Re: images not correctly rendered in iceweasel

2014-03-19 Thread Kumar Appaiah
On Wed, Mar 19, 2014 at 11:25:06PM -0400, kamaraju kusumanchi wrote:
On some websites, Iceweasel is not rendering the images correctly. The
same website works perfectly in chromium browser.
For example, here is a screenshot of
[1]http://www.java.com/images/jv0h_java8.jpg in both the browsers
[2]http://imagebin.org/300474 - iceweasel
[3]http://imagebin.org/300473 - chromium
Notice how the chromium screenshot shows everything in blue while
iceweasel's screenshot shows it in green. Has anyone encountered this
problem? I am curious to know what causes this problem and want to find
out if there is a fix.
The problem occurs on other websites such as [4]facebook.com but not on
all the websites (ex:- images on [5]images.google.com render correctly in
both browsers). I am not sure why.
My machine is a combination of Debian stable (Wheezy) and testing
(Jessie).
rajulocal@hogwarts:~/x$ dpkg -l iceweasel chromium
ii �chromium � � � � � � � � � � � � � � � � � � � 32.0.1700.123-1~deb7u1
� � � amd64 � � � � � � � � � � � �Google's open source chromium web
browser
ii �iceweasel � � � � � � � � � � � � � � � � � � �24.3.0esr-1~deb7u1 � �
� � � amd64 � � � � � � � � � � � �Web browser based on Firefox
Please let me know if you need any other information.

A cursory glance indicates that Iceweasel seems to be using its own
(possibly internal?) JPEG library, while chromium seems to use
libjpeg.

FWIW, I am using iceweasel 27.0.1-1 from experimental, and the
rendering is identical for me in chromium and iceweasel. This seems to
be an artefact in 24 though…

Sorry for not being much help.

Kumar
-- 
How do you pronounce SunOS?  Just like you hear it, with a big SOS
-- dedicated to Roland Kaltefleiter


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140320034104.GA20566@odessa



Re: eps editor

2014-02-23 Thread Kumar Appaiah
On Sun, Feb 23, 2014 at 11:29:51PM +0800, lina wrote:
 On Sunday 23,February,2014 11:12 PM, lina wrote:
  Hi,
  
  Any package recommendation to edit the eps details?
  
  I have a network pic, see attached. I manually drag the nodes position,
  and it was produced by R tkplot, I am not smart to change the label
  position, any suggestion about eps editor package (epstool is not for
  this case) and how to beautiful this figure are welcome.
 
 I find gedit with find and replace can do some job, it is crazy.

You can try Inkscape. It can import and export EPS files.

Kumar
-- 
I never thought that I'd see the day where Netscape is free software and
X11 is proprietary.  We live in interesting times.
-- Matt Kimball mkimb...@xmission.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140223162455.GB28108@odessa



Re: Postfix - run script from email

2013-12-07 Thread Kumar Appaiah
On Sat, Dec 07, 2013 at 02:17:33PM +0100, Jochen Spieker wrote:
 Tony van der Hoff:
  
  Does anyone know how to attach some sort of filter/trigger to postfix to
  cause a script to be run on incoming mail with particular conditions,
  or would anyone like to suggest a better solution?
 
 I would do that during delivery of the e-mails, probably using Postfix.

I think you mean procmail?

Kumar

-- 
How do you power off this machine?
-- Linus, when upgrading linux.cs.helsinki.fi, and after using the
   machine for several months


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131207162705.ga20...@bluemoon.alumni.iitm.ac.in



Re: Loopback filesystems for mail storage

2013-08-18 Thread Kumar Appaiah
On Sun, Aug 18, 2013 at 03:11:38PM +1000, Zenaan Harkness wrote:
 On 8/18/13, Kumar Appaiah a.ku...@alumni.iitm.ac.in wrote:
  On Sun, Aug 18, 2013 at 02:52:05AM +1000, Zenaan Harkness wrote:
  In GahNU, answer find you :)
 
  But you ought to do your bit and find duckduckgo while you're at it.
 
  I am doing some searching myself, but I did want some opinions from
  the list. Thank you for sharing your opinions.
 
 All good.
 
 I am also interested in the indexing side. Please do let us know what
 solution you find which works well for your email storage volume.
 
 About 6 years ago I encouraged a friend to move from OutlookExpress to
 Thunderbird, for libre reasons, and for getting familiar with software
 which is cross-platform to GNU/Linux.
 They had about 3GiB of OutlookExpress files, with many folders, and
 Thunderbird I think managed to import them all, BUT was significantly
 slower for searching and everything, so they could not practically
 make the switch at the time. They were running an 2000-era Pentium4
 2GHz, 1G RAM, 120G laptop HDD.

Personally, I use Mutt myself. I used to use mboxes, but recently
converted to Maildirs due to the fact that notmuch makes searching
very easy and fast. My current ext4 solution seems to work well, but I
was just wondering whether this approach would scale well.

 Good luck, and I do hope you find a great solution to large mailbox
 storing and searching!

Wish you the same. Thanks.

Kumar
-- 
The good thing about standards is that there are so many to choose from.
-- Andrew S. Tanenbaum


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130818134149.ga25...@bluemoon.alumni.iitm.ac.in



Loopback filesystems for mail storage

2013-08-17 Thread Kumar Appaiah
Hi.

This may be slightly OT, but I hope people don't mind much.

I'd like to come up with an efficient way to store and access my
e-mail using a loopback file, so I wanted some advice from experienced
people on the list. Currently, I've been using only vanilla ext[34]
file systems, but my Maildir has now grown to a large size. So, I
wanted to come up with a better solution.

One approach I thought of is a loopback file. That makes things
simpler, since I don't really have to repartition, and backing up is
rather easy. So, here are my questions:

1. What is the best filesystem for Maildirs with several tens of
thousands of messages?

2. Is there a massive performance hit if I use a file mounted as a
loopback filesystem, rather than a physical one? I don't mind a small
hit for my desktop use, but if it nixes the whole utility of changing
the filesystem, then I'd like to know.

3. What filesystem would allow quick file access? I'd like to be able
to view the Maildirs in Mutt, and index and search it using
notmuch. XFS is something searches on the interwebs revealed, but I've
also heard people mention Btrfs, JFS etc. If this is too long to
answer, I'd appreciate a pointer to a resource that I could read.

Thanks.

Kumar
-- 
The primary difference [...] is that the Java programm will reliably and
obviously crash, whereas the C Program will do something obscure
-- Java Language Tutorial


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130817135957.ga5...@bluemoon.alumni.iitm.ac.in



Re: Loopback filesystems for mail storage

2013-08-17 Thread Kumar Appaiah
On Sat, Aug 17, 2013 at 09:59:57AM -0400, Kumar Appaiah wrote:
 Hi.
 
 This may be slightly OT, but I hope people don't mind much.
 
 I'd like to come up with an efficient way to store and access my
 e-mail using a loopback file, so I wanted some advice from experienced
 people on the list. Currently, I've been using only vanilla ext[34]
 file systems, but my Maildir has now grown to a large size. So, I
 wanted to come up with a better solution.
 
 One approach I thought of is a loopback file. That makes things
 simpler, since I don't really have to repartition, and backing up is
 rather easy. So, here are my questions:
 
 1. What is the best filesystem for Maildirs with several tens of
 thousands of messages?
 
 2. Is there a massive performance hit if I use a file mounted as a
 loopback filesystem, rather than a physical one? I don't mind a small
 hit for my desktop use, but if it nixes the whole utility of changing
 the filesystem, then I'd like to know.
 
 3. What filesystem would allow quick file access? I'd like to be able
 to view the Maildirs in Mutt, and index and search it using
 notmuch. XFS is something searches on the interwebs revealed, but I've
 also heard people mention Btrfs, JFS etc. If this is too long to
 answer, I'd appreciate a pointer to a resource that I could read.

Oh, and this:

4. Would it be easy to enlarge/grow a file that contains a filesystem?
i.e., if I create a container file of 5 GB and want to expand it to 7
GB? Of course, I don't mind creating a new file for 7 GB and moving
the mails as well…

Thanks.

Kumar
-- 
We are Pentium of Borg.  Division is futile.  You will be approximated.
-- seen in someone's .signature


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130817140114.ga7...@bluemoon.alumni.iitm.ac.in



Re: Loopback filesystems for mail storage

2013-08-17 Thread Kumar Appaiah
On Sat, Aug 17, 2013 at 02:28:46PM -0500, Stan Hoeppner wrote:
 And of course the simple solution is to migrate to mbox.  Maildir was
 created for a single purpose:  to eliminate file locking contention on
 the traditional UNIX single mbox file.  With tens of thousands of emails
 this is obviously an archival workload.  As such you don't have the
 locking issues.  Header and body searches are many times faster with
 mbox than with maildir.  The only operation that is significantly slower
 is deleting an email.  I'll assume mutt uses mmap to access mbox files,
 so large file sizes shouldn't be a problem.

Thank you for your response, Stan.

The reason why I moved to Maildir is because I started using notmuch
for indexing and searching my e-mail. Now, I could maintain two
copies: one for general access and the other for notmuch indexing, but
that's rather inefficient and I'd have to sync them somehow.

 FWIW, I have some 100K+ emails, mostly list mail, in a couple dozen
 active mbox files.  Full body searching is relatively quick on a file
 containing 20K emails and on a gzipped file containing 17K+ emails, even
 with stale FTS indexes in both cases.  These mbox mails are stored on a
 Dovecot server w/dual 550MHz CPUs, 384MB RAM, with a single effective
 7.2K SATA spindles--pretty old and slow hardware.  mbox performance is
 more than acceptable.

Agreed. I'll see if there is a way by which I can have the best of
both worlds.

My usual solution (even with mboxes) was to use formail to split the
messages to several mail directories on a per month basis, such as
2013_08, 2013_07 … 2005_06 etc. I'll see if that helps.

Thanks.

Kumar
-- 
mar...@bdsi.com (no longer valid - where are you now, Martin?)
-- from /usr/src/linux/drivers/cdrom/mcd.c


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130818040056.ga17...@bluemoon.alumni.iitm.ac.in



Re: Loopback filesystems for mail storage

2013-08-17 Thread Kumar Appaiah
On Sun, Aug 18, 2013 at 02:52:05AM +1000, Zenaan Harkness wrote:
 In GahNU, answer find you :)
 
 But you ought to do your bit and find duckduckgo while you're at it.

I am doing some searching myself, but I did want some opinions from
the list. Thank you for sharing your opinions.

Kumar
-- 
Apples  have  meant  trouble  since  eden.
-- MaDsen Wikholm, mwikh...@at8.abo.fi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130818040618.gb17...@bluemoon.alumni.iitm.ac.in



Re: apache chroot

2013-06-17 Thread Kumar Appaiah
On Mon, Jun 17, 2013 at 01:26:22PM +0200, Pol Hallen wrote:
 Hi all :-)
 
 After installed debian 7, there isn't: libapache2-mod-chroot (I use it
 to put apache within a jail) but this package does not exist.
 
 Any idea?

You should check the PTS:

http://packages.qa.debian.org/liba/libapache-mod-chroot.html

There, clicking on Removed 0.5-7 from unstable reveals that it was
removed because it is obsolete as apache has its own chroot direcive
as of version 2.2.10¹.

HTH.

Kumar

¹: 
http://packages.qa.debian.org/liba/libapache-mod-chroot/news/20110428T151218Z.html
-- 
| 
|-sshd---tcsh-+-dpkg-buildpacka---rules---sh---make---make---sh---make---sh---make---sh---make---sh---make---sh---make
-- While packaging XFree86 for Debian GNU/Linux


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130617113535.ga8...@bluemoon.alumni.iitm.ac.in



Re: RedHat and MariaDB

2013-06-14 Thread Kumar Appaiah
On Fri, Jun 14, 2013 at 08:01:27PM -0500, Mark Allums wrote:
 Slashdot and others have reported that RedHat, like Fedora and OpenSuSE, is 
 switching from MySQL to MariaDB.  I expect Debian will follow suit, since 
 they have set precedents many times for preferring free software. (Example: 
 OpenOffice.org == LibreOffice.) 
 
 Has this been discussed?  Does anyone have a time frame for this?  I would 
 like to see this happen in time for Jessie.

You will be interested in the thread here:

http://lists.debian.org/debian-devel/2013/05/msg00181.html

Kumar
-- 
So in the future, one 'client' at a time or you'll be spending CPU time with
lots of little 'child processes'.
-- Kevin M. Bealer, commenting on the private life of a Linux 
nerd


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130615021121.ga10...@bluemoon.alumni.iitm.ac.in



Re: Starting Google Chrome

2013-04-16 Thread Kumar Appaiah
On Mon, Apr 15, 2013 at 11:08:44PM -0400, Ethan Rosenberg, PhD wrote:
 On 04/15/2013 07:59 PM, Kumar Appaiah wrote:
 On Mon, Apr 15, 2013 at 07:48:39PM -0400, Ethan Rosenberg, PhD wrote:
 Kumar -
 
 Thanks.
 
   It would be useful to know how you installed Google Chrome. If you
   have installed it from the deb file, google-chrome should be the
   executable.
 
 Package Manager.
 
 I installed the Google Chrome deb file downloaded from the Chrome
 website¹, and that did put a file called google-chrome in /usr/bin
 
 To check the contents of the package, you can use dpkg -L 
 google-chrome-stable
 
 Hope this helps.
 
 Kumar
 
 ¹: https://www.google.com/intl/en/chrome/browser/
 
 =
 Kumar -
 
 Thanks.
 
 rosenberg:/home/ethan/Desktop#  dpkg -L google-chrome-stable
 dpkg-query: package 'google-chrome-stable' is not installed

Then download it from here:

https://www.google.com/intl/en/chrome/browser/

Get the deb, and run dpkg -i debfile

That should install it.

Kumar
-- 
...Deep Hack Mode -- that mysterious and frightening state of
consciousness where Mortal Users fear to tread.
-- Matt Welsh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130416112531.gb32...@bluemoon.alumni.iitm.ac.in



Re: Starting Google Chrome

2013-04-15 Thread Kumar Appaiah
On Mon, Apr 15, 2013 at 07:09:28PM -0400, Ethan Rosenberg, PhD wrote:
 Installed Google Chrome.  Can start from the applications dropdown list.
 
 1] No desktop icon
 2] Wish to be able to start from command line so that I can start it
 with a specific file.
 
 A search on Google gives the start command as google-chrome.  I
 can't make it work.

It would be useful to know how you installed Google Chrome. If you
have installed it from the deb file, google-chrome should be the
executable.

A lot of Debian folk use Chromium, that is already packaged in Debian,
and is the free (open-source) version of Chrome. You might also want
to give that a shot.

Kumar
-- 
Those who don't understand Linux are doomed to reinvent it, poorly.
-- unidentified source


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130415232555.ga4...@bluemoon.alumni.iitm.ac.in



Re: Starting Google Chrome

2013-04-15 Thread Kumar Appaiah
On Mon, Apr 15, 2013 at 07:48:39PM -0400, Ethan Rosenberg, PhD wrote:
 Kumar -
 
 Thanks.
 
  It would be useful to know how you installed Google Chrome. If you
  have installed it from the deb file, google-chrome should be the
  executable.
 
 Package Manager.

I installed the Google Chrome deb file downloaded from the Chrome
website¹, and that did put a file called google-chrome in /usr/bin

To check the contents of the package, you can use dpkg -L google-chrome-stable

Hope this helps.

Kumar

¹: https://www.google.com/intl/en/chrome/browser/
-- 
...[Linux's] capacity to talk via any medium except smoke signals.
(By Dr. Greg Wettstein, Roger Maris Cancer Center)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130415235935.ga8...@bluemoon.alumni.iitm.ac.in



Re: possible in lynx file download?

2013-03-31 Thread Kumar Appaiah
On Sun, Mar 31, 2013 at 03:38:32PM -0700, Rick Thomas wrote:
 
 On Macs (an apple macintosh G4, running debian squeeze) I use lynx
 to download cd-images from cdimage.debian.org.  I have no problem
 getting CD .iso images. (Except that it seems to prefer IPv6,
 which is significantly slower for me than IPv4. Is there a config
 option to change that behavior?)
 
 But when I try downloading the MD5SUMS file from the same directory,
 I get a few lines of HTML pre-pended to the downloaded file.
 
 Has anybody else seen this behavior?  Am I doing something wrong?
 Is this a bug in Lynx?

I see this behaviour in Lynx as well. elinks, however, does it as
expected. As for Lynx, if you have to use it, one workaround is to
browse to the MD5SUMS, and then use the P button to print it, which
allows you to save it to a file.

I have no clue about the IPV6 issue, though.

Kumar
-- 
The chat program is in public domain.  This is not the GNU public license.
If it breaks then you get to keep both pieces.
-- Copyright notice for the chat program


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130331225750.ga25...@bluemoon.alumni.iitm.ac.in



Re: Is there an updates mailing list with change logs?

2012-12-15 Thread Kumar Appaiah
On Sat, Dec 15, 2012 at 09:28:17PM +, Philip Ashmore wrote:
 My current work-flow of running synaptic, reloading, marking
 upgrades, viewing history, cherry-picking updates I'm interested in
 and viewing the changelogs for each, (or if they fail to download,
 gunzip -c xyz/changelog.Debian.gz | less) sucks.
 
 Is there an updates list I can subscribe to so that the updates,
 complete with the changelog entry for the updates, get mailed to me
 when they're available.
 
 I realise it's going to depend on their availability on my local
 mirror, so as an alternative, could it be bundled with the update,
 or available in semantic along side the history entries.
 
 I'm just brainstorming here - feedback welcome.
 
 Is there a package that does this already?

Are you looking for something like debian-devel-changes¹? It lists
much less than what you want (the latest changelog entry for a
package) and has uploads to all of Debian (not just testing or
unstable etc.).

Kumar


¹: https://lists.debian.org/debian-devel-changes/
-- 
[In 'Doctor' mode], I spent a good ten minutes telling Emacs what I
thought of it.  (The response was, 'Perhaps you could try to be less
abusive.')
(By Matt Welsh)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20121216001122.ga7...@bluemoon.alumni.iitm.ac.in



Re: watch and beep

2012-11-30 Thread Kumar Appaiah
On Fri, Nov 30, 2012 at 09:31:33AM +, Paweł Ch. wrote:
I would like to hear beep when command output watch dig @ns.domain.tdl
domain.tdl soa appear with string 2012113005.
Which command performs this task.

How about:

while true; do
if dig @ns.domain.tdl domain.tdl soa| grep -q 2012113005; then beep; fi
sleep 2;
done

beep is available in the beep package.

Kumar
-- 
/*
 * Oops. The kernel tried to access some bad page. We'll have to
 * terminate things with extreme prejudice.
*/
die_if_kernel(Oops, regs, error_code);
(From linux/arch/i386/mm/fault.c)   


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20121130122647.ga12...@bluemoon.alumni.iitm.ac.in



Re: compiling a Debian package

2012-10-27 Thread Kumar Appaiah
On Sun, Oct 28, 2012 at 05:18:14AM +0100, lee wrote:
 Hi,
 
 is it a bug that should be reported when a source package doesn't
 compile?  And how come that there is a binary package though it cannot
 be compiled?
 
 
 apt-get build-dep dvbcut
 apt-get source dvbcut
 cd dvbcut
 debuild -us -uc
 
 
 ... fails with a number of errors:

It depends. Which version of the compiler and libraries do you have
installed, and which version was used on the buildd? And is the
current version buildable in sid and wheezy? If so, it's may not be a
release critical bug, although it may still be a bug.

Please check these details (versions of packages, compiler etc.).

HTH.

Kumar
-- 
I've no idea when Linus is going to release 2.0.24, but if he takes
too long Im going to release a 2.0.24unoff and he can sound off all
he likes.
-- Alan Cox


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20121028051435.ga26...@bluemoon.alumni.iitm.ac.in



Re: looking for the 'lockfile' program

2012-10-02 Thread Kumar Appaiah
On Tue, Oct 02, 2012 at 04:31:39PM -0800, Britton Kerin wrote:
 Ok, its part of procmail apparently.
 
 On Tue, Oct 2, 2012 at 4:29 PM, Britton Kerin britton.ke...@gmail.com wrote:
  I'm trying to determine if the 'lockfile' program is still available
  or has been obsoleted for some reason.
 
  I'm not looking for lockfile_create or friends, nor flock, but the
  program described here:
 
   http://linux.about.com/library/cmd/blcmdl1_lockfile.htm

For the future, you can easily check things like this by visiting 
http://packages.debian.org/file:filename


For instance,
http://packages.debian.org/search?searchon=contentskeywords=lockfile

Kumar
-- 
We should start referring to processes which run in the background by their
correct technical name... paenguins.
-- Kevin M. Bealer, commenting on the penguin Linux logo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20121003004437.ga17...@bluemoon.alumni.iitm.ac.in



Re: EXIM in Debian

2012-09-18 Thread Kumar Appaiah
On Tue, Sep 18, 2012 at 08:46:55PM -0400, Mark Robinson wrote:
I know it might not be in the right group but is related mostly with
Debian.
There is Exim 4.72 under Debian with split configuration files.
I need to remove header and I know how to do in Exim. In section
remote_smtp add remove_headers=blablabla.
 
How I can do in Debian Exim with split configuration?

The exim4-config includes the man page exim4-config_files for standard
changes. I'd suggest that you have a look at the files in
/etc/exim4/conf.d, make your changes as needed, and run
update-exim4.conf to write them to generate the configuration.

Kumar
-- 
Intel engineering seem to have misheard Intel marketing strategy. The phrase
was Divide and conquer not Divide and cock up
(By iia...@www.linux.org.uk, Alan Cox)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120919013428.ga4...@bluemoon.alumni.iitm.ac.in



Re: GNU find: print0 and -type arguments

2012-08-02 Thread Kumar Appaiah
On Wed, Aug 01, 2012 at 09:12:49PM -0500, Alex Robbins wrote:
 Kumar
 Yes, I read the man page and I know what the -print0 option is
 supposed to do.  Notice, however, that when I executed find
 -print0 -type d the output (which, we both understand, is delimited
 by null characters) includes the regular file, even though I
 specified -type d.

My bad. Sorry for missing this.

Kumar
-- 
linux: because a PC is a terrible thing to waste
(k...@cis.ufl.edu put this on Tshirts in '93)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120802115312.ga30...@bluemoon.alumni.iitm.ac.in



Re: GNU find: print0 and -type arguments

2012-08-01 Thread Kumar Appaiah
On Wed, Aug 01, 2012 at 07:33:35PM -0500, Alex Robbins wrote:
 .
 ./dir
 This is the expected output.  However, when I execute:
 find -print0 -type d
 I see (on a terminal screen that does not display null characters):
 ../dir./file
 
 The same goes for using -type f.  It appears as though find
 ignores the -type argument when the -print0 option is passed.  Isn't
 this a bug?

No. If you refer to the man page, it will reveal that -print0 actually
outputs null characters instead of newlines. It is usually useful in
conjunction with the -0 option for xargs to run commands on each file
or directory found by find. Please read the man pages and they have
nice examples at the bottom.

Kumar
-- 
Absolutely nothing should be concluded from these figures except that
no conclusion can be drawn from them.
-- Joseph L. Brothers, Linux/PowerPC Project)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120802014159.gb12...@bluemoon.alumni.iitm.ac.in



Re: Why compiling.

2012-07-10 Thread Kumar Appaiah
On Tue, Jul 10, 2012 at 08:54:29AM -0700, Mike McClain wrote:
 The kernel provided when you install Linux, Debian included, has to work
 on nearly every system out there so it includes drivers for nearly piece
 of hardware that can be installed in a PC.
 
 I always compile a kernel with only the hardware I have in my computer.
 This gives me a smaller memory footprint and a smaller disk footprint.

I'd like to get some proof of this. For many years, the Linux kernel
has been modular, and, barring some filesystem support and similar,
almost all hardware support is achieved by means of loadable
modules. So, a module is loaded only if you have the hardware which
has a need for it. This is why a stock Debian kernel will load the
driver for just an Intel sound card if you have one, and not drivers
for any other brands. However, tomorrow, when you switch out the sound
card, the same kernel can support the new sound card without needing a
rebuild.

Please correct me if I have missed something here.

Thanks.


Kumar
-- 
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
(By Linus Torvalds)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120711041248.ga7...@bluemoon.alumni.iitm.ac.in



Re: how to update Debian OS properly

2012-05-25 Thread Kumar Appaiah
On Fri, May 25, 2012 at 03:57:28PM +0500, Muhammad Yousuf Khan wrote:
 in a testing environment I was trying to upgrade the security patches
 and I run the command
 apt-get upgrade.
 It ran fine, but at the end it upgraded my whole OS, first my test
 machine was showing Debian version 6.0.4 now after the upgrade it
 shifted to Wheezy/SID which I think is unstable.
 
 In Microsoft when we upgrade  the OS. it downloads only the security
 and OS patches.
 
 So the question are
 
 1. how to upgrade only the security patches?

If security is your concern, you ought to be running stable as
opposed to testing. If you run stable, then ensuring that
security.debian.org is listed in the /etc/apt/sources.list will fetch
security updates.

 2. if the upgrade patch trigger any critical issue. Like any service
 like hosting, filesharing or squid got effected by the update, how
 come we know which patch cause this problem and how to remove that
 specific patch because in Microsoft I have seen that security patches
 and OS patches some time make problems when run along with ongoing
 services.

I'd advise you to subscribe to the security mailing list of the
projects which you run on your machine whose security issues you are
concerned about.

Read this for further details and ideas: http://www.debian.org/security/

 3. how to revert back to old OS, for example, in my case i upgraded my
 system from 6.0.4 to Wheezy/SID now want to revert things back.

This is a little complicated and one could end up hosing one's
system. I'd advise you to back up things and do a fresh install of
squeeze.

HTH.

Kumar
-- 
We use Linux for all our mission-critical applications.  Having the source code
means that we are not held hostage by anyone's support department.
-- Russell Nelson, President of Crynwr Software


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120525114253.gb5...@bluemoon.alumni.iitm.ac.in



Re: OT: Need help compiling C files

2012-04-10 Thread Kumar Appaiah
On Tue, Apr 10, 2012 at 09:10:56PM -0700, T Elcor wrote:
 Any ideas why I'm getting these errors while trying to compile F3 flash 
 memory test program? The source is at:
   http://oss.digirati.com.br/f3/ 
 
 Tried adding -I /usr/lib/gcc/x86_64-linux-gnu/4.6/include option, without 
 quotes, but that didn't help. I'm not a C/C++ developer at all. Thanks
 
 $ make linux
 gcc -Wall -c utils.c
 In file included from utils.c:1:0:
 utils.h:4:19: fatal error: stdio.h: No such file or directory
 compilation terminated.
 make: *** [linux] Error 1

It works for me.

Please try sudo apt-get install build-essential and then try again; the
headers might not be present.

Kumar
-- 
The first is to ensure your partner understands that nature has root
privileges - nature doesn't have to make sense.
-- Telsa Gwynne


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120411042219.ga10...@bluemoon.alumni.iitm.ac.in



Re: OT: Need help compiling C files

2012-04-10 Thread Kumar Appaiah
On Tue, Apr 10, 2012 at 09:45:14PM -0700, T Elcor wrote:
 I'm on Wheezy, installing build-essential appears to be a bit problematic:
 
 # aptitude install make gcc build-essential 
 The following NEW packages will be installed:
   build-essential bzip2{a} dpkg-dev{a} g++{a} g++-4.6{a} libc-dev-bin{a} 
 libc6-dev{a} 
   libclass-isa-perl{a} libdpkg-perl{a} libfile-fcntllock-perl{a} 
 libstdc++6-4.6-dev{a} libswitch-perl{a} 
   libtimedate-perl{a} linux-libc-dev{a} 
 The following packages will be upgraded:
   perl perl-base perl-modules 
 The following packages are RECOMMENDED but will NOT be installed:
   fakeroot libalgorithm-merge-perl manpages-dev 
 3 packages upgraded, 14 newly installed, 0 to remove and 16 not upgraded.
 Need to get 23.8 MB of archives. After unpacking 35.2 MB will be used.
 The following packages have unmet dependencies:
  libtext-charwidth-perl : Depends: perlapi-5.12.4 which is a virtual package.
  libuuid-perl : Depends: perlapi-5.12.3 which is a virtual package.
  libdbi-perl : Depends: perlapi-5.12.3 which is a virtual package.
  liblocale-gettext-perl : PreDepends: perlapi-5.12.4 which is a virtual 
 package.
  libdbd-mysql-perl : Depends: perlapi-5.12.4 which is a virtual package.
  libperl5.12 : Depends: perl-base (= 5.12.4-6) but 5.14.2-9 is to be 
 installed.
  libtext-iconv-perl : Depends: perlapi-5.12.4 which is a virtual package.
 The following actions will resolve these dependencies:
 
  Remove the following packages: list of 144 packages

I don't know how one would get over this. It is possible that you are
caught in the midst of a transition, but I am not sure.

Should you just want the stdio.h header, maybe getting libc6-dev
should do. You could try installing just that.

Kumar
-- 
Netscape is not a newsreader, and probably never shall be.
-- Tom Christiansen


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120411044959.ga13...@bluemoon.alumni.iitm.ac.in



Re: dir is not ls

2012-03-19 Thread Kumar Appaiah
On Mon, Mar 19, 2012 at 08:57:28PM +, Brad Rogers wrote:
  Just save the alias in /etc/profile.d/bash_aliases.sh and we are done.
  (But I think a rm /bin/dir is also applicable)
 
 Every time there's an update to coreutils dir will be back, don't
 forget.  Anyhow, won't the alias take precedence?  If yes, why bother
 removing dir?

In addition, the bash profile is not an option since that probably
applies only for those who have their shell as bash; users choosing
another shell would probably still see dir.

Kumar
-- 
There are no threads in a.b.p.erotica,  so there's no  gain in using a
threaded news reader.
(Unknown source)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120320031342.ga19...@bluemoon.alumni.iitm.ac.in



Re: why for debian -lblas links to libblas.so.3gf instead of libblas.so?

2011-10-24 Thread Kumar Appaiah
On Mon, Oct 24, 2011 at 08:47:20PM -0500, Jichao Yin wrote:
-lblas links a program to libblas.so.3gf
-llapack links a program to liblapack.so.3gf
 
only those two sorts of libraries have and link to 3gf version of .so
(including both reference netlib blas and ATLAS blas, lapack).
On the other side, redhat distributions -lblas links to libblas.so and
-llapack links to liblapack.so.
 
Is there anyone who can clarify why debian uses .so.3gf only for -lblas
and -llapack?
Actually I found in debian libblas.so - libblas.so.3gf ultimately��
What is relationship between the two?

This is a remnant of the gfotran transition. During the transition, a
.3gf was added to libraries and package names for allowing a
distinction between the g77 generated libraries and gfortran generated
ones.

From your perspective, the fact that the file names have a 3gf should
not affect functionality at all. If it does, please let me know.

For more information on the gfortran transition which happened ~ 3
years ago, see http://wiki.debian.org/GfortranTransition

Kumar
-- 
*** PUBLIC flooding detected from erikyyy
lewnie THAT's an erik, pholx ;)
-- Seen on #LinuxGER


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20111025023021.ga7...@bluemoon.alumni.iitm.ac.in



Re: Count words/characters in ps or pdf

2011-10-14 Thread Kumar Appaiah
On Fri, Oct 14, 2011 at 02:55:59PM +0200, li...@webconect.ch wrote:
Hi all
 
 
 
I'm looking for a program to easily count words and characters (with
 
and without spaces) in ps or pdf documents.
 
 
 
Any suggestions?

How about:
pdftotext pdffile|wc -w

Kumar
-- 
Save yourself from the 'Gates' of hell, use Linux.  -- like that one.
-- The_Kind @ LinuxNet


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20111014132435.ga15...@bluemoon.alumni.iitm.ac.in



Re: A quick Q: how do I link LS or Ls to ls

2011-09-16 Thread Kumar Appaiah
On Sat, Sep 17, 2011 at 12:01:50PM +0800, lina wrote:
Hi,
 
I wonder is it possible to make the terminal recognize
 
LS or Ls
 
as
 
ls

Just add

alias LS='ls'

in your ~/.bashrc (or analogous for your shell).

Kumar
-- 
I've seen people with new children before, they go from ultra happy to
looking like something out of a zombie film in about a week.
-- Alan Cox about Linus after his 2nd daughter


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110917043601.ga24...@bluemoon.alumni.iitm.ac.in



Re: Just a Quick Question

2011-09-13 Thread Kumar Appaiah
On Tue, Sep 13, 2011 at 07:53:19PM -0400, RiverWind wrote:
 How does one go about turning off the screen saver on the Debian
 system? Thanks so much in advance.

It depends on which desktop environment you use
(KDE/GNOME/XFCE/Other?). Each one has its own way. Alternately, if you
run xscreensaver, xscreensaver-demo can be used to control the screen
saver.

HTH.

Kumar
-- 
Feel free to contact me (flames about my english and the useless of this
driver will be redirected to /dev/null, oh no, it's full...).
(Michael Beck, describing the PC-speaker sound device)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110914015844.gb21...@bluemoon.alumni.iitm.ac.in



Re: Kscope is not in wheezy?

2011-09-13 Thread Kumar Appaiah
On Wed, Sep 14, 2011 at 08:58:54AM +0800, H Xu wrote:
 I've checked this website and kscope is available in squeeze and sid:
 
 http://packages.debian.org/squeeze/kscope
 
 But I can't find it in wheezy. Why?

On the package tracking system, you will get a reason why:

http://packages.qa.debian.org/k/kscope.html

If you click Check why, you will discover that it needs to migrate
along with qscintilla (specifically, libqscintilla2-5). However,
the qscintilla2 source package produces libqscintilla2-6. This most
likely means that a binNMU¹ or sourceful upload of kscope may be
necessary.

(There may be some inconsistencies in what I've said, so please verify).

¹: http://wiki.debian.org/binNMU
-- 
Linux!  Guerrilla UNIX Development Venimus, Vidimus, Dolavimus.
(By m...@ka4ybr.com, Mark A. Horton KA4YBR)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110914020309.gc21...@bluemoon.alumni.iitm.ac.in



Re: Exim4 configuration with rewriting for smarthost

2011-08-29 Thread Kumar Appaiah
On Mon, Aug 29, 2011 at 02:41:48PM -0500, rlhar...@hal-pc.org wrote:
 For a week I have been searching without success for a guide to
 configuration of Exim4 for a personal system which utilizes the
 smarthost of an isp to handle outgoing mail and a web hosting service
 to host a web site.

To the best of my knowledge, using an ISP to relay is covered in this
tutorial for GMail, but should be adaptable to your situation:

http://wiki.debian.org/GmailAndExim4

Apologies if this wasn't what you expected; but in general, one of the
cases of exim4-config s what you'd want, to the best of my
understanding.

Kumar
-- 
This kernel runs like a dessicated slug if you have more than 2G of memory
due to a 32-bit overflow.

-- Andrew Morton, on Linux 2.6.8-rc1-mm1


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110830012407.ga9...@bluemoon.alumni.iitm.ac.in



Re: KDE: Flashing battery icon

2011-08-23 Thread Kumar Appaiah
On Tue, Aug 23, 2011 at 01:04:21PM +0200, Ralf Jung wrote:
 Hi again,
 
 can't anybody help? I'd really like to report this as bug against upower or 
 KDE, but in the end I got no clue how I can verify where the problem is 
 caused.

One thing you could do is to run acpi -b when the weird occurrences
happen, and see if that is in tune with what the battery monitor
shows. When on ac, acpi -b should return blank, but when on battery,
it should display some information on the battery life remaining
etc. This way, you can tell if the problem is in the KDE applet or in
ACPI.

Thanks.

Kumar
-- 
The first is to ensure your partner understands that nature has root
privileges - nature doesn't have to make sense.
-- Telsa Gwynne


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110823123129.gb28...@bluemoon.alumni.iitm.ac.in



Re: KDE: Flashing battery icon

2011-08-23 Thread Kumar Appaiah
On Tue, Aug 23, 2011 at 02:49:57PM +0200, Ralf Jung wrote:
  One thing you could do is to run acpi -b when the weird occurrences
  happen, and see if that is in tune with what the battery monitor
  shows. When on ac, acpi -b should return blank, but when on battery,
  it should display some information on the battery life remaining
  etc. This way, you can tell if the problem is in the KDE applet or in
  ACPI.
 What exactly do you mean by on battery? When I am on AC, but the battery is 
 plugged in, acpi -b prints
 Battery 0: Unknown, 98%
 After plugging AC off, it says
 Battery 0: Discharging, 98%, 02:12:32 r
 emaining

Ah, that made sense. I checked without a battery, which is what gave
me a blank message.

 And when there is no battery it's empty.
 As far as I can tell, it also does that when KDE displays the no battery 
 icon, which is however hard to catch since it only lasts for a fraction of a 
 second.
 
 However, you gave me the idea to look for a CLI for upower, and there 
 actually 
 is one. upower --monitor prints this when plugging in AC:
 
 [14:47:44.867]  device changed: 
 /org/freedesktop/UPower/devices/line_power_AC
 [14:47:45.203]  device removed:   /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:45.832]  device added: /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:45.832]  device changed: 
 /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:46.137]  device removed:   /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:46.420]  device added: /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:46.425]  device changed: 
 /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:46.547]  device changed: 
 /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:47.082]  device removed:   /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:47.374]  device added: /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:47.378]  device changed: 
 /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:47.548]  device changed: 
 /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:48.032]  device removed:   /org/freedesktop/UPower/devices/battery_BAT0
 [14:47:48.255]  device added: /org/freedesktop/UPower/devices/battery_BAT0
 [...]
 
 So the problem is definitely within upower or even further down the stack, 
 but 
 not in KDE. I'll report a bug against upower.

Glad to know that you've at least zeroed down on the issue.

Thanks.

Kumar
-- 
If a 'train station' is where a train stops, what's a 'workstation'?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110823134426.ga31...@bluemoon.alumni.iitm.ac.in



Re: how to add exec permission to other users

2011-08-17 Thread Kumar Appaiah
On Wed, Aug 17, 2011 at 06:58:52AM -0500, Long Wind wrote:
 I have a program
 It can be run by root only
 I want to add exec permission to other users
 so they can run it too
 how to use chmod?

You should be able to use chmod a+x filename. But please be aware of
the security implications of doing this before taking this step (is
the application meant to be run only as root?).

Kumar
-- 
[...] or some clown changed the chips on a board and not its name.
(Don't laugh!  Look at the SMC etherpower for that.)
-- from /usr/src/linux/MAINTAINERS


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110817123014.ga3...@bluemoon.alumni.iitm.ac.in



Re: Wireless problem with Thinkpad X220

2011-08-12 Thread Kumar Appaiah
On Fri, Aug 12, 2011 at 02:56:02PM +0300, Volkan YAZICI wrote:
 1. Turn every service (wicd, network-manager, rf stuff, etc.) that is
associated with wifi off.
 
 2. Does iwlist wlan0 scan still return nothing?

Unfortunately, even these didn't help. However, upgrading the kernel
to 3.0.0-1-amd64 fixed things.

Thanks!

Kumar
-- 
Stealth How do I bind a computer to an NIS server?
Joey Use a rope?
-- Seen on #Debian


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110813052042.ga28...@bluemoon.alumni.iitm.ac.in



Re: How to install non-free firmware after installing Debian

2011-08-11 Thread Kumar Appaiah
On Thu, Aug 11, 2011 at 10:21:37PM +1000, yudi v wrote:
I need to install [1]Intel(R) PRO/Wireless 3945ABG/BG Network Connection
driver for Linux
 
I downloaded the non-free firmware files and was looking for good
documentation on how to install non-free firmware. So far* I did not come
across one on Debian site.
 
I set up Debian with LVM on top of LUKS.
 
Can someone point me in the right direction.

If you have ethernet access, just use apt-get install
firmware-iwlwifi. Else just get the firmware-iwlwifi deb package and
bring it to your laptop (via USB, say) and use dpkg -i debfile to
install it.

HTH.

Kumar
-- 
Oh, I've seen copies [of Linux Journal] around the terminal room at The Labs.
-- Dennis Ritchie


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110811122650.ga22...@bluemoon.alumni.iitm.ac.in



Wireless problem with Thinkpad X220

2011-08-11 Thread Kumar Appaiah
Hi!

I've been trying to help a friend out with wireless on his Thinkpad
X220. The identifier is:

03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 
802.11b/g/n WiFi Adapter (rev 01)

Now, according to http://wiki.debian.org/rtl819x the drivers should
work for the kernel (2.6.39 bpo.2). However, while wlan0 is displayed,
he is unable to configure his network, and dmesg output says this:

[ 2069.228798] rtl8192ce :03:00.0: PCI INT A disabled   

  
[ 2085.887165] ieee80211_crypt: unregistered algorithm 'WEP'

  
[ 2085.887174] ieee80211_crypt: unregistered algorithm 'CCMP'   

  
[ 2085.887181] ieee80211_crypt: unregistered algorithm 'TKIP'
[ 2085.887187] ieee80211_crypt: unregistered algorithm 'NULL' (deinit)  

  
[ 2143.973876] ieee80211_crypt: registered algorithm 'NULL' 

  
[ 2143.973885] ieee80211_crypt: registered algorithm 'TKIP' 

  
[ 2143.973892] ieee80211_crypt: registered algorithm 'CCMP'
[ 2143.973898] ieee80211_crypt: registered algorithm 'WEP'  

  
[ 2143.973921] 
[ 2143.973923] Linux kernel driver for RTL8192 based WLAN cards 

  
[ 2143.973929] Copyright (c) 2007-2008, Realsil Wlan

  
[ 2326.698887] ieee80211_crypt: unregistered algorithm 'WEP'

  
[ 2326.698897] ieee80211_crypt: unregistered algorithm 'CCMP'   

  
[ 2326.698904] ieee80211_crypt: unregistered algorithm 'TKIP'   

  
[ 2326.698910] ieee80211_crypt: unregistered algorithm 'NULL' (deinit)  

  
[ 2343.256604] rtl8192ce :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 
17
[ 2343.256624] rtl8192ce :03:00.0: setting latency timer to 64  

  
[ 2343.266633] ieee80211 phy1: Selected rate control algorithm 'rtl_rc' 

  
[ 2343.267260] rtlwifi: wireless switch is off   

In spite of having switched the WiFi on, Network Manager doesn't see anything.

iwlist scanning gives:
Failed to read scan data : Network is down

Also, rfkill showed:
2: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no

An rfkill unblock removed the soft block, but that still did nothing.

I've run out of debugging ideas, and am looking for suggestions. Could
you let me know how I should go about this?

Thanks!

Kumar
-- 
Sigh.  I like to think it's just the Linux people who want to be on
the leading edge so bad they walk right off the precipice.
-- Craig E. Groeschel


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110812040526.ga11...@bluemoon.alumni.iitm.ac.in



Re: S-Video on Debian

2011-08-03 Thread Kumar Appaiah
Dear Brian,

On Tue, Aug 02, 2011 at 01:39:40PM +0100, Brian wrote:
 The changelog for xserver-xorg-video-intel documents bug fixes for
 TV-OUT made a few years ago. Nothing else since.
 
  mode:   NTSC-M
  supported: NTSC-M   NTSC-443 NTSC-J   PAL-M 

 PAL-NPAL  480p@59.94Hz 480p@60Hz 

 576p 720p@60Hz720p@59.94Hz 720p@50Hz 

 1080i@50Hz   1080i@60Hz   1080i@59.94H
 
 The default TV standard is NTSC-M, which is ok if the television is
 built for it. Otherwise
 
xrandr --output TV1 --set mode PAL
 

Even this didn't help. Strangely, the TV standard isn't even defined
in my case; there has to be a driver issue.

I'll try getting fresh drivers from Intel asand building them this
weekend to see if that does me some good.

Thanks for the help!

Kumar
-- 
Are Linux users lemmings collectively jumping off of the cliff of
reliable, well-engineered commercial software?
-- Matt Welsh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110804014841.ga8...@bluemoon.alumni.iitm.ac.in



Re: S-Video on Debian

2011-08-01 Thread Kumar Appaiah
Dear Brian,

Thanks for helping me out.

On Mon, Aug 01, 2011 at 08:04:50PM +0100, Brian wrote:
 On Sun 31 Jul 2011 at 20:33:33 -0500, Kumar Appaiah wrote:
 
  Here's what I have:
  
  TV1 connected 800x600+0+0 (normal left inverted right x axis y axis)
  0mm x 0mm
 848x48030.0 +
 640x48030.0 +
 1024x768   30.0  
 800x60030.0*60.3  
 
 This tells you
* the connection to the TV has been detected
* there are two preferred modes (shown by the '+')
* the current mode is 800x600 (shown by the '*')

Fair. This makes sense.

  xrandr --output TV1  --mode 800x600 --crtc 1
 
 '--crtc 1' isn't really required.

Well, with, or without, nothing really appears on the TV.

  xvattr -a XV_CRTC -v 1
[snip]
 Forget about this for the moment. I should have been clearer and
 explained I use xvattr to send video to the TV with vlc. It is of no
 consequence if nothing appears on the TV screen in the first place). The
 command for you to use to see a portion of your computer screen on the
 TV (because the TV is detected) is
 
xrandr --output TV1  --mode 800x600 (or --mode 848x480 etc)

Well, this didn't really send the computer screen to the TV. I'll
proceed to the debugging information.

 It might be useful for us to see the outputs of 'xrandr --verbose' and
 'lspci' for the video card.

Here are the graphics card details from lspci -vvv:

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (primary) (rev 0c) (prog-if 00 [VGA controller])
Subsystem: Dell Device 022f
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 45
Region 0: Memory at fea0 (64-bit, non-prefetchable) [size=1M]
Region 2: Memory at e000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at eff8 [size=8]
Expansion ROM at unassigned [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee0300c  Data: 4191
Capabilities: [d0] Power Management version 3
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Bridge: PM- B3+
Kernel driver in use: i915

00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated 
Graphics Controller (secondary) (rev 0c)
Subsystem: Dell Device 022f
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR- INTx-
Latency: 0
Region 0: Memory at feb0 (64-bit, non-prefetchable) [size=1M]
Capabilities: [d0] Power Management version 3
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Bridge: PM- B3+



The relevant portion of xrandr --verbose is:

TV1 connected 640x480+0+0 (0x3c8) normal (normal left inverted right x axis y 
axis) 0mm x 0mm
Identifier: 0x44
Timestamp:  148418469
Subpixel:   unknown
Gamma:  1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC:   0
CRTCs:  0 1
Transform:  1.00 0.00 0.00
0.00 1.00 0.00
0.00 0.00 1.00
   filter: 
bottom margin: 37 (0x0025)  range:  (0,100)
right margin: 46 (0x002e)   range:  (0,100)
top margin: 36 (0x0024) range:  (0,100)
left margin: 54 (0x0036)range:  (0,100)
mode:   NTSC-M
supported: NTSC-M   NTSC-443 NTSC-J   PAL-M   
   PAL-NPAL  480p@59.94Hz 480p@60Hz   
   576p 720p@60Hz720p@59.94Hz 720p@50Hz   
   1080i@50Hz   1080i@60Hz   1080i@59.94H
  848x480 (0x3c7)   14.5MHz +preferred
h: width   848 start  849 end  912 total  944 skew0 clock   15.4KHz
v: height  480 start  481 end  512 total  513   clock   30.0Hz
  640x480 (0x3c8)   11.3MHz *current +preferred
h: width   640 start  641 end  704 total  736 skew0 clock   15.4KHz
v: height  480 start  481 end  512 total  513   clock   30.0Hz
  1024x768 (0x3c9)   26.9MHz
h: width  1024 start 1025 end 1088 total 1120 skew0 clock   24.0KHz
v: height  768 start  769 end  800 total  801   clock   30.0Hz
  800x600 (0x3ca)   17.0MHz
h: width   800 start  801 end  864 total  896 skew0 clock   19.0KHz
v

S-Video on Debian

2011-07-31 Thread Kumar Appaiah
Hi.

I have an S-Video cable which I'd like to connect to a TV. It works on
a friends laptop with Windows. On Debian I have:

xserver-xorg 1:7.6+7
xserver-xorg-video-intel 2:2.15.0-3 
KDE 4.6.2

When I connect an S-Video cable to the television, I am able to see
the settings on the KDE Display Applet, and can configure it. However,
no output manages to get through to the television.

Several Ubuntu related fixes found on search engines didn't help much;
I couldn't figure out which xorg.conf to play around with.

Please let me know if I have to provide additional details. Thanks in
advance for any pointers you could offer.

Kumar
-- 
Who is General Failure and why is he reading my hard disk ?
Microsoft spel chekar vor sail, worgs grate !!
(By leit...@inf.fu-berlin.de, Felix von Leitner)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110731195804.ga5...@bluemoon.alumni.iitm.ac.in



Re: S-Video on Debian

2011-07-31 Thread Kumar Appaiah
Dear Brian,

On Sun, Jul 31, 2011 at 10:47:30PM +0100, Brian wrote:
  When I connect an S-Video cable to the television, I am able to see
  the settings on the KDE Display Applet, and can configure it. However,
  no output manages to get through to the television.
 
 This is what I do.
 
 1. xrandr -q
The relevant lines in the output are:
S-video disconnected 800x600+0+0 (normal left inverted right x axis y 
 axis) 0mm x 0mm
800x60072.2*

Here's what I have:

TV1 connected 800x600+0+0 (normal left inverted right x axis y axis)
0mm x 0mm
   848x48030.0 +
   640x48030.0 +
   1024x768   30.0  
   800x60030.0*60.3  

 2. xrandr --addmode S-video 800x600

This ran:
xrandr --addmode TV1 800x600

 3. xrandr --output S-video --mode 800x600 --crtc 1

This ran after a while, although I initially got a cannot find crtc
for output:

xrandr --output TV1  --mode 800x600 --crtc 1

 4. xvattr -a XV_CRTC -v 1

xvattr -a XV_CRTC -v 1
Found Xv 2.2
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  132 (XVideo)
  Minor opcode of failed request:  13 ()
  Serial number of failed request:  13
  Current serial number in output stream:  14

This step doesn't work. I hear some sound indicating that the TV is
responding somewhat, but it doesn't seem to work.

I'll keep trying, but if you have additional insights, do let me know.

Thanks!

Kmap
-- 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
-- dmegg...@aix1.uottawa.ca


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/2011080101.ga20...@bluemoon.alumni.iitm.ac.in



Re: KDE shortcut keys

2011-07-14 Thread Kumar Appaiah
On Thu, Jul 14, 2011 at 02:42:43PM +0700, Sthu Deus wrote:
 If this doesn't work, here's another method.
 
 - Go to System Settings, and choose Input Actions.
 
 - Right click somewhere on the white space in the left section, and
   choose New - Global Shortcut - Command URL
 
 - Fill out the Trigger and Action and you should be good to go!
 
 The second way did the trick!
 I'm very thankful to You for the trick!
 
 I did try through the system settings but by choosing the app. in the
 list - reassigning the keys...
 
 So, the topic is solved and its end.

Glad that it worked out. This method always seems to work!

Kumar
-- 
How many chunks could checkchunk check if checkchunk could check chunks?
-- Alan Cox


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110714124346.ga3...@bluemoon.alumni.iitm.ac.in



Re: KDE shortcut keys

2011-07-11 Thread Kumar Appaiah
On Mon, Jul 11, 2011 at 08:30:59PM +0700, Sthu Deus wrote:
 Good time of the day.
 
 I have up-to-date Debian6 w/ KDE 4.4.5. The problem is that I can not
 use shortcut keys - for clean experiment I did so under a new user - no
 effect. If it works in the named version, what I can do to make it
 working?

Try this. I might have done something already, but you could try it
and let me know.

- Suppose your program is accessible from the K Menu. Then right click
  on the K Menu, and choose Menu Editor.

- Navigate to your program, and choose the Advanced tab.

- Set a shortcut key.

If this doesn't work, here's another method.

- Go to System Settings, and choose Input Actions.

- Right click somewhere on the white space in the left section, and
  choose New - Global Shortcut - Command URL

- Fill out the Trigger and Action and you should be good to go!

HTH.

Kumar
-- 
I tried the clone syscall on me, but it didn't work.
-- Mike Neuffer trying to fix a serious time problem


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110711235211.ga2...@bluemoon.alumni.iitm.ac.in



Re: Wacom Bamboo Pen Touch

2011-05-04 Thread Kumar Appaiah
Hi.

On Wed, May 04, 2011 at 02:20:05AM -0400, Matthew Howle wrote:
 I have a Wacom Bamboo Pen  Touch (CTH-460) but I am unable to get the
 device working on Squeeze stable (6.0.1, AMD64).
 
 I also followed the instructions provided here
 http://lik.noblogs.org/post/2010/05/07/wacom-debian/  except for using
 version 0.8.8-11 of the linuxwacom driver.
 
 Any ideas?

I had similar problems, and I switched to a newer kernel available in
sid (2.6.38-1-amd64). If you are wary of pulling in a new kernel, you
could choose to build it from source using kernel-package.

Kumar
-- 
No, that's wrong too.  Now there's a race condition between the rm and
the mv.  Hmm, I need more coffee.
-- Guy Maor on Debian Bug#25228


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110504151732.ga5...@bluemoon.alumni.iitm.ac.in



Re: Why had emacs 23 become so ugly?

2011-04-30 Thread Kumar Appaiah
On Sun, May 01, 2011 at 02:21:25AM +, Hendrik Boom wrote:
 I'm still running squeeze.  For some reason, when I run emacs now, it 
 dieplays all my C and C++ files with a variable-width font, in which the 
 indentations I've been using have become microscopic.  What's more, 
 carefully counted-out ASCII tables and diagrams have become unreadable.
 
 Why is this?  Why has this nonsense been inflicted on programmers?  What 
 can I do about it?  Why should it even be necessary to do anything, 
 considering that emacs is presumably maintained by programmers?

This is possibly due to the default font setting. You can choose a
monospace font and have all the goodness you wished for. For instance,
the following works for me in my .emacs, but YMMV.

(setq running-emacs-23 ( emacs-major-version 22))
(if running-emacs-23
(progn (set-default-font Monospace-7)))

Kumar
-- 
And Bruce is effectively building BruceIX
-- Alan Cox


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110501030046.ga21...@bluemoon.alumni.iitm.ac.in



Re: Result of entering 'v' within mutt -- hopefully not too OT

2011-04-21 Thread Kumar Appaiah
Dear Alan,

On Thu, Apr 21, 2011 at 09:19:54AM -0400, Alan McConnell wrote:
 On Tue, Apr 19, 2011 at 02:35:29PM -0400, Alan McConnell wrote:
  I have been running mutt for a good many years from with my
  Debian Linux distribution.  A couple of days ago I upgraded from
  Debian etch to Debian squeeze and got mutt 1.5.20.  It has
  one behavior that I don't like and I hope that it can be
  changed: when I type 'v' within mutt I am given a choice of
  viewing the message within a browser window.  My Firefox is almost
  always open, and previously mutt would display the message within
  a new Tab.  Now a new Firefox Window is opened.  I don't like that!
  Can I change that behaviour e.g. with a command in my .muttrc?
   The above is what I posted to the mutt E-list.  I got one
   person who wrote, yeah, I'd like to know that too; but
   otherwise nothing.
 
   Maybe someone here knows something about configuring mutt?
 
   Failing that, how easy is it to go back to an older version
   of mutt?  My mutt on etch always opened a new Tab.  sigh

You can check the command line with which firefox is called (from the
mailcap, possibly?). Just change it to do:

firefox -new-tab $URL

That way, you can get it to open in a new tab.

HTH.

Kumar
-- 
A Linux machine!  Because a 486 is a terrible thing to waste!
-- Joe Sloan, j...@wintermute.ucr.edu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110421134159.ga6...@146653177.ece.utexas.edu



Re: Result of entering 'v' within mutt

2011-04-21 Thread Kumar Appaiah
On Thu, Apr 21, 2011 at 05:37:02PM -0400, Alan McConnell wrote:
 On Thu, Apr 21, 2011 at 11:30:38AM -0500, green wrote:
  No, you need to add it.  And the file to edit is probably: ~/.mailcap
  Add a line like:
  text/html; iceweasel -new-tab '%s'; test=test -n $DISPLAY; 
  nametemplate=%s.html
  
  If another text/html; entry exists, you may need to comment (#) it.
Bingo!  I didn't have a .mailcap in my home directory, I
just created it populated with the line above.  And now
my mutt puts the stuff into a Tab just like I wanted.
Mr Green is herewith added to my growing list of Geniuses!
 
 How did you ever know about this, Mr Green?  is this documented anywhere,
 or did you intuit it?  Maybe you are the mutt developer?  You've
 certainly added evidence to my claim, made in a different E-mail,
 that E-mail, the killer app, is by no means a piece of cake to
 set up correctly.

Nice to hear that it worked. :-) The details are in section 5 of the
Mutt manual:

http://www.mutt.org/doc/manual/manual-5.html

Kumar
-- 
Because I don't need to worry about finances I can ignore Microsoft
and take over the (computing) world from the grassroots.
-- Linus Torvalds


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110421223913.gb17...@bluemoon.alumni.iitm.ac.in



Re: mua and mail service provider statistics

2011-04-13 Thread Kumar Appaiah
Dear Chen,

On Wed, Apr 13, 2011 at 09:05:43PM +0800, Chen Wei wrote:
 as a first time debian-user subscriber, I feel been buried alive by
 incoming emails, though I heard there are some monster maillists, 
 linux kernel maillist for example, are carrying even heavier traffic.
 Wondering how to manage so many emails, out of curiosity, I did a 
 statistics on choice of mail client and email service, based on 1494
 messages received since subscribed to this list. Here is what I found.

Thanks for doing this.

 The short story is, GMAIL prevail.

The trouble with GMail is that it is suboptimal when it comes to a
couple of things when compared to Mutt, _for me_:

- It's threading is linear, which is difficult to follow for long and
  complex evolving threads.
- I prefer console goodness over a web based approach.
- GMail encourages top posting.

But I see the merit in using GMail; it's simple, easy and powerful to
use. Just that it's not for me.

Kumar
-- 
No, that's wrong too.  Now there's a race condition between the rm and
the mv.  Hmm, I need more coffee.
-- Guy Maor on Debian Bug#25228


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110413142206.gc6...@bluemoon.alumni.iitm.ac.in



Re: How to run a command as root when I shutdown system automatically ?

2011-04-04 Thread Kumar Appaiah
On Tue, Apr 05, 2011 at 11:57:31AM +0800, waterloo wrote:
How to run a command as root when I shutdown system automatically ?
I use Debian 6 amd64.

Searching online led me to this:

http://synapse.wordpress.com/2007/03/24/run-a-script-on-startup-shutdown-in-linux/

HTH.

Kumar
-- 
The chat program is in public domain.  This is not the GNU public license.
If it breaks then you get to keep both pieces.
-- Copyright notice for the chat program


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110405054125.ga15...@bluemoon.alumni.iitm.ac.in



Re: best labtop for debian

2011-02-08 Thread Kumar Appaiah
On Tue, Feb 08, 2011 at 03:09:23PM -0700, Bob Proulx wrote:
 The IBM ThinkPads were always solid equipment and all of the hardware
 was supported very well.  They did what you expected a laptop to do in
 that all of the peripherals worked with Linux drivers.  Networking
 worked with native drivers.  Graphics display worked with native
 drivers.  Suspend to ram works.  Suspend to disk works.  The volume
 buttons work.  The keyboard light can be toggled on and off.  The
 special function keys work.  Battery life is reasonable.  The keyboard
 is the best of any of the laptops I have used.  In my experience
 everything just works.

On a related topic, could you please tell me which of the current
ThinkPads have the same basic (awesome) feature-set which the old
favourites (T61, T42 etc.) had? I am genuinely unaware, and wanted to
know if all the ones available today (X-series, T-series, Edge etc.)
carried similar goodness.

Thanks!

Kumar
-- 
Microsoft is not the answer.
Microsoft is the question.
NO (or Linux) is the answer.
(Taken from a .signature from someone from the UK, source unknown)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110209032135.ga18...@bluemoon.alumni.iitm.ac.in



On lenny-backports-sloppy

2010-10-05 Thread Kumar Appaiah
Dear Debian Users,

If this hasn't been discussed here already:

http://blog.snow-crash.org/2010/10/a-new-player-in-the-house-lenny-backports-sloppy.html

HTH and thanks.

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101005145445.gs27...@bowser.ece.utexas.edu



Re: Garbled PDF: missing fonts?

2010-09-28 Thread Kumar Appaiah
On Tue, Sep 28, 2010 at 10:18:46AM +, Camaleón wrote:
 On Mon, 27 Sep 2010 16:27:44 -0500, Kumar Appaiah wrote:
 
   All PDF viewers on Debian seem to produce garbled output. Am I
   missing some fonts, or is there something else amiss?
  
  Most surely, yes. I've got all MS TrueType fonts installed O:-)
  
  Evince lists as used in that PDF: Arial, Garamond, Times News Roman and
  Symbol.
  
  Let me go back home and check it (on this machine, I don't have install
  privileges).
 
 No installation privileges needed. Just drop (copy/paste) all your MS 
 *.ttf font into your user's ~/.fonts folder and you're done :-)

Worked fine. Thanks! :-)

Kumar
-- 
Linux was made by foreign terrorists to take money from true US companies
like Microsoft. - Some AOL'er.
To this end we dedicate ourselves... -Don
-- From the sig of Don, d...@cs.byu.edu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100928122012.gb11...@bluemoon.alumni.iitm.ac.in



Garbled PDF: missing fonts?

2010-09-27 Thread Kumar Appaiah
Dear Debian users,

I have a problem opening the following PDF:

http://www.wiley-vch.de/berlin/journals/phiuz/07-04/Weizsaecker-Interview-Weblayout.pdf

All PDF viewers on Debian seem to produce garbled output. Am I missing
some fonts, or is there something else amiss?

I use squeeze/sid, and can give you package versions if you could tell
me which ones would be useful.

Thanks!

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100927205114.gb20...@bowser.ece.utexas.edu



Re: Garbled PDF: missing fonts?

2010-09-27 Thread Kumar Appaiah
Dear Camaleón,

On Mon, Sep 27, 2010 at 09:10:12PM +, Camaleón wrote:
 On Mon, 27 Sep 2010 15:51:14 -0500, Kumar Appaiah wrote:
 
  I have a problem opening the following PDF:
  
  http://www.wiley-vch.de/berlin/journals/phiuz/07-04/Weizsaecker-
 Interview-Weblayout.pdf
 
 It opens fine here with Evince (lenny).
 
  All PDF viewers on Debian seem to produce garbled output. Am I missing
  some fonts, or is there something else amiss?
 
 Most surely, yes. I've got all MS TrueType fonts installed O:-)
 
 Evince lists as used in that PDF: Arial, Garamond, Times News Roman and 
 Symbol.

Let me go back home and check it (on this machine, I don't have
install privileges).

Thanks!

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100927212744.ge20...@bowser.ece.utexas.edu



Re: Garbled PDF: missing fonts?

2010-09-27 Thread Kumar Appaiah
Dear Sjoerd,

On Tue, Sep 28, 2010 at 01:20:12AM +0200, Sjoerd Hiemstra wrote:
 On Mon, 27 Sep 2010 15:51 -0500 Kumar Appaiah wrote:
  I have a problem opening the following PDF:
  
  http://www.wiley-vch.de/berlin/journals/phiuz/07-04/Weizsaecker-Interview-Weblayout.pdf
  
  All PDF viewers on Debian seem to produce garbled output. Am I missing
  some fonts, or is there something else amiss?
 
 If you open this pdf with evince, and have a look at
 File  Properties  tab 'Fonts', then you will see that all fonts
 except SymbolMT are 'not embedded', which means that they are missing
 from the pdf. A good pdf should contain the used fonts, so it is
 clearly at fault here.

Indeed. I can confirm that this is the case.

 If you open the pdf with Adobe Reader, and have a look at
 File  Properties  tab 'Fonts', then you see that Adobe Reader
 replaces the missing fonts with other fonts that it apparently carries
 with it. Notably, the main text font, which is Garamond, is replaced
 with 'Adobe Serif MM', and although it looks fine, it differs from the
 original font.
 
 Installing msttcorefonts does not help here, because it does not
 contain the Garamond font. AFAICT Garamond is part of W2000 and XP.

Yes, since I have the msttcorefonts installed.

 One option would be to get the Garamond font (three .ttf files) from
 some Windows installation and install it, e.g. just by putting it into
 ~/.fonts . I see that evince shows the text just fine then.

Thanks. This does seem to work; but there is the slight problem that
the characters umlauts didn't render properly; that is probably
because the version of the font I used didn't have that encoding. But
this is something I can get over myself.

Thanks again!

Kumar
-- 
But what can you do with it?
-- ubiquitous cry from Linux-user partner


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100928001336.ga30...@bluemoon.alumni.iitm.ac.in



Re: Garbled PDF: missing fonts?

2010-09-27 Thread Kumar Appaiah
Dear Doug,

On Mon, Sep 27, 2010 at 08:53:25PM -0400, Doug wrote:
 On 9/27/2010 4:51 PM, Kumar Appaiah wrote:
 I have a problem opening the following PDF:
 
 http://www.wiley-vch.de/berlin/journals/phiuz/07-04/Weizsaecker-Interview-Weblayout.pdf
 
 All PDF viewers on Debian seem to produce garbled output. Am I missing
 some fonts, or is there something else amiss?

 I use squeeze/sid, and can give you package versions if you could tell
 me which ones would be useful.
 
 Just as a sanity test, I opened the file in Windows, and it works
 perfectly.  However, unless you read German, don't bother!  (It's
 not difficult German, but there it is!)

Ich weiß dass dieses Dokument in Deutsch ist. Ich möchte es lesen für
die Übersetzung der Artikel auf Englisch für meine Arbeit. :-)

(That was a German n00b's attempt to tell Doug that I am aware that
the document is in German, and I want to read it in order to translate
it into English as part of my work. ;-))

Kumar
-- 
If loving linux is wrong, I dont wanna be right.
-- Topic for #LinuxGER


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100928040135.ga2...@bluemoon.alumni.iitm.ac.in



Re: converting pcm raw output to wav or mp3 file

2010-09-20 Thread Kumar Appaiah
Dear Siju,

On Mon, Sep 20, 2010 at 03:19:09PM +0530, Siju George wrote:
 I followed
 
 http://wiki.audacityteam.org/index.php?title=Recording_audio_playing_on_the_computer#Using_the_ALSA_PCM_file
 
 and got the
 
 /tmp/out.raw file
 
 How do I convert it to wav or mp3?

You would need an MP3 encoder, such as LAME. LAME is not available in
Debian, but is available from unofficial repositories, such as Debian
Multimedia (see http://debian-multimedia.org/ for details)

HTH.

Kumar
-- 
How do you pronounce SunOS?  Just like you hear it, with a big SOS
-- dedicated to Roland Kaltefleiter


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100920113527.ga30...@bluemoon.alumni.iitm.ac.in



Re: converting pcm raw output to wav or mp3 file

2010-09-20 Thread Kumar Appaiah
On Mon, Sep 20, 2010 at 05:13:18PM +0530, Siju George wrote:
  You would need an MP3 encoder, such as LAME. LAME is not available in
  Debian, but is available from unofficial repositories, such as Debian
  Multimedia (see http://debian-multimedia.org/ for details)
 
 
 thanks i found out
 
 $lame -r out.raw out.wav
 
 to convert to wave and
 
 $ffmpeg-i out.wav out.mp3
 
 to convert to mp3
 
 thanks :-)

Actually, you wouldn't need to use ffmpeg at all; 
lame sample.wav sample.mp3 should usually do the trick. See here for
details:

http://lame.cvs.sourceforge.net/viewvc/lame/lame/USAGE

HTH.

Kumar
-- 
Linux: Because a PC is a terrible thing to waste.
(By komar...@craft.camp.clarkson.edu, Mark Komarinski)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100920115117.ga...@bluemoon.alumni.iitm.ac.in



Re: Mainline kernel source curiosity

2010-09-20 Thread Kumar Appaiah
On Mon, Sep 20, 2010 at 01:25:45PM -0400, Curt Howland wrote:
 Last time the problem was compiling the kernel at all, which is
 working just fine now thank you Debian-User.
 
 fakeroot make-kpkg --append-to-version -curt1.0 --initrd kernel_image
 
 creates the .deb file just fine, it installs fine, but when I run it
 and try to get the VirtualBox and Nvidia drivers to compile, this is
 what I get:
 
 from vbox-installer.log
 
 ==
 Makefile:170: *** Error: /usr/src/linux (version 2.6.36-rc4) does not
 match the current kernel (version 2.6.36-rc4-curt1.0).  Stop.
 ==
 
 The thing is, there is no such error with 2.6.35.4-curt1.0, nor when
 it was 35-rc4-curt1.0.
 
 So why would it be choking on the custom extension now? I used
 _exactly_ the same compile command, listed above.


Is this a manifestation of this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591793

I am unsure, but I was under the impression that kernel-package is
broken for the most recent kernels.

Thanks.

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100920175012.gf23...@bowser.ece.utexas.edu



Re: How can I disable signature check for a Debian CD?

2010-09-10 Thread Kumar Appaiah
On Fri, Sep 10, 2010 at 02:22:19PM +0300, Onur Aslan wrote:
 I am using Debian CD images as a local repository. I am mounting a CD and
 using it with this source list:
 
 deb file:///mnt lenny main
 
 Everything working fine but the problem is when I try to install a package
 from this repository, apt is always warn me about untrusted repository.
 
 Is it possible disable signature check for my CD location?

Is there a particular reason why you don't want to use apt-cdrom to
use the CD repositories? It is much easier than mounting the CD to use
it.

In any case, to fix the error you get, you have to identify the GPG
key corresponding to the CD, and obtain it (preferably in a trusted
manner), and do

sudo apt-ket add -  key

Again, if apt-cdrom works, I would personally prefer that.

Thanks.

Kumar
-- 
#if _FP_W_TYPE_SIZE  32
#error Here's a nickel kid.  Go buy yourself a real computer.
#endif
-- linux/arch/sparc64/double.h


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100910115801.ga4...@bluemoon.alumni.iitm.ac.in



Re: How can I disable signature check for a Debian CD?

2010-09-10 Thread Kumar Appaiah
On Fri, Sep 10, 2010 at 03:14:11PM +0300, Onur Aslan wrote:
  In any case, to fix the error you get, you have to identify the GPG
  key corresponding to the CD, and obtain it (preferably in a trusted
  manner), and do
  
  sudo apt-ket add -  key
 
 Where can I get this keys? CD images doesn't have signatures.

Please paste the error message here. It would contain the key ID.

Kumar
-- 
The most important design issue... is the fact that Linux is supposed to
be fun...
-- Linus Torvalds at the First Dutch International Symposium on 
Linux


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100910122554.ga6...@bluemoon.alumni.iitm.ac.in



Re: How can I disable signature check for a Debian CD?

2010-09-10 Thread Kumar Appaiah
On Fri, Sep 10, 2010 at 03:36:03PM +0300, Onur Aslan wrote:
 On Fri, Sep 10, 2010 at 07:25:54AM -0500, Kumar Appaiah wrote:
  Please paste the error message here. It would contain the key ID.
 
 There is no error. Debian CD images doesn't have any signature or key.

I see. I thought apt-get update would actually warn about the missing
keys; maybe I was wrong.

You could try looking for the Release.gpg file in your CD and trying
out this:

gpg --verify Release.gpg Release

That would tell you the keys which were used to sign the files. For
instance:

gpg: Signature made Sat 04 Sep 2010 12:30:28 PM CDT using RSA key ID 55BE302B
gpg: Can't check signature: public key not found
gpg: Signature made Sat 04 Sep 2010 12:37:54 PM CDT using DSA key ID F42584E6
gpg: Can't check signature: public key not found

Please let me know if this helps.

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100910134932.gd27...@bowser.ece.utexas.edu



Re: How can I disable signature check for a Debian CD?

2010-09-10 Thread Kumar Appaiah
On Fri, Sep 10, 2010 at 06:26:49PM +0300, Onur Aslan wrote:
 In the early times, I was manually sign my local Release. Maybe I should
 continue to do this.

Since I don't have any other ideas, I'd actually not be averse to
that. You could sign your repository yourself, with a key which APT is
aware of.

If someone else can point our the right way, please do.

Thanks.

Kumar
-- 
Avoid the Gates of Hell.  Use Linux
(Unknown source)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100910181805.gi13...@146653177.ece.utexas.edu



Re: How to get rid of the websites' ads/flash ads, without loosing their (flash) content?

2010-09-09 Thread Kumar Appaiah
On Thu, Sep 09, 2010 at 08:26:46PM +0200, Merciadri Luca wrote:
 Hi,
 
 There are sometimes some websites (such as news ones) which make an
 extensive use of flash stuff. Amongst the animations, flash is sometimes
 also used for ads, etc., and I don't like this. Are there any Iceweasel
 tools which can detect these ads, or use a public DB to avoid displaying
 these ads? Or is there any related solution?

Flashblock.

https://addons.mozilla.org/en-US/firefox/addon/433/

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100909184255.gr27...@bowser.ece.utexas.edu



Re: help parsing output

2010-08-03 Thread Kumar Appaiah
On Tue, Aug 03, 2010 at 12:12:26PM -0700, Dino Vliet wrote:
  Dear debian people,
 
  Can you help me with this task I have? I have a lot of files in a 
 subdirectory
  containing the following text:

You should use awk.

- cut -

  I need to parse this file to get in a csv file the following information:
 
  Correctly Classified Instances, Kappa statistic, Total Number of Instances,
  Precision {1}, Recall {1}, F-Measure {1},Precision {2}, Recall {2}, F-Measure
  {2},Precision {3}, Recall {3}, F-Measure {3},a,b,c,a,b,c,a,b,c
  56.6808, 0.2443, 5324760, 0.681,0.618,0.648,0.617,0.519,0.564,
  
 0.056,0.296,0.094,1784321,684983,416649,787342,1190428,314537,49255,53877,43368
 
  Does anyone have an idea how this could be accomplished?
  I not that great in programming so writing a ruby or shell script do do this
  would take me weeks:-(

A starting in Awk for processing a single file would be:

BEGIN {
  n_equals = 0;
}

n_equals == 0  /Correctly Classified/ {
  CCI = $(NF - 2);
}

n_equals == 0  /Incorrectly Classified/ {
  ICI = $(NF - 2);
}

n_equals == 0  /Kappa statistic/ {
  KS = $NF
}

…

/ ===/ { n_equals = n_equals + 1 }

n_equals == 1  /TP Rate/ {
  next;
}

// More complicated processing

END {
  printf %d,, CCI
  printf %d,, ICI
  printf %f, KS
  …
}

You ought to read the Awk manual, and then it would be a mattle of a
couple of hours of thought at most.

HTH.

Kumar
-- 
Even more amazing was the realization that God has Internet access.  I
wonder if He has a full newsfeed?
(By Matt Welsh)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100803194333.ga9...@bluemoon.alumni.iitm.ac.in



Re: Debian cd supporting ext4.

2010-07-26 Thread Kumar Appaiah
On Mon, Jul 26, 2010 at 08:17:06PM +0700, Sthu Deus wrote:
 Thank You for Your time and answer, Ron:
 
  What part of This directory provides Debian GNU/Linux Stable 
  installer ISO images with a modification by Kenshi Muto to support 
  newer hardwares, such as SATA and Ethernet devices. don't you 
  understand?
 
 Sorry, what are You talking about?

He says that it's essentially identical to the stable Debian installer
ISOs, except that it has added support for more hardware.

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100726174349.gk13...@bowser.ece.utexas.edu



Re: ftp client that understands utf8

2010-07-19 Thread Kumar Appaiah
On Mon, Jul 19, 2010 at 05:03:02PM +, T o n g wrote:
 Hi,
 
 Is there a ftp client in Debian that understands utf8, i.e, handling utf8 
 file or directory names correct?

I am not sure, but lftp might work[1].

HTH.

Kumar

[1]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=436566
-- 
C:\ WIN
Bad command or filename

C:\ LOSE
Loading Microsoft Windows ...


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100719170806.ga20...@bluemoon.alumni.iitm.ac.in



Re: Requesting Backports

2010-06-03 Thread Kumar Appaiah
On Thu, Jun 03, 2010 at 03:21:46PM +0200, James Stuckey wrote:
Is there an official way to request backports? Or, what is the easiest way
to make packages for lenny when using squeeze?�

I'd just say send the package maintainers a friendly request, at
packagename@packages.debian.org.

For backporting, you would want to create a Lenny chroot and build
your package in there. I don't have links at hand, but an easy way
would be to use pbuilder, as is described in this (rather old) page:

http://blog.edseek.com/~jasonb/articles/pbuilder_backports/

HTH.

Kumar
-- 
If a 'train station' is where a train stops, what's a 'workstation'?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100603132616.ge15...@146653177.ece.utexas.edu



Re: How to stop Firefox from displaying large favicon?

2010-05-06 Thread Kumar Appaiah
On Thu, May 06, 2010 at 11:15:30AM -0500, Dennis Wicks wrote:
 It works fine here (icewasel and lenny).
 
 browser.chrome.favicons → false
 browser.chrome.site_icons → false
 
 And after restarting the browser, no more favicons.
 
 
 Well, thanks for the reply, but that doesn't help in my case. Try
 the following URL and see what you get.
 
   https://www.busey.com/home/home

I think that's the SSL certificate there. It's done by Firefox /
Iceweasel, not the website.

A quick search didn't reveal details on how to hide this; maybe
somebody else can do a better job.

Kumar
-- 
How do I type for i in *.dvi do xdvi $i done in a GUI?
-- Discussion in comp.os.linux.misc on the intuitiveness of 
interfaces


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100506162907.gf27...@146653177.ece.utexas.edu



Re: Redirect stdout without clobbering?

2010-05-06 Thread Kumar Appaiah
On Thu, May 06, 2010 at 07:26:30PM +0300, Dotan Cohen wrote:
 Is there a way to redirect stdout to a file without clobbering its
 possibly-existing contents? Rather, the output should be appended to
 the end of the file. Thanks.

The double  () operator?

I'd also recommend that you check out tee and tee -a.

Kumar
-- 
Steal my cash, car and TV - but leave the computer!
-- Soenke Lange soe...@escher.north.de


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100506163020.gg27...@146653177.ece.utexas.edu



Re: Some Mirrors are up

2010-04-02 Thread Kumar Appaiah
On Fri, Apr 02, 2010 at 10:05:16AM -0400, Wayne wrote:
 Just tried my US mirrors and am able to upgrade!

This just means that the packages on your machines are older than the
ones which were available on that mirror. ftp-master.debian.org is
still down, though it should be up sometime soonish.

Kumar
-- 
We all know Linux is great...it does infinite loops in 5 seconds.
(Linus Torvalds about the superiority of Linux on the Amsterdam
Linux Symposium)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100402145537.gy1...@146653177.ece.utexas.edu



Re: Some Mirrors are up

2010-04-02 Thread Kumar Appaiah
On Fri, Apr 02, 2010 at 11:06:04AM -0400, Wayne wrote:
 Kumar Appaiah wrote:
 On Fri, Apr 02, 2010 at 10:05:16AM -0400, Wayne wrote:
 Just tried my US mirrors and am able to upgrade!
 
 This just means that the packages on your machines are older than the
 ones which were available on that mirror. ftp-master.debian.org is
 still down, though it should be up sometime soonish.
 
 Kumar
 
 I don't think so.
 
 I have been trying 2-3 times a day since the mirrors went down to
 get an update done.  On the second try today, the update completed.

Whatever the case may be, I am certain that no uploads are happening,
since ftp-master is yet to be resurrected. For instance, the last
update date for files here is 25th March:

http://ftp.us.debian.org/debian/dists/unstable/main/binary-amd64/

Kumar
-- 
Running Windows on a Pentium is like having a brand new Porsche but only
be able to drive backwards with the handbrake on.
(Unknown source)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100402151225.gz1...@146653177.ece.utexas.edu



Re: No updates seen in a while

2010-04-02 Thread Kumar Appaiah
On Fri, Apr 02, 2010 at 12:03:32PM -0400, Charles Kroeger wrote:
 how long this nightmare might go on. Debian-announce may
 be a fine additional list, but why shall I subscribe
 
 The last entry I have from l.debian.announce is:
 
 Debian GNU/Linux 5.0 updated
 
 that was on January 30, 2010
 
 the nightmare continues.

This list is more appropriate:

http://lists.debian.org/debian-devel-announce/2010/03/threads.html

Kumar
-- 
...[Linux's] capacity to talk via any medium except smoke signals.
(By Dr. Greg Wettstein, Roger Maris Cancer Center)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100402172415.ga1...@146653177.ece.utexas.edu



Re: No updates seen in a while

2010-04-02 Thread Kumar Appaiah
On Fri, Apr 02, 2010 at 11:40:51PM +0200, Sjoerd Hardeman wrote:
 Kumar Appaiah schreef:
  On Fri, Apr 02, 2010 at 12:03:32PM -0400, Charles Kroeger wrote:
  how long this nightmare might go on. Debian-announce may
  be a fine additional list, but why shall I subscribe
  The last entry I have from l.debian.announce is:
 
  Debian GNU/Linux 5.0 updated
 
  that was on January 30, 2010
 
  the nightmare continues.
  
  This list is more appropriate:
  
  http://lists.debian.org/debian-devel-announce/2010/03/threads.html
 We know, first three responses to the OP were links to the announcement.
 Yet then people wondered why there was no message sent to the user-list,
 as users also depend on that server. Gradually, this continued to
 wondering when the server will come online again.

Right. Thanks for pointing this out; I'll read the thread properly
next time.

Kumar
-- 
I would rather spend 10 hours reading someone else's source code than
10 minutes listening to Musak waiting for technical support which isn't.
(By Dr. Greg Wettstein, Roger Maris Cancer Center)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100402230007.ga2...@bluemoon.alumni.iitm.ac.in



Re: OT: Debian Mentors Access

2010-03-30 Thread Kumar Appaiah
On Tue, Mar 30, 2010 at 07:13:34AM -0500, Ron Johnson wrote:
 On 2010-03-30 07:00, Jordan Metzmeier wrote:
 On Mon, Mar 29, 2010 at 9:59 PM, Chris rac...@makeworld.com wrote:
 Greetings,
 
 Is anyone else getting a Peer's Certificate has been revoked.
 messages when accessing https://mentors.debian.net/ ?
 
 
 I got a 404 not found. The #debian-mentors IRC channel is private...
 
 
 There is, though, a debian-mentors mailing list.
 http://lists.debian.org/debian-mentors/

And I am on the #debian-mentors IRC channel on OFTC's network. Could
you please recheck if you are able to connect on OFTC's
#debian-mentors?

Thanks.

Kumar
-- 
Only wimps use tape backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;)
-- Linus Torvalds, about his failing hard drive on 
linux.cs.helsinki.fi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100330121920.gm1...@146653177.ece.utexas.edu



Re: Transferring files over SSH in the console

2010-03-21 Thread Kumar Appaiah
On Mon, Mar 22, 2010 at 01:25:33AM +0200, Dotan Cohen wrote:
  Eh?  I think you're imposing unneeded self limits.
 
 
 How so? With scp I can send file to the machine that I'm remotely connected 
 to?

Like this:

# On local-machine
ssh remote-machine
# type type type in remote-machine shell…
scp local-machine:/home/kumar/Files/myfile.txt .
# type type type… (still on remote-machine)

HTH.

Kumar
-- 
How do you pronounce SunOS?  Just like you hear it, with a big SOS
-- dedicated to Roland Kaltefleiter


signature.asc
Description: Digital signature


Re: perl/bash question - html link out of text

2010-03-07 Thread Kumar Appaiah
On Sun, Mar 07, 2010 at 06:07:56PM +0100, Vadkan Jozsef wrote:
 I don't know how to modify the:
 
 sed -r 's,.*(http://[^ \$]+).*,a href=\\1\\1/a,'
 
 command, to not just:
 $ echo test string http://somewhere.uk/ test | sed -r 's,.*(http://[^
 \$]+).*,a href=\\1\\1/a,'
 a href=http://somewhere.uk/;http://somewhere.uk//a
 
 rather output this:
 test string a href=http://somewhere.uk/;http://somewhere.uk//a test

How about:

echo test string http://somewhere.uk/ test | sed -r 's,(.*)(http://[^ 
\$]+).*,\1a href=\\2\\2/a,'

HTH.

Kumar
-- 
Whoa...I did a 'zcat /vmlinuz  /dev/audio' and I think I heard God...
-- mikecd on #Linux


signature.asc
Description: Digital signature


Re: perl/bash question - html link out of text

2010-03-07 Thread Kumar Appaiah
On Sun, Mar 07, 2010 at 11:12:39AM -0600, Kumar Appaiah wrote:
 On Sun, Mar 07, 2010 at 06:07:56PM +0100, Vadkan Jozsef wrote:
  I don't know how to modify the:
  
  sed -r 's,.*(http://[^ \$]+).*,a href=\\1\\1/a,'
  
  command, to not just:
  $ echo test string http://somewhere.uk/ test | sed -r 's,.*(http://[^
  \$]+).*,a href=\\1\\1/a,'
  a href=http://somewhere.uk/;http://somewhere.uk//a
  
  rather output this:
  test string a href=http://somewhere.uk/;http://somewhere.uk//a test
 
 How about:
 
 echo test string http://somewhere.uk/ test | sed -r 's,(.*)(http://[^ 
 \$]+).*,\1a href=\\2\\2/a,'

Rather:

echo test string http://somewhere.uk/ test | sed -r 's,(.*)(http://[^ 
\$]+)(.*),\1a href=\\2\\2/a\3,'

Kumar
-- 
Win95 is not a virus; a virus does something.
-- unknown source


signature.asc
Description: Digital signature


Re: confused by bug

2010-03-02 Thread Kumar Appaiah
On Tue, Mar 02, 2010 at 07:35:10PM +1300, Richard Hector wrote:
  Contrast this with the stable version, which has migrated from
  stable-proposed-updates to stable.
 
 Sorted. After I realised you were talking about texlive-bin, while
 texlive-latex-base is built from texlive-base, I read the reports a
 little more thoroughly.

Ah, that was because I didn't read your original mail carefully, and
just glanced at the bug and concluded that it was texlive-bin. Apologies.

 It turns out (though this was still not clear from the reports) that if
 I upgraded texlive-base-bin (and texlive-pdfetex, though I suspect
 that's irrelevant)(which are built from texlive-bin) from
 oldstable-proposed-updates, that changed something (probably fmtutil)
 which enabled the existing texlive-latex-base to install.
 
 A bit tortuous, but I got there :-)

Glad that you got there. But it's time to do the dist-upgrade dance
and move to Lenny! ;-)

Kumar
-- 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
(By dmegg...@aix1.uottawa.ca)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100302133700.ga2...@bluemoon.alumni.iitm.ac.in



Re: confused by bug

2010-03-01 Thread Kumar Appaiah
On Tue, Mar 02, 2010 at 04:17:11PM +1300, Richard Hector wrote:
 Hi all,
 
 I've been caught by (closed) bug #531595
 ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531595 )
 
 It says it's closed, and fixed - and was important to fix in etch, since
 that's where the problem is/was.
 
 However, texlive-latex-base still refuses to install on this etch
 machine.
 
 Can anyone help me understand what's going on in that bug thread, and
 how I can make it install? Do I need to add an additional repo?
 
 And yes, I know upgrading to lenny is the real answer - this is one of
 the steps towards that ...

The bug has been fixed in 2005.dfsg.2-13, which was uploaded to
oldstable-proposed-updates. Unfortunately, that doesn't seem to have
made it's way into oldstable, as is revealed here:

[ku...@bluemoon ~] rmadison texlive-bin
texlive-bin | 2005.dfsg.2-12 | etch-m68k | source
texlive-bin | 2005.dfsg.2-12 | oldstable | source
texlive-bin | 2005.dfsg.2-13 | oldstable-proposed-updates | source
texlive-bin | 2007.dfsg.2-4+lenny2 |stable | source
texlive-bin | 2009-5 |   testing | source
texlive-bin | 2009-5 |  unstable | source

Contrast this with the stable version, which has migrated from
stable-proposed-updates to stable.

You should be able to grab the fixed package from the
oldstable-proposed-updates section of the archive.

Someone can correct me if my analysis is incorrect.

HTH.

Kumar
-- 
Your job is being a professor and researcher: That's one hell of a good excuse
for some of the brain-damages of minix.
(Linus Torvalds to Andrew Tanenbaum)


signature.asc
Description: Digital signature


Re: confused by bug

2010-03-01 Thread Kumar Appaiah
On Tue, Mar 02, 2010 at 05:48:49PM +1300, Richard Hector wrote:
  You should be able to grab the fixed package from the
  oldstable-proposed-updates section of the archive.
 
 Thanks Kumar.
 
 I added:
 deb http://ftp.nz.debian.org/debian oldstable-proposed-updates main
 to my sources.list, ran aptitude update, and tried again.
 I get the same version (2005.dfsg.3-1).
 
 That would appear to be newer than the one mentioned above ... but is
 still uninstallable.
 
 I tried using -t oldstable-proposed-updates, but it said 'Unable to find
 an archive oldstable-proposed-updates for the package
 texlive-latex-base'
 
 I guess my sources.list line is possibly wrong, but I don't get errors
 from aptitude update (I did from our in-house mirror; it must be setup
 differently)
 
 Any hints as to where I'm going wrong?

Not really sure, but maybe you could just download the .deb file and
run:

sudo dpkg -i filename.deb

That could work.

Kumar
-- 
Ok, I'm just uploading the new version of the kernel, v1.3.33, also
known as the buggiest kernel ever.
-- Linus Torvalds


signature.asc
Description: Digital signature


Re: what about acroread in squeeze i386?

2010-02-28 Thread Kumar Appaiah
On Sun, Feb 28, 2010 at 06:40:14PM -0500, Jameson Rollins wrote:
 On Sun, 28 Feb 2010 19:30:32 +0100, Francesco Pietra chiendar...@gmail.com 
 wrote:
  What about acroread in squeeze i386? The only reason here to maintain
  a computer with squeeze is to provide a needed tool to scientists. Why
  acroread acroread-mozilla acroread-plugins can't be found on
  debian-multimedia i386 squeeze/testing? We have to run more expensive
  and more energy demanding 64-bit machines with lenny to have such
  packages. Curious about the reason why squeeze has no efficient pdf
  reader.
 
 There are plenty of very good free pdf readers in squeeze:
 
 evince
 xpdf
 konqueror

Konqueror? I thought kpdf and Okular; I know for a fact that kpdf
embeds into Konqueror (I may be wrong, though).

Kumar
-- 
Who is General Failure and why is he reading my hard disk?
Microsoft spel chekar vor sail, worgs grate !!
-- Felix von Leitner, leit...@inf.fu-berlin.de


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100228235101.gb1...@146653177.ece.utexas.edu



Re: convert a bitmap in pdf, into jpg or png.

2010-02-26 Thread Kumar Appaiah
On Fri, Feb 26, 2010 at 09:07:25AM -0800, peasth...@shaw.ca wrote:
 What is recommended for converting a bitmap in pdf, into jpg or png?
 
 xpdf.man remarks, 
   Save as...
   Save the current file via a file requester.
   
 Does this mean that xpdf can do the conversion?  What is a file requester?

I use ImageMagick's convert tool

convert image.bmp image.png
convert image.bmp image.jpg
convert image.bmp image.pdf

There are various options, though. This might be a good starting
point:

http://www.imagemagick.org/script/convert.php

Kumar
-- 
Feel free to contact me (flames about my english and the useless of this
driver will be redirected to /dev/null, oh no, it's full...).
-- Michael Beck, describing the PC-speaker sound device


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100226171909.gf18...@146653177.ece.utexas.edu



Re: convert a bitmap in pdf, into jpg or png.

2010-02-26 Thread Kumar Appaiah
On Fri, Feb 26, 2010 at 10:04:42AM -0800, Bob McGowan wrote:
 Kumar Appaiah wrote:
  On Fri, Feb 26, 2010 at 09:07:25AM -0800, peasth...@shaw.ca wrote:
  What is recommended for converting a bitmap in pdf, into jpg or png?
 
  xpdf.man remarks, 
Save as...
Save the current file via a file requester.

  Does this mean that xpdf can do the conversion?  What is a file requester?
  
[snip]
 
 The OP asked, I believe, for conversion from pdf to jpg/png.
 
 ImageMagick's 'convert' also does it:
 
   convert abc.pdf abc.jpg
 
 Each page of the PDF file becomes one image file, named abc-#.jpg, where
 '#' is 0 to (pdf pages - 1).
 
 You could then use 'gimp' or some other image editing program to crop
 the page image down to just the desired part.

Dear me... I totally misread the original mail. Thanks for pointing
this out, Bob.

And to the OP, Bob's solution is something which would work well,
though I must also mention another cheap trick:

1. Open your PDF in any PDF reader.
2. Zoom the section containing your image to the maximum resolution,
   especially if it happens to be a vector graphic.
3. Use a software like gnome-screenshot or ksnapshot to take a picture
   of the current screen.
4. Use Gimp or a similar software to trim the image.

HTH.

Kumar
-- 
Audience: What will become of Linux when the Hurd is ready?
Eric Youngdale: Err... is Richard Stallman here?
-- From the Linux conference in spring '95, Berlin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100226180945.gi18...@146653177.ece.utexas.edu



Re: problem getting source for package

2010-02-20 Thread Kumar Appaiah
On Sun, Feb 21, 2010 at 10:29:51AM +1100, Alex Samad wrote:
 Hi
 
 I am trying to get the source package for rdiff-backup
[snip]
 
 now when I do a apt-get source rdiff-backup, I only get 1.2.8-5 not 
 1.2.8-5+b2.
 
 From the changelog i can see this
 
 rdiff-backup (1.2.8-5+b2) unstable; urgency=low
 
   * Binary-only non-maintainer upload for i386; no source changes.
   * Build extension for python2.6
 
  -- i386 Build Daemon buildd_i386-bi...@buildd.debian.org  Tue, 26 Jan 2010 
 03:34:45 +

The binNMU implies that the same source package was rebuilt for your
architecture due to some changes in the libraries which it depends
on. See http://wiki.debian.org/binNMU for details.

 so what do I do, just keep using 1.2.8-5 and up my version to 
 1.2.8-5+b2alex03 ?

This would be perfectly fine, and work as you expect.

Kumar

-- 
#define FALSE   0   /* This is the naked Truth */
#define TRUE1   /* and this is the Light */
-- mailto.c


signature.asc
Description: Digital signature


Re: man pages for c++ functions

2010-02-18 Thread Kumar Appaiah
Dear Kamaraju,

On Thu, Feb 18, 2010 at 12:56:57PM -0500, kamaraju kusumanchi wrote:
 Is there a package in debian which contains the man pages for c++
 functions? I have already installed libstdc++6-4.4-doc . But it does
 not seem to have man pages for all the functions. For example, I would
 like to get a man page for getline (
 http://www.cplusplus.com/reference/iostream/istream/getline/ ). But
 when I use
 
 man getline
 
 I get the C equivalent man page such as
 http://linux.die.net/man/3/getline . Is there any way to get the C++
 version of the manpage as well?

This does not answer your question, but does Debian actually have the
C++ STL documentation as man pages? From what I can see, there is only
the stl-manual package, which has all the documentation in HTML, but
no other relevant packages. Please let me know if I have missed
something.

Thanks.

Kumar
-- 
Actually, typing random strings in the Finder does the equivalent of
filename completion.
(Discussion in comp.os.linux.misc on the intuitiveness of commands: file
completion vs. the Mac Finder.)


signature.asc
Description: Digital signature


  1   2   3   4   5   >