Re: what will happen after removing .so from the filename of /usr/lib/gstreamer-0.10/libgstladspa.so?

2009-04-22 Thread Magnus Therning
On Wed, Apr 22, 2009 at 3:43 PM, 明覺  wrote:
> In order to make pidgin work, I removed .so from the filename of
> /usr/lib/gstreamer-0.10/libgstladspa.so, but it seems this is a common
> file, not speicific for pidgin, I'm afraid some other programs which
> use it will break. Could anyone explain simply what does
> /usr/lib/gstreamer-0.10/libgstladspa.so do? is it safe to rename it?
> thanks.

As the person who pointed you to this solution I thought I'd chip in
and say that I've noticed no decrease in functionality in any of the
other programs I know use that particular .so (totem and empathy).

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: cannot startup pidgin after dist-upgrade

2009-04-22 Thread Magnus Therning
On Wed, Apr 22, 2009 at 2:04 PM, 明覺  wrote:
> after i did a dist-upgrade, pidgin cannot startup anymore, here is the
> error message,
> 
> Pidgin 2.5.5 has segfaulted and attempted to dump a core file.
> This is a bug in the software and has happened through
> no fault of your own.
> 
> my platform is debian sid amd64, how to fix it? thanks

If you are also having problems starting totem then you have likely
hit bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522365 (which
is a duplicate of #521898).

Moving the offending .so out of the will get pidgin working again, at
least that's my experience.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: rename many files together

2009-04-16 Thread Magnus Therning
On Thu, Apr 16, 2009 at 11:30 AM, Maurice Guerrier  wrote:
> Hi,
>
> I have 17 files that I want to rename at the same times. I would like to
> give to the new name, the original name.old
>
> For exemple : document, presentation and reading.txt  I want to rename then
> like this : document.old, presentation.old and reading.txt.old.
> How can I do this in one command ?
>
> Help me please.

% for f in document presentation reading.txt; do mv $f ${f}.old; done

You are probably better off using a glob pattern if you need to
operate on many files with similar names.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: getmail vs fetchmail, WAS: Re: fetchmail and DNS resolution

2009-04-03 Thread Magnus Therning
On Fri, Apr 3, 2009 at 11:59 AM, Wolodja Wentland
 wrote:
> On Fri, Apr 03, 2009 at 07:30 -0300, Norbert Zeh wrote:
>> > AFAIK fetchmail defaults to delivering your mail by using a local SMTP.
>> > This is a Bad Thing (tm), because it can create a lot of problems, YMMV
>> I don't know getmail, but what I like about fetchmail's delivery through
>> the local SMTP server is that I can use procmail to filter my messages.
>> Can getmail do this?
>
> Yes it can. Have a look at:
>
> http://pyropus.ca/software/getmail/faq.html#faq-integrating-procmail
>
> It basically boils down to the following settings in your getmailrc:
>
> --- snip ---
> [destination]
> type = MDA_external
> path = /usr/bin/procmail
> unixfrom = True
> --- snip ---
>
> I have used this setup for some time now and am quite happy with it.

The same is possible in fetchmail with the -m option.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Gnome] deskbar-applet broken, how to find out what's wrong?

2009-03-29 Thread Magnus Therning
After a recent upgrade my deskbar-applet isn't starting any longer.  The
problem is that the only feed-back I have is a dialogue stating that
deskbar has quitted unexpectedly and I have a choice between reloading
or not.  Not so helpful.

