LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-25-2003, 11:27 PM   #1
linoops
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
Nautilius- file types and programs


Hi all,
I am uable to associate acrobat reader as the default application for viewing all pdf files. I know it has to do with the File type andd programs but am not sure how to set it right.

In Nauilius when i right click on a pdf file, i have the options Open with - other application and other viewer. What's the difference between these two ? and what should i set so as to open the file in acrobat when the file is double clicked?

Thanks in advance.

Regds,
Arun N
 
Old 09-26-2003, 10:10 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
OK, I hadn't used Nautilus, so I had to give it a quick spin first.
Right click on the file to bring up the contect menu.
Select Open With Other Application near the bottom.
Single click on the program you want for the default in the list.

Click the Modify button

Select the "Use as default ..." line.

Last edited by jschiwal; 09-26-2003 at 10:46 AM.
 
Old 09-26-2003, 01:18 PM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
I don't know what distro you're using or if GNOME in Red Hat 9 has the same preferences as with another distro

But, for GNOME and Red Hat 9

Main Menu -> Preferences -> File types and programs

There you can change the default app to open a type of file.
 
Old 09-28-2003, 12:20 AM   #4
linoops
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Still struggling with file type association

Hi,
Thank you for you responses, but I still have trouble fixing this.
I am using Redhat 9.0 with Nautilus. When i right click a pdf file in the Nautilus window and choose 'Open With -- Other Application -- ' the 'Open with other applications' window pops up with ggv listed as the default viewer. I click 'Go there' button under 'File Types and Programs' and get to the '
 
Old 09-28-2003, 12:28 AM   #5
linoops
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Still struggling with file type association

Hi,
Thank you for you responses, but I still have trouble fixing this.
I am using Redhat 9.0 with Nautilus. When i right click a pdf file in the Nautilus window and choose 'Open With -- Other Application -- ' the 'Open with other applications' window pops up. Here ggv is the only listed application. I click 'Go there' button under 'File Types and Programs' and get to the 'Edit file Type' dialog. Here i chose under Actions, Viewer Component = None, and Default action = Custom. Program to run = acroread.

When i go back and double clik a pdf file, it takes like 30 seconds(i have 512MB ram,athlon 2600) and then opens a empty ggv window.

Am i missing any steps???
 
Old 09-28-2003, 08:16 PM   #6
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
See my post above. I changed my pdf viewr to xpdf that way.

Last edited by darthtux; 09-28-2003 at 08:18 PM.
 
Old 09-29-2003, 09:07 AM   #7
linoops
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks,
Atlast it works now. I tried that earlier too, somehow it did not work then. Maybe i needed to relogin after making those changes. This time around I did that and it seems to have set acrobat as the default application.
It opens acrobat with a terminal window. I tried unchecking the 'open in terminal' option, but that does not take effect. Will try again later and see if it works.

Thanks all.
 
Old 10-03-2003, 10:30 AM   #8
linoops
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Hi,
After several attempts I managed to figure what my mistake was.
I had acrobat installed in /usr/local/ and so in the file type asociations dialog i entered /usr/local/Adobe5/bin/acrobat (the command I use to open acrobat from the terminal window). However, i failed to notice that this was gettin reset to just 'acrobat'. Since there was no 'acrobat' in my path, this was not working and double clicking a pdf file resulted in opening with the next possible viewer which was ggv. When i had 'run in terminal' checked, it worked fine and the file opened in acrobat along with a terminal window.

Now, I have created a link to the /usr/local/Adobe5/acrobat script in /usr/bin and simply put acrobat in the file associations dialog. Everything works as expected !!!

Hope this helps someone in future.

Regds,
Arun N.
 
Old 10-13-2003, 02:20 PM   #9
jdolluc
Member
 
Registered: Jul 2003
Distribution: Debian
Posts: 31

Rep: Reputation: 15
i have a similar problem...

i am mainly concerned with movie files (my tasteful erotic art collection). if i open up nautilus as root, i can open the files in xine with no problem. if i open nautilus as me, i get the coveted "no program associated with this file type" error. if i say, "ok, i want to associate xine" it says ok, but still gives me the error. if i go into the association menu again, the association is gone.

sounds to me like a permissions issue, but any reasons why and/or how to fix it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't set file types and programs r.stiltskin Red Hat 0 11-02-2004 12:13 AM
how do i associate programs with file types? drrnsk8ter4 Linux - Software 2 04-25-2004 08:22 PM
editing file types and programs kevinlyfellow Red Hat 1 03-03-2004 01:21 AM
file types jclark00001 Linux - Newbie 2 02-17-2003 04:07 PM
File types in KDE ChimpFace9000 Linux - Newbie 1 04-23-2002 10:05 AM


All times are GMT -5. The time now is 08:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration