* [gentoo-user] mime type experts / *.pps
@ 2006-02-20 17:20 Uwe Thiem
2006-02-20 18:07 ` Willie Wong
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Uwe Thiem @ 2006-02-20 17:20 UTC (permalink / raw
To: gentoo-user
Hi folks,
this is about Powerpoint Presentations and Gentoo and (almost) any other linux
distribution. There are two different types of presentations: *.ppt and
*.pps. The difference is that *.pps have an interpreter linked into the
document so you can run it under Windows without having Powerpoint.
*.ppt do not cause any problems but *.pps do. If you do a "file something.pps"
it reports it as "Microsoft Office Document" without qualifying what kind of
document.
As long as you have set all your file associations of Microsoft documents to
OpenOffice, it will work for you because OO still is a monolithic application
that handles all of them.
This is not true if you have set file associations of Microsoft documents to
specific applications in any other office suite, including but not limited to
koffice. In the case of koffice, kword gets started, It starts to load the
presentation and decides correctly that this isn't a word document.
So my question is: Aren't there any mime type and/or magic file experts here
that can extent the magic file to recognise *.pps files correctly?
Would be great if we could get that sorted out.
I tried myself. Unfortunately, I am not a magic file expert and failed
badly. :-(
Uwe
--
Why do consumers keep buying products they will live to curse?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] mime type experts / *.pps
2006-02-20 17:20 [gentoo-user] mime type experts / *.pps Uwe Thiem
@ 2006-02-20 18:07 ` Willie Wong
2006-02-26 15:43 ` Uwe Thiem
2006-02-20 18:32 ` Martins Steinbergs
2006-02-20 20:22 ` Abhay Kedia
2 siblings, 1 reply; 5+ messages in thread
From: Willie Wong @ 2006-02-20 18:07 UTC (permalink / raw
To: gentoo-user
The 'file' command and mime types are different things.
On Mon, Feb 20, 2006 at 07:20:07PM +0200, Penguin Lover Uwe Thiem squawked:
> this is about Powerpoint Presentations and Gentoo and (almost) any other linux
> *.ppt do not cause any problems but *.pps do. If you do a "file something.pps"
> it reports it as "Microsoft Office Document" without qualifying what kind of
> document.
If you do a 'file something.ppt', I am fairly certain it will also say
Microsoft Office Document. While grepping for 'Excel' and 'Word' both
turn up some stuff in /usr/share/misc/file/magic, there isn't anything
that corresponds to 'Power' except for PowerPC related stuff.
In fact, I am pretty sure that documents from newer versions of
Microsoft Office would all return that string when file is ran against
them.
> This is not true if you have set file associations of Microsoft documents to
> specific applications in any other office suite, including but not limited to
> koffice. In the case of koffice, kword gets started, It starts to load the
> presentation and decides correctly that this isn't a word document.
The question is how you are recognizing the files? From what you are
saying, it sounds to me like you are double-clicking in some KDE file
browser and letting KDE do the job of deciding which application to
call. Since I know naught about KDE, I can't help there.
> So my question is: Aren't there any mime type and/or magic file experts here
> that can extent the magic file to recognise *.pps files correctly?
However, one thing that came to mind is for you to check the
mime.types file in /etc/mime.types and make sure
[01:01 PM]wwong ~ $ grep pps /etc/mime.types
application/vnd.ms-powerpoint ppt pps
pps files are indeed associated as powerpoint.
HTH
W
--
"This class makes me feel like Ralph Wiggam..."
~DeathMech, Some Student. P-town PHY 205
Sortir en Pantoufles: up 100 days, 10:19
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] mime type experts / *.pps
2006-02-20 17:20 [gentoo-user] mime type experts / *.pps Uwe Thiem
2006-02-20 18:07 ` Willie Wong
@ 2006-02-20 18:32 ` Martins Steinbergs
2006-02-20 20:22 ` Abhay Kedia
2 siblings, 0 replies; 5+ messages in thread
From: Martins Steinbergs @ 2006-02-20 18:32 UTC (permalink / raw
To: gentoo-user
On Monday 20 February 2006 19:20, Uwe Thiem wrote:
> Hi folks,
>
> this is about Powerpoint Presentations and Gentoo and (almost) any other
> linux distribution. There are two different types of presentations: *.ppt
> and *.pps. The difference is that *.pps have an interpreter linked into the
> document so you can run it under Windows without having Powerpoint.
>
> *.ppt do not cause any problems but *.pps do. If you do a "file
> something.pps" it reports it as "Microsoft Office Document" without
> qualifying what kind of document.
>
> As long as you have set all your file associations of Microsoft documents
> to OpenOffice, it will work for you because OO still is a monolithic
> application that handles all of them.
>
> This is not true if you have set file associations of Microsoft documents
> to specific applications in any other office suite, including but not
> limited to koffice. In the case of koffice, kword gets started, It starts
> to load the presentation and decides correctly that this isn't a word
> document.
>
> So my question is: Aren't there any mime type and/or magic file experts
> here that can extent the magic file to recognise *.pps files correctly?
>
> Would be great if we could get that sorted out.
>
> I tried myself. Unfortunately, I am not a magic file expert and failed
> badly. :-(
>
> Uwe
>
> --
> Why do consumers keep buying products they will live to curse?
most simple solution i can give is to rename file.pps to file.ppt
for my understanding pps does only that that opening it starts slide show not
the editor and powerpoint installation still has to be present
martins
--
Linux 2.6.15-ck3-r1 AMD Athlon(tm) 64 Processor 3200+
20:27:21 up 15:55, 7 users, load average: 1.74, 1.71, 1.63
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] mime type experts / *.pps
2006-02-20 17:20 [gentoo-user] mime type experts / *.pps Uwe Thiem
2006-02-20 18:07 ` Willie Wong
2006-02-20 18:32 ` Martins Steinbergs
@ 2006-02-20 20:22 ` Abhay Kedia
2 siblings, 0 replies; 5+ messages in thread
From: Abhay Kedia @ 2006-02-20 20:22 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 691 bytes --]
On Monday 20 February 2006 22:50, Uwe Thiem wrote:
>
> So my question is: Aren't there any mime type and/or magic file experts
> here that can extent the magic file to recognise *.pps files correctly?
>
If you are in KDE, then right clicking on the file should give you a "Open
with..." option in the context menu. Choose that, browse to the application
you want to use to open the file and then check the "Remember application
association...". This will set the mime type in KDE. Now just double click
the file and it will open in your desired application.
If you are rather using Gnome, then I am sure someone using that DE will have
some ideas.
--
Regards,
Abhay
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] mime type experts / *.pps
2006-02-20 18:07 ` Willie Wong
@ 2006-02-26 15:43 ` Uwe Thiem
0 siblings, 0 replies; 5+ messages in thread
From: Uwe Thiem @ 2006-02-26 15:43 UTC (permalink / raw
To: gentoo-user
On 20 February 2006 20:07, Willie Wong wrote:
> The question is how you are recognizing the files? From what you are
> saying, it sounds to me like you are double-clicking in some KDE file
> browser and letting KDE do the job of deciding which application to
> call. Since I know naught about KDE, I can't help there.
Close. It's rather clicking on a mail attachment.
>
> > So my question is: Aren't there any mime type and/or magic file experts
> > here that can extent the magic file to recognise *.pps files correctly?
>
> However, one thing that came to mind is for you to check the
> mime.types file in /etc/mime.types and make sure
>
> [01:01 PM]wwong ~ $ grep pps /etc/mime.types
> application/vnd.ms-powerpoint ppt pps
Yup. That line is there.
Uwe
--
Why do consumers keep buying products they will live to curse?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-02-26 16:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-20 17:20 [gentoo-user] mime type experts / *.pps Uwe Thiem
2006-02-20 18:07 ` Willie Wong
2006-02-26 15:43 ` Uwe Thiem
2006-02-20 18:32 ` Martins Steinbergs
2006-02-20 20:22 ` Abhay Kedia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox