Mailinglist Archive: opensuse (1461 mails)

< Previous Next >
Re: [opensuse] KDE 4.1 on OpenSuSE 11.1 with OpenOffice 3: setting up default media handling
  • From: Boris Epstein <borepstein@xxxxxxxxx>
  • Date: Wed, 27 May 2009 11:38:15 -0400
  • Message-id: <8fbac5ca0905270838s3aee4373m674cfdcf9ba89b3f@xxxxxxxxxxxxxx>
On Wed, May 27, 2009 at 10:27 AM, Roger Oberholtzer <roger@xxxxxx> wrote:
On Wed, 2009-05-27 at 10:00 -0400, Boris Epstein wrote:
Hi all,

Here's the problem I am trying to tackle.

I have a presentation in Open Office (.odp) that uses external
handlers to play multimedia. For instance, it plays movies (.mov,
.avi, .mpg) directly, or, in some instances, it calls scripts (a Ruby
script, for instance) to call them. Now, under KDE3.5 things worked as
defined in Konqueror. Under KDE4, no such luck.

For instance, that Ruby script would execute fine out of a Konqueror
window but it just fails to execute out of the ODP. Instead, an editor
opens that shows me the content of the script. The same with the movie
files - they fail to open the same way; if you are lucky, a Konqueror
plugin will play them - but I want a standalone application of my
choosing.

How do I fix that? Any ideas?

I had the same thing with a shell script. It was executable. But
clicking on it opened it in an editor. When I added

       #!/bin/sh

to the start, it once again ran when clicked. How does the Ruby script
look on the very first line?

If I could only figure out why the script does not default to run in the
folder it was in and that you clicked on, I would be happier. Remember,
it is not a .desktop file with settings.

--
Roger Oberholtzer

OPQ Systems / Ramböll RST

Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden

Office: Int +46 8-615 60 20
Mobile: Int +46 70-815 1696

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Thanks, Roger, that was a good thought... But those scripts begin with:

#!/usr/bin/ruby

which seems about right to me...
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >