Re: netbook, close, suspend: ACPI?

2011-09-14 Thread Alexander Batischev
On Wed, Sep 14, 2011 at 07:34:01AM +0300, Mihamina Rakotomandimby wrote:
> I just noticed that if I "close" (or fold) it, after a while it goes
> to suspend state (or hibernate I dont know exactly). I have to
> "open" it and press the power button in order to make it.

If you need to press power button in order to wake the computer, it's
hibernate. To wake up from sleep it's enough to press any key at
keyboard.

> How to avoid going to a sleepy state when closed? I want to close it
> for esthetic reasons.
> 
> I guess it's about disabling some ACPI, but what is the Debian way
> to do that?

If you don't have any DE installed, it should be enough to go to
/etc/acpi/events, find the file that describes reaction to closed lid
and then making appropriate script non-executable. Say, if in event file
you saw the line:

  action=/etc/acpi/lid.sh

then you need to do the following:

  $ sudo chmod -x /etc/acpi/lid.sh

Note, though, that it may became executable again once you update the
package (I not sure about that, though).

If you have some DE installed, check your settings - it should be there.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: wicd

2011-07-31 Thread Alexander Batischev
Hello!

On my EeePC 900HA I couldn't connect after resuming from
suspend/hibernate, wicd showed that there's no network connections
available. But when I turn WiFi off, then on again and run the following
command as quick as possible:

  $ sudo modprobe pciehp pciehp_force=1

wicd started seeing networks. Maybe your laptop need something like
that?

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Entering International Phonetic Alphabet letters in terminal

2011-07-30 Thread Alexander Batischev
Hi!

On Sat, Jul 30, 2011 at 07:25:20PM +0100, pch0317 wrote:
> Hi List,
> 
> Is it possible to type IPA signs in terminal?
> For example this sings:ð??^(r)t?æ??^? ?.
> 
> If yes, how.

What terminal are you talking about - is it TTY (the one you get when
you press Shift-Alt-F1, for example) or just some terminal emulator
under X (xterm, Konsole etc.)?

I don't know about any solution for TTY, but under X you can use Compose
key. There are a lot of tutorials about it on the Net, and you can find
all the default key bindings in '/usr/share/X11/locale/$LANG/Compose'
file. Note that you can also create your own bindings using ~/.XCompose
file.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


-- 
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/20110730194732.GB8469@speedy



Spam policy in Debian Mailing Lists

2011-07-28 Thread Alexander Batischev
On Thu, Jul 28, 2011 at 09:18:07PM +1000, Jimmy James wrote:
> How is your post *not* responding to spam? (polite question)

I'm responding to you, not to spam message, to tell you that you
shouldn't respond to spam too.

> > you'll achieve nothing but Debian Mailing Lists'
> > archives pollution.
> 
> Not stopping spam in the first place is what pollutes the archives.

To stop spam, you should nominate it for removal from archives and, if
you can, write SpamAssassin rule to filter that particular kind of spam
in future. No replies, nothing - just ignore it.

> > Better bounce (as in mutt) spam message to
> > report-lists...@lists.debian.org thus nominating messages for review and
> > removal from archieves.
> > 
> 
> Which is different from going to:-
> http://lists.debian.org/debian-user/2011/07/msg02311.html
> and clicking on the "Report Spam" button how?? (also polite question)
> 
> ie. both methods achieve the same thing in getting the original post
> removed from the archives.

Yes, no difference - I just prefer bouncing so I advised it.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Life Gold Coast Magazine Issue 316 Out Now

2011-07-28 Thread Alexander Batischev
Hi!

Never respond to spam, you'll achieve nothing but Debian Mailing Lists'
archives pollution. Better bounce (as in mutt) spam message to
report-lists...@lists.debian.org thus nominating messages for review and
removal from archieves.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: repository 'debports' help needed

2011-03-06 Thread Alexander Batischev
On Sat, Mar 05, 2011 at 05:02:34PM -0700, Paul E Condon wrote:
> Long ago, well before Squeeze became stable, I supmitted a bug report
> on a package in Squeeze/testing. The fix didn't make it into the
> released version, but a few days ago I got an email saying a fixed
> version was available in sid/unstable. Only, when I looked it wasn't
> actually in unstable. It was instead in a repository called 'debports'.
> I need help in setting up apt/aptitude to let me install this package.
> 
> This (I think) involves a line in /etc/apt/sources.list mentioning
> 'debports' . Some lines in a file /etc/apt/preferences. And, something
> in a directory, /etc/apt/apt.conf.d Or, perhaps /etc/apt/preferences.d
> 
> The package at issue is gdm3. I feel obligated to at least look at
> it, since the fix seems to have been something relatively difficult, 
> in that it seemed to involve papering over a major design f---up in
> gnome.
> 
> So what must I put in the various magic places in /etc/apt so that I
> can install this special gdm3 using aptitude?

I believe it's sufficient to add to your sources.list something like that:

deb http://ftp.debian-ports.org/debian unstable main

then run:

$ sudo aptitude update

and then try to install desired package:

$ sudo aptitude install -t unstable gdm3

Be aware that I don't use debports myself and all above is my (pretty
wild) guess, but I'm sure it won't break anything, so try it - hope it
would help ;)

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Safe and easy ipgrade to unstable/testing.

2010-12-21 Thread Alexander Batischev
On Tue, Dec 21, 2010 at 11:24:04AM +0200, Alexander Batischev wrote:
> That's exactly what I need. Thank you!

Good. But please keep the thread in the list, don't mail me privately without a
need. ;)

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Safe and easy ipgrade to unstable/testing.

2010-12-21 Thread Alexander Batischev
- Forwarded message from r...@upp.pt -

Date: Tue, 21 Dec 2010 08:33:53 +
From: r...@upp.pt
To: Alexander Batischev 
Subject: Re: Safe and easy ipgrade to unstable/testing.

On Tue, 21 Dec 2010 10:24:47 +0200, Alexander Batischev

