Re: [gentoo-user] mplayerplug-in downloads but doesn't play

2005-11-27 Thread Nicolas Litchinko
On 11:33 Sun 27 Nov , Mark Knecht wrote:
> On 11/27/05, Nicolas Litchinko <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > On 11:03 Sun 27 Nov , Manuel McLure wrote:
> > > On Sunday 27 November 2005 07:51, Mark Knecht wrote:
> > > > Does anyone have this problem? I click a link, such as on the page I
> > > > put in this email, I get a new Firefox window, mplayerplug-in seems to
> > > > be downloading, but then never plays. If I look at processes using top
> > > > and ps aux I do not see mplayer at all.
> > > >
> > > > http://blog.dis-dot-dat.net/2005/11/more-music.html
> > > >
> > > > There are ogg and mp3 links to try.
> > >
> > > What version of mplayerplug-in are you running? I *greatly* recommend 
> > > using at
> > > least 3.11 (which is still marked ~x86) - it's the first that works really
> > > well for me (the earlier releases would crash firefox when you left the 
> > > page
> > > with the video on it.) I'd also see the problem you see with earlier 
> > > versions
> > > - the page would appear to download the video but nothing would happen.
> >
> > I am still running version 2.80 of the mplayerplug-in and it works just
> > fine. Though I must admit that I had the same problem as Mark at the
> > beginning. It came from the default video driver used by
> > mplayer/mplayerplug-in which wasn't compatible with my video card. I had
> > to edit the ~/.mplayer/mplayerplug-in.conf file:
> >
> > vo=xv
> > ao=alsa
> > osdlevel=1
> >
> > I hope that it helps.
> >
> > --
> > Nicolas Litchinko
> 
> Hi,
>Interesting. Two questions:
> 
> 1) Is xv a driver that you use for your video card? The specific
> system I'm looking at has this in xorg.conf:
> 
> Section "Device"
> Identifier  "Intel 810"
> Driver  "i810"
> #VideoRam65536
> # Insert Clocks lines here if appropriate
> EndSection
> 
> Would I choose 'i810' where you used 'xv'?
>

This is the name of the video driver used by mplayer and it's not really 
related to the xorg driver (I'm using the nvidia xorg driver).
You can get a list of all those mplayer offers by using:

mplayer -vo help
 
> 2) The system in question doesn't have a file
> ~/.mplayer/mplayerplug-in.conf. Did you create this file or was it
> there for you to modify?
> 

I think I had to create this file.

-- 
Nicolas Litchinko

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayerplug-in downloads but doesn't play

2005-11-27 Thread Nicolas Litchinko
Hello, 

On 11:03 Sun 27 Nov , Manuel McLure wrote:
> On Sunday 27 November 2005 07:51, Mark Knecht wrote:
> > Does anyone have this problem? I click a link, such as on the page I
> > put in this email, I get a new Firefox window, mplayerplug-in seems to
> > be downloading, but then never plays. If I look at processes using top
> > and ps aux I do not see mplayer at all.
> >
> > http://blog.dis-dot-dat.net/2005/11/more-music.html
> >
> > There are ogg and mp3 links to try.
> 
> What version of mplayerplug-in are you running? I *greatly* recommend using 
> at 
> least 3.11 (which is still marked ~x86) - it's the first that works really 
> well for me (the earlier releases would crash firefox when you left the page 
> with the video on it.) I'd also see the problem you see with earlier versions 
> - the page would appear to download the video but nothing would happen.

I am still running version 2.80 of the mplayerplug-in and it works just 
fine. Though I must admit that I had the same problem as Mark at the 
beginning. It came from the default video driver used by 
mplayer/mplayerplug-in which wasn't compatible with my video card. I had 
to edit the ~/.mplayer/mplayerplug-in.conf file:

vo=xv
ao=alsa
osdlevel=1

I hope that it helps.

-- 
Nicolas Litchinko

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Recovering vim/mutt email I was writing

2005-06-17 Thread Nicolas Litchinko
Hello,

On 09:07 Fri 17 Jun , Grant wrote:
> I was writing an email using vim in mutt and I accidentally hit
> ctrl+alt+backspace which exited X.  Is there any way to recover that
> email?

You might find the temporary file you were writing in /tmp/. Mutt uses 
mutt-$hostname-random numbers to name its files there.

-- 
Nicolas Litchinko

BOFH Excuse #38:
secretary plugged hairdryer into UPS

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH_AGENT_PID is empty

2005-06-17 Thread Nicolas Litchinko
Hello,

On 11:50 Fri 17 Jun , Patrick Marquetecken wrote:
> I'm trying to setup ssh-agent because this machine must run several
> scripts with ssh on another machine and i want to use a passfrase to
> connect to this server.
> 
> So i have read the:
> http://www.gentoo.org/doc/en/keychain-guide.xml

keychain is indeed a great tool. It starts ssh-agent on its own if it 
isn't running. You don't have to start ssh-agent yourself if you're 
using keychain.

Read man keychain to learn how to install it.

For example, adding the following lines to your .bashrc  will load 2 ssh 
keys and a gpg key. If the agents are already running and the keys 
loaded, it'll show a few messages. If they aren't, it'll start the 
agents and/or load the keys and then ask your for the passwords.

keychain id_rsa id_dsa 0123ABCD
  [[ -f $HOME/.keychain/$HOSTNAME-sh ]] && \
source $HOME/.keychain/$HOSTNAME-sh
  [[ -f $HOME/.keychain/$HOSTNAME-sh-gpg ]] && \
source  $HOME/.keychain/$HOSTNAME-sh-gpg

> So i run ssh-agent:
> bxl-openvpn-02 .ssh # ssh-agent
> SSH_AUTH_SOCK=/tmp/ssh-bnrKl27579/agent.27579; export SSH_AUTH_SOCK;
> SSH_AGENT_PID=27580; export SSH_AGENT_PID;
> echo Agent pid 27580;
> 
> but no password ask

ssh-agent doesn't load the keys. ssh-add  does. But again, 
keychain does that transparently. You don't have to use the command.

> so whant to stop it with ssh-agent -k and i've got:
> bxl-openvpn-02 .ssh # ssh-agent -k
> SSH_AGENT_PID not set, cannot kill agent
> 
> so i run:
> bxl-openvpn-02 .ssh # echo $SSH_AGENT_PID
> 
> bxl-openvpn-02 .ssh #
> and indeed its empty

The output from ssh-agent has to be read by your shell. That's why 
ssh-agent is started with ssh-agent bash (or whatever shell you're 
using) when it's not started in daemon mode. Using keychain, the agents 
are running in the background and the variables are set accordingly.

-- 
Nicolas Litchinko

BOFH Excuse #38:
secretary plugged hairdryer into UPS

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh/scp browser?

2005-05-30 Thread Nicolas Litchinko
On 11:13 Mon 30 May , Mark Knecht wrote:
> Hi,
>I think there must be some sort of simple GUI-based replacement for
> what I'm doing all the time with ssh/scp. I first ssh into the machine
> and then find a file and scp it back here. Seems like there should be
> some simple app that knows the account/password for certain machines,
> shows me what's there and then allows drag and drop between the two?
> 
>I'm looking in the category list but nothing pops up.
> 
> Thanks,
> Mark
> 
> -- 
> gentoo-user@gentoo.org mailing list

Hello,

You could also try sftp. It allows you to connect to the machine, then 
search for some files (cd and ls) and finally download them to your 
locale machine (get).

-- 
Nicolas Litchinko

BOFH Excuse #38:
secretary plugged hairdryer into UPS

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to japanese intput

2005-05-07 Thread Nicolas Litchinko
On 23:37 Sat 07 May , askar ... wrote:
> Thanks.
> I created these 2 scripts (canna.sh and japan.sh) you wrote below.
> But I couldn't execute them. Do I need to do smth like chmod?
> 
> askar
> 
> > I am also using canna and kinput2. Since I don't need japanese input in
> > all my applications, I'm using two scripts to start kinput2 and an
> > application with japanese input enabled.
> > 
> > This one starts kinput2 with a connection to the canna server
> > (canna.sh):
> > 
> > #!/bin/bash
> > export XMODIFIERS='@im=kinput2'
> > export LANG=ja_JP.eucjp
> > export LC_ALL=ja_JP.eucjp
> > kinput2 -canna &
> > 
> > And this one starts the application you want with kinput2 support
> > (japan.sh):
> > 
> > #!/bin/bash
> > XMODIFIERS='@im=kinput2' [EMAIL PROTECTED] LANG=ja_JP.eucjp
> > LC_ALL=ja_JP.eucjp ${1+"$@"} &
> > 
> > (the last 2 lines are actually one long line)
> > 
> > So, when I need to write japanese text in openoffice, I only have to:
> > $ ~/canna.sh
> > $ ~/japan.sh oowriter
> > And then press shift+space to switch between the different input modes
> > supported by kinput2, space at the end of a word if I want to convert it
> > to kanjis and enter to choose between the different kanjis available.
> > 
> > I am not using KDE nor emacs but this should work for KDE applications
> > and XEmacs.
> > 

Hello,

Those scripts must indeed be executable to be executed.
$ chmod u+x canna.sh
$ chmod u+x japan.sh
will take care of that.

You can also create aliases for them if you're often using them (it 
saves time).
http://gentoo-wiki.com/TIP_alias

-- 
Nicolas Litchinko

BOFH Excuse #38:
secretary plugged hairdryer into UPS

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to japanese intput

2005-05-07 Thread Nicolas Litchinko
On 14:48 Sat 07 May , askar ... wrote:
> Thanks to everybody.
> I'll try.
> 
> askar
> 
> 
> On 5/7/05, James Rubingh <[EMAIL PROTECTED]> wrote:
> > http://www.cs.ubc.ca/~kdeeter/gentoo-jap-guide/
> > This is old, but for the most part works. I use canna and kinput2 and
> > it works fairly well for most regular things with fluxbox.
> > 
> > Cheers,
> >  James Rubingh
> > 
> > 
> > On 5/7/05, askar ... <[EMAIL PROTECTED]> wrote:
> > > Hello!
> > >
> > > I'm using Gentoo 2005.0, KDE and Fluxbox.
> > > I want to be able writing in japanese.
> > > Is there step-by-step setup guide for this.
> > > I looked at internet there some information, but each site has its own
> > > differences.
> > > I dont want to japanise everything - only japanese input needed.
> > > Also with Emacs.
> > 
> > --
> > gentoo-user@gentoo.org mailing list
> > 
> >
> 
> -- 
> gentoo-user@gentoo.org mailing list

I am also using canna and kinput2. Since I don't need japanese input in 
all my applications, I'm using two scripts to start kinput2 and an 
application with japanese input enabled.

This one starts kinput2 with a connection to the canna server 
(canna.sh):

#!/bin/bash
export XMODIFIERS='@im=kinput2'
export LANG=ja_JP.eucjp
export LC_ALL=ja_JP.eucjp
kinput2 -canna &

And this one starts the application you want with kinput2 support 
(japan.sh):

#!/bin/bash
XMODIFIERS='@im=kinput2' [EMAIL PROTECTED] LANG=ja_JP.eucjp 
LC_ALL=ja_JP.eucjp ${1+"$@"} &

(the last 2 lines are actually one long line)

So, when I need to write japanese text in openoffice, I only have to:
$ ~/canna.sh
$ ~/japan.sh oowriter
And then press shift+space to switch between the different input modes 
supported by kinput2, space at the end of a word if I want to convert it 
to kanjis and enter to choose between the different kanjis available.

I am not using KDE nor emacs but this should work for KDE applications 
and XEmacs.

-- 
Nicolas Litchinko

BOFH Excuse #38:
secretary plugged hairdryer into UPS

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I get IPV6 working?

2005-04-28 Thread Nicolas Litchinko
On 02:34 Thu 28 Apr , Walter Dnes wrote:
>   I've found out "the hard way" that IPV6 does work on the Gentoo LiveCD
> via my ISP, notwithstanding my IPV4-only router (must be tunneling of
> some sort).  I'm trying to get it going on my second machine, but can't
> get anywhere.  I assume there are some extra configuration details I
> need to set.  Is there a detailed configuration for IPV6, or a mailing
> list?  If someone on this group has gotten IPV6 working, tunneling over
> IPV4, I'd appreciate the details.
> 
> -- 
> Walter Dnes <[EMAIL PROTECTED]>
> An infinite number of monkeys pounding away on keyboards will
> eventually produce a report showing that Windows is more secure,
> and has a lower TCO, than linux.
> -- 
> gentoo-user@gentoo.org mailing list

Hello,

I am using IPv6 over IPv4 at home without any problem.
I had to recompile my kernel to enable IPv6 support and add the protocol 
to /etc/rc.conf:

PROTOCOLS="1 2 10"

There is a good guide in the gentoo.org documentation about IPv6 [1]. It
explains how to set up an IPv6 router but its beginning can also be used 
for a workstation (kernel, iproute2, applications, etc.)

I am using btexact [2] as a tunnel broker because it provides a simple 
script to configure the tunnel.

[1]: http://www.gentoo.org/doc/en/ipv6.xml
[2]: https://tb.ipv6.btexact.com/

-- 
Nicolas Litchinko

BOFH Excuse #38:
secretary plugged hairdryer into UPS

-- 
gentoo-user@gentoo.org mailing list