The obvious places don't seem to get anything written to them,
~/.xsession-errors and /var/log/**.  Where can I find a trace of what's
happening when I try to add the applet?

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Solved: Re: Where did my eth0 go?

2009-03-29 Thread Magnus Therning
Jacek Politowski wrote:
> On Sun, Mar 29, 2009 at 10:05:10AM +0100, Magnus Therning wrote:
> 
>> After being away on holiday for 3 weeks I ran a major "apt-get update"
>> on my (amd64) Sid system this morning.  After the update I rebooted
>> and noticed that my eth0 is gone.
> 
> This happened also for me, although I didn't have time to diagnose and
> just allowed udev to regenerate net rules.
> 
> Look at /etc/udev/rules.d/70-persistent-net.rules
> 
> You have probably more devices created there, than you actually have
> on your system. Either manually correct entries in this file, or
> simply delete it and let udev regenerate rules.

Indeed. Deleting the file and restarting my system solved it.  Thanks!

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: Where did my eth0 go?

2009-03-29 Thread Magnus Therning
On Sun, Mar 29, 2009 at 10:14 AM, widux  wrote:
> Am Sonntag, 29. März 2009 11:05:10 schrieb Magnus Therning:
>> After being away on holiday for 3 weeks I ran a major "apt-get update"
>> on my (amd64) Sid system this morning. After the update I rebooted
>> and noticed that my eth0 is gone. Here's what I see when run
>> "/etc/init.d/networking restart" (minus the DHCP copyright notice):
>>
>> SIOCSIFADDR: No such device
>> eth0: ERROR while getting interface flags: No such device
>> eth0: ERROR while getting interface flags: No such device
>> Bind socket to interface: No such device
>> Failed to bring up eth0.
>> done.
>>
>> I installed "discover" and saw eth0 come back, but go away at the next
>> reboot again, not to be seen again.
>>
>> I've checked that the correct kernel module for the network card is
>> loaded (e1000e).
>>
>> How do I get my eth0 back again?
>>
>> /M
>>
>> --
>> Magnus Therning (OpenPGP: 0xAB4DFBA4)
>> magnus@therning.org Jabber: magnus@therning.org
>> http://therning.org/magnus identi.ca|twitter: magthe
> Hi,
>
> I read about this issue on sid systems in the sidux forums - seems that it
> is caused by udev in the last dist-upgrade:
> http://sidux.com/PNphpBB2-viewtopic-t-15382.html
> I do not know if this helps you...

That seems to do the trick indeed.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Where did my eth0 go?

2009-03-29 Thread Magnus Therning
After being away on holiday for 3 weeks I ran a major "apt-get update"
on my (amd64) Sid system this morning.  After the update I rebooted
and noticed that my eth0 is gone.  Here's what I see when run
"/etc/init.d/networking restart" (minus the DHCP copyright notice):

SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.
done.

I installed "discover" and saw eth0 come back, but go away at the next
reboot again, not to be seen again.

I've checked that the correct kernel module for the network card is
loaded (e1000e).

How do I get my eth0 back again?

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Dup apt keys into chroot

2009-02-24 Thread Magnus Therning
T o n g wrote:
> Hi,
> 
> I want to duplicate my current apt keys into my debootstrap'ed chroot 
> system. What's the minimum set of files to duplicate over?
> 
> Would duplicating the following files into chroot be enough? Are they all 
> necessary?
> 
> /root/.gnupg
> /root/.gnupg/pubring.gpg
> /root/.gnupg/trustdb.gpg
> /root/.gnupg/gpg.conf
> /root/.gnupg/secring.gpg
> /etc/apt/trusted.gpg

If I read the man-page for apt-key properly you need to copy the
following files:

 /etc/apt/trusted.gpg
 /etc/apt/trustdb.gpg
 /usr/share/keyrings/debian-archive-keyring.gpg
 /usr/share/keyrings/debian-archive-removed-keys.gpg

Just out of curiousity, why don't you just install the relevant keyring
packages (and export/import any other keys you've added)?

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: repo gpg keys list

2009-02-23 Thread Magnus Therning
T o n g wrote:
> Hi,
> 
> I noticed that the gpg keys were updated for repos, but I didn't wrote it 
> down before reboot. Anyway to list them now?

Not sure I understand what you mean, but possibly this is what you are
looking for:

 # apt-key list

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: VirtualBox on lenny

2009-02-22 Thread Magnus Therning
Harry Putnam wrote:
> Googling about virtualbox on debian.. I see only older information.
> Looks like the wiki at http://wiki.debian.org/VirtualBox
> Appear to be somewhat old too and only goes up to etch. Other stuff
> shows its from 2007.  I know VirtualBox is under very active
> development so wondered if things may have changed since that wiki was
> posted.
> 
> aptitude search virtualbox shows a bewildering array of packages with
> virutalbox in the name... but I see no version numbers.
> 
> Anyway, is there a recent outline about how to do this somewhere?
> 
> Or any posters here have VirtualBox running on lenny that can say how
> they did it?

Depending on where you land on the proprietary vs. free scale you might
be comfortable with using the proprietary version of VirtualBox (after
reading the license carefully so you know whether your usage is covered,
of course).  They have a repo for it:

  deb http://download.virtualbox.org/virtualbox/debian lenny non-free

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: [POSSIBLE SPAM] Which programming Language

2009-02-07 Thread Magnus Therning
Mitchell Laks wrote:
> On 18:25 Fri 06 Feb , Abdelkader Belahcene wrote:
>> HI,
>> There are many and many programming languages (mainly : C,C++,java,
>> Shell, Perl, python, php). which learn and use, in which circonstances
>> use that language instead of the other.
>>
>> In many situations we can use anyone, but which is better.
> 
> 
> 
> Common Lisp!

The only language with an oxymoron for a name ;-)  Any serious person
would of course start with Haskell!

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: aptitude: searching for a short package name that is a common substring

2009-02-06 Thread Magnus Therning
On Fri, Feb 6, 2009 at 10:39 AM, Arthur Marsh
 wrote:
> Hi, I was wanting to install midnight commander and realised that the search
> function in aptitude wasn't helping me much as the string "mc" appears in
> lots of package names. (I used apt-get to install mc).
>
> How does one get some text in the search box in aptitude to match the start
> of line or end of line of the package name, or alternatively, search by
> description?

The search in aptitude is a regular expression with some extensions,
use ^ to match beginning and $ to match end.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: [OT] improving the mailing lists WAS: Re: Debian VPN

2009-02-04 Thread Magnus Therning
On Wed, Feb 4, 2009 at 2:13 PM, Johannes Wiedersich
 wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Steve Kemp wrote:
>>   In the future you might save yourself some time by
>>  using your favourite search engine "vpn server debian"
>>  has many results.
>
> Searching 'debian vpn' (the subject of OP's mail) is just about as good.
> Maybe it'd save some time, if the mailing software sent a google search
> link for the subject matter of all primary posts ;-)
>
> ... or at least for those that generate more than say 1,000,000 hits [1].

Sometimes a link says more than a thousand words: http://tinyurl.com/dnyg5a

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: how to find trace of attacks

2008-12-30 Thread Magnus Therning
On Tue, Dec 30, 2008 at 8:24 AM, abdelkader belahcene
 wrote:
> Hi,
> I fear that an attack or an entry in my PC has occured,  how to find the
> trace of the attacks.

It depends entirely on what the attacker did on your system.  If you
haven't already you should shut down the system (either power it down
or simply pull the chord depending on what school of thought you
subscribe to).  Then take a complete copy of the HDD, now you can
mount the HDD in read-only mode in another computer (one that is
guaranteed to not have been broken into, i.e. a newly installed system
that isn't connected to the internet).  After that you need to start
looking for "abnormal things" e.g. in log files.  Read up on computer
forensics to learn more.

If you aren't under some sort of legal pressure to find out what the
attacker did or have something very valuable stored on your computer I
would simply re-install the entire system.  Any files you save must be
carefully inspected to make sure they haven't been infected in some
way.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


Re: "CTRL + T" not working

2008-12-28 Thread Magnus Therning
On Fri, Dec 26, 2008 at 2:41 PM, Deephay  wrote:
> Greetings all,
>
>  Recently my CTRL + T is not working any more, so I cannot use this
> shortcut to open new tabs in apps like Firefox and gnome-terminal,
> does anyone having the same problem or any suggestions? Thanks a lot!

Do you run Gnome and have "locate mouse by pressing CTRL"?

In case you do, try turning off the locate feature and see if that solves it.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


Re: Remote signing of large files

2008-12-08 Thread Magnus Therning
Douglas A. Tutty wrote:
> On Sun, Dec 07, 2008 at 11:10:29AM +0000, Magnus Therning wrote:
>> Douglas A. Tutty wrote:
>>> On Thu, Dec 04, 2008 at 12:26:31PM +0000, Magnus Therning wrote:
>  
>>> I wonder about the latest comment on this thread.  Examine why you don't
>>> want the secret key on the build server and why you would feel more
>>> secure with the signing done on a separate server.
>> Well, the main reason is that there are _a_lot_ of people with direct
>> access to the build server.  The idea is to find a way to limit people's
>> _direct_ access to the server with the keys.  I know there are problems,
>> but hopefully it doesn't require too much work to at least achieve some
>> traceability in such a setup.
> 
> However, if people you don't totally trust have access to the build
> server, couldn't they fitz the packages before they're signed?  

Of course they could, but the main reason for splitting things up is to
avoid people having direct access to the keys.

> Don't the keys have a passphrase option?  Then, when you are ready to
> sign the packages, you'd have to enter the passphrase.

Yes, but that would remove the "automatic" in "automatic build system" :-(

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: Remote signing of large files

2008-12-07 Thread Magnus Therning
Douglas A. Tutty wrote:
> On Thu, Dec 04, 2008 at 12:26:31PM +0000, Magnus Therning wrote:
>> At work I want to add signing to our automatic build system.  In
>> theory it's a simple application of `gpg` at the end of building to
>> get a detached signature would do, but I'm weary of sticking the
>> secret key on the build servers.  I'd feel a bit more safe if the
>> signing could be done on a separate server.  However, the built files
>> are large and I don't want to introduce a bottle neck by transfering
>> all files back and forth over the network.
>>
>> So, my idea was to somehow separate the two steps that GnuPG performs
>> under the hood when signing, creating the message digest (hash) and
>> the signing of this message digest.  I've found `--print-md` which
>> looks promising, but there doesn't seem to be any `--sign-md`.
>  
> If mountain won't come to you, go to the mountain.
> 
> If you don't want to store the secret key on the build server and you
> don't want to copy the files over the network to a trusted server, can
> you access the secret key over the network and do the gpg stuff on the
> build server?  I.e. pipe the secret key through ssh?

Ah, yes that's a good idea, I'll have to explore that option.

> I wonder about the latest comment on this thread.  Examine why you don't
> want the secret key on the build server and why you would feel more
> secure with the signing done on a separate server.

Well, the main reason is that there are _a_lot_ of people with direct
access to the build server.  The idea is to find a way to limit people's
_direct_ access to the server with the keys.  I know there are problems,
but hopefully it doesn't require too much work to at least achieve some
traceability in such a setup.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: Remote signing of large files

2008-12-06 Thread Magnus Therning
Boyd Stephen Smith Jr. wrote:
> Please don't CC me on replies, unless I request one.  It is against debian-* 
> list policy.

Sure, and ditto!

> On Friday 2008 December 05 15:49, you wrote:
>> Boyd Stephen Smith Jr. wrote:
>>> On Thursday 04 December 2008, "Magnus Therning" <[EMAIL PROTECTED]>
>>> wrote
>>> about 'Remote signing of large files':
>>>> So, my idea was to somehow separate the two steps that GnuPG performs
>>>> under the hood when signing, creating the message digest (hash) and
>>>> the signing of this message digest.  I've found `--print-md` which
>>>> looks promising, but there doesn't seem to be any `--sign-md`.
>>> A detached signature is, mathematically, the message digest run thorough
>>> the encrypt() function.  [Encrypting with the private key allows anyone
>>> with the public key to decrypt to the digest "plaintext" which they can
>>> compare to a locally calculated message digest, thus verifying the
>>> signature.  They can also be assured that the signature is from the owner
>>> of the private key, or that the private key has been compromised.]
>>>
>>> So, you might try --encrypt'ing the output of --print-md.
>> AFAIU it wouldn't work:
>>
>> 1. Encrypting is actually using a symmetric algorithm for the bulk of
>> the data and asymmetric crypto is only used to encrypt the symmetric
>> key.  In any case I don't think I can get `--encrypt` to use the private
>> key.
> 
> That's only true in active protocols with a handshake, e.g. SSL or TLS.  The 
> only reason active protocols do this is because symmetric ciphers are 
> generally faster.
> 
> For "offline" encryption, using an asymmetric keys directly works fine.  If 
> you encrypt something with gpg it uses the public key of the chosen recipient 
> or their public subkey designated for encryption.

Please refer to section 2.1 of RFC2440 and you'll see the GnuPG indeed
does use a "session key" for symmetric encryption which is encrypted
with the public key and sent with the message.  I imagine this helps a
lot when encrypting the same message for more than one recipient.

>> 2. AFAIU signing always signs a message digest, no matter what type of
>> data I stick in.  So signing the output of `--print-md` wouldn't do
>> since verification would require a manual step.
> 
> Um, sort of.  sign(data, privkey) == encrypt(digest(data), privkey), by 
> definition.  So, you should be able to take the output of --print-md, 
> then --encrypt it, specifying your private key.  It's a bit more complex then 
> that, because of data encoding issues, but it should be possible with the 
> command-line tools.  If not, it's definitely possible with some custom C 
> code -- I forget what the C binding for gpg are called, but you'll probably 
> need that and libgcrypt.

I don't see how I can do that using the command line options.

I don't see how I can get `--encrypt` to use the private key, and even
if I could then we get back to the problem with gpg encrypting using a
symmetric cipher as per the RFC.

The only way I can see of getting encryption with the private key is by
using `--sign` and that will _always_ sign a hash of the file and that
won't do since I then can't use _only_ gpg to verify the signature.

Sure, i can always resort to modify gpg or write a custom tool that
combines crypto primitives in a way that solves the problem I have.  In
this case that's not an option though, due to other requirements
(backwards compatibility, etc) requires that I use only a standard,
non-modified GnuPG.

Cheers,
M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: Remote signing of large files

2008-12-06 Thread Magnus Therning
Osamu Aoki wrote:
> On Thu, Dec 04, 2008 at 12:26:31PM +0000, Magnus Therning wrote:
>> At work I want to add signing to our automatic build system.  In
>> theory it's a simple application of `gpg` at the end of building to
>> get a detached signature would do, but I'm weary of sticking the
>> secret key on the build servers.  I'd feel a bit more safe if the
>> signing could be done on a separate server.  However, the built files
>> are large and I don't want to introduce a bottle neck by transfering
>> all files back and forth over the network.
> 
> Are you sigining each file or signing like what we do at Debian.
> 
> If you install devscripts package, there is "debsign" to sign *.dsc
> properly while creating right *.changes
> 
> Thisallow us to sign package build on remote machine safely.

I need to sign each file.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: Remote signing of large files

2008-12-05 Thread Magnus Therning
Boyd Stephen Smith Jr. wrote:
> On Thursday 04 December 2008, "Magnus Therning" <[EMAIL PROTECTED]> wrote 
> about 'Remote signing of large files':
>> I'd feel a bit more safe if the
>> signing could be done on a separate server.  However, the built files
>> are large and I don't want to introduce a bottle neck by transfering
>> all files back and forth over the network.
> 
> In any case, you'd only have to send big files in one direction, the 
> detached signatures should be relatively small.

True, but with large files it still is too much time spent sending files
over the network.

>> So, my idea was to somehow separate the two steps that GnuPG performs
>> under the hood when signing, creating the message digest (hash) and
>> the signing of this message digest.  I've found `--print-md` which
>> looks promising, but there doesn't seem to be any `--sign-md`.
> 
> A detached signature is, mathematically, the message digest run thorough 
> the encrypt() function.  [Encrypting with the private key allows anyone 
> with the public key to decrypt to the digest "plaintext" which they can 
> compare to a locally calculated message digest, thus verifying the 
> signature.  They can also be assured that the signature is from the owner 
> of the private key, or that the private key has been compromised.]
> 
> So, you might try --encrypt'ing the output of --print-md.

AFAIU it wouldn't work:

1. Encrypting is actually using a symmetric algorithm for the bulk of
the data and asymmetric crypto is only used to encrypt the symmetric
key.  In any case I don't think I can get `--encrypt` to use the private
key.

2. AFAIU signing always signs a message digest, no matter what type of
data I stick in.  So signing the output of `--print-md` wouldn't do
since verification would require a manual step.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: Remote signing of large files

2008-12-04 Thread Magnus Therning
On Thu, Dec 4, 2008 at 12:30 PM, Thomas Karpiniec <[EMAIL PROTECTED]> wrote:
> Hi Magnus,
>
> Magnus Therning wrote:
>> At work I want to add signing to our automatic build system.  In
>> theory it's a simple application of `gpg` at the end of building to
>> get a detached signature would do, but I'm weary of sticking the
>> secret key on the build servers.  I'd feel a bit more safe if the
>> signing could be done on a separate server.  However, the built files
>> are large and I don't want to introduce a bottle neck by transfering
>> all files back and forth over the network.
>
> Would it be sufficiently secure to take an SHA1SUM or similar hash of
> the file on the remote side and sign that?
>
> Obviously that's not quite the same thing, but it would be a good deal
> faster and might meet your needs.

It would be sufficiently secure, but unfortunately we've been doing
manual signing for a while.  Other tools we have depend on the
signature being what gpg spits out when being fed the file rather than
a hash of the file.  Of course we could rewrite those tools, but
there's an issue of backwards compatability so it will turn it into a
harder sale.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


Remote signing of large files

2008-12-04 Thread Magnus Therning
At work I want to add signing to our automatic build system.  In
theory it's a simple application of `gpg` at the end of building to
get a detached signature would do, but I'm weary of sticking the
secret key on the build servers.  I'd feel a bit more safe if the
signing could be done on a separate server.  However, the built files
are large and I don't want to introduce a bottle neck by transfering
all files back and forth over the network.

So, my idea was to somehow separate the two steps that GnuPG performs
under the hood when signing, creating the message digest (hash) and
the signing of this message digest.  I've found `--print-md` which
looks promising, but there doesn't seem to be any `--sign-md`.

Any help and suggestions are welcome!

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


Re: framemaker replacement ?

2008-11-29 Thread Magnus Therning
Hendrik Boom wrote:
> I have  friend who's interested in trying out free software.  Her 
> immediate request is for something to replace Framemaker.  It seems she's 
> involved in the use of Framemaker to make "books" for salesmen.
> 
> I have little more information about her application at present, but I 
> expect to speak to her in detail in the near future, and it would help 
> immensely to have a bit of familiarity with what's available.  Pointers 
> to reviews, names of packages, etc., most welcome.
> 
> So. what Linux tools (or, if need be, free tools that also work on 
> Windows) are available that have a chance of accomplishing what 
> Framemaker does?
> 
> Myself, I hand-code HTML in emacs when I want to create a document.  Or 
> write a custom C program to generate postscript code.  But I think she's 
> enough of an end-user that she'd appreciate this method.  In any case, 
> the salesmen wouldn't.

My initial response to this would have been that there is nothing free
that comes close to FrameMaker and I was about to suggest that she
simply uses the Linux port of it.  After a little searching it turns out
my information is woefully outdated, the Linux port has been dead since
2000 :-)

Anyway, I also stumbled across this article on replacing FrameMaker with
OO.o[1].  It's from 2004 so I can only hope that recent developments
have made it an even better candidate.

/M

[1]: http://www.linux.com/articles/39406

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


Re: using the clipboard

2008-11-27 Thread Magnus Therning
On Thu, Nov 27, 2008 at 2:41 PM, Rick Pasotto <[EMAIL PROTECTED]> wrote:
> I have a text file of about 100 lines (more than will display on one
> screen of less or vi). How can I get the entire file into the clipboard
> so I can then do a single paste to get it into a web text box? I know I
> can do it in sections but pasting uses the scroll wheel and the scroll
> wheel wants to scroll so the text frequently ends up getting inserted in
> the wrong place.
>
> Things work fine in the other direction since a browser window will
> scroll automatically when the mouse pointer reaches the bottom or top of
> the window.

You can use the tool xclip to read the contents of a file to the clipboard.

Many x-terminal scrolls and have configurable scrollback size so if
you're using one of those then you can most likely adjust the settings
so that the whole file fits.

You can also open the file in vim (or gvim) and copy to the clipboard.
 If you want the whole file then jump to the top (gg) then copy
everything to the '+' register ("+yG).  I'm sure you can use emacs in
some way to do the same, but you'll have to ask someone else about
that :)

I hope that helps.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


Re: Colored less

2008-11-24 Thread Magnus Therning
On Mon, Nov 24, 2008 at 2:00 PM, Rob Gom <[EMAIL PROTECTED]> wrote:
>>
>> Switch to using view (basically a read-only vim) :)
>>
>> /M
>>
> Thanks for the suggestion. Invoking vim would trigger reading whole
> file to memory. I expected the same for view, but for 1,5GB it started
> very fast.
> However I don't see two things:
> 1. Automatic file update (when it's changed).

I'm not sure exactly how it can be done automatically.  I didn't even
know less could.  Anyway, the command in vim to reread the open file
is ':e!'.

> 2. Easy way to colorify lines based on regexp.

You'll probably have to read up on how to add colour to vim.  I'm sure
your favourite search engine can help you out:
http://letmegooglethatforyou.com/?q=vim+coloring :-)

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


Re: Colored less

2008-11-24 Thread Magnus Therning
On Mon, Nov 24, 2008 at 1:14 PM, Rob Gom <[EMAIL PROTECTED]> wrote:
> Hi,
> do you know any colored less version? I often browse logs (not Linux
> system logs). I use less for that and it works fine. However it is
> single colored. I know that less has ANSI sequences support, but for
> that I would have to change program output (which is not possible).
> The only solution which I see is run sed producing ANSI sequences as
> LESSPIPE. Do you know any other solution?
> In other words: I have text file. It can be big (few GB). I want to
> browse it. I would like to color every line, for example containing
> ERROR as RED, containing WARNING as YELLOW, containing \[RG\].*debug
> as GRAY ... I would like to define coloring rules. The viewer can be
> text-based (like less) or for any XWindow system.
>
> I would appreciate any comments on that.

Switch to using view (basically a read-only vim) :)

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


Re: A lot of help needed with the automake process

2008-11-22 Thread Magnus Therning
Raven wrote:
> Hi all.
> I recently coded a small GNOME applet and before sharing it with a few
> friends I wanted to make it "noob-proof" :)
> 
> Basically I wanted to create the usual "configure" and Makefile scripts so
> that I can give my buddies the 3 simple commands to install the applet.
> After reading several (at least 5) different online tutorials, I'm afraid
> I can't figure out how to create those scripts.
> This is the current situation:
> 
> * There is only one source file (myapplet.c) in /src
> * I have two folders, /pixmaps e /conf, that contain some graphics for the
> applet and the initial configuration file
> * In the folder root I also have the .server file needed by Bonobo
> 
> and this is what I want to accomplish:
> 
> * The compiled binary has to end up in /usr/lib/gnome-applets/
> * The graphics (icons and a logo) have to be copied in
> /usr/share/pixmaps/myapplet
> * The configuration file has to be copied in ~/.myapplet/myapplet.conf *
> The .server file has to be copied in in /usr/lib/bonobo/servers/
> 
> The configure script should also check for dependencies such as gtk+,
> glibc and libxml2.
> 
> I know it's quite the task but is there somebody willing to walk me
> through the whole process to create the install scripts?
> I now feel I am the real "noob" :(

Automake and autoconf can be very overwhelming.  I think the best way to
learn is to look at how other use it.  So, have you looked at the
autoconf/automake setup used in the Gnome project itself?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts



signature.asc
Description: OpenPGP digital signature


OT: validate docbook xml with target.database.document

2008-10-24 Thread Magnus Therning
I've been thrown in the deep end of the docbook pool and I'm curently
trying to figure things out.  I know this isn't the best place to ask
these types of questions, but hopefully you'll be forgiving.

Building the documents is done using xsltproc and passing
"--stringparam target.database.document XXX" so that olinks work.
That works just fine.  However, I like to validate the DocBook I write
regularly and I do that from inside vim by passing the current buffer
to "xmllint --validate --noout".  That reports errors on all olinks,
so I was looking for a way to pass the target.database.document string
to xmllint, but I've found no way of doing that :-(  Is there a way I
can get xmllint to handle olinks properly?

I'm in no way partial to using xmllint for validation, I'll be happy
to switch validation tool if it means I can get away from the growing
number of errors that are due to correct olinks in my documents.

Any help is appreciated.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


Re: Sleek and slim Gnome?

2008-10-22 Thread Magnus Therning
On Wed, Oct 22, 2008 at 1:28 PM, John Hasler <[EMAIL PROTECTED]> wrote:
> Eduardo M Kalinowski writes:
>> Look for some package like gnome-minimal, gnome-core, etc., that installs
>> only the minimal requirements, then install other parts as necessary.
>
> You can do that if you want to, but it isn't necessary.  Just install the
> packages you need.  The package management system will take care of the
> dependencies.

If you want those kind of minimal packages they are easy to create,
especially if you base your work on the existing Gnome meta-packages.

I used to do that during that brief period when 'gnome' depended on tomboy.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


Re: how to separate Debian list emails from my other emails ...

2008-10-21 Thread Magnus Therning
On Tue, Oct 21, 2008 at 4:09 PM, David Bernier <[EMAIL PROTECTED]> wrote:
> Dear Debian users,
>
> I use the Icedove mail-client for my email.  Icedove works like Thunderbird.
> I continue my subscription so that I can send mail to the list.
>
> With the high volume on this list, it's necessary for me to sift through
> lots
> of headers to separate the List messages from my other email.
>
> I think the List messages also  go to Usenet.  Any help with ideas
> in managing all these emails (List + others) would be appreciated.

I use the mailing list header to filter emails.  I think
Icedove/Thunderbird can do filtering on it's own, otherwise there are
numerous external mail filters (e.g. procmail).

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


Using Debian's debug symbols for debugging

2008-09-24 Thread Magnus Therning
Hi all!

I've installed e2fslibs-dbg (together with e2fslibs-dev and other
e2fs-related packages) in order to be able to debug a program I'm
writing which uses libext2fs.  Now I'm confused because debugging isn't
possible due to lacking source files.

When I tell my debugger (cgdb) to step into ext2fs_open() I'm greeted
with the following message:

ext2fs_open (name=0x7f7b58e8 "/dev/mapper/tatooine-home", flags=0,
superblock=0, blo
ck_size=0, manager=0x7f54f7598380, ret_fs=0x7f7b4cf0) at
/build/buildd/e2fsprogs-1.4
1.1/lib/ext2fs/openfs.c:64
64  /build/buildd/e2fsprogs-1.41.1/lib/ext2fs/openfs.c: No such file
or directory.
in /build/buildd/e2fsprogs-1.41.1/lib/ext2fs/openfs.c

Not quite what I had hoped for.

Is this really what -dbg packages are supposed to do?
Is there anything I can do to get debugging working, bar rebuilding the
package myself?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts




signature.asc
Description: OpenPGP digital signature


Re: GDM and pam_mount?

2008-09-23 Thread Magnus Therning
On Tue, Sep 23, 2008 at 8:29 AM, Paulo Silva <[EMAIL PROTECTED]> wrote:
> Seg, 2008-09-22 às 21:18 +0100, Magnus Therning escreveu:
>> I've configured pam_mount to automatically mount a file containing a
>> LUKS encrypted filesystem.  I seem to have followed the instructions
>> successfully because when I log in on the console the filesystem is
>> mounted in the expected location.  However, I can't get gdm to mount the
>> filesystem on login.  Is there something I need to do beyond sticking
>> '@include common-pammount' in /etc/pam.d/gdm (after both common-auth and
>> common-session)?
>
> Depending on your pam configuration that might not be the correct order
> to place the pammount include. Before logging in the console did you do
> the same for etc/pam.d/login?

It seems I was a little too quick with sending my question to the
list.  After a reboot it all worked when logging in from GDM as well.
It might have been enough to just restart GDM, I'm not sure.  Anyway,
problem solved.  Sorry for wasting your time.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


GDM and pam_mount?

2008-09-22 Thread Magnus Therning
I've configured pam_mount to automatically mount a file containing a
LUKS encrypted filesystem.  I seem to have followed the instructions
successfully because when I log in on the console the filesystem is
mounted in the expected location.  However, I can't get gdm to mount the
filesystem on login.  Is there something I need to do beyond sticking
'@include common-pammount' in /etc/pam.d/gdm (after both common-auth and
common-session)?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts




signature.asc
Description: OpenPGP digital signature


Re: Does anyone know how to find "File Manager" ?

2008-09-17 Thread Magnus Therning
On Wed, Sep 17, 2008 at 9:05 AM, Nicholas Syrotiuk
<[EMAIL PROTECTED]> wrote:
> Victor,
> If you're using Gnome, try Applications >> System tools >> File browser.

Additionally you can go in to System>>Preferences>>Keyboard Shortcuts
and find out what shortcut Home Folder is bound to.  Pressing that
will bring up the file manager (aka Nautilus) pointing to your $HOME.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe


Re: OT: Pondering sudo

2008-09-08 Thread Magnus Therning
Chris Davies wrote:
> Magnus Therning <[EMAIL PROTECTED]> wrote:
>> I've been trying to find out what the difference is between the
>> following three
>
>> % sudo su -
>
> Use your password to authenticate to sudo, then use su to change to the
> root user with root's environment as if it were a login session
>
>> % sudo -i
>
> Use your password to authenticate to sudo, then change to the root user
> with root's environment as if it were a login session
>
>> % sudo -s
>
> Use your password to authenticate to sudo, then fire up a shell. Do not
> instantiate root's environment. Do not start a new login session

Thanks!


/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts




signature.asc
Description: OpenPGP digital signature


OT: Pondering sudo

2008-09-08 Thread Magnus Therning
I've been trying to find out what the difference is between the following three

 % sudo su -

 % sudo -i

 % sudo -s

Anyone who can explain it to me?

/M


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: copy contacts in pidgin

2008-09-05 Thread Magnus Therning
On Fri, Sep 5, 2008 at 9:03 AM, Daniel Dalton <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How can I copy my contacts from my old msn account to my new msn
> account? Instead of doing each one manually?

AFAIK MSN keeps the authoratitive list of contacts on the server, so
any local changes to config files (IIRC located in ~/.purple) are
likely to be for naught.  Though it might still not hurt to try.

A route that is likely to work is scripted adding of contacts,
personally I'd look into the abilities of pymsn (the debian package
name is python-msn) to see if it can be used.

/M


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Wiki

2008-08-03 Thread Magnus Therning
sadeq zabihi wrote:
> Hello Dear
>  
> I am tring to install a wiki software on Debian (server) on my network.
> But I dont know which wiki software is better for my project (it is
> not a big project) and how i can install it on debian server.
> It it is possible for you please help me about both (wiki software and
> Debian)
>  
> best Regards.
> Sadeq Zabihi
> Herat - Afghanistan
>
>

It might be worth having a look at trac, it's a combination of wiki, VCS
web interface, and issue tracker.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts




signature.asc
Description: OpenPGP digital signature


Re: Hibernate/suspend works without quirks, but not with Gnome

2008-07-06 Thread Magnus Therning
Michael Biebl wrote:
> Magnus Therning wrote:
>> I have a desktop system that is fully capable of hibernating and
>> suspending.  Both
>>
>>  % pm-hibernate
>>
>> and
>>
>>  % pm-suspend
>>
>> work beautifully.  I don't need to supply any further command line
>> options.  Resuming is also no problems.  Despite this
>> gnome-power-manager refuses to let me hibernate/suspend using the
>> shutdown dialogue.  Confusingly the message written to /var/log/messages
>> on an attempt to hibernate is:
>>
>>  Jun 30 22:11:55 tatooine gnome-power-manager: (magnus) Resuming
>> computer
>>  Jun 30 22:11:55 tatooine gnome-power-manager: (magnus) hibernate failed
>>
>> I'm not really sure how to get this working from Gnome.  The quirks
>> pages don't seem to handle this situation...
>>
>
> What does /var/log/pm-suspend.log say, when you call suspend/hibernate
> via g-p-m?
> Is your user in group powerdev?
> Is your machine listed in hal-info to require quirks (lshal | grep
> quirk)?
> What graphic adapter / graphics driver / kernel version do you use?

Adding myself to the powerdev group seems to have done the trick. 
Thanks for the help!

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts




signature.asc
Description: OpenPGP digital signature


Hibernate/suspend works without quirks, but not with Gnome

2008-06-30 Thread Magnus Therning
I have a desktop system that is fully capable of hibernating and
suspending.  Both

 % pm-hibernate

and

 % pm-suspend

work beautifully.  I don't need to supply any further command line
options.  Resuming is also no problems.  Despite this
gnome-power-manager refuses to let me hibernate/suspend using the
shutdown dialogue.  Confusingly the message written to /var/log/messages
on an attempt to hibernate is:

 Jun 30 22:11:55 tatooine gnome-power-manager: (magnus) Resuming computer
 Jun 30 22:11:55 tatooine gnome-power-manager: (magnus) hibernate failed

I'm not really sure how to get this working from Gnome.  The quirks
pages don't seem to handle this situation...

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts




signature.asc
Description: OpenPGP digital signature


Re: Which 64 bit cpu assembler to use ?

2008-06-25 Thread Magnus Therning
Star Liu wrote:
> I'm very happy to find more answers here, so i try to discuss it more :)

As was mentioned earlier in the thread, this isn't a very good place to
discuss this.  AFAIK know the debian-mentors list is a place for people
who want to learn about _contributing_to_ Debian, it isn't a place to
discuss _developing_on_ Debian.

> first, i think maybe it's necessory for me to post this topic here,
> for i'm a newbie, have few knowledge on linux, so i heavily depend on
> the debian system. if i ask questions at other places, they may not
> use debian, then their solution may not apply for me, or hard to apply
> for my poor knowledge.

Please consider using debian-user for your future Debian-related questions.

> i made some thinking on nasm, yasm and gas, finally i think it's a
> very bad thing for nasm and yasm to come out, for they don't provide
> much more improvement for gas, just some non-important syntax change,
> so i choose gas as my assembler, and it's very convinient to
> programming x86_64 assembly by gas and gcc.
> i think it's necessory for a real software developer to know assembly
> in order to know clearly about how software works, i have been a
> microsoft platform software developer for years, and tired to be a
> slave of ms, so i jump to assembly now. :)

Personally I don't consider intimate knowledge of assembly language
extremely important in order to be a good programmer.  It does aid in
understanding how a computer works, on a very basic level, but I'm not
sure I'd suggest anyone do that on a CPU used in a modern desktop
computer.  I'd pick an older and (arguably) simpler CPU, something like
an m68k or maybe a mips.  I have to admit I don't know what AMD64
assembly is like though.

> thanks for your suggestions, hope i will get more help here next time
> i encounter difficulties. :)
>
> On Sun, Jun 22, 2008 at 12:51 PM, Jack T Mudge III
> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
> On Saturday 21 June 2008 09:14:31 pm Star Liu wrote:
> > Greetings!
> > I'm a newbie in assembly language programming, for I worked as a C#
> > programmer on microsoft platform in the past years, but now I
> want to
> > know clearly how operating system and softwares are executed, so
> I begin
> > to learn assembly language programming, I have learned some 32
> bit asm
> > coding, and want to move to 64 bit coding. Is there any good
> toturial to
> > follow? and which assembler should I use? (I have a amd64 etch
> installed
> > for this task) Thanks!
>
> This is a bit off-topic for this board -- this board is for debian
> package
> sponsorship, and discussion related to maintaining debian packages.
>
> http://linuxquestions.org has a forum about programming. Maybe ask
> there for
> anything else you want to know (instead of being off-topic here)
>
> However, I'll give you a couple pointers to get you started:
> - nasm and yasm seem to be the assemblers available in Debian
> right now.
> - get an emulator (I use Bochs), you won't have to reboot and
> you'll be able
> to use a debugger.
> - Look up http://www.linuxassembly.org/ (assembly programming in
> linux) and
> http://www.osdever.net/ (all about writing operating systems)
>
> - Jack Mudge
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
>
>
> -- 
> -
> Buddha Debian GNU/Linux
> MSN/aMSN: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> - 


-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
 -- PaulPotts




signature.asc
Description: OpenPGP digital signature


Postfix and smtp auth

2008-06-19 Thread Magnus Therning
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

To send email at work I have to go through an exchange server.  It
requires authentication to send emails externally, but doesn't require
it when sending internally.  My current configuration for postfix
doesn't enforce successful authentication it seems, so if I change my
system (ActiveDirectory) password and forget to update my password map
for postfix then the result is that internal emails are sent fine and
external emails result in a mail-undeliverable message.  It would be
better if postfix would hold on to the emails if authentication fails.
 Is it possible to configure postfix in that way?

The relevant part of my current config is:

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd
smtp_sasl_security_options = noanonymous

/M
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhaNMcACgkQiMWTaatN+6SXSwCfQNCqaaW5Zj1poR1t5x5IxrJ+
b6MAoIsDq2qa73fKzP1AXrLsOB5c0l0+
=mFer
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debian sid & gnome

2008-06-11 Thread Magnus Therning
Dietrich Bollmann wrote:
> Hi,
>
> Since weeks I can't update debian sid as apt-get always wants to remove
> gnome:
>
> apt-get dist-upgrade
> [...]
> The following packages will be REMOVED:
> epiphany-extensions fast-user-switch-applet gnome
> gnome-desktop-environment gnome-system-tools k3b libavcodeccvs51
> libavdevicecvs52 libavformatcvs52 libavutilcvs49 liboobs-1-3
> libpostproccvs51 libswscalecvs0 libuim5 scim-uim
> [...]
>
> As I couldn't find any mails from other users about this problem, I
> finally wonder if there is something wrong with my system.
>
> Should I continue to wait for some more weeks until finally gnome can be
> updated again or is there some better way to proceed?
>
> Thanks, Dietrich

I usually solve this sort of problem using aptitude, checking the
dependencies of the packages suggested for removal has always revealed
the culprit.  Of course YMMV.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman




signature.asc
Description: OpenPGP digital signature


Re: Debian secure by default?

2008-05-17 Thread Magnus Therning
Rico Secada wrote:
> On Sat, 17 May 2008 06:42:57 +0530
> Raj Kiran Grandhi <[EMAIL PROTECTED]> wrote:
> 
>> Rico Secada wrote:
>>> Hi.
>>>
>>> Why is Debian not setup to be secure be default?
>>>
>>> Not everyone is a security expert so imho the system should be fully
>>> secured out-of-the-box.
>> Please elaborate on what you consider to be the insecure parts of a 
>> default installation. Describe a process by which an etch system can
>> be compromised remotely. Obviously, the ability to become root by
>> tweaking the boot parameters from the grub screen does not count as a
>> vulnerability.
>>
> 
> All I am saying is that it shouldn't be needed to harden anything.
> 
> http://www.debian.org/doc/manuals/securing-debian-howto/

Please consider the following about security

 1. it's about risk management, not everybody has the same opinion about
what security is worth, basically there is no one-size-fits-all when it
comes to security
 2. securing a system is a process, meaning that it's something ongoing
not something that one does once and then is done with
 3. often security and usability are opposed (but not always), it's
possible to argue that server packages (e.g. SSH or lighttpd) are
installed they shouldn't be enabled, after all it might be a mistake by
the administrator to install it and disabled-by-default is more secure
than the opposite

So, while considering this, what concrete things would you suggest is
done by default on a new Debian system?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: gpg trust paths

2008-05-15 Thread Magnus Therning
On Thu, May 15, 2008 at 12:17 AM, Richard Hector <[EMAIL PROTECTED]>
wrote:

> The wiki page for the recent OpenSSL vulnerability offers a perl script
> for checking keys, and a gpg signature for that script, and a key id for
> that signature (that of Florian Weimer)
>
> I can import the key as shown, and show that the script was indeed
> signed by that key.
>
> However, gpg warns me that it can't tell that that key indeed belongs to
> Florian Weimer.
>
> How can I fill in that gap, to properly verify the file?
>
> I have signed keys of several people who have been to keysigning parties
> at several debconfs, so I feel I should have a trust path to anybody of
> significance in the Debian community - though I could be proved wrong.
>
> I've also added the debian keyserver to my ~/.gnupg/options, as well as
> the keyring from the debian-keyring package.
>
> Is there a step I'm missing?


AFAIU you'd need to have all keys of the entire path locally in your keyring
in order for GPG to see a trusted path.  If you don't want to download all
the missing keys you could try a PGP pathfinder on the web (there are
several that are easily found).

/M


Re: Blocking Gmail ads

2008-05-15 Thread Magnus Therning
On Tue, May 13, 2008 at 11:03 PM, Jordi Gutiérrez Hermoso <[EMAIL PROTECTED]>
wrote:

> I'm getting a little tired of Gmail serving me Matlab ads whenever I'm
> browsing the Octave mailing lists. That's quite obnoxious. It looks
> like it's tricky to block Google ads, since it looks like Google can
> detect when you're using Adblock and serves you ads in 
> instead, making them harder to block.
>
> Can anyone suggest a fix? I only use Gmail for mailing lists nowadays,
> and have moved my personal email to a server in an undisclosed
> location in a remote island... ;-)
>
> I'd be happy with a solution that either blocks all Gmail ads or a
> better method to browse the 14 mailing lists I'm currently subscribed
> to, many of them high-volume. I'm beginning to miss Usenet.


I use a rather large /etc/hosts file to block ads.  The initial list of
servers to block came from http://www.ssmedia.com/utilities/hosts/ then I've
added the following to that:

0.0.0.0   a.casalemedia.com
0.0.0.0   a.tribalfusion.com
0.0.0.0   ads.eircom.net
0.0.0.0   adserver.securityfocus.com
0.0.0.0   adservices.google.com
0.0.0.0   adwords.google.com
0.0.0.0   b.casalemedia.com
0.0.0.0   c.casalemedia.com
0.0.0.0   dynamic.fmpub.net
0.0.0.0   imageads.googleadservices.com
0.0.0.0   imageads1.googleadservices.com
0.0.0.0   imageads2.googleadservices.com
0.0.0.0   imageads3.googleadservices.com
0.0.0.0   imageads4.googleadservices.com
0.0.0.0   imageads5.googleadservices.com
0.0.0.0   imageads6.googleadservices.com
0.0.0.0   imageads7.googleadservices.com
0.0.0.0   imageads8.googleadservices.com
0.0.0.0   imageads9.googleadservices.com
0.0.0.0   pagead.googlesyndication.com
0.0.0.0   pagead2.googlesyndication.com
0.0.0.0   show.googleadsenseagent.com
0.0.0.0   ssl.google-analytics.com
0.0.0.0   www.google-analytics.com
0.0.0.0   www.googleadservices.com
0.0.0.0   www.googlecaches.com

/M


Re: disassembling machine code

2008-03-20 Thread Magnus Therning
PETER EASTHOPE wrote:
> Folk,
> 
> I have these 5 bytes of machine code to 
> disassemble.
> 
> b8 12 00 cd 10
> 
> I've looked at gdb and objdump.  Appears they 
> need a complete object file.  Someone please 
> give a clue.

Find documentation for the specific processor and simply look it up!

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: microsoft vs opensource

2008-03-05 Thread Magnus Therning
On 3/5/08, steef <[EMAIL PROTECTED]> wrote:
>
> Paul Johnson wrote:
> >>  thanks david. i myself got the impression that 'the' big corporations
> >>  are often keeping busy themselves with legalized theft, backed up by
> >>  their respective governments.
> >>
> >
> > I thought that's what the idea of a corporation is by definition...
> >
> >
>
> yep. that is exactly how it is.


Yes, it often seems that way.  Of course it shouldn't be that way.  Don't
remember who said (probably paraphrased beyond recognition):

It isn't the goal of a company to make their customers pay them money, it's
the goal of a company to make their customers *want* to give them money.

/M


Re: how to get pulseaudio working?

2008-02-25 Thread Magnus Therning
On 2/23/08, Kelly Clowers <[EMAIL PROTECTED]> wrote:
>
> On Sat, Feb 23, 2008 at 1:00 AM, Bruno Boettcher
> <[EMAIL PROTECTED]> wrote:
> > Hello
> >
> >  am trying to get the replication of audio working, no success so far...
> >
> >  i read through the docu at the pulseaudio pages, which i can't really
> >  apply since i am running gnome, and as it seems gnome allready starts
> up
> >  a pulseaudio daemon
> >
> >  on the laptop i use for the tests, all seems fine, i also installed on
> >  all machines the pulseaudio device chooser.
> >
> >  on the laptop i can start up the volume control, the manager and all
> >  pulse related tools, but when i run audacious the sounds comes out very
> >  awfully means 10ms of music, then 1s pause repeated ..
> >  but this is maybe beacause of the laptop which isn't very powerful
> >
> >  so i tryed to make the laptop a slave of the server
> >
> >  but on the server i get an access denied when i try to start up most of
> >  the pulseaudio  utils, no access to the volume-manager , the manager
> >  shows only a completely empty record the configurator has all fields
> >  highlighted so server and cleint should be activated, and no auth
> >  needed
> >
> >  when i select the pulseaudio output on audacious, the sound vanishes
> >  completely
> >
> >  besides, on the server i see on the pulseaudio device chooser the
> >  laptop, as i do on the laptop itself, but on none i see the server
> >
> >  so i am quite at a loss on what to do, no error messages are displayed,
> >neither in messages, nor in any pulse-log i could find... no errors
> >in the .X* logs have no idea on how to diagnostice this thing and
> >get it running...
>
>
>
> Let's start with the laptop, and local PA only. If you want remote
> capability, we can look at that once we get local sound working.
>
> You say the laptop  isn't very powerful, but what exactly does that
> mean?
>
> What version of Debian are you using?
>
> Are you using the "perfect setup" docs?
> ( http://www.pulseaudio.org/wiki/PerfectSetup )


I've been somewhat curious about using pulse, but there have been several
emails on this list suggesting that it isn't as easy as just removing esound
and installing some pulseaudio* packages.  Something that I did a few months
ago on my Sid desktop boxes.  I haven't noticed any change after that; sound
just kept on working.

One thing that seems to be missing from most pages/posts are instructions to
see what the current setup really is.  After installing the pulseaudio*
packages I'm still no wiser as to whether I'm using them or not.  So, how do
I know what my current (working) audio setup actually is?

/M


Re: Multiple Java installed, how to switch?

2008-02-10 Thread Magnus Therning
Александър Л. Димитров wrote:
> Quoth Davide Mancusi:
>> Magnus Therning ha scritto:
>>> How do I make sure that all the java-related links in /etc/alternatives
>>> are sane?
>>>
>>> I installed icedtea, then purged it and installed sun-java5 and
>>> sun-java6.  Some links in /etc/alternatives are still pointing to the
>>> (now non-existing) tools that came with icedtea.  How do I easily switch
>>> them to all point to the tools of a specific java package?
>>  That's weird. Does the following help?
>> # update-alternatives --config java
>> You might want to try also
>> # update-alternatives --auto java
>> and have a look at the other link groups related to java (man  
>> update-alternatives).
> 
> There also is 'update-java-alternatives'. Should do the same thing...
> 
> # update-java-alternatives -l
> java-6-sun 63 /usr/lib/jvm/java-6-sun
> java-gcj 1042 /usr/lib/jvm/java-gcj
> # update-java-alternatives -s java-gcj  
> #
> 
> this should take care of your problem.

Indeed it does :-)  It was exactly the kind of thing I was looking for,
thanks!

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: Java Plugin for Iceweasel for AMD 64 bit Debian?

2008-02-10 Thread Magnus Therning
Amogh Hooshdar wrote:
> I have Debian installed on AMD 64 bit laptop. How can I install the
> java plugin for iceweasel?
> 
> I have heard that Sun has not released a Java plugin for AMD 64-bit.
> Is this true?
> 
> Is there any non-Sun plugin then?

Yes, it's true.  AFAIK the only solution at the moment is to install a
32-bit version of the java plugin.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Multiple Java installed, how to switch?

2008-02-10 Thread Magnus Therning
How do I make sure that all the java-related links in /etc/alternatives
are sane?

I installed icedtea, then purged it and installed sun-java5 and
sun-java6.  Some links in /etc/alternatives are still pointing to the
(now non-existing) tools that came with icedtea.  How do I easily switch
them to all point to the tools of a specific java package?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Printing GPG public key

2008-02-09 Thread Magnus Therning
Is there a tool that'd help me create a sheet full of the fingerprint of
my public key?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: USB HD permissions query

2008-02-04 Thread Magnus Therning
Brad Rogers wrote:
> Hello All,
> 
> I'm curious as to why, when I change the filesystem type to ext3 on a
> USB hard drive, I cannot write to the drive from normal user space,
> only root access is allowed.
> 
> Changing the filesystem back to VFAT allows the writes to proceed
> without problem.  A bit of investigating shows that as ext3 the drive
> gets mounted root/root, but as VFAT it gets mounted as
> /root.  So, that explains the read only status, but it does
> beg the question;  Why the difference in UID/GID when changing
> filesystems?

With ext3 on the USB HD you end up having to treat it just like a
“static HD”, i.e. you have to make sure that the permissions on the
directory allows your user to write.  In short, use chmod or chown :-)

VFAT doesn't have permissions in the Unix sense (in any sense really).
instead the permissions are set disk-wide at mount time.  You can
influence that through 'mount' options; -o uid=,gid=.  See
the “fat” portion of mount(8) for more details.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: saving streaming video to disk

2008-02-03 Thread Magnus Therning
Steve Kleene wrote:
> Our local public-access cable station posts most of its shows on the web as
> streaming video.  I can play these in Iceweasel, which calls the mplayer
> plugin.  While a show is playing, two identical processes are running, e.g.:
> 
> mplayer -wid 0x160192b -vf scale=320:-3 -osdlevel 1 -nojoystick \
>   -noconsolecontrols -cookies -softvol -slave -user-agent NSPlayer \
>   -nomouseinput -cache 512 
> http://70.61.148.132/WXOD/WCT%2016283.WMV?MSWMExt=.asf
> 
> I can also play the show just by pasting the last argument
> (http://70.61.148.132/WXOD/WCT%2016283.WMV?MSWMExt=.asf) into the browser URL
> window.
> 
> Is there a way I can download the whole video (as WMV or ASF) to my hard
> drive?  I messed with wget briefly without success.

It might be worth looking into the mplayer arguments named 'dumpfile'
and 'dumpstream'.  I remember having some success with streaming to file
using a command line like

  mplayer -noframedrop -dumpfile out.ra -dumpstream 'rtsp://'

Recently I've also been playing around with the streaming support in
VLC[1].  It support streaming to file through its 'sout' argument[2].

/M

[1]: http://www.videolan.org/
[2]: http://www.videolan.org/doc/streaming-howto/en/ch06.html#id297783

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: Building vmware workstation kernel module on 2.6.24 fails (sid)

2008-02-02 Thread Magnus Therning
Sven Joachim wrote:
> On 2008-02-02 19:34 +0100, Magnus Therning wrote:
> 
>> I didn't succeed with the vmware-any-any package.  'make-vmpkg -p
>> any-any -s -u 116 ' succeeded and I ended up with a
>> package named vmware-any-any-kernel-source containing the source.
>> However, when building the source with 'm-a a-i
>> vmware-any-any-kernel-source' failed with:
>>
>>  gcc-4.1: error trying to exec 'cc1plus': execvp: No such file or directory
> 
> Apparently the C++ compiler for gcc-4.1 is missing.
> 
>> How do I get past this?
> 
> Install the g++-4.1 package and retry.

Reading this I just realised that I wasn't paying attention to version
numbers at all.  I added /usr/lib/gcc/x86_64-linux-gnu/4.2 to $PATH and
re-ran m-a, which seems to have worked fine.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: Building vmware workstation kernel module on 2.6.24 fails (sid)

2008-02-02 Thread Magnus Therning
Peter Velichkov wrote:
> Just wrote a how-to about installing vmware player/workstation on debian
> unstable with default kernel 2.6.24
> http://blog.creonfx.com/linux/how-to-install-vmware-player-workstation-on-2624-kernel

I didn't succeed with the vmware-any-any package.  'make-vmpkg -p
any-any -s -u 116 ' succeeded and I ended up with a
package named vmware-any-any-kernel-source containing the source.
However, when building the source with 'm-a a-i
vmware-any-any-kernel-source' failed with:

 gcc-4.1: error trying to exec 'cc1plus': execvp: No such file or directory

How do I get past this?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Building vmware workstation kernel module on 2.6.24 fails (sid)

2008-02-01 Thread Magnus Therning
After a recent update of the kernel to 2.6.24 I fail in building the
kernel modules for vmware workstation.  I'm using 'make-vmpkg'.  It
fails with the following:

In file included from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/os.h:21,
 from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/block.c:12:
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/./include/compat_wait.h:60:
error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’
was here

I suspect it's caused by an earlier warning:

In file included from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/os.h:21,
 from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/block.c:12:
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/./include/compat_wait.h:37:5:
warning: "VMW_HAVE_EPOLL" is not defined

Any ideas on how to solve this?  (I suspect one way might be to somehow
make sure that VMW_HAVE_EPOLL is defined during the compilation, but how
do I succeed in doing that?)

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: How to send mails with attachments for each file in a directory ?

2008-01-31 Thread Magnus Therning
Jabka Atu wrote:
> Good day,..
> 
> 
> since i can't send find a fast way to send many pictures to Gmail /
> ISP mail (Quata limit for single mail).
> 
> I thought it will be fun to do it in one line :
> 
> find  *.jpg -exec uuencode  '{}' '{}' |  mail [EMAIL PROTECTED] \;   

I think you're using `find` wrong.  AFAIK find takes a directory first,
then some filter statements and lastly a “command”.  That means I'd
write the first part of the `find` portion like this:

  find . -name \*.jpg ...

But I'm not convinced `find` is the best thing to use in this case.  If
all files to be mailed are in the current directory I would personally
have used a `for` loop:

  for f in *.jpg; do uuencode $f $f | mail [EMAIL PROTECTED]; done

Just my 2p.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: format usb drive

2008-01-29 Thread Magnus Therning
BartlebyScrivener wrote:
[..]
> Can someone please tell me what command to use to elmininate any
> partitions on the usb drive and format it for moving files between
> Windows XP and Linux?

My experience is that Windows is a lot more particular about USB keys
than Linux is.  My suggestion would be to use your Windows box to format
the USB key to make sure it's readable by both systems.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: A GPG question

2008-01-28 Thread Magnus Therning
Dan H. wrote:
> Hello folks, 
> 
> this is not s strict Debian question but it is so small and easy that it's
> not worth subscribung to a GPG list for.
> 
> Q: How can I remove an email address from my GPG key? I'm changing jobs, so
> one of my three addresses won't be valid any more. Do I have to make a new
> key pair from scratch? If so, how can my "web of trust" (I don't have one so
> this is rather theoretical) be transferred from the old to the new key?

You can revoke identities from your key.  'gpg --edit ' and
then use 'revuid'.  Don't forget to save and upload to a keyserver your
modified key afterwards.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: Nice GUI/CLI Password Manager for Linux

2008-01-25 Thread Magnus Therning
On 1/25/08, Amit Uttamchandani <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
>
> Recently moved from Mac to Debian Linux. I am looking for a nice and
> powerful FLOSS password manager similar to "Keychain" on Mac OS X.
>
> I preferably would want a CLI tool...so I could remote login using SSH and
> look at some passwords that I have forgotten.
>
> Any ideas?


Shameless plug: keysafe - written by me, for me but it seems others have
found it useful.  It's in Debian Unstable only though.

Homepage: http://therning.org/magnus/computer/keysafe

/M


Re: how to resize lvm root partition

2008-01-24 Thread Magnus Therning
On 1/24/08, Stephane Durieux <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I would like to resize a lvm root partition but I don
> t know how
>
> I must umount that partition so as to resize and fsck
> it
>
> I could try with a live cd but how to mount that
> partition


This might offer some help: http://therning.org/magnus/archives/307

/M


Re: Wrong size on the screen

2008-01-21 Thread Magnus Therning
Karl Gustafsson wrote:
> Hi!
> I've got a little problem with the size configuration when I'm running
> Debian.
> The thing is that my dog bite the screen on my Macbook so I must use a
> external screen.
> But instead of getting a nice view of everything I get the configuration
> 1024x768 when the screen seems to be 1300x800 or something like that.
> So I don't get the hole picture.
> I've looking on the file /etc/X11/xorg.conf
> But I don't understand much about that file.

You probably have a line setting the virtual size of your display (check
the Display subsection for a line saying “Virtual something”), if you
comment that line out your virtual display should match your physical
(which is set using Modes, but doesn't have to be present since Xorg
does a good job of guessing).  See “man xorg.conf” for more info.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: bash history

2008-01-17 Thread Magnus Therning
On 1/17/08, Vincent Lefevre <[EMAIL PROTECTED]> wrote:
>
> On 2008-01-17 09:54:42 +0000, Magnus Therning wrote:
> > I'm a ZSH user, so do you have any pointers on how to do that?
>
> man zshoptions
>
> Look at all the options in the History section...


Of course that was /exactly/ what I was hoping to /not/ have to do :-)
Luckily there aren't more than 18 options relating to history, but of course
the one I wanted was the last on the list; SHARE_HISTORY.

/M


Re: bash history

2008-01-17 Thread Magnus Therning
Vincent Lefevre wrote:
> On 2008-01-16 18:38:08 -0500, Vikki Roemer wrote:
>> On Jan 16, 2008 6:25 PM, Adam Hardy <[EMAIL PROTECTED]> wrote:
>>> I use alot of console windows in X as well as having shells and
>>> ssh shells open sometimes for the same user. I notice that bash
>>> doesn't save every command immediately and loses the history from
>>> simultaneous bash sessions, when they are not the last session to
>>> close.
>>>
>>> Is that normal? Or is there some sort of caching that I can
>>> configure better?
>> Yes, it's normal.  I don't know if you can reconfigure it (hopefully).
> 
> This behavior doesn't seem to be configurable. But this is possible
> with zsh. :)

I'm a ZSH user, so do you have any pointers on how to do that?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: GUI programming

2008-01-17 Thread Magnus Therning
Jozef Peterka wrote:
> Hi there,
> just a short note: there are MANY popular toolkits, mostly qt(KDE),
> gtk(GNOME), wx, etc. etc. 
> But, you are probably asking about multiplatformness of those. So let
> see ... look at all the great mozilla software, they are writen with GTK
> + toolkit, and as you can now firefox, thunderbird etc. are well running
> both on linux, bsd(s) and windows - maybe gtk+ is what you are looking
> for...

AFAIK mozilla is written on top of /all/ those toolkits (QT, GTK,
Windows), with an insulating abstraction layer.  So that happens to be a
bad example.

IIRC wxwidgets basically is such an abstraction layer, which might make
it very suitable toolkit to use.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Compiz: Blacklisted PCIID '8086:29a2' found

2008-01-14 Thread Magnus Therning
I had shiny, bling on my desktop until a recent update of compiz-fusion
packages (I get them from
http://download.tuxfamily.org/shames/debian-sid/desktopfx/unstable/).

Now I'm greeted by the following when running compiz-manager:

  Checking for Xgl: not present.
  Blacklisted PCIID '8086:29a2' found
  aborting and using fallback: /usr/bin/metacity

I've done some searching online, but haven't found anything really
helpful.  Any ideas of how I can get my wobbly windows back again?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: What's your tools for C++ dev?

2008-01-08 Thread Magnus Therning
On 1/8/08, Michael Yang <[EMAIL PROTECTED]> wrote:
>
> Hi all:
>
> I'm starting the C++ Developer work on linux, no GUI app involved.
>
> Could you tell me what the tools you are working with?
>
> I'm trying with g++ and vim. Is there a package containing the help doc
> for the library API, like the MSDN on Windows.


Well, it all depends on what libraries/APIs you are programming against.
The OS's API is generally documented in manpages (manpages-dev).   Many
libraries are accompanied by *-doc packages letting you isntall the
documentation you need locally.  Some things (mostly tools in my experience)
is documented in info format (IIRC it's the official documentation format
for GNU packages) and if you search online you can usually find most of that
for perusing in a web browser too.

So, you might say it's a bit less organised in than in the Windows world,
but bear in mind that if you use non-Microsoft APIs you end up with a
similarly unstructured set of documentation.

/M


Re: VNC - I know, just not what I was expecting

2008-01-06 Thread Magnus Therning
Rodney D. Myers wrote:
> I can get SSH/VNC to work on my debian machine.
> 
> My question. How do I get the default screen to open up, or to get
> something other than the 'blank' screen with a shell open.

IIRC, you can stick a call to gnome-session in your ~/.vnc/startup to
get a GNOME desktop in VNC.  This page seems to back me up
http://www.linuxforums.org/forum/linux-tutorials-howtos-reference-material/971-installing-running-vnc-redhat-rpm-linux.html

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: Any good todo manager?

2008-01-03 Thread Magnus Therning
On 1/3/08, Allan Wind <[EMAIL PROTECTED]> wrote:
>
> You may get answers or better ones if you shared with us what "good"
> means to you:
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> I use vim with todo.txt file for personal tasks, and enable folding for
> this file so I only see the top-level tasks by default.


An excellent extension for vim is vimoutliner (packaged in
vim-vimoutliner).  It adds quite a bit over a simple text file with folding,
without getting in your way.  That's my tuppence anyway ;)

/M


OT: iPod Touch and Linux?

2007-12-16 Thread Magnus Therning
My wife won an iPod Touch on a raffle last Friday.  After playing with
it for a while I've almost given up on the idea of keeping it.  A lot of
 surfing and experimenting later I've found the following:

* libgpod (which is used by both gtkpod and amarok) in Debian Sid only
has read-only support for the iPod Touch (requires a jailbreak and
installing SSH, which I've done).  That seems to mean that iTunes is the
only way of syncing music and audiocasts onto it.  Ouch.

* It doesn't have a flash decoder.  All it offers is a H.264 decoder.
This means that most videos on the web can't be watched.  I've failed to
find details on how to convert flash (and other format) videos to
something that the iPod Touch could play.  So even if I find a way of
sticking videos on it I still can't play them :(

Does anyone have any pointers on these issues.  Or is the only option
left to me to put it for sale on ebay and buy a Nokia N800 for the money?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: Compile boinc for amd64

2007-12-14 Thread Magnus Therning
On Dec 13, 2007 8:58 PM, Fabio <[EMAIL PROTECTED]> wrote:
> Magnus Therning wrote:
> > Fabio wrote:
> >> Someone of you have ever compile this package? do you think that is
> >> possible to increase the power of boinc?
> >> there is some guide and so on that you can suggest me?
> >
> > Any particular reason why you want to compile it yourself rather than
> > just install it from the Debian repos?  It's been available in Sid for a
> > while already.
> >
> > /M
>
> maybe the idea was to have a good performance link with my processor..to
> optimize it..i've read some posts about in in the web..compiling the
> client sometimes give you more power..is it true? or is it only a legend?
> thanks

Fair enough, but then it might be worth looking at the source package
and modify the rules to optimise it for your system.

/M


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Compile boinc for amd64

2007-12-13 Thread Magnus Therning
Fabio wrote:
> Someone of you have ever compile this package? do you think that is
> possible to increase the power of boinc?
> there is some guide and so on that you can suggest me?

Any particular reason why you want to compile it yourself rather than
just install it from the Debian repos?  It's been available in Sid for a
while already.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Which package to use to unlock Gnome keyring?

2007-11-10 Thread Magnus Therning
There are two packages providing PAM modules for my Gnome keyring,
libpam-gnome-keyring and libpam-keyring.  Which one should I use?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus


signature.asc
Description: Digital signature


Re: Strange X problem--right mouse kills X

2007-10-25 Thread Magnus Therning
On Wed, Oct 24, 2007 at 10:59:12 -0700, javi78 wrote:
>
>Today after upgrade my debian Sid, many keys of my keyboard didn't work
>properly. For example, Alt-Gr key had the enter function, when I pushed
>"up" direction key the Ksnapshot was launched, etc.  Then I saw in this
>forum that the package xserver-xorg-input-evdev could have a problem
>with other modules related to xorg. To remove xserver-xorg-input-evdev
>with apt-get remove xserver-xorg-input-evdev solved my problem.
>Thank you very much for your help.

It turns out the easier solution is to get rid of
/usr/share/hal/fdi/policy/10osvendor/10-xx-input.fdi.  It caused evdev
to be used in X.

It seems my latest update (in Sid) has removed the file from that
location.  Things are now back to normal again :-)

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus


signature.asc
Description: Digital signature


Re: Strange X problem--right mouse kills X

2007-10-23 Thread Magnus Therning
On Tue, Oct 23, 2007 at 11:38:19 +0200, Florian Kulzer wrote:
>On Tue, Oct 23, 2007 at 09:41:08 +0100, Magnus Therning wrote:
>> After updating my Sid system yesterday I've noticed a rather funky
>> thing--X dies when I use my right mouse button.
>> 
>> Are other people noticing the same thing?
>
>I found that non-US keyboard layouts were no longer working after this
>morning's upgrade. It seems that the combination of the newest version
>of hal (0.5.10-1) with xserver-xorg-input-evdev (1:1.2.0~git20070819-3)
>causes some problems with xorg input devices.
>
>In my case I found that either downgrading hal (and hal-info) or
>uninstalling xserver-xorg-input-evdev fixes the problem.
>
>You could try if one of these actions helps with your mouse issue.
>(There are a few mouse-related bug reports open against the
>xserver-xorg-input-evdev package, but I did not look at them more
>closely.) 

Yes, I did some testing and I suspect it's evdev that's messing with me.
I have a Logitech cordless mouse and keyboard that go through the same
USB connection.  The confusing thing is that it seems the multimedia
keys goes through the mouse channel rather than the keyboard channel.  I
suspect that's the cause for X thinking my mouse has 96 keys :-)

I'll try rolling back to an earlier version later today and report back.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus


pgpalkZWsblTK.pgp
Description: PGP signature


Strange X problem--right mouse kills X

2007-10-23 Thread Magnus Therning
After updating my Sid system yesterday I've noticed a rather funky
thing--X dies when I use my right mouse button.

Are other people noticing the same thing?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus


signature.asc
Description: Digital signature


Re: Up-to-date Gnome versions?

2007-09-21 Thread Magnus Therning
On Thu, Sep 20, 2007 at 13:35:00 -0300, Gabriel Parrondo wrote:
>El jue, 20-09-2007 a las 08:56 -0700, Dr. Jennifer Nussbaum escribió:
>> I see that Gnome 2.20 was just released. Im running Debian Etch,
>> which still seems to be stuck on Gnome 2.14, even though 2.16 was
>> released about a year ago and 2.18 since then.
>> 
>> What are the plans for integrating more up-to-date versions of Gnome
>> into Etch, or into later versions of Debian? I dont have any special
>> needs but would rather up as up to date as possible with apps and
>> setup and bug fixes.
>
>Since Etch is now the stable distribution, it is frozen, which means
>that no newer apps will enter it (except for security fixes).  If you
>want more up-to-date apps you'd rather use Lenny, which is the actual
>testing distribution. It has the advantage of being up-to-date while
>keeping a good level of stability. It's meant for final users (unlike
>stable, which is meant for servers)
>
>If you want to have the last version of every program then you should
>use Sid, which is always the unstable distribution... but, as you might
>have guessed from the name, it's not very stable.

I'd just like to point out that "testing" and "unstable" mean different
things when used in a Debian context than in the context of many other
distributions and operating systems.  IMHO Debian's unstable is far more
stable than a stable release of Windows.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus


signature.asc
Description: Digital signature


Re: need help on config PCI wireless card (rt2500 chip)

2007-09-20 Thread Magnus Therning
On Wed, Sep 19, 2007 at 22:53:31 -0700, Serena Cantor wrote:
>What does work "out of the box" on etch mean?
>
>English is my second language. I have thought that etch installation CD
>has driver for rt2500 based card and it will auto detect card, auto
>load driver and auto config wireless connection.  Surely this does not
>happen.

I used to have an rt2500-based PCI card and I got it working by
compiling and installing the kernel module that comes in
'rt2500-source' (using module-assistant).  However, I installed my
system using a wired ethernet card.

So, in short, installing might require you moving your computer within
"wire distance" to your router/moden/whatever, but after that you'll be
able to enjoy wireless networking :)

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus


signature.asc
Description: Digital signature


Re: amd64 vs i386

2007-09-15 Thread Magnus Therning
On Sat, Sep 15, 2007 at 13:02:13 +0200, Martin Marcher wrote:
[..]
>if you want a desktop PC stay with i386 since there isn't anything
>available that makes flash work out of the box with amd64. It can
>however be done (look at the various posts on this list which suggest
>in essence a chroot and a full 32bit installation of firefox/iceweasel)

That's not true for Sid any longer.  The non-free flashplugin comes
"wired" with nspluginwrapper and it all works out of the box.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus


signature.asc
Description: Digital signature


Re: amd64 vs i386

2007-09-15 Thread Magnus Therning
On Sat, Sep 15, 2007 at 04:27:10 -0500, Ron Johnson wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>On 09/15/07 03:57, pietia wrote:
>> hi
>> 
>> Do you have any experiences in that competition: Debian amd64 vs Debian
>> i386 ?
>> 
>> Is i386 still faster than amd64 ?
>
>Since when was i386 *ever* faster than AMD64?
>
>> And what with missing packages like flash plugin ?
>
>Certain closed-source apps & plugins are only built for i386.  There
>are work-arounds for AMD64 systems running in 64-bit mode.  Google to
>find many web pages that describe how.
>
>There are certain open-source apps that code certain critical functions
>in hand-tweaked 386 assembly if the build target is i386.  I don't have
>any specifics off the top of my head.  Google should help.

So far, the only thing that I'm missing from Debian Sid AMD64 is a Sun
Java browser plugin.  Apparently there's no 64-bit version of it,
despite the source now being available, and AFAIK there's no wrapper
package in the repos.

The non-free flashplugin has been sorted out with a wrapper for several
weeks (months?) now.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus


signature.asc
Description: Digital signature


Re: LVM

2007-09-04 Thread Magnus Therning
On Tue, Sep 04, 2007 at 18:10:06 +0300, Yuriy Padlyak wrote:
> ok, but I don't know how to move ext3 file system or it's content
> without loosing any file attributes, etc either :)
>
> Could you help me please?

The Debian reference doc covers this very well:

 http://www.us.debian.org/doc/manuals/reference/ch-tips.en.html#s-archiving

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus


signature.asc
Description: Digital signature


Re: Browser link

2007-08-11 Thread Magnus Therning
On Sat, Aug 11, 2007 at 19:06:45 +1200, Jeff wrote:
>When i click on a web link in an email it opens the page in Epiphany
>and not Iceweasel which i have set up as my prefered browser.(in
>preferences) Can someone tell me how to make the webpages from an email
>link open in Iceweasel.

You probably should make sure both the GNOME preferred applications and
Debian's "alternative" (x-www-browser) point to iceweasel.  The former
you change in System->Preferences->Preferred Applications the latter you
use update-alternatives to change.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgphDCzNavQsJ.pgp
Description: PGP signature


Re: Bookmark nicknames, and address drop down in Epiphany

2007-08-03 Thread Magnus Therning
On Thu, Aug 02, 2007 at 00:23:07 +0200, Wolodja Wentland wrote:
>On Wed, Aug 01, 2007 at 15:29 +0530, Kumar Appaiah wrote:
>> On Wed, Aug 01, 2007 at 08:07:24AM +0100, Magnus Therning wrote:
>> > >My searches on how to get this working were inconclusive. I did find
>> > >something related to GNOME deskbar which does this, but I don't have
>> > >GNOME and don't want to install it.
>> > Look at the Bookmark Shortcuts extension on this page:
>> > http://live.gnome.org/Epiphany/ThirdPartyExtensions
>> Many thanks for the pointer.
>
>You do not need this, although it might be easier than the method 
>already available in vanilla epiphany.
>
>You can achieve the desired behaviour by adding a bookmark containing a 
>"%s" which will be filled with the entered string.
>
>So to add a search for debian bugs just add the following bookmark:
>
>http://bugs.debian.org/%s

That won't result in the behaviour desired by the OP, not exactly.  It
is however an excellent substitute for the desired behaviour.  One that
I use myself :-)

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgpnJdedwiw4F.pgp
Description: PGP signature


Re: Bookmark nicknames, and address drop down in Epiphany

2007-08-01 Thread Magnus Therning
On Wed, Aug 01, 2007 at 09:09:37 +0530, Kumar Appaiah wrote:
>Dear Debian user,
>
>Could someone direct me on how/whether the "bookmark nicknames" support
>which Galeon and Iceweasel have is available on Epiphany? What I mean
>is, I should be able to set things up such that:
>
>wp Epiphany: Launches a search for "Epiphany" in Wikipedia
>bug : goes to bugs.debian.org/
>etc.
>
>My searches on how to get this working were inconclusive. I did find
>something related to GNOME deskbar which does this, but I don't have
>GNOME and don't want to install it.

Look at the Bookmark Shortcuts extension on this page:
http://live.gnome.org/Epiphany/ThirdPartyExtensions

>Also, in Iceweasel, if there's an address we have in the visited
>locations which drops down when we type it, and we want to make a
>change, we can select that and edit it. But that doesn't seem to be the
>case in Epiphany. Is there a way to replicate that behaviour as well.

IIRC that's a problem with the GTK+ widget.  This question has been
asked before in the epiphany mailing list.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgp0KU4WTwngn.pgp
Description: PGP signature


Re: searching for graphical torrent client

2007-07-27 Thread Magnus Therning
On Fri, Jul 27, 2007 at 13:07:17 +0300, Giorgos D. Pallas wrote:
>I tried google but can't seem to find something that both looks decent
>*and* is available for debian (testing) as a binary. For example I
>tried qtorrent, but it is so minimal that I don't like it... Or to put
>it in another way: Which client resembles most the windows utorrent? (I
>also tried ktorrent for KDE and it crashes often...)

Did you look at Deluge (package name: deluge-torrent)?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgpUVZBQWd8iS.pgp
Description: PGP signature


Re: new debian user. help :)

2007-07-24 Thread Magnus Therning
On Tue, Jul 24, 2007 at 01:48:58 -0700, Lorenas Bartkus wrote:
>
>- Original Message 
>From: Magnus Therning <[EMAIL PROTECTED]>
>To: Lorenas Bartkus <[EMAIL PROTECTED]>
>Cc: Debian User 
>Sent: Tuesday, July 24, 2007 10:15:41 AM
>Subject: Re: new debian user. help :)
>
>On Mon, Jul 23, 2007 at 10:32:38 -0700, Lorenas Bartkus wrote:
>>hi again :)
>>finally i've used the command apt-get install pppoeconf and now i have
>>installed pppoeconf (i founded this command from ubuntu which i  tried
>>before but i didn't like it) . is there any command to configure pppoe
>>i mean to provide the isp with user name and password? because in
>>windows on desktop i have icon by presing it i connect to the internet.
>>my modem is connected via lan.
>
>According to http://users.pandora.be/Asterisk-PBX/PPPoE.htm you should
>be asked about those details when installing pppoe and pppoeconf.  The
>configuration of those two packages should also allow you to bring up
>the network connection automatically at boot time.
>
>My ADSL provider uses PPPoE, but I've never had to configure my computer
>to use it--my router takes care of PPPoE and my computers just use
>regular Ethernet/TCPIP/DHCP.  Maybe if you tell us a little bit more
>about your network setup then we can help you more.
>
>>well for now i have configured my PPPoE, but i can't find what else
>>to? how to download and install other packages for basic debian from
>>internet?

Hmmm, your quoting is seriously confusing! :-)

Now that you have a working network the real adventure starts ;-)  No,
seriously it's not very complicated at all.  Be aware though that since
you've chosen to install Debian, and a basic system at that there is a
bit of manual work.  Not much, and it's a good learning experience for
the future anyway.

You need to configure the package manager (APT).  You can find full
documentation of how it works online, I think the APT HOWTO [1] is a
good place to start.  Since you downloaded pppoe you have a working
configuration, but it's probably worth getting a little familiar with
APT first (e.g. adding non-free).

Once you have APT set up properly you can start installing packages.
This is the route I usually follow for desktop machines I install (I've
marked the steps that you should run as root with a *):

 1. (*)Install and configure the package
  xserver-xorg
 2. Test the xorg configuration that was created in the previous step
running `startx`.  You should see a rather ugly grey screen.
 3. (*)Install your pick of desktop environment.  The usual suspects
have "meta packages" which makes it as easy as installing a single
package.
  For GNOME install gnome.
  For KDE install kde.
  For XFCE install xfce4
 4. (*)Install a desktop manager.  Again there are a few to choose
between, kdm, gdm, wdm, xdm.  My suggestion is to install gdm if you
use GNOME of XFCE and kdm if you use KDE.
 5. (*)Start the desktop manager.  You do that by executing its "init
script" with the argument `start`.  E.g. for gdm you execute
`/etc/init.d/gdm start`.

If you've gotten through all 5 steps without problems you should now
have a shiny screen with a login prompt where you can log in.

Since this is your first Debian install I'd suggest you document what
you do (and as what user you do it, root or your regular user account).
This will help a lot if you, heaven forbid, run into trouble.  If you
get stuck then don't hesitate to send an email to the mailing list.  Be
courteous and provide as much relevant information as you can.  The more
effort you spend on finding a solution yourself the better your chances
are of receiving help on the mailing list.  (Communicating on the
mailing list is rather simple really, write emails that you would reply
to if you knew the answer/solution. :-)

/M

[1]: http://www.debian.org/doc/manuals/apt-howto/index.en.html#contents

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus

If you can explain how you do something, then you're very very bad at
it.
 -- John Hopfield


pgpSbGG7pjdiF.pgp
Description: PGP signature


Re: new debian user. help :)

2007-07-24 Thread Magnus Therning
On Mon, Jul 23, 2007 at 10:32:38 -0700, Lorenas Bartkus wrote:
>hi again :)
>finally i've used the command apt-get install pppoeconf and now i have
>installed pppoeconf (i founded this command from ubuntu which i  tried
>before but i didn't like it) . is there any command to configure pppoe
>i mean to provide the isp with user name and password? because in
>windows on desktop i have icon by presing it i connect to the internet.
>my modem is connected via lan.

According to http://users.pandora.be/Asterisk-PBX/PPPoE.htm you should
be asked about those details when installing pppoe and pppoeconf.  The
configuration of those two packages should also allow you to bring up
the network connection automatically at boot time.

My ADSL provider uses PPPoE, but I've never had to configure my computer
to use it--my router takes care of PPPoE and my computers just use
regular Ethernet/TCPIP/DHCP.  Maybe if you tell us a little bit more
about your network setup then we can help you more.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus

As we enjoy great advantages from the inventions of others we should
be glad of an opportunity to serve others by any invention of
ours, and this we should do freely and generously.
 -- Benjamin Franklin


pgpjV1SBGQLdk.pgp
Description: PGP signature


Re: new debian user. help :)

2007-07-23 Thread Magnus Therning
On Mon, Jul 23, 2007 at 09:07:45 -0700, Lorenas Bartkus wrote:
>hi,
>I'm new in debian and previosly i used windows xp. now i decided to try
>debian for the first time.

Welcome to Debian.  I hope your stay will be long and enjoyable :-)

>i have downloaded boot cd to install debian from network, in the
>bigining everything gone well but when i was asked to choose the mirror
>i can't.  because it was said no version in this server (i have debian
>4.0). my internet connection is pppoe.
>i have read that pppoe is supported to install debian via network.
>maybe i did somethig wrong?

Yes, it should be supported.

>by the way now it is installed only basical system of debian (i think)
>i can just use terminal to make a commands.

That's as it should be.  The basic system for a network install is VERY
minimal.  Don't worry though, once you've got the basic configuration
done you'll have access to more GUI bling than you can shake a stick at.

>is there any way to configure my pppoe connection and upgrade the
>system? what commands i shoud use?

Do you have access to the web on another system?  Then this page
hopefully helps:

http://users.pandora.be/Asterisk-PBX/PPPoE.htm

Once your network is set up you need to do the basic configuration:
http://www.debianhelp.co.uk/baseconfig.htm

Then you can proceed to install packages.

Please hold on for a little bit with this, I suspect that you'll get
more answers to your email.  Some may offer angles and solutions I
haven't thought of.  Apply own thought as required :-)

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgpZKROim7PTO.pgp
Description: PGP signature


Re: Tools to store account (password..) in encrypted format ?

2007-07-12 Thread Magnus Therning
On Thu, Jul 12, 2007 at 11:05:06 -0400, Roberto C. Sánchez wrote:
>On Thu, Jul 12, 2007 at 12:28:33PM +, KLEIN Stéphane wrote:
>> Hello,
>> 
>> On my box, I use plain text to store my passwords but it isn't
>> secure.  What cli and/or web software can I use to store my password
>> (account) in encrypted format ? What do you use ? 
>> 
>I would not go with web-based as it is far too insecure.  I personally
>like MyPasswordSafe, but it is Qt-based.

I'm personally using KeySafe[1] (yes, shameless plug and yes I have a
Debian package).

Whether web-based is insecure or not depends very much on how the system
is designed.  Personally I consider storing a password encrypted by a
master password on a server is secure enough as long as the master
password never leaves my machine (which means encryption and decryption
must happen locally).  Implementing a pure JavaScript client would then
allow me to access passwords in a browser anywhere in the world.  At
least if I trust the browser enough :-)

/M

[1]: http://therning.org/magnus/computer/keysafe

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgpWoQj5uznCW.pgp
Description: PGP signature


Re: Debugging symbol packages (4 questions)

2007-07-11 Thread Magnus Therning
On Wed, Jul 11, 2007 at 14:13:49 +0530, Kumar Appaiah wrote:
>On Wed, Jul 11, 2007 at 09:16:02AM +0100, Magnus Therning wrote:
[..]
>> Is there a remote server that shares a folder that I could mount
>> (e.g.  using FUSE) and get all symbols without having to install all
>> the packages myself?
>
>I didn't understand this exactly. Is this related to the Debug
>packages? Do you want to mount a repository and use the debug packages
>without having to install them?

How this actually works is that debug symbols are stripped from the
executables and a new ELF section is put in that points to
/usr/lib/debug/...  When gdb loads an executable with that section it
uses the pointer to find the debugging symbols.

One thing that is nice about the Windows platform is remote symbol
servers.  Now, if someone would install _all_ debug packages on a
machine on the internet, and export its /usr/lib/debug, then I can mount
that export on my machine and gdb would be able to find debug symbols
without my having to install a single debug package.  Is someone
exporting /usr/lib/debug in this way?

Cheers,
M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgpxDhFzfABIb.pgp
Description: PGP signature


Debugging symbol packages (4 questions)

2007-07-11 Thread Magnus Therning
More and more debug (-dbg) packages are popping up in the repositories.
Is there an effort going to to make sure _all_ packages in Debian has a
debug package?

It seems that Ubuntu has .ddeb packages while the packages I've seen in
Debian are regular .deb, but with -dbg in their names.  Will it remain
this way or will the two converge on one approach at some time?

What I've noticed so far is that most GNOME packages have a -dbg
package.  I suppose one reason for this is to make sure users submit
good bug reports to Debian and GNOME.  However, expecting regular users
to manually install debug symbols and reproduce the error is a bit too
optimistic.  Are there any plans for automating this?

Is there a remote server that shares a folder that I could mount (e.g.
using FUSE) and get all symbols without having to install all the
packages myself?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgpn0CVDV9EyS.pgp
Description: PGP signature


Re: resolv.conf wrongly gets Belkin router's address

2007-07-01 Thread Magnus Therning
On Sun, Jul 01, 2007 at 02:06:58 -0600, Bob Proulx wrote:
>Kent West wrote:
>> > auto eth0
>> > iface eth0 inet dhcp
>
>That looks fine to me.
>
>> That's the way it seems to me also, but when Belkin support told me
>> that their router does NOT offer its own address as a DNS server, I
>> figured I better double-check with other Debianistas before
>> concluding that Belkin support doesn't know what they're talking
>> about.

They are clearly lying!  My Beling router also offers itself as a DNS
server.

>> I don't find any such settings; here's a snapshot of the only relevant
>> page on the Belkin setup that I can find: 
>> http://www.acu.edu/~westk/belkin.jpg
>
>That is what I expect to see but it does not explain why it is offering
>itself as a DNS server.  To me this is confirmation of the bug.

I can only report that I have a Belkin router working just fine.  It is
offering itself as DNS but where your router configuration doesn't hold
any IP addresses for my ISP's DNS mine does[1].  I'm not entirely sure
how they ended up there :-)

/M

[1]: http://therning.org/magnus_files/belkin-setup.png

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgptvO7tUnG7G.pgp
Description: PGP signature


Re: Setting permissions to new files?

2007-06-17 Thread Magnus Therning
On Sun, Jun 17, 2007 at 18:11:02 -0300, Bruno Buys wrote:
>Where do I change the permissions that are set when I create a new file? I 
>mean, I'd like to be able to change the default permissions that my system 
>atributes to new files.
>
>[EMAIL PROTECTED]:~$ > newfile
>[EMAIL PROTECTED]:~$ ls -l newfile
>-rw-r--r-- 1 bruno bruno 0 2007-06-17 18:06 newfile
>
>I'd like new files to be created as writable to the group, as in
>
>-rw-rw-r-- 1 bruno bruno 0 2007-06-17 18:06 newfile

Look into umask.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgpAklwOj2ioE.pgp
Description: PGP signature


Re: gnome default browser

2007-06-14 Thread Magnus Therning
On Thu, Jun 14, 2007 at 02:12:42 -0700, liviu wrote:
>hello
> sorry for getting your time but i have a small
>problem 
>i have debian 4.0 installed and using the iceweasel as default browser
>but when im using for example kopete or gaim and i use go to imbox or
>clik on a link always start the epiphany insted of iceweasel i do the
>sudo update-alternatives --config x-www-browser chose iceweasel the
>option number 2 and nothing the links ar still open in epiphany what
>should i do to really use iceweasel 
>
>ty for help  

I suspect you'll have to modify that in System->Preferences-> Preferred
Applications.  Set it to sensible browser if you want to use the Debian
Alternatives to configure the default browser.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgpnr1YeRjsvI.pgp
Description: PGP signature


Re: Inet security

2007-06-14 Thread Magnus Therning
On Wed, Jun 13, 2007 at 23:08:39 -0700, Mike McClain wrote:
>I saw this on usenet and wonder about the validity of this statement.
>
>'Seriously any system is as secure as the services you export, if you
>have nothing listening that can do you harm you are secure...'
>
>Disregarding email exploits and exploits through your browser is this
>true? Assume the hardware is inviolate.
>Thoughts?

I'd argue you are secure if you have no services listening on any ports.
However, there's always the possibility of problems in the kernel and
its networking stack.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgp1wikcv0PjY.pgp
Description: PGP signature


Re: epiphany: how enable pdf output?

2007-06-10 Thread Magnus Therning
On Sat, Jun 09, 2007 at 16:24:25 -0400, Eric d'Alibut wrote:
>My epiphany instance (2.14.3-2) appears to offer the option of
>printing to a pdf, but when that is tried, informs me that such
>printing is not supported.
>
>What do I need to get that option working?

AFAIK there is no way to get it working.  It's a shame and what makes it
even worse it that Epiphany isn't the only program suffering from this.
What you can do is print to a file (.ps) and later convert the resulting
file to PDF.

>Does the package 'epiphany-extensions' do that for me? Its deb page
>doesn't mention pdf...

That package contains useful extensions (plugins) for epiphany.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgpIb97OmB1Jk.pgp
Description: PGP signature


Re: Makefile for external module delete ALL my modules under /lib/modules/2.6.8-3-686/kernel/

2007-05-18 Thread Magnus Therning
On Fri, May 18, 2007 at 07:11:44 +0200, pizzapie_linuxanchovies wrote:
[..]
>Any ideas?  Should the "modules_install" target ever be called if all
>you have on your machine is the kernel-headers and not the full kernel
>source?
>
>Help me please--win my undying gratitude and be showered with good
>karma.

A question rather than an answer really:

Why not use module-assistant with the debian package of the rt2x00
source?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus


pgpWQnjzB0AHi.pgp
Description: PGP signature


  1   2   3   4   5   >