[xmonad] XMonad.Prompt.Ssh

Marco Guidetti marco at marcoguidetti.org
Wed Nov 30 18:01:02 CET 2011


Hi,

I thought the same thing: If I try to run (with xmonad.Prompt.Shell)

x-terminal-emulator -e "ssh ciccio at pasticcio"

it works,

if instead I try to run

x-terminal-emulator -e ssh ciccio at pasticcio

it doesn't.

I guess Prompt.Ssh runs the second (?)

Yes, terminal is in $PATH.

Thanks,

marco



On Wed, Nov 30, 2011 at 5:51 PM,  <wagnerdm at seas.upenn.edu> wrote:
> What have you set your "terminal" to? Is that terminal in your $PATH? Does
> that terminal recognize the -e option?
>
> ~d
>
> Quoting Marco Guidetti <marco at marcoguidetti.org>:
>
>> Hi,
>> I really like the idea of being able to open ssh sessions straight from
>> xmonad.
>> Somehow, it doesn't work and I don't understand.
>>
>> Here's relevant part of the configuration:
>>
>> import XMonad.Prompt
>> import XMonad.Prompt.Ssh
>>
>> ....
>>
>>      myXPConfig = defaultXPConfig
>>
>> ....
>>        , ((mod4Mask .|. shiftMask,  xK_s), sshPrompt myXPConfig)
>>
>>
>>
>> So when I hit mod4Mask, shift and s it starts correctly the "Ssh to:"
>> prompt. At this point I enter the host name, and hit enter, and
>> nothing happens...
>>
>> I guess it should open a terminal with a session to the host I just
>> entered, but it doesn't (there are no other windows with shells into
>> that machine).
>>
>> Advice? Ideas? What am I doing wrong?
>>
>> Thank you in advance,
>>
>> marco
>>
>> _______________________________________________
>> xmonad mailing list
>> xmonad at haskell.org
>> http://www.haskell.org/mailman/listinfo/xmonad
>>
>>
>
>
>
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad



More information about the xmonad mailing list