LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-12-2004, 09:38 AM   #1
Linux24
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1
Posts: 204

Rep: Reputation: 30
COnfiguring Program Associations


I'm currently running Fedora Core 2, and I've been having a devil of a time setting up file associations in KDE.

Essentially, I am trying to make it so that when I double click a file type, my preferred editor, viewer, or player launches with that file in hand.

I finally figured out how to do this with mp3's and XMMS. I had to go into file associations and edit the "Audio Player" association command

From:

xmms -e %F

To:

xmms -p %F

-e is apparently to queue up a file, so double clicking didn't play my .mp3, but instead just loaded it and brought up XMMS doing nothing. I changed the launch option to -p (found it in the man page for XMMS) so the file would be played.

Here is my question:

What the heck is the %F? I didn't see it in the man pages for XMMS, so I assume it must be a bash variable for the file name?

What all %x variables are there, what are they for, and where can I see a list of them for other applications when I want to configure Mimetypes?
 
Old 10-12-2004, 06:59 PM   #2
evilmrhenry
Member
 
Registered: Oct 2003
Distribution: Knoppix
Posts: 103

Rep: Reputation: 15
Quote:
What the heck is the %F? I didn't see it in the man pages for XMMS, so I assume it must be a bash variable for the file name?

What all %x variables are there, what are they for, and where can I see a list of them for other applications when I want to configure Mimetypes?
http://users.ox.ac.uk/~chri1802/kde/...izing-kde.html

Also, if you have the help icon visible in your window theme, you can click on the help icon, then the command textbox to get that list.

The %F option is the most useful.
 
Old 10-12-2004, 08:14 PM   #3
Linux24
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1
Posts: 204

Original Poster
Rep: Reputation: 30
Thank you!
 
  


Reply



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
Program Associations in Gnome davethegenius Linux - Software 2 06-20-2005 09:07 PM
gnome has lost its program associations :( Schrambo Slackware 0 09-02-2004 12:41 AM
Dam! I messed up my program associations. lectraplayer Linux - Newbie 3 02-04-2004 09:41 PM
Program Associations rkid Linux - Software 3 10-11-2003 12:06 PM
Program associations in Gnome jsin Linux - Newbie 4 09-26-2003 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration