Re: Re (3): xmonad and LXDE.

2012-07-15 Thread Daniel Landau
On Sun, Jul 15, 2012 at 10:14 PM,   wrote:
> Incidentally, xmonad.man refers to the mod key but never mentions what
> it is. + gave the dmenu.  On a PC keyboard, mod appears to be Alt.
>

You can change the mod key. See:

http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#Rebinding_the_mod_key_.28Alt_conflicts_with_other_apps.3B_I_want_the_key.21.29

Daniel


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/capbtyu51rehe9viwvvew_+_6zw0y7uyvjdwmsbax7szyh9i...@mail.gmail.com



Re: data recovery tools for debian (command line)

2012-05-09 Thread Daniel Landau
On Thu, May 10, 2012 at 9:27 AM, Muhammad Yousuf Khan  wrote:
> On Thu, May 10, 2012 at 11:01 AM, J. Bakshi  wrote:
>> On Thu, 10 May 2012 10:49:28 +0500
>> Muhammad Yousuf Khan  wrote:
>>
>>> if i mistakenly delete any partition or OS or HD corrupted. what is
>>> the best tool that i can use to recover the data in these situations.
>>>
>>
>> de-rescue for corrupted HD. But don't know about recovering deleted data.
>> I'm also interested in the same topic.
>
> testdisk
>
> http://www.howtoforge.com/data_recovery_with_testdisk
>
> seems good but haven't tested yet.

You could try ext3grep (http://code.google.com/p/ext3grep/), but I
haven't tested it. Please write back with results if you try it.

Daniel Landau


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/capbtyu70zuamwuunzrs5mer2vuj+h9tg2e4f_xf8mfmpvcj...@mail.gmail.com



Re: Alt key problem with MacBookPro

2012-04-22 Thread Daniel Landau
On Sun, Apr 22, 2012 at 12:47 AM, Riccardo Romoli  wrote:
> my name is Riccardo, and I'm a newbie of Debian. Using the Debian-Wiky
> I was able to install Debian 6 as single boot on my MacBookPro
> (v.3.1). The only problem I notice, till now, is about the Alt key
> that doesn't work. I tried to configure the keyboard with the
> graphical interface but I wasn't able solve my problem. If, for
> example I press Alt+Tab,  I was able to switch between the different
> windows, but the Alt key doesn't work both in the various text editors
> (emacs, gedit...) and in the terminal, to type the extra character
> such as tilde, square brackets...
>
> How can I solve this problem? Is there a way to manually map the keyboard??

Did you choose the Mac/Apple layout when prompted? On my Macbook the
left alt is the meta-key (for window switching, M-x etc. keybindings
in Emacs) and the right alt is used for various extra characters. So
the left and right alt are (usually) not the same key on an Apple
keyboard in GNU/Linux.

Daniel Landau


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/capbtyu55b+7khnrsfpqys+augjhprspm9t1y+go+et2agm-...@mail.gmail.com



Re: Scripting question

2012-04-17 Thread Daniel Landau
On Tue, Apr 17, 2012 at 4:52 PM, Eduardo M KALINOWSKI
 wrote:
> On Ter, 17 Abr 2012, Chris wrote:
>> I would like have the Smtp: replaced with To:  leaving all that follows in
>> each line untouched and piped into a new file.
>
> man sed
>

Read that too, but try also searching online for "sed tutorial". The
line to do this specific thing is:

$ sed -e 's/^Smtp:/To:/' oldfile > newfile

Daniel Landau


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAPBTYu4KBgb55tjHHXysWed=+s2=kDnSECYNT1i=h1jowm9...@mail.gmail.com



Re:Specify "mail from:" in postfix + relayhost

2012-04-12 Thread Daniel Landau
On Apr 12, 2012 12:53 PM, "Mathieu Malaterre" 
wrote:
>  This works great. However using the `mail` command line interface I
> can only send email from my main gmail adress. I did a small test
> using `telnet localhost 25`, I can then specify any of my
> pre-configured gmail adress (eg @free.fr).
>  However using telnet is pretty tedious. Does anyone knows what is the
> command line option to specify the 'mail from:' information ?

You can specify any headers with -a, e.g.

$ mail -a 'From: "My Name" ' da

Daniel Landau