wrote:
> On Tue, Dec 21, 2010 at 07:27:37AM +, r...@upp.pt wrote:
>> I'm searhcing for the safe way to upgrade my current debian to
>> testing/unstable in order to install the newset verion of OpenAFS
>> (1.4.12.1). I don't want to fully upgrade my system -- only the the
>> necessary dependencies should be used from testing/unstable
repositories.
>> Hw can I do that?
>  
> 1. Add testing/unstable repos to your sources.list
> 2. Add the following line to the /etc/apt/apt.conf.d/02release
>(if file doesn't exist yet, create it):
> 
>APT::Default-Release "lenny";
> 
>(you may use "stable" instead of "lenny" - that depends on what
>behavior you
>expect when squeeze would release)
> 
> Basically that's all you need. Now apt (and aptitude, synaptic etc.)
would
> stick to lenny unless you ask it to do something else. With apt-* and
> aptitude,
> you can use -t option to specify from which release you want package be
> installed:
> 
>   # aptitude install -t testing ping

That's exactly what I need. Thank you!

- End forwarded message -

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Safe and easy ipgrade to unstable/testing.

2010-12-21 Thread Alexander Batischev
On Tue, Dec 21, 2010 at 07:27:37AM +, r...@upp.pt wrote:
> I'm searhcing for the safe way to upgrade my current debian to
> testing/unstable in order to install the newset verion of OpenAFS
> (1.4.12.1). I don't want to fully upgrade my system -- only the the
> necessary dependencies should be used from testing/unstable repositories.
> Hw can I do that?
 
1. Add testing/unstable repos to your sources.list
2. Add the following line to the /etc/apt/apt.conf.d/02release
   (if file doesn't exist yet, create it):

   APT::Default-Release "lenny";

   (you may use "stable" instead of "lenny" - that depends on what behavior you
   expect when squeeze would release)

Basically that's all you need. Now apt (and aptitude, synaptic etc.) would
stick to lenny unless you ask it to do something else. With apt-* and aptitude,
you can use -t option to specify from which release you want package be
installed:

  # aptitude install -t testing ping 

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Keeping Lenny via /etc/apt/sources.list when Squeeze becomes stable

2010-12-20 Thread Alexander Batischev
On Mon, Dec 20, 2010 at 02:41:48PM +, Camaleón wrote:
> Do you mean that there is no way to keep the same name for the time it 
> lasts a release? 

Excuse me for intervening, but no, he does not mean that. You see, you can
look at codenames (like 'etch', 'lenny' or 'squeeze') as 'absolute' values,
and at release names ('stable', 'testing' etc.) as 'relative' ones. 'lenny'
would still be 'lenny' after release of 'squeeze' (or whichever), but 'stable',
'testing' etc. would change.


> I thought "lenny" repo would automatically point to "oldstable" when 
> squeeze is released, that is, no manual intervention required from user's 
> side :-?

Yep, you're right: after squeeze's release, both lenny and oldstable would
point to the same place. The point is: if you use codenames, your distribution
won't change (that is, if it was lenny, it would stay so); but if you used
release names (say, 'stable'), you'll be automatically upgraded to the release
that became stable (squeeze, in that case).

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Keeping Lenny via /etc/apt/sources.list when Squeeze becomes stable

2010-12-19 Thread Alexander Batischev
On Sun, Dec 19, 2010 at 07:12:48PM -0800, Mark wrote:
> I've seen some emails about using
> "Lenny" instead of "stable" in the /etc/apt/sources.list to force aptitude
> to keep a Lenny system.  Is this the official/accepted method?

Yes, that's absolutely normal to use either 'lenny' (with lowercase 'l'!) or
'stable'. You may also use 'squeeze' instead of 'testing' and 'sid' instead of
'unstable'.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: how to use wifi, retrieve .deb files of of a flash drive

2010-10-27 Thread Alexander Batischev
On Wed, Oct 27, 2010 at 03:13:16PM -0800, juan gonzalez wrote:
> can I use wifi to download with wget?
Probably. Do you have any problems with it? Your wifi module doesn't work? You
don't know which software you may use to connect from cli? Some other
questions?  Please provide more info so we can help you.

> and how can I install .deb files when they are on a flash drive?
Use dpkg utility, it has '-i' parameter. But I should warn you that it's pretty
bad way to install packages: dpkg can't handle dependencies (I mean, it can't
fetch them from servers on the Internet/LAN or from disks). You better use
aptitude or apt-get and install packages from disks or servers.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: allow_cancellation in /etc/e2fsck.conf doesn't work

2010-09-28 Thread Alexander Batischev
On Tue, Sep 28, 2010 at 09:29:02AM +0200, Sven Joachim wrote:
> On 2010-09-28 09:14 +0200, Alexander Batischev wrote:
> 
> > Today when filesystem check started I decided to try the feature I enabled 
> > once
> > ago - I hit Ctrl-C expecting to terminate the check for this time. Yeah, it
> > terminated, but filesystem seem to be remounted to read only (through there 
> > was
> > no messages saying that), because when init scripts proceed, I've got a lot 
> > of
> > "can't write pid" messages, so system didn't boot at all.
> 
> Looks like you've hit http://bugs.debian.org/595431, which is a pretty
> nasty one indeed.  Set CONCURRENCY=none in /etc/default/rcS if you want
> to interrupt filesystem checks.
 
Thanks for a hint, but that doesn't work =\ Are there any other suggestions?

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


allow_cancellation in /etc/e2fsck.conf doesn't work

2010-09-28 Thread Alexander Batischev
Hi!

Today when filesystem check started I decided to try the feature I enabled once
ago - I hit Ctrl-C expecting to terminate the check for this time. Yeah, it
terminated, but filesystem seem to be remounted to read only (through there was
no messages saying that), because when init scripts proceed, I've got a lot of
"can't write pid" messages, so system didn't boot at all. I rebooted it, wait
while check finished, and all seems okay.

Here's my /etc/e2fsck.conf:

[options]
allow_cancellation = true

As you can see, there's no other options - just that one mentioned in manpage.
But it doesn't work.

I have only one partition which is /. Here's an entry from /etc/fstab:

UUID=846ddd8e-f5f4-474d-8f80-0f4ab5fc6c29 /   ext3
errors=remount-ro 0   1

I first though that it may be because of "remount-to" option, but after short
thinking decided it can't be - according to man, if allow_cancellation enabled
and I hit ^C, fsck returns exit code 0, which means "all is ok, no errors". Or
am I wrong?

May it be because partition is root?

Yeah, I do some googling, but no luck - the only thread (mirrored here and
there) is Debian Bug #593620 [1], but there's nothing useful there. I can't use
Ted's suggestions from there because if I fsck mounted filesystem, I may damage
it, and as far as it's / it can't be remounted to read-only.

1: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593620

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: A question about mixing releases

2010-09-26 Thread Alexander Batischev
On Sun, Sep 26, 2010 at 11:20:43AM +0200, Aniruddha wrote:
> I use apt-pinning to mix stable, testing and sid. because of a bug in
> Squeeze I've installed fglrx-modules-dkms from sid. Today I got an
> update for my fglrx packages I noticed these were pulled in from a sid
> repository. My question is the following: if  you install a package
> from an unstable repository does it mean that apt/aptitude then tracks
> unstable updates for that package?
Package may be upgraded only if there's one with a bigger version number. If
you have package from sid, the newer may appear only in sid. That is, aptitude
tracks all the repos and would upgrade wrom that one where is the newest
package - in your situation it would mean 'from sid'.

> And is it possible to prevent a
> specific package version from being updated (like package.mask in
> Gentoo)? Thanks in advance
Yes, that's called 'hold'. Just run
# aptitude hold package
and package would never ever be updated unless you unhold it with
# aptitude unhold package

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: searching inside files with find, cat and grep as a oneliner ...

2010-09-18 Thread Alexander Batischev
On Fri, Sep 17, 2010 at 11:07:53PM -0600, Bob Proulx wrote:
> Albretch Mueller wrote:

> But newer POSIX standard find can use a {} + to launch grep once and
> to pass as many files on the command line as the system allows.  That
> is faster since grep is launched only as many times as needed.
> Usually only once.
> 
>   $ find -name '*.extension' -exec grep -H 'pattern' {} +

Wow! I thought that such things can be done only by xargs. Thank you very much!

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: searching inside files with find, cat and grep as a oneliner ...

2010-09-17 Thread Alexander Batischev
On Fri, Sep 17, 2010 at 06:32:06PM +, Albretch Mueller wrote:
> > if you need certain extension, you don't even need cat and find, it's all 
> > about grep:
> 
> > $ grep 'string' *.extension
> ~
>  The thing is that I need to know in which file the pattern was found
> and as you guys suggested:
> ~
> $ find -name '*.extension' -exec grep -H 'pattern' {} \;
> ~
>  does it
Um... Well, single grep will show you filename as well, because (quoting the
manpage):

-H, --with-filename
Print the file name for each match.  This is the default when there is more
than one file to search.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: searching inside files with find, cat and grep as a oneliner ...

2010-09-17 Thread Alexander Batischev
On Fri, Sep 17, 2010 at 06:08:18PM +, Albretch Mueller wrote:
>  I need to:
> ~
>  search for files using a pattern (say all files with a certain extension)
Is this part so complicated that bash can't handle it? I mean, if you need
certain extension, you don't even need cat and find, it's all about grep:

$ grep 'string' *.extension

> ~
>  then search inside each of the found files for a word or regexp pattern

But if you really want to use find, here's something you may try:

$ find -name '*.extension' -exec grep -H 'pattern' {} \;

(-name may be substituted by -iname if you don't want case sensitivity).

This oneliner would work exactly the same as first one - each match would be
preceded with a filename delimited from a matching string itself by a semicolon
(:)

Hope it helps.

-- 
Regards,
Alexander Batischev


signature.asc
Description: Digital signature


Re: Invalid option when trying to mount the volume

2010-09-07 Thread Alexander Batischev
On Wed, Sep 08, 2010 at 08:33:02AM +0200, Merciadri Luca wrote:
> > -  try to mount it manually in a way like that:
> ># mount -t ntfs-3g /dev/sda1 /mnt/usbkey
> >Of course, /dev/sda1 should be replaced with real device name, and
> >/mnt/usbkey shoul exist.
>
> Thanks. Well, I found the key under /dev/disk/by-id/. After having typed
> the aforementioned command, I get `mount: unknown filesystem type
> 'ntfs-3g'.' Any idea?

Oh, excuse me! That's my fault - I forgot to mention that you should have
ntfs-3g, which is a NTFS driver for Linux, installed in system. Just install
package with the same name and try mount command again.

There is also a possibility that you have ntfs driver (AFAIK, that one lacks
support for writing) - if you don't want to install anything and you don't need
writing, you may check out that one (simply use 'ntfs' instead of 'ntfs-3g' in
the 'mount' command I wrote before).

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Invalid option when trying to mount the volume

2010-09-07 Thread Alexander Batischev
On Tue, Sep 07, 2010 at 08:58:57PM +0200, Merciadri Luca wrote:
> Hi,
> 
> I've got an USB key whose FS was manually set to NTFS for different
> reasons. 
What do you mean by "manually set to NTFS"? You mean, it has other FS but then
you formatted it to NTFS? That's okay, I think.

> [ 8997.719566] ===>rt_ioctl_giwscan. 4(4) BSS returned, data->length = 405
That last line seems weird, and I don't know what does it mean. Hope that's
just some warning we can safely ignore :)

What I may suggest:
-  check if device is still in /dev/ (you may find device name in the last
   lines of dmesg output)
-  try to mount it manually in a way like that:
   # mount -t ntfs-3g /dev/sda1 /mnt/usbkey
   Of course, /dev/sda1 should be replaced with real device name, and
   /mnt/usbkey shoul exist.

If it works, problem is not in key but in your automounter. Maybe you have old
version on your laptop, or something.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: sync-ing one dir. to another to make it identical.

2010-09-07 Thread Alexander Batischev
On Tue, Sep 07, 2010 at 03:46:04PM +0700, Sthu Deus wrote:
> Good day.
> 
> I have two identical dir.s. W/ one of them I do anything I want, then I
> want to sync. them (the old will be identical to the new one).
 
> rsync -goprtv --delete-after /2/ /1

This commands seems normal to me. I think it would do what you want to do. But
please make sure that you run it from superuser - '-o' flag needs that
privileges.

Maybe you'll prefer -a (--archive) flag - it equals '-rlptgoD', which is your
flags plus "copy symlinks as symlinks" (-l) and "preserve device/special file"
(-D). Add '-v' - and you have exactly what you're looking for.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Latest Lenny update: What new hardware is supported?

2010-09-07 Thread Alexander Batischev
On Tue, Sep 07, 2010 at 06:54:42AM +0200, Jochen Schulz wrote:
> > New hardware support? I don't think updates to the stable release adds that.
> 
> I was going to write the same, but actually the line for linux-2.6
> updates says:
> 
> | Several fixes and increased hardware support

Wow, I didn't know that. So after all it seems that there are a possibility
that stable release may get some additional hardware support? That's
interesting...

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Latest Lenny update: What new hardware is supported?

2010-09-06 Thread Alexander Batischev
On Mon, Sep 06, 2010 at 07:46:00PM -0400, tw...@cstone.net wrote:
> I'm specifically interested in whether the Verizon USB 760 broadband
> wireless modem is now supported, but in general, when the kernel image is
> upgraded, where can I find a list of the new hardware inclusions without
> asking anyone to lead me by the hand?
New hardware support? I don't think updates to the stable release adds that.
According to the news[1], the only thing changed is a few dozens of packages
where miscellaneous bugs were fixed and some security updates was applied.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: OT: Happy birthday Debian

2010-08-16 Thread Alexander Batischev
Thank you, Debian, you're the best ever!

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: aptitude update Connection refused?

2010-08-11 Thread Alexander Batischev
On Tue, Aug 10, 2010 at 10:01:31AM +0200, Eric KOM wrote:
> Good morning!
> 
> Please, when I try to update my sources.list of one of my machine, I
> receive this message error:
> 
[skipped]

How is it now? I can log in to your mirror by FTP and in MOTD it says that they
have limit of 500 users at a time. Maybe you just tried to update when server
was flooded with users... Or maybe FTP was unavailable for some time due to
maintenance or something.

In such a situation consider switching to another Debian mirror (not
permanently - just while your original mirror isn't available).

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: no desktop directory for newly created user and some other issues.

2010-08-06 Thread Alexander Batischev
Hi!

First of all - you better ask different questions in different treads. But as
far as you asked already...

On Fri, Aug 06, 2010 at 09:36:11AM +0530, vishnu vardhan wrote:
> no desktop directory for newly created user and some other issues.
[skipped]
> 
adduser don't add Desktop directory. Desktop is a DE/WM-specific thing and have
nothing to deal with adduser. I think LXDE should create Desktop directory by
itself if it can't find one... You probably should create bug report about that.

For now, I think it would be enough to run

$ mkdir Desktop

in new user's directory - that would create directory called "Desktop".


> *issue 2* : sometimes I am receiving the following error after booting into
> the system :
> 
> Error: Unable to establish connection with FAM.
> Do you have "FAM" or "Gamin" installed and running?
[skipped]
> 
Well, I don't know what FAM or Gamin is and what they're intended to do, but
you can install one of them and look if it would fix the problem. Actually,
that's what error message advising.


> *issue 3* : at present i am using the following to completly remove the
> packages from the system :
> 
> # aptitude purge --purge-unused
> 
> is there any way better than the above to completly remove the packages from
> the system ?
There isn't, I think. BTW, did you know that you can specify exact package name
instead of purguing unused ones?

# aptitude purge PACKAGENAME


> *issue 4* : how do i gracefully shutdown the system ?
[skipped]
> 
The following command

# shutdown -h now

is probably most common one.


> *issue 5* : how do i find the packages with unmet dependencies ?
Hmm... I don't have an answer to that - maybe someone who is more experienced
in using apt-/aptitude would help you, but I have some general suggestions.

First, you will never face unmet dependencies if you're using only Debian
repositories.

Second, even if you will (for example, you installed some third-party deb
package), following command

# apt-get -f install

probably fix everything.


> *issue 6* : i have two users on my system. how do i restrict another user to
> use shutdown ?
Regular users can't run shutdown. To do so, they should get root's privileges
using su (and entering root's password) or sudo (which is preferred way,
because sudo requires user's password and have a mechanism to restrict user's
abilities).

So if you don't want user run any of administrator's commands (like halt,
shutdown, mkfs etc), you don't have to do anything - that's already done for
you. If you want user to be able run anything but shutdown, you should modify
/etc/sudoers properly.

Entry for sudoers would look like this:

alex ALL = !/sbin/shutdown

where alex is a user's name, and /sbin/shutdown is a path to the utility you
want to disable for user.

Note that it's not totally secure - user can move shutdown to another place and
run it from there, for example.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Разрешения экрана

2010-08-05 Thread Alexander Batischev
On Thu, Aug 05, 2010 at 04:16:30PM +0400, муромцев антон wrote:
> У меня возникла проблема, в debian максимальное разрешения экрана 1400х1050 а
> у меня 1920х1080 из за этого сильно искажается картинка, что делать? 
It's English-only mailing list. You better ask your questions in
debian-russ...@lists.debian.org


Это англоязычный список рассылки. Задавать вопросы на русском можно в
debian-russ...@lists.debian.org


-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Download statistics

2010-08-02 Thread Alexander Batischev
On Mon, Aug 02, 2010 at 02:38:07PM +0900, Kuniyasu Suzaki wrote:
> Are there any statistics for Debian package download?
> I want know the difference of download for binary package(*.deb) and
> source package(*.dsc, *.tar.gz, diff.gz).
What do you mean? Do you want to know which percentage of people prefers
downloading .debs over source packages, or what? Or maybe you want to know a
size of specific package in binary and source form without downloading it?
Please make it more clear.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: ftp client that understands utf8

2010-07-19 Thread Alexander Batischev
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?
 
ncftp would be my advice.

If you're looking for something with GUI, check out Filezilla - it's GTK. It
have special field where you can specify any encoding you like.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: ALAC: decompressing to .wav.

2010-07-14 Thread Alexander Batischev
Hi!

You can use ffpmeg for that:

  $ ffmpeg -i input.m4a output.wav

1. 
http://ubuntuaddict.com/ubuntu-converting-alac-to-wav-and-flac-and-vice-versa/

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Upgrading from Etch to Lenny ends in SSH problems

2010-07-08 Thread Alexander Batischev
Hi!

Well, maybe something happened to passwordless authentication - did you try
to connect using password, not RSA key? To do so, you can simply move
~/.ssh/id* somewhere and try to connect. You should be asked for a password
that time.

I'm not sure about that, but hope that helps.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Signing Email Messages

2010-07-03 Thread Alexander Batischev
On Fri, Jul 02, 2010 at 01:52:47PM -0500, Arthur Machlas wrote:
> I just recently setup encrypted mail for my personal mail account,
> using icedove and enigmail. I'm curious about a general feature of
> "signing" the email. Why can't I just copy the "signature" portion of
> the email, which many people on this list attach to their posts, and
> paste it at the bottom of a fake email? Appreciate any comments or
> links you may have.
Well, in previous replies all your questions were answered, so I decided to
provide a link which may help you to make digital signing and encryption more
clear to you. Here it is - "Gnu Privacy Guard (GnuPG) Mini Howto (English)"[1].

1. http://dewinter.com/gnupg_howto/english/GPGMiniHowto.html

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


SOLVED: From UTF-8 to octal and back

2010-06-21 Thread Alexander Batischev
On Mon, Jun 21, 2010 at 07:57:24AM +, Camaleón wrote:
> On Sun, 20 Jun 2010 20:36:49 +0300, Alexander Batischev wrote:
> 
> (...)
>  
> > The problem is: I don't know how to convert from usual string
> > ("Введение") to octal (represented above) and back. I mean, I understand
> > algorithm, but I don't know how to do it in a simple way. I thought
> > about writing small C program to do that, but I guess there are some
> > piece of software performing this task already, so I better ask in
> > mailing list first.
> > 
> > Any advices?
> 
> Maybe "uni2ascii" can help. It is included in Debian main repo.
> 
> http://billposer.org/Software/uni2ascii.html

Ah, thank you, Camaleón! That's exactly what I was looking for!

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Version in use

2010-06-21 Thread Alexander Batischev
On Mon, Jun 21, 2010 at 12:18:31PM +0100, Cliff Ayling wrote:
> Hallo,
> 
> I have a CnMbook netbook and from what I can find it has a Debian
> Linux system (distribution, I think it is called).
> 
> How do I find out which version of operating system I have? Please.

  $ lsb_release -a

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


From UTF-8 to octal and back

2010-06-20 Thread Alexander Batischev
Hi!

I'm currently playing with Djvu and have some troubles with text information
passed to it. By standard, all non-ASCII text should be represented as UTF-8
encoded octal string, i.e.
\320\222\320\262\320\265\320\264\320\265\320\275\320\270\320\265 (in this
particular example we have Russian word "Введение").

The problem is: I don't know how to convert from usual string ("Введение") to
octal (represented above) and back. I mean, I understand algorithm, but I don't
know how to do it in a simple way. I thought about writing small C program to
do that, but I guess there are some piece of software performing this task
already, so I better ask in mailing list first.

Any advices?

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: logrotate

2010-06-19 Thread Alexander Batischev
On Sat, Jun 19, 2010 at 05:20:15PM +0530, Kaushal Shriyan wrote:
> Hi,
> 
> I have set ionice -c3 for logrotate application,what happens when the other
> program which has asked for disk IO during this period ?
Well, man 1 ionice describes it pretty clear, isn't it?

Class 3 (-c3 option) stands for "Idle", which means that program will use disk
only when others doesn't use it. As stated in man page, "The impact of idle io
processes on normal system activity should be zero", so any other program would
have normal access to disk at full speed (unless there are other processes
using disk right now).

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: To force an app running in windowed mode rather than in full screen.

2010-06-14 Thread Alexander Batischev
On Mon, Jun 14, 2010 at 07:47:17PM +0700, Sthu Deus wrote:
> Good day.
> 
> IS there a way I can force an application (this one I run with the
> help of wine - as it is microsoft product executable) that runs in full
> screen to run in windowed mode.
> 
> I need because my monitor readjusts its parameters (as the mode the app
> switches to is different from the one I prefer) and it is not easy for
> me to tune them again - especially every time I run the app.
> 
> Thank You for Your time.

Use virtual desktop settings:

http://www.linuxforums.org/forum/wine/139485-solved-wine-windowed-mode.html

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: SOLVED: Mutt and GPG - claims ALL signatures can't be verified

2010-06-14 Thread Alexander Batischev
On Mon, Jun 14, 2010 at 07:33:11AM +, Tzafrir Cohen wrote:
> Why not run explicitly:
> 
>   env LC_ALL=C gpg [whatever]

Good idea, I think I'll do so. Thank you!

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: connecting to wifi accesspoint..

2010-06-13 Thread Alexander Batischev
On Sun, Jun 13, 2010 at 09:40:29PM +0530, sudheendra.kal...@gmail.com wrote:
> i can get wireless extension for eth1, but notable to connect to accesspoint.
> 
> here is the
> 
> ifconfig -a
> 
> (...skipped...) 
> 
> lspci gives following o/p
> 
> (...skipped...)
>
> thanks,
> sudheendra
>
> > But while connecting to wifi, gives an error showing "Error for wireless
> > request "Set Encode" (8B2A) :& SET failed on device eth1 ; Invalid
> > argument"

I see you get error for eth1, but I as far as I can see your wireless is at
eth0 - you have IP address 192.168.1.2, which is pretty popular internal
IP-space for routers and accesspoints. Did you set interface name in your
connection program by hands? Maybe you should change it to eth0?

Also, please set up your mail client properly so messages would be sent in
plain text - your previous message contained symbols like   and &
which makes it really difficult - if possible at all - to read.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Mutt and GPG - claims ALL signatures can't be verified

2010-06-12 Thread Alexander Batischev
On Sat, Jun 12, 2010 at 09:25:31AM -0400, Rob Owens wrote:
> Hey, I just noticed that there are 2 different keys for you on the public key
> server.  Are you sure you're using the right one to verify the
> signatures?  

Yes, there are two keys - old one and new one. Unfortunately, old one was
created and uploaded when I just played with GPG, I didn't know about revoking
that time. At some moment I just lost that key, so now I can't delete it from
servers. That one which I use now is "new" or "current" one, and I use only it.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Mutt and GPG - claims ALL signatures can't be verified

2010-06-12 Thread Alexander Batischev
On Sat, Jun 12, 2010 at 09:22:45AM -0400, Rob Owens wrote:
> (...)
> 
> If this problem started when you imported your private key, then maybe
> that was not done correctly.  Is there a step that needs to be taken
> besides simply importing?  (I don't know the answer to that).  

I think that now, when I already solved the problem, I can answer your
question. The answer is "no, there is no other steps required; simple key
import is enough".

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


SOLVED: Mutt and GPG - claims ALL signatures can't be verified

2010-06-12 Thread Alexander Batischev
On Sat, Jun 12, 2010 at 04:11:20PM +, Camaleón wrote:
> (...)
> 
> You can launch Mutt in debug mode (mutt -d 3), so it logs any message to 
> "~/.muttdebug0".

That's the first thing one should think about if something doesn't work
properly, but I forgot about it... Thank you very much, Camaleón!

So the reason of problem lying in language. I have ru_UK.UTF-8 locale, so mutt
displays messages in Russian. Look what I got in the log file:

[2010-06-12 21:47:48] mutt_pgp_command: gpg --no-verbose --batch --output - 
--verify /tmp/mutt-speedy-1000-18475-6204207d671f2cdf9.asc 
/tmp/mutt-speedy-1000-18475-6204207d671f2cdf9
[2010-06-12 21:47:48] pgp_copy_checksig: "gpg: Подпись создана Птн 11 Июн 
2010 20:03:55 EEST ключом DSA с ID EF3A7C2D" doesn't match regexp.
[2010-06-12 21:47:48] pgp_copy_checksig: "gpg: Действительная подпись от 
"Boyd Stephen Smith Jr. (Old Personal) "" doesn't match 
regexp.
[2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd 
Stephen Smith Jr. "" doesn't match regexp.
[2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd 
Stephen Smith Jr. "" doesn't match regexp.
[2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd 
Stephen Smith Jr. (Work) "" doesn't match regexp.
[2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd 
Stephen Smith Jr. (Personal) "" doesn't match regexp.
[2010-06-12 21:47:48] pgp_copy_checksig: "gpg: Замечание: Данный ключ 
просрочен!" doesn't match regexp.
[2010-06-12 21:47:48] pgp_copy_checksig: " Отпечаток главного ключа: BA73 
1E00 B621 0761 D708  F326 74D6 DF93 EF3A 7C2D" doesn't match regexp.

Pay attention to those "doesn't match regexp". Here is what I have in my
~/.muttrc:

set pgp_good_sign="^gpg: Good signature from"

This is that regexp which have to be matched. I simply change previous line to
the following:

set pgp_good_sign="^gpg: (Good signature from|Действительная подпись от)"

so now it does what it should (I included english version of message because
sometimes I run programs with LANG=en_GB.UTF-8, and I don't want things got
messed up because of that). Everything works!

Thank you again, Camaleón, for being with me all that time and your helpful
advices!

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Mutt and GPG - claims ALL signatures can't be verified

2010-06-11 Thread Alexander Batischev
On Fri, Jun 11, 2010 at 09:39:58PM +, Camaleón wrote:

  

> > Better than before, but mutt still claims "signature can NOT be
> > verified"…
> 
> Still? From where are you getting that "not verified" message? From 
> Mutt's pager?

Yes, mutt's pager. Message appears at the very bottom of the screen.

> Also, the message should be automatically marked with "S" (uppercase "s") 
> when the signature has been successfully verified. Are you seeing that 
> "S" in your message?

No, it's "s" for all signed messages.

> >> Also, test it with another e-mail client (thunderbird, kmail,
> >> evolution...) so you can compare the results.
> > 
> > One thing why I don't like GUI apps as much as CLI: something might work
> > or might not, and in both cases you hardly find out why. Are there
> > another mail client as flexible in setup as mutt, so if I see GPG
> > working in there I could look how it is configured?
> 
> Well, what we are testing here (by using another e-mail client) is GPG 
> and your keyring configuration, so you better try with a GUI e-mail 
> client that uses the system-wide GPG and keyring setup (if you are in 
> GNOME, try Evolution; if using KDE try with KMail). 
> 
> Thunderbird has its own plugin to manage PGP keys (via Enigmail), I guess.

Okay, I installed Icedove and Enigmail, then sent signed message to myself.
Icedove says that sign is well, mutt still claims that sign can not be verified
(but it shows two lines which I mentioned before, between headers and body).

So problem is in mutt's configuration, right?

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Mutt and GPG - claims ALL signatures can't be verified

2010-06-11 Thread Alexander Batischev
Done a little more research: I used lsign (local sign) command and signed
Andrei Popescu's key. Then I set full trust for it. After that, mutt showed me
message like that one showed in previous post: just two lines saying sign is
correct. But mutt still says that sign can not be verified! I definitely missed
something about GPG signing/web of trust/etc...

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Mutt and GPG - claims ALL signatures can't be verified

2010-06-11 Thread Alexander Batischev
On Fri, Jun 11, 2010 at 06:59:23PM +, Camaleón wrote:
> On Fri, 11 Jun 2010 21:37:57 +0300, Alexander Batischev wrote:
> 
> > On Fri, Jun 11, 2010 at 06:21:14PM +, Camale??n wrote:
> 
> >> In order to verify a signed message, either you have to previosuly
> >> import the key into your keyring or you need to setup Mutt to retrieve
> >> the key from public servers.
> > 
> > I have all the keys retrieved (previously, I run gpg --recv-keys keyID
> > every time I face with new key; now I just set "keyserver-options
> > auto-key-retrieve" in ~/.gnupg/gpg.conf, so all new keys are retrieved
> > automatically). And it still doesn't explain why my own signature can't
> > be verified, too.
> 
> Then maybe is that you have to "explicitely" import the key and trust 
> that key. Did you already do that? :-?

Well, okay, I set trust for my key to 5 (absolute) and for Boyd's to 4. Now
when I open my message, I see the following:

[-- PGP output follows (current time: Fri Jun 11 23:59:09 2010) --]
gpg: Signature made Fri Jun 11 21:37:57 2010 EEST using DSA key ID 69093C81
gpg: Good signature from "Alexander Batischev "
[-- End of PGP output --]

Better than before, but mutt still claims "signature can NOT be verified"…

> Also, test it with another e-mail client (thunderbird, kmail, 
> evolution...) so you can compare the results.

One thing why I don't like GUI apps as much as CLI: something might work or
might not, and in both cases you hardly find out why. Are there another mail
client as flexible in setup as mutt, so if I see GPG working in there I could
look how it is configured?

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Mutt and GPG - claims ALL signatures can't be verified

2010-06-11 Thread Alexander Batischev
On Fri, Jun 11, 2010 at 06:21:14PM +, Camale??n wrote:
> On Fri, 11 Jun 2010 21:03:22 +0300, Alexander Batischev wrote:
> 
> > Some thoughts which just came to my head: can it be because of lack of
> > trusted keys? I did not set anyone's key as trusted, so I don't have web
> > of trust. This still don't explain (in my opinion, at least) why my own
> > signature can't be verified.
> 
> Exactly (a very good explanation about that, here):
> 
> http://wiki.mutt.org/?MuttGuide/UseGPG

Yeah, I've read it before, but still can't understand...

> In order to verify a signed message, either you have to previosuly import 
> the key into your keyring or you need to setup Mutt to retrieve the key 
> from public servers.

I have all the keys retrieved (previously, I run gpg --recv-keys keyID every
time I face with new key; now I just set "keyserver-options auto-key-retrieve"
in ~/.gnupg/gpg.conf, so all new keys are retrieved automatically). And it
still doesn't explain why my own signature can't be verified, too.

When I open my own message, I have this on the top, right between headers and 
body:

[-- PGP output follows (current time: Fri Jun 11 21:26:24 2010) --]
gpg: Signature made Fri Jun 11 20:48:09 2010 EEST using DSA key ID 69093C81
gpg: Good signature from "Alexander Batischev "
gpg: WARNING: This key is not certified with a trusted signature!
gpg:  There is no indication that the signature belongs to the owner.
Primary key fingerprint: F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81
[-- End of PGP output --]

I'm little worried about "not certified with a trusted signature" - it's my own
signature, it should be trusted, innit?

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Mutt and GPG - claims ALL signatures can't be verified

2010-06-11 Thread Alexander Batischev
Some thoughts which just came to my head: can it be because of lack of trusted
keys? I did not set anyone's key as trusted, so I don't have web of trust. This
still don't explain (in my opinion, at least) why my own signature can't be
verified.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Mutt and GPG - claims ALL signatures can't be verified

2010-06-11 Thread Alexander Batischev
I'm using mutt for about a month already. Almost all problems already solved, I
successfully moved to IMAP. It's time to get GPG signing to work.

As you probably noticed, all my messages are signed. But when I open any--even
my own!--message, mutt tells me that PGP signature can NOT be verified. Which
is more interesting, I did not have that problem before I imported my secure
key (it was stored on desktop; now I'm mostly use netbook). I mean, I had PGP
set but I didn't have secure key so I did not sign my messages, just verify
other's.

I did some little research on the web. It seems that problem is pretty popular,
and most common answer is to set pgp_good_sign in muttrc. As far as I copied my
GPG config from Mutt GnuPG HowTo[1], I already had that option set. I also
tried to set it to the following:

set pgp_good_sign="`gettext -d gnupg -s 'Good signature from "' | tr -d 
'"'`"

which, as I could understand, is just a trick to add sender's name to GPG's
verification message, but it didn't solve my problem. I also tried to not set
this option, with no luck. Does anyone have any advice?

My .muttrc attached.


1. http://codesorcery.net/old/mutt/mutt-gnupg-howto

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81
set sort = threads
set edit_headers # edit headers when replying
set include # always insert quote of original message in reply
set status_on_top # status line should be on top
set pager_stop = yes # do NOT move to next message when you're at the end of 
message and press Space
set signature = "~/.mutt/signature"
set editor = "vim -c 'set spell spelllang=en,ru,uk'"

# headers
ignore *
unignore  Date From To CC List-ID Subject Reply-to
hdr_order Date From To CC List-ID Subject Reply-to

set from = "eual...@gmail.com"
set realname = "Alexander Batischev"

set imap_user = "eual...@gmail.com"
#set imap_pass = ""
set imap_keepalive = 90

set smtp_url  = "smtp://eual...@smtp.gmail.com:587/"
#set smtp_pass = ""

set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
#set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"
set record=""
set postponed="+[Gmail]/Drafts"

set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
#set certificate_file=~/.mutt/certificates

mailboxes "=INBOX"
mailboxes "=[Gmail]/All Mail"
mailboxes "=[Gmail]/Sent Mail"
mailboxes "=[Gmail]/Drafts"
mailboxes "=[Gmail]/Bin"
mailboxes "=[Gmail]/Spam"

mailboxes "=debian-announce"
mailboxes "=debian-laptop"
mailboxes "=debian-news"
mailboxes "=debian-user"
mailboxes "=The Geek Stuff"

# fetch mail by pressing G
macro index G ""
macro pager G ""

# delete message to Bin by presing B
macro index B "=[Gmail]/Biny"
macro pager B "i=[Gmail]/Biny"

# Use abook with Mutt
# Q to search
# a to add sender to abook
set query_command="abook --mutt-query '%s'"
macro index,pager a "|abook --add-email\n" 'add sender to abook'

# Dealing with GnuPG
# http://codesorcery.net/old/mutt/mutt-gnupg-howto
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch 
--output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - 
%f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 
--armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 
0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose 
--output - --encrypt --textmode --armor --always-trust --encrypt-to 0x69093C81 
-- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet 
--no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor 
--always-trust --encrypt-to 0x69093C81 -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs 
%r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons 
--list-keys %r" 
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons 
--list-secret-keys %r" 
set pgp_autosign=yes
set pgp_sign_as=0x69093C81
set pgp_replyencrypt=yes
set pgp_timeout=1800
#set pgp_good_sign="^gpg: Good signature from"
#set pgp_good_sign="`gettext -d gnupg -s 'Good signature from "' | tr -d '"'`"
set crypt_verify_sig=yes


set mail_check = 300 # check for email every 5 minutes (300 seconds)
set timeout = 900 # check for mail in current mailbox every 15 minutes (900 
secs)



signature.asc
Description: Digital signature


Re: How to move Git commit to some branch?

2010-06-11 Thread Alexander Batischev
On Fri, Jun 11, 2010 at 11:02:56AM -0500, Boyd Stephen Smith Jr. wrote:
> On Thursday 10 June 2010 21:21:50 Joel Roth wrote:
> > On Fri, Jun 11, 2010 at 03:25:07AM +0300, Alexander Batischev wrote:
> > > I did a commit lately but figured out that it was made in wrong place - I
> > > was browsing previous commits at the moment, so now my new commit is
> > > somewhere in the middle of the history. I have its hash and I want to
> > > move it so it would be 'son' of last commit in the master branch. Which
> > > command should I use?
> > 
> > git-checkout master
> > git-cherry-pick 
> 
> That's one way, I prefer something like:
> git checkout 
> git rebase --onto master 'HEAD^'

That one looks more clear (for me), yet I already done a job with Joel's
command. Thank you for your variant, anyways!

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: How to move Git commit to some branch?

2010-06-10 Thread Alexander Batischev
On Thu, Jun 10, 2010 at 04:21:50PM -1000, Joel Roth wrote:
> On Fri, Jun 11, 2010 at 03:25:07AM +0300, Alexander Batischev wrote:
> > Hi,
> > 
> > I did a commit lately but figured out that it was made in wrong place - I 
> > was
> > browsing previous commits at the moment, so now my new commit is somewhere 
> > in
> > the middle of the history. I have its hash and I want to move it so it would
> > be 'son' of last commit in the master branch. Which command should I use?
> 
> git-checkout master
> git-cherry-pick 

It did exactly what I wanted to! Thank you, Joel!

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


How to move Git commit to some branch?

2010-06-10 Thread Alexander Batischev
Hi,

I did a commit lately but figured out that it was made in wrong place - I was
browsing previous commits at the moment, so now my new commit is somewhere in
the middle of the history. I have its hash and I want to move it so it would
be 'son' of last commit in the master branch. Which command should I use?

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: debian-multimedia.org gone?

2010-06-10 Thread Alexander Batischev
On Thu, Jun 10, 2010 at 08:48:16PM +0200, Sven Joachim wrote:
> On 2010-06-10 18:11 +0200, Gerard Robin wrote:
> 
> > The drive has crashed. Christian Marillat is being restored ...
> 
> Hopefully there is a good backup of him!

Just as Linus Torvalds said - "Only wimps use tape backup: real men just upload
their important stuff on ftp, and let the rest of the world mirror it". d-m had
(and still have) a lot of mirrors all over the world, so it's not the problem
to bring all the stuff back.

Actually, debian-multimedia.org is *already* back and working just normally.
Hooray!

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Web browsers, Adobe Flash & Debian

2010-06-10 Thread Alexander Batischev
On Thu, Jun 10, 2010 at 06:46:11AM -0500, John Hasler wrote:
> Alexander Batischev writes:
> > Iceweasel (Debian clone of Firefox)...
> 
> Iceweasel is not merely a clone of Firefox.  It _is_ Firefox.  It's
> called Iceweasel in Debian because Mozilla doesn't want Debian to use
> the trademarked Firefox name.

Well, yes, Iceweasel just have different icon and name. Maybe there are other
differences, too? I remember I saw some article in Debian Wiki (if I recall
correctly) about that - should go and read it...

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Web browsers, Adobe Flash & Debian

2010-06-09 Thread Alexander Batischev
On Wed, Jun 09, 2010 at 10:07:15PM -0700, ABSDoug wrote:
> I've been Googling Ephathy vs Firefox vs Opera as well as Adobe Flash. I'm
> not sure what is the best direction to go.

Use what you like.

> I've got an iPhone, so I'm a bit familar with what sucks (& doesn't) about
> Adobe Flash. Without it, a good portion of the web is not accessable, unless
> there is something I'm missing?

Without it, a good portion of annoying advertisement are missing :) That's why
I have flash plugin installed but also have FlashBlock extension enabled in
Firefox so only trusted domains (like youtube, vimeo and few others) are
allowed.

>I also read a bit why Ubuntu uses Firefox & Debian doesn't. None of what I
> read was a decision maker. You can install Firefox or Opera, but I'm not sure
> of the easiest/best way. Is there a way/is the best way, to add something to
> "Software Sources"?

Iceweasel (Debian clone of Firefox) seem easier to me, as far as it's open
source and thus avaliable in official repositories, but you can install Opera
easily as well: Google → "opera debian" → [1]

> After a few bumps in the road, I'm finding Debian Stable as easy to use as
> Ubuntu. Thanks for all that helped, it is really cool of you.
Excuse me for rudeness, but: that's because you don't do much by yourself.
Have you ever read "How to Ask Questions in a Smart Way", nice howto by Eric
Steve Raymond? If no, my advice is to read it. 
1. http://wiki.debian.org/Opera
-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: ntfs-config

2010-06-09 Thread Alexander Batischev
On Thu, Jun 10, 2010 at 01:28:52PM +0800, 刘宇辉 wrote:
> 2. make dir that you want to mount ,here i assume it as /mnt/ntfs
>   $mkdir /mnt/nfts

Pay attention: /mnt belongs to root:root, so you should run mkdir as root

ABSDoug, did you try to make a little research by yourself before asking?
I Googled with keywords "mount ntfs debian" and got nice blog post as a first
link. All this details were described there, including not only automounting
using fstab, but also mounting by hands (it's not hard at all) and nice note
for beginners about "umount". Why don't you try to help yourself by yourself
(that probably sounds awkward for native speakers - excuse me if so)?

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Trouble upgrading to evince 2.30.1-3

2010-06-09 Thread Alexander Batischev
On Wed, Jun 09, 2010 at 10:03:04PM -0700, Peter Tenenbaum wrote:
> I'm trying to upgrade evince to 2.30.1-3, which has a fix for a segfault bug
> in the version I have now (2.30.1-2).  Unfortunately, when I use aptitude,
> it stubbornly insists that 2.30.1-2 is the latest version and can't find the
> 2.30.1-3 version.  I have the following line in /etc/apt/sources.list:
> 
> deb http://ftp.us.debian.org/debian/ squeeze main
> 
> Is there something that I have to do other than aptitude install evince?  (I
> guess obviously so, since that doesn't work!).

Pretty silly and blind shot: have you run aptitude update?

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Debian asking for DVD... (FYI)

2010-06-09 Thread Alexander Batischev
On Wed, Jun 09, 2010 at 07:31:20PM -0700, ABSDoug wrote:
> If you boot up a fresh install of Debian & after you boot up, plug in your
> Ethernet cable & try to add software, Debian asks for the install disk. If
> you plug in Ethernet BEFORE you boot up it will look online for software.

You already have an answer, it appeared in one of your (numerous) threads
few days ago:

On Tue, 8 Jun 2010 18:32:09 -0500, Neal Hogan wrote:
> When adding packages, your system needs to know where to look. To find
> out, it looks at the list in /etc/apt/sources.list. Take a look at
> that. You'll probably see that the first item(s) in the list refer to
> the install disk.  So, until you get internet connection, you're gonna
> need to use some other means . . . like the install disk to get
> packages.
>
> Once you get connected, DO SOME HOMEWORK and figure out how to edit
> that file so that the system does not want to look at the install disk
> all of the time, but rather "looks out" at the web.

So it's time to do homework!

> Instead of telling me to look it up, requiring me to reboot into another OS
> to get online, he just told me exactly what I needed to do. Now I can do all
> the learning & testing of Debian from INSIDE Debian. Thanks again Hugo!

Well, usually people want to learn, not just do what they're told to do. If you
have no willing to solve your problems by yourself (or at least *try* to do
so), Linux (probably) is not for you. That's my opinion, anyway.

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Running Evince outside of Gnome

2010-06-09 Thread Alexander Batischev
Hi,

I'm used to use Evince as PDF/Djvu reader under dwm (dynamic window manager;
[1]) for pretty long time, and everything was fine. But some time ago something
in Squeeze broken, and now Evince can't remember state of panels (was it shown
or hidden) and position in file. It used to be very nice feature that Evince
started in exactly the same state as you left it, and it was especially nice
that it remembered panels state for each file separately, so I could have
toolbar and thumbnails bar enabled for one fine while disabled for other.

Here's what I get when I start Evince from terminal:

** (evince:6574): WARNING **: Failed to create dbus proxy for 
org.gnome.SettingsDaemon: Could not get owner of name 
'org.gnome.SettingsDaemon': no such name

So it seem that gnome settings daemon don't run. I tried to start it:

$ sudo aptitude install gnome-settings-daemon
$ gnome-settings-daemon
$ % ps aux | grep gnome
minoru9140  0.3  1.1  23220 11932 ?Ss   01:05   0:00 
gnome-settings-daemon

Now when I start Evince, it doesn't complain, but it still don't save position
in file (but it doesn't show any errors). If I disable thumbnails bar, I get
this message (in terminal):

** (evince:10723): WARNING **: Setting attribute 
metadata::evince::sidebar_visibility not supported

It also seems that something happens to my touchpad when I start
gnome-settings-daemon - I lose tapping and multitouch scrolling. It also does
something to desktop wallpaper - I lose it, too, getting weird green background
instead. Killing daemon and restarting Xorg solves the problem.

I moved to zathura[2], kinda like it already, but I still want to know how to
get Evince working. Any ideas?


1. http://dwm.suckless.org/
    2. https://zathura.pwmt.org/

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: how to prevent a module from auto loading

2010-06-08 Thread Alexander Batischev
On Wed, Jun 09, 2010 at 11:56:08AM +0800, Long Wind wrote:
> I use etch
> When I plug a USB device, usbserial module is autoloaded in kernel 2.4
> (or error messages appear in kernel 2.6)
> I want to load acm module
> My question is how to prevent usbserial from autoloading
> Thanks!

I can suggest following command:

# echo 'blacklist usbserial' >> /etc/modprobe.d/blacklist

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


Re: Acer Aspire One wireless issue

2010-06-08 Thread Alexander Batischev
On Tue, Jun 08, 2010 at 01:14:25PM -0700, Mark wrote:
> type "su", enter your password
su requires password of root, not user's one

P.S. I'm sure you know it and just made a little error, but as far as topic
starter is a novice to terminal, I think such details should be pointed out.

-- 
Regards,
Alexander Batischev


-- 
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/20100608212227.gb6...@speedy



Re: Acer Aspire One wireless issue

2010-06-08 Thread Alexander Batischev
On Tue, Jun 08, 2010 at 11:36:18AM -0700, ABSDoug wrote:
> I do know I want to stick with "stable" Debian
In my opinion, there's no need to do so. Squeeze is close to freeze, soon it
will became stable. You better run it. Personally I run it on my EeePC and have
(almost) no problems. Advantage of running testing is newer drivers. Also you
would not need backports.

>> Search the list archives.  There was a thread on this in February which
>> shows what I did (via some helpful advice from this list) to get wireless
>> going on my Acer Aspire One.
> 
> This is all new to me, so I haven't figured out how to search archives. I
> only just found out archives exist.

Archives avaliable at [1]. As I said in some of my earlier replies, go to [2],
scroll down to Archives section, choose month and read!

>> You have received a lot of advice to do some searching/research on this
>> problem, but you do not appear to have done any.  Nor do you appear to have
>> read all the replies that you have already received.
> 
> I don't know how, but I was not receiving any replies. I only started seeing
> replies when I started the thread before this one.

And again - all mails sent to list are stored in archive. Go there and read all
responses you missed.

1. http://lists.debian.org/
2. http://lists.debian.org/debian-user/
-- 
Regards,
Alexander Batischev


-- 
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/20100608191404.ga6...@speedy



Re: The purchase of a new laptop on debian

2010-06-07 Thread Alexander Batischev
On Tue, Jun 08, 2010 at 02:31:21AM +, Hendrik Boom wrote:
> There's a Windows program called something like Goodbye Windows, or ByeBye
> Windows or something like that that is a Linux installer. I no longer know
> where I got it, unfortunately.
I believe it used to be at goodbye-microsoft.com, where you could simply click
at icon and get EXE installer, but now this site offers gNewSense. I found
goodbye-windows.com, where you really can get Debian installer for Windows, but
there are little more clicking required there :)

-- 
Regards,
Alexander Batischev


-- 
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/20100608055938.ga2...@speedy



Re: Problems with version 10.01

2010-06-07 Thread Alexander Batischev
Escuse me, I sent previous message to wrong list.

-- 
Regards,
Alexander Batischev


-- 
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/20100608001743.ga2...@speedy



Re: Problems with version 10.01

2010-06-07 Thread Alexander Batischev
On Mon, Jun 07, 2010 at 02:54:03PM -0700, Leroy Hunninghake wrote:
> I recently upgraded to version 10.01 and have been experiencing a few
> problems.  After installing the new version, I no longer have any menu options
> in the upper task bar.  I have to hover over it to get the context of what's
> there.  Is there a setting I need to make to bring that back into view?
I think your Gnome theme is a problem. Maybe your selected theme is not
compatible with new Gnome. Try to set another theme(s).

> My wifi connection is fine, but it takes forever to move from page to page in
> Firefox since the upgrade.
"Move from page to page" means following the links, or are you talking about
switching between tabs? (Just want little more information for those who may
know about solution, I don't know any for first nor second one).

And yes, I think you should look for Ubuntu list. I believe ubuntu-users[1]
is a way to go.

1. https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

-- 
Regards,
Alexander Batischev


-- 
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/20100608000933.gb12...@speedy



Fwd: Re: Problems with version 10.01

2010-06-07 Thread Alexander Batischev
- Forwarded message from Leroy Hunninghake  -

Date: Mon, 7 Jun 2010 16:43:53 -0700 (PDT)
From: Leroy Hunninghake 
To: Alexander Batischev 
Subject: Re: Problems with version 10.01

Alexander,
I'm sorry, you're right about it being Ubuntu.  I thought the friend who gave 
me 9.10 said Ubuntu was a version of Debian.  I'm still so new to using Linux 
that I didn't pay enough attention, and never looked into what iterations of 
Linux are out there.
Any ideas on this though, if you know something about Ubuntu?  Or, should I 
find an Ubuntu list?

Thanks,

Leroy
--- On Mon, 6/7/10, Alexander Batischev  wrote:

From: Alexander Batischev 
Subject: Re: Problems with version 10.01
To: debian-lap...@lists.debian.org
Date: Monday, June 7, 2010, 6:07 PM

Hi!

On Mon, Jun 07, 2010 at 02:54:03PM -0700, Leroy Hunninghake wrote:
> I recently upgraded to version 10.01 and have been experiencing a few
> problems.  After installing the new version, I no longer have any menu options
> in the upper task bar.  I have to hover over it to get the context of what's
> there.  Is there a setting I need to make to bring that back into view?  My
> wifi connection is fine, but it takes forever to move from page to page in
> Firefox since the upgrade.  I've got several XP machines that work just 
> fine.  
> 
> I am new to using Linux, so any suggestions need to be in that context!
> Thanks!

Er... What are you talking about? Version of *what*? Last stable Debian is 5,
and last stable Ubuntu (it's Debian mailing list, but sometimes we're talking
about Ubuntu as well) is 10.04...


---
Regards,
Alexander Batischev


-- 
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100607220725.gb7...@speedy




  

- End forwarded message -----

Please reply not to me but to the list ;)

-- 
Regards,
Alexander Batischev


-- 
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/20100607235731.ga12...@speedy



Fwd: Re: New to Debian (what I've done so far)

2010-06-07 Thread Alexander Batischev
- Forwarded message from ABSDoug  -

Date: Mon, 7 Jun 2010 15:39:53 -0700 (PDT)
From: ABSDoug 
To: Alexander Batischev 
Subject: Re: New to Debian (what I've done so far)

--- On Mon, 6/7/10, Alexander Batischev  wrote:

> How did you try to install Gnome? Did you check "Install
> Desktop Environment"
> in tasksel (this menu which appears on installation time)?
> Or did you installed
> basic system (with no DE or WM, without xorg at all) and
> then try to run
> aptitude install gnome? Please provide more information.
> 
> > That's where I'm at so far.
> Btw, you don't need to start new thread each time you
> response. Keep whole
> discussion in one thread, please - it's easier to follow
> (or not-follow)
> and manage/search, then.

I don't rememeber getting any options like we're talking about. Lemme try it 
aogain. I'll report back exactly what I did.


  

- End forwarded message -

P.S. ABSDoug, please check whom you respond to: it's not catastrophic if you
replied to me - I'll simply forward message to list - but it's considered as
bad taste.

---
Regards,
Alexander Batischev


-- 
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/20100607230251.gc23...@speedy



Re: New to Debian (what I've done so far)

2010-06-07 Thread Alexander Batischev
On Mon, Jun 07, 2010 at 03:37:27PM -0700, ABSDoug wrote:
> Javier, thanks for pointing me in the right direction! & yes I'm subscribed...
> don't know why I didn't get the orginal replys to my original post, but I am
> now.
Did you read manual I mentioned before?

Anyone can write to debian-user, but only subsribers can receive mails sent to
list by others. So when others replied to your post, subscribers received that
answers, but you didn't. Somebody CC'ed you (sent you a copy) when replying -
that way you get some responses. Now you're subscribed and get all the answers

You also will get all the mails sent to other threads in this list, too (I do
not know are you familiar enough with mailing lists to know that, so I think I
should mention it so you won't be confused when your mailbox be flooded by
dozens of mails per day).

If you didn't receive some replies, don't worry - there are online archive of
all the mails sent to list. You can find it here[1] - scoll down to Archives,
choose month and year and go reading!

Good luck with Debian!

1. http://lists.debian.org/debian-user/

---
Regards,
Alexander Batischev

 


-- 
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/20100607225826.gb23...@speedy



Re: New to Debian (what I've done so far)

2010-06-07 Thread Alexander Batischev
Hi,

On Mon, Jun 07, 2010 at 03:13:11PM -0700, ABSDoug wrote:
> 1st, tried to do "Installing Debian GNU/Linux via the Internet"
> (debian-504-i386-netinst.iso) but could not connect to wireless. At the time
> I did not have physical access to the router, but that can be done now if
> necessary. 
On which hardware do you try to install it? I don't know how to get wifi to
work on installation if it's not working out of box, so I'm simply curious.

> 2nd, tried the big DVD image (debian-504-i386-DVD-1.iso).
Good idea, as far as you don't have Internet connection on installation time.

> Tried to run GUI, no go.
You mean graphic installer? If it doesn't work, try text mode - I assure you,
it isn't hard!

> Tried to install Gnome & got E: coundn't find package Gnome.
How did you try to install Gnome? Did you check "Install Desktop Environment"
in tasksel (this menu which appears on installation time)? Or did you installed
basic system (with no DE or WM, without xorg at all) and then try to run
aptitude install gnome? Please provide more information.

> That's where I'm at so far.
Btw, you don't need to start new thread each time you response. Keep whole
discussion in one thread, please - it's easier to follow (or not-follow)
and manage/search, then.

---
Regards,
Alexander Batischev


-- 
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/20100607222958.ga23...@speedy



Re: New user: Did not see any responds

2010-06-07 Thread Alexander Batischev
On Mon, Jun 07, 2010 at 01:40:46PM -0700, ABSDoug wrote:
> I don't know what happen, but I reposted my question & someone posted that I
> should look at the 1st E-mail string I started... but I didn't see anything.
You should be subscribed to mailing list in order to receive responses to
your posts.

If you don't know how to subscribe, read manual[1].

1. http://www.debian.org/MailingLists/


Regards,
Alexander Batischev
 


-- 
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/20100607215834.ga7...@speedy



Re: Mplib.pm wanted.

2010-06-07 Thread Alexander Batischev
Hi!

On Tue, Jun 01, 2010 at 02:02:54AM +0700, Sthu Deus wrote:
> I need a perl module called Mplib.pm .
> But I cannot find it in lenny trying this command:
Nor do I.

> aptitude search Mplib.pm
> 
> Is there no such a package containing such a file, or I searched
> wrongfully?
Yes, you searched wrongfully. When you want to figure out to which package file
belongs to, you should use apt-file:

apt-file search Mplib.pm

You can also assume that there are package named by file it containing, and run
the following command:

aptitude search mplib

And of course you can use web interface[1] (which have some pros - for example,
you can search for file in different version of Debian, as I did - I'm running
Squeeze but I searched in Lenny via web).

According to CPAN[2], MP3-Mplib is pretty old and unsupported (last updated 06
Mar 2004), so it probably wasn't been packed for Debian at all. You can look for
alternatives, or go and try to install it directly from CPAN.

1. http://packages.debian.org
2. http://search.cpan.org/~vparseval/MP3-Mplib-0.02/


Regards,
Alexander Batischev


-- 
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/20100607120849.ga5...@speedy



Re: colorized ls

2010-05-09 Thread Alexander Batischev
On Sun, May 09, 2010 at 04:26:36PM -0400, Rick Pasotto wrote:
> What did I update recently that caused me to lose ls coloring with this
> error message:
> 
> ls: unrecognized prefix: hl
> ls: unparsable value for LS_COLORS environment variable
> 
> How should I fix it?

In academic interest you can look what LS_COLORS environment variable contain:

$ echo $LS_COLORS

After that you can look what's wrong with it.

Fix is pretty easy:

$ eval `dircolors`

Read man pages for dircolors(1) and  dir_colors(5) for most complete reference.
Note that you should place command mentioned above to .bashrc (or .zshrc, or
whatever your shell' config is) so it will run every time shell starts.

-- 
Regards,
Alexander Batischev


-- 
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/20100509203911.ga24...@eternity.smila.com



Re: OpenOffice

2010-05-09 Thread Alexander Batischev
On Sun, May 09, 2010 at 08:37:01PM +0100, James Allsopp wrote:
> Hi,
> I've tried uninstalling and reinstalling openoffice after an update, but an
> still am stuck with the 3..1 version of openoffice. I'm running squeeze so
> should have the 3.2 package available. Can anyone help?

How did you figure out that you still have 3.1? Here is how I check mine:

$ aptitude show openoffice.org-base-core

It shows '1:3.2.0-4' in Version field.

P.S. Just a blind shot: try the following command:

$ aptitude safe-upgrade

-- 
Regards,
Alexander Batischev


-- 
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/20100509194915.ga24...@eternity.smila.com



Re: Capture (for video) what is displayed on the screen

2010-05-09 Thread Alexander Batischev
On Sun, May 09, 2010 at 06:46:20PM +0200, Merciadri Luca wrote:
> ~$ ffmpeg -f x11grab -s cif -i :0.0 /tmp/out.mpg
> FFmpeg version r11872+debian_0.svn20080206-18+lenny1, Copyright (c) 2000-2008 
> Fabrice Bellard, et al.
>   configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler 
> --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora 
> --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 
> --disable-armv5te --disable-armv6 --disable-altivec --disable-vis 
> --enable-shared --disable-static
>   libavutil version: 49.6.0
>   libavcodec version: 51.50.0
>   libavformat version: 52.7.0
>   libavdevice version: 52.0.0
>   built on Jan 28 2010 20:57:25, gcc: 4.3.2
> [x11grab @ 0xb7f7fec8]device: :0.0 -> display: :0.0 x: 0 y: 0 width: 352 
> height: 288
> [x11grab @ 0xb7f7fec8]AVParameters don't have video size and/or rate. Use -s 
> and -r.
> :0.0: I/O error occured
> Usually that means that input file is truncated and/or corrupted.
> ==
> 
> ==
> $ ffmpeg -f x11grab -s cif -i :0.0+10,20 /tmp/out.mpg
> FFmpeg version r11872+debian_0.svn20080206-18+lenny1, Copyright (c) 2000-2008 
> Fabrice Bellard, et al.
>   configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler 
> --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora 
> --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 
> --disable-armv5te --disable-armv6 --disable-altivec --disable-vis 
> --enable-shared --disable-static
>   libavutil version: 49.6.0
>   libavcodec version: 51.50.0
>   libavformat version: 52.7.0
>   libavdevice version: 52.0.0
>   built on Jan 28 2010 20:57:25, gcc: 4.3.2
> [x11grab @ 0xb7eb7ec8]device: :0.0+10,20 -> display: :0.0 x: 10 y: 20 width: 
> 352 height: 288
> [x11grab @ 0xb7eb7ec8]AVParameters don't have video size and/or rate. Use -s 
> and -r.
> :0.0+10,20: I/O error occured
> Usually that means that input file is truncated and/or corrupted.
> ==
Simply look at that line:
> [x11grab @ 0xb7eb7ec8]AVParameters don't have video size and/or rate. Use -s 
> and -r.
As far as you have size (-s parameter)  specified already, you only need to add
frame rate (-r). Following command should work fine:

$ ffmpeg -f x11grab -s cif -r 24 -i :0.0 /tmp/out.mpg


-- 
Regards,
Alexander Batischev


-- 
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/20100509170058.ga24...@eternity.smila.com



Re: help for a new user

2010-05-08 Thread Alexander Batischev
On Sat, May 08, 2010 at 02:02:01PM -0700, Robert Holtzman wrote:
> What is an internet key and did you mean to publish it for all the world  
> to read?
Internet key is modern kind of modem. It uses mobile phone network to access.
Key looks just like usual USB pendrive, but it have place for SIM card (which
is similar to your mobile phone's card). I think you can find more detailed
(and professional) explanation on the Internet.

-- 
Regards,
Alexander Batischev


-- 
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/20100508211304.ga22...@eternity.smila.com



Re: help for a new user

2010-05-08 Thread Alexander Batischev
Hi!

On Sat, May 08, 2010 at 09:40:52PM +0200, daniele tavella wrote:
> I'm new on Debian. I use Ubuntu 9.04, an I found it easy. I would like
> use Debian, but for internet connection I use an internet key Huawey
> E169, and Debian 5.04 can't manage it.
> I'm not good on computer, but I hope someone helps me.
I don't have Huawei E169 myself and never experienced configuring it under
Debian, but I googled a little and found out that there was same topic in
debian-russian recently. Here's translated (also little shorted and modified)
"recipe for success":

> After installation if this program[1] I configured kppp to work with ttyUSB0
> with all standard options except right initialization strings:
> ATZ;ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0;
> AT+CGDCONT=1,"IP","3g.utel.ua" 
>
> and also added DNS addresses by Utel. I also added them to /etc/resolv.conf
> and set 'i' attribute for both files by envoking this command:
>
> $ chattr +i /etc/resolv.conf
> $ chattr +i /etc/ppp/resolv.conf
>
> ¹ http://www.greenhughes.com/content/huawei-e169g-easy-way

Some notes:

Please pay attention to the name of device - this guy tried to work with
ttyUSB2, which was an error because ttyUSB2 was card-reader or something).

Also note that author configured his device for Utel provider, so initializing
string may differ.

And the last one: it was suggested to install resolvconf package instead of
locking resolv.conf files (you can simply forget that you made this file
not avaliable for editing, which can cause a lot of problems in future).
In addition it was proposed to modify /etc/network/interfaces to look like the
following (it's just a part of file):

inet utel inet wvdial
   dns-nameservers DNS1 DNS2


Hope that will help you.

--
Regards,
Alexander Batischev


-- 
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/20100508202945.ga21...@eternity.smila.com



Re: Procmail: re-sort all messages

2010-05-08 Thread Alexander Batischev
On Fri, May 07, 2010 at 02:30:06PM +0100, Jon Dowland wrote:
> You can invoke procmail by piping an email to it.
> 
> find $LOCAL_MAIL_DIR -type f | while read mail; do procmail < "$mail"; done
That's it! Thank you very much!

Thank you Monique Y. Mudama and Chris Bannister for nice hints, too — now I
have archiving enabled and have something to read :)


Regards,
Alexander Batischev


-- 
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/20100508152055.ga14...@eternity.smila.com



Re: How to flush cache of certain disk?

2010-05-07 Thread Alexander Batischev
On 7 May 2010 23:10, thib wrote:
>> But all you said made me hard thinking about the way I mount and
>> unmount my removable media. Maybe I should forget about sync and use
>> 'umount /mnt/sd[a-z]' instead, or even write little script which will
>> ask me which device I want to unmount… [snip]
>
> Which is what eject(1) is.  It will search mountpoints in /dev, /media and
> /mnt by default btw, so it's just "eject sd[a-z]" for your example.  You
> might want to use /media and volume names instead.

Wow… I used eject to eject cdrom, but never read DESCRIPTION in man
page and didn't know that it's not for CDROMs only. Thank you very
much for pointing this out!


Regards,
Alexander Batischev


--
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/i2x28c1d5ea1005071318r7cc60b67xd4773b8a2f63f...@mail.gmail.com



Procmail: re-sort all messages

2010-05-07 Thread Alexander Batischev
Hi,

I've just installed fetchmail → procmail → mutt → msmtp chain and want
to configure procmail properly. Of course, I can't write all the rules
in the right way from scratch, so there must be some testing. The only
way to check how rules works is actually run procmail and see what
happens. Here is where problems starts.

I have about 165 Mb of mails in my GMail box. The only way (known to
me at least) to test procmail rules is to invoke this:

$ fetchmail -ak -m "/usr/bin/procmail -d %T"

But that requires downloading of mentioned amount of mails, which is
quite long operation.

So here is what I'm looking for: is there a way to run procmail on
already downloaded messages? Maybe I should download them to separate
directory and run procmail on it? Maybe I can just pass existing
(already sorted) mail directory to procmail for re-sorting? I hope
there are some way to do that.


Regards,
Alexander Batischev


--
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/x2y28c1d5ea1005070538k90a08e39kacc5f779fb4e0...@mail.gmail.com



Re: FW: Parallellizing the boot in Debian Squeeze - ready for wider testing

2010-05-06 Thread Alexander Batischev
> These days, the init.d script dependencies in Squeeze are quite
> complete, so complete that it is actually possible to run all the
> init.d scripts in parallell based on these dependencies.  If you want
> to test your Squeeze system, make sure dependency based boot
> sequencing is enabled, and add this line to /etc/default/rcS:
>
> CONCURRENCY=makefile
>
> That is it.  It will cause sysv-rc to use the startpar tool to run
> scripts in parallel using the dependency information stored in
> /etc/init.d/.depend.boot, /etc/init.d/.depend.start and
> /etc/init.d/.depend.stop to order the scripts.  Startpar is configured
> to try to start the kdm and gdm scripts as early as possible, and will
> start the facilities required by kdm or gdm as early as possible to
> make this happen.
>
> Give it a try, and see if you like the result.  If some services fail
> to start properly, it is most likely because they have incomplete
> init.d script dependencies in their startup script (or some of their
> dependent scripts have incomplete dependencies).  Report bugs and get
> the package maintainers to fix it. :)

Well, I did that and restarted system. I didn't notice any errors, and
system doesn't boot faster or slower than usual. Don't know is it good
or bad news, though…

But you should know that I don't have any DMs installed — I prefer
simple login in terminal and then run startx (if needed). Also I don't
have any heavy services installed — it's netbook and I want it to be
as fast as possible.


With best regards,
Alexander Batischev


--
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/l2s28c1d5ea1005061331zadb61c04w1c584327d8f09...@mail.gmail.com



Re: Aliases with `-'

2010-05-06 Thread Alexander Batischev
Small note about highlighting — if you add quotes, emacs (and vim, and
any other editor with syntax highlighting as well) thinks that it's a
string and highlight it. If alias name isn't highlighted that doesn't
mean that it won't work. So don't think about highlighting —
everything works ;)


Sincerely,
Alexander Batischev


--
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/j2m28c1d5ea1005061055rf3c9b8deo62b4e33ea9de3...@mail.gmail.com



Re: Aliases with `-'

2010-05-06 Thread Alexander Batischev
On 6 May 2010 20:31, Merciadri Luca wrote:
> It simply does not work. Why? I tried without `'' but emacs then stops
> highlighting the word, which is no good sign. Thanks.

Don't mind about highlighting — alias defined in away like that:

$ alias hello-world="echo 'hello world'"

will work. Tested on bash 4.1.5(1)-release (i486-pc-linux-gnu).


Regards,
Alexander Batischev


--
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/m2q28c1d5ea1005061050h58958c33v58a8b61cd5e5...@mail.gmail.com



Re: How to flush cache of certain disk?

2010-05-06 Thread Alexander Batischev
On 6 May 2010 18:53, Camaleón wrote:
>>> I never do that way. I always first "umount" the device and then, I
>>> remove the stick, but not the reverse. Removable media has to be done
>>> that way, to prevent data loss or flash drive damage, or that is what
>>> manufacturers say :-?
>>
>> Of course, "umount, then remove" is the normal way to remove USB stick
>> (and any other storage). But as far as main idea of automounting is
>> "easy (un)plug" (in my opinion at least), we have little weird but
>> working principle "sync, then unplug, and udev will carry out everything
>> else". As I already said, it's really weirds, but it works.
>
> Mmm, I still fail to see your point for performing a "sync" operation.
> Umount won't allow the device to be unmounted if it's busy (writing/
> reading data) so it's a single and safer operation (umount -> unplug).

Now, I run sync manually, then unplug device, and after it umount are
ran by udev. Actually there's no certain point in doing so: I can run
umount instead of sync as well. The only reason why it's done like
this is the following: I just copied this configuration from
somebody's blog and didn't modify it (well, I *almost* didn't).


> I also have a Gmail account and used webmail interface not so time ago,
> so I am aware of the annoyance to have to delete the OP's e-mail address
> when replying in some lists... I switched to Mutt (for private e-mails)
> and use a news reader (for mailing lists). No more webmail O:-)

Yeah, that's exactly what I'm intended to do: switch to mutt. What
news reader do you mean? Is it some kind of plugin for mutt, or is it
separate application at all? Excuse me for offtop, you can answer
privately if you want.

Sincerely,
Alexander Batischev


--
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/m2x28c1d5ea1005060904oaab11c02t6d04be6183fd6...@mail.gmail.com



Re: How to flush cache of certain disk?

2010-05-06 Thread Alexander Batischev
>> When I unplug stick, udev unmounts it from mountpoint. Pay attention
>> to moment of unmount - it happens *after* unplugging, so no cache can
>> be flushed as far as device is already disconnected.
>>
>> I though about running umount /mnt/sd[a-z] before unplugging, but then
>> decided to ask for a better way. If I won't find it, umount will be
>> the solution. So, any other options?
>
> I never do that way. I always first "umount" the device and then, I
> remove the stick, but not the reverse. Removable media has to be done
> that way, to prevent data loss or flash drive damage, or that is what
> manufacturers say :-?

Of course, "umount, then remove" is the normal way to remove USB stick
(and any other storage). But as far as main idea of automounting is
"easy (un)plug" (in my opinion at least), we have little weird but
working principle "sync, then unplug, and udev will carry out
everything else". As I already said, it's really weirds, but it works.

But all you said made me hard thinking about the way I mount and
unmount my removable media. Maybe I should forget about sync and use
'umount /mnt/sd[a-z]' instead, or even write little script which will
ask me which device I want to unmount… Dunno. But thanks for sharing
your thoughts with me!

P.S. Camaleón, please forgive me for sending previous mail directly to
you, not to the list. I think it's time to drop GMail web interface
and switch back to local email client…

With best regards,
Alexander Batischev


--
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/t2k28c1d5ea1005060804l6bb90152s5ff573e00b58b...@mail.gmail.com



How to flush cache of certain disk?

2010-05-06 Thread Alexander Batischev
Hi,

On my netbook I'm using automatic USB sticks mount through udev rules,
and I already used to running 'sync' command before unplugging stick,
so no data will be lost. But if I have few sticks inserted and some
information copying on one of them, if I run 'sync' I have to wait
while copying ends, because:

a) sync command drops cache on disk, but copying process fill it
again; sync will work until all the caches are dropped to disks
b) I can't unplug stick when it stops to flash because I can't be sure
that there are no more parts of cache needed to be flushed on that
disk.

So here is my question - how can I run sync for only one device?

With best regards,
Alexander Batischev


-- 
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/p2u28c1d5ea1005060246p3434d45dy6b9ca5b6d34a0...@mail.gmail.com