LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-30-2009, 12:19 AM   #1
centguy
Member
 
Registered: Feb 2008
Posts: 394
Blog Entries: 1

Rep: Reputation: 35
change default applications when I click a hyperlink in xdvi


If a hyperlink in a xdvi file is pointing to a file in my hard drive,
say, file:/home/user1/a.pdf , which is a pdf file, then I am able to automatically open the file by clicking on it. Now, I would like to change the default application (evince) that open that pdf file.
How should I customize it ? Is it under xdvik customization (where?), or gnome setting (where?) , or somewhere else ?
I have been thinking about this issue for ages, especially I am using the hyperlink capability in xdvik. Thanks a million !!!!
 
Old 07-30-2009, 12:42 AM   #2
centguy
Member
 
Registered: Feb 2008
Posts: 394
Blog Entries: 1

Original Poster
Rep: Reputation: 35
$HOME/.xdvirc seems to be the key file to work on.. But can anyone provide a quick answer ?
 
Old 07-30-2009, 07:17 AM   #3
centguy
Member
 
Registered: Feb 2008
Posts: 394
Blog Entries: 1

Original Poster
Rep: Reputation: 35
I don't have all the answers. But someone good at customizing X might help me.

On running xdvi on Fedora 10, and clicking on a hyperlink to an internet
site,

the following messages appear:

Quote:
xdvi-xaw3d: Info: Browser not set (xdvi.wwwBrowser, -browser or $BROWSER environment variable).
xdvi-xaw3d: Info: Using built-in default: `xdg-open %s:htmlview %s:firefox -remote "openURL(%s,new-window)":mozilla -remote "openURL(%s,new-window)":netscape -remote "openURL(%s,new-window)":xterm -e w3m %s:xterm -e lynx %s:xterm -e wget %s'
I tried to play with editres but I have no luck. It seems this is
an X jungle game here.. Anyone please ? I hope my thread will be helpful
for those who have the same problem as me. Cheers!
 
Old 08-03-2009, 03:12 PM   #4
centguy
Member
 
Registered: Feb 2008
Posts: 394
Blog Entries: 1

Original Poster
Rep: Reputation: 35
My colleague helped me to identify the key file to edit:
/etc/mailcap !!
 
  


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
Double-click delay not honored by some applications buchs Linux - Desktop 0 07-09-2009 09:40 AM
How do I change double click to single click? joseph2020 Linux - Newbie 2 04-27-2009 12:32 AM
change grub boot order, all instructions say change default, but I don't see default mhg Linux - Newbie 5 11-09-2008 10:01 AM
Anyone knows an applications that changes eth0 ip with a click? huxflux Linux - Software 2 11-26-2007 04:26 PM
Setting double click as default action in mandrake 9.1 Moses420ca Linux - Newbie 7 10-26-2003 08:52 PM


All times are GMT -5. The time now is 01:01 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