Re: [debian] Re: Gnome File Association

2005-05-01 Thread Mark Roach
On Fri, 2005-04-29 at 17:38 +1000, Keith Bates wrote: 
 No, that just gives you option to open it with, but no permanent
 association.
 
 What I'm really tring to do is open a pdf file using the sylpheed email
 reader which is built on Gtk2. When you click on an attachment you get
 options to open or open with application. When I click on open
 nothing happens. I'm assuming this is an association problem somehwere
 in gnome.

If you are using Gnome 2.8+ it does. You need to right-click and choose
properties, the choose the Open With tab. It will say to pick a program
to open foo.pdf and others of type .pdf

Since you are using sylpheed though, I'm not sure whether it is using
Gnome's file associations (or, if it is, whether it's using the new fd.o
standard). You may need to pose it as a sylphed associations question.

-Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [debian] Re: Gnome File Association

2005-05-01 Thread Keith Bates
On Sun, 01 May 2005 12:41:55 -0400
Mark Roach [EMAIL PROTECTED] wrote:

 On Fri, 2005-04-29 at 17:38 +1000, Keith Bates wrote: 
  No, that just gives you option to open it with, but no permanent
  association.
  
  What I'm really tring to do is open a pdf file using the sylpheed
  email reader which is built on Gtk2. When you click on an
  attachment you get options to open or open with application.
  When I click on open nothing happens. I'm assuming this is an
  association problem somehwere in gnome.
 
 If you are using Gnome 2.8+ it does. You need to right-click and
 choose properties, the choose the Open With tab. It will say to pick
 a program to open foo.pdf and others of type .pdf


Thanks, I'd missed that.

Keith
 


-- 
God bless you,


Keith Bates
4 Mooloobar St
Narrabri NSW 2390

Phone: 02 67924890
Fax: 02 67925418

www.new-life.org.au

If you don't have a reason to live

JESUS IS THE ANSWER!

Ask him into your life today...
He really does make a difference.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GNOME File Association

2004-12-15 Thread Tim
postinst is one of the scripts that gets automatically executed
after a package is installed.

From http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html#s-maintscripts :

postinst
This script typically completes any required configuration of the
package foo once foo has been unpacked from its Debian archive
(.deb) file. Often, 'postinst' scripts ask the user for input,
and/or warn the user that if he accepts default values, he should
remember to go back and re-configure that package as the situation
warrants. Many 'postinst' scripts then execute any commands necessary
to start or restart a service once a new package has been installed or
upgraded.

 - Tim

On Tue, 14 Dec 2004 21:45:21 -0500, Bruce Park [EMAIL PROTECTED] wrote:
 Tim wrote:
  It did for me (after doing that, nautilus reported, e.g., .gnumeric as
  the proper type instead of unknown).  One of the packages mentioned
  says something about freedesktop.org (in one of the files I read under
  /usr/share/mime).
 
   - Tim
 
 I see. I'll have to try this out.
 
 What by the way, is postint?
 
 bp
 
  On Mon, 13 Dec 2004 23:26:43 -0500, Bruce Park [EMAIL PROTECTED] wrote:
 
 Tim wrote:
 
 I experienced the same problem recently while updating unstable (I've
 been running unstable for a while; it's possible I accidentally
 corrupted some file).
 
 Anyway, I solved my problem by running apt-get install --reinstall
 [all the programs Ron mentioned above].  All the programs were already
 installed on the system except mimedecode (which, as Bruce mentioned,
 doesn't directly solve the problem). That's the easy way to do it. I'm
 pretty sure the reason it works is because one of the postinst scripts
 rebuilds whatever file it was I lost.  One interesting postinst runs
 'update-mime-database /usr/share/mime'.
 
 Good luck.
  - Tim
 
 Tim,
 
 Did that acutally rebuild the database? I was told that the application 
 responsible
 is gone to better integrated different desktops.
 
 bp
 
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GNOME File Association

2004-12-14 Thread Bruce Park
Tim wrote:
It did for me (after doing that, nautilus reported, e.g., .gnumeric as
the proper type instead of unknown).  One of the packages mentioned
says something about freedesktop.org (in one of the files I read under
/usr/share/mime).
 - Tim
I see. I'll have to try this out.
What by the way, is postint?
bp
On Mon, 13 Dec 2004 23:26:43 -0500, Bruce Park [EMAIL PROTECTED] wrote:
Tim wrote:
I experienced the same problem recently while updating unstable (I've
been running unstable for a while; it's possible I accidentally
corrupted some file).
Anyway, I solved my problem by running apt-get install --reinstall
[all the programs Ron mentioned above].  All the programs were already
installed on the system except mimedecode (which, as Bruce mentioned,
doesn't directly solve the problem). That's the easy way to do it. I'm
pretty sure the reason it works is because one of the postinst scripts
rebuilds whatever file it was I lost.  One interesting postinst runs
'update-mime-database /usr/share/mime'.
Good luck.
- Tim
Tim,
Did that acutally rebuild the database? I was told that the application 
responsible
is gone to better integrated different desktops.
bp

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GNOME File Association

2004-12-13 Thread Tim
I experienced the same problem recently while updating unstable (I've
been running unstable for a while; it's possible I accidentally
corrupted some file).

Anyway, I solved my problem by running apt-get install --reinstall
[all the programs Ron mentioned above].  All the programs were already
installed on the system except mimedecode (which, as Bruce mentioned,
doesn't directly solve the problem). That's the easy way to do it. I'm
pretty sure the reason it works is because one of the postinst scripts
rebuilds whatever file it was I lost.  One interesting postinst runs
'update-mime-database /usr/share/mime'.

Good luck.
 - Tim

On Sat, 11 Dec 2004 18:53:52 +0100, René Seindal [EMAIL PROTECTED] wrote:
 Bruce Park wrote (11-12-2004 18:25):
 
 
  René Seindal wrote:
 
  Bruce Park wrote (11-12-2004 16:14):
 
  Is it possible that GNOME 2.8 (or Debian for that matter) did away
  with the File Association application found on the Applications -
  Desktop Preferences menu?
 
  Yes it did,
 
  Use Open with other application and type in the application you want
  to use.
 
  It will be remembered for that file type afterwards.
 
 
  I wonder, why was it removed? I do realize that once you associated an
  file to an application, it works fine but most of my original settings
  have been removed.
 
 I think the idea was to move towards the freedesktop.org system, so
 application / mime / preferences can be shared between different
 desktops.  It will make it a lot easier for applications to work with
 different desktops, if they can agree on some common conventions.
 
 I don't think the idea is all bad, but a few things have been lost in
 the process.  I used to have files with different defaults than that of
 the mime-type.  I could do that in gnome 2.6, but not in 2.8.
 
 Another minor thing with the new system is that you cannot enter a user
 readable name for a custom application. You just see the program name in
 the menu.  To get around that I have to edit the .desktop files in
 ~/.local/share/applications/ by hand.
 
 
 
 --
 René Seindal ([EMAIL PROTECTED])
 Seindal Consult
 



Re: GNOME File Association

2004-12-11 Thread Bruce Park
Ron Johnson wrote:
On Fri, 2004-12-10 at 22:40 -0500, Bruce Park wrote:
Hello Debian Users,
I am currently using the unstable version of Debian. Prior to this, I was using 
testing (Sarge) and I noticed that a serious problem had occurred after an dist-upgrade.

Basically, all my file associations seem to have dissapeared. While using testing, I 
was able to at least open a application with this information but in Sid, I can't 
even find this application anymore. It would appear that it is no longer in it's 
proper menu.

An annoying side effect to this is that I cannot double click files and have them 
automatically launch with the approrpriate application. When I try this, the message 
I usually get is:

Couldn't display filename.
Can anyone tell me how I can get that application back into the menu? I don't know 
the exact name of the program but it allowed me to associate files by the suffix to 
an application.

Any help will be appreciated.

See if these are installed properly:
ii  gnome-mime-data  2.4.1-2  
ii  mime-support 3.28-1   
ii  mimedecode   1.9-2
ii  shared-mime-info 0.15-1   
The third pacakage mimedecode was missing. After installing it, the only 
improvement I see is after right clicking a file, it gives me one more option which 
is to open it with an associated appplication.

Is it possible that GNOME 2.8 (or Debian for that matter) did away with the File 
Association application found on the Applications - Desktop Preferences menu?

Thanks for the help.
bp
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GNOME File Association

2004-12-11 Thread René Seindal
Bruce Park wrote (11-12-2004 16:14):
Is it possible that GNOME 2.8 (or Debian for that matter) did away with 
the File Association application found on the Applications - Desktop 
Preferences menu?
Yes it did,
Use Open with other application and type in the application you want 
to use.

It will be remembered for that file type afterwards.
--
René Seindal ([EMAIL PROTECTED])
Seindal Consult




Re: GNOME File Association

2004-12-11 Thread René Seindal
Bruce Park wrote (11-12-2004 18:25):
René Seindal wrote:
Bruce Park wrote (11-12-2004 16:14):
Is it possible that GNOME 2.8 (or Debian for that matter) did away 
with the File Association application found on the Applications - 
Desktop Preferences menu?
Yes it did,
Use Open with other application and type in the application you want 
to use.

It will be remembered for that file type afterwards.
I wonder, why was it removed? I do realize that once you associated an 
file to an application, it works fine but most of my original settings 
have been removed.
I think the idea was to move towards the freedesktop.org system, so 
application / mime / preferences can be shared between different 
desktops.  It will make it a lot easier for applications to work with 
different desktops, if they can agree on some common conventions.

I don't think the idea is all bad, but a few things have been lost in 
the process.  I used to have files with different defaults than that of 
the mime-type.  I could do that in gnome 2.6, but not in 2.8.

Another minor thing with the new system is that you cannot enter a user 
readable name for a custom application. You just see the program name in 
the menu.  To get around that I have to edit the .desktop files in 
~/.local/share/applications/ by hand.

--
René Seindal ([EMAIL PROTECTED])
Seindal Consult




Re: GNOME File Association

2004-12-11 Thread Bruce Park
René Seindal wrote:
Bruce Park wrote (11-12-2004 16:14):
Is it possible that GNOME 2.8 (or Debian for that matter) did away 
with the File Association application found on the Applications - 
Desktop Preferences menu?

Yes it did,
Use Open with other application and type in the application you want 
to use.

It will be remembered for that file type afterwards.
I wonder, why was it removed? I do realize that once you associated an file to an 
application, it works fine but most of my original settings have been removed.

bp
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


GNOME File Association

2004-12-10 Thread Bruce Park
Hello Debian Users,
I am currently using the unstable version of Debian. Prior to this, I was using 
testing (Sarge) and I noticed that a serious problem had occurred after an dist-upgrade.

Basically, all my file associations seem to have dissapeared. While using testing, I 
was able to at least open a application with this information but in Sid, I can't 
even find this application anymore. It would appear that it is no longer in it's 
proper menu.

An annoying side effect to this is that I cannot double click files and have them 
automatically launch with the approrpriate application. When I try this, the message 
I usually get is:

Couldn't display filename.
Can anyone tell me how I can get that application back into the menu? I don't know 
the exact name of the program but it allowed me to associate files by the suffix to 
an application.

Any help will be appreciated.
bp
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GNOME File Association

2004-12-10 Thread Ron Johnson
On Fri, 2004-12-10 at 22:40 -0500, Bruce Park wrote:
 Hello Debian Users,
 
 I am currently using the unstable version of Debian. Prior to this, I was 
 using 
 testing (Sarge) and I noticed that a serious problem had occurred after an 
 dist-upgrade.
 
 Basically, all my file associations seem to have dissapeared. While using 
 testing, I 
 was able to at least open a application with this information but in Sid, I 
 can't 
 even find this application anymore. It would appear that it is no longer in 
 it's 
 proper menu.
 
 An annoying side effect to this is that I cannot double click files and have 
 them 
 automatically launch with the approrpriate application. When I try this, the 
 message 
 I usually get is:
 
 Couldn't display filename.
 
 Can anyone tell me how I can get that application back into the menu? I don't 
 know 
 the exact name of the program but it allowed me to associate files by the 
 suffix to 
 an application.
 
 Any help will be appreciated.

See if these are installed properly:

ii  gnome-mime-data  2.4.1-2  
ii  mime-support 3.28-1   
ii  mimedecode   1.9-2
ii  shared-mime-info 0.15-1   

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

Those hairy white apes don't have the Japanese fighting spirit.
What Imperial Japanese pilots were saying, in 1941.



signature.asc
Description: This is a digitally signed message part