How to open with a different program


dibad0011

Still Fresh
Joined
Aug 11, 2012
Messages
94
This is a very newbie question and I already asked before with no much help from the community (please pardon my existance). I want to open all my movies with smplayer2. When I choose "open file with" and then "use a custom command" I don't know which executable file points to smplayer2 (inside usr/bin directory). I run Linx mint debian xfce on my PC and I find no problems in finding whatever app I want to use to open whatever type of file via custom command.  
 

Binky

Death's Steed
Staff member
Joined
May 28, 2003
Messages
6,997
Location
16A (TO)
pnd_run /media/YOURSDCARDNAME/menu/PNDNAME.pnd

(substitute 'apps' or 'desktop' for 'menu')
 

dibad0011

Still Fresh
Joined
Aug 11, 2012
Messages
94
thanks for your help but I got the following error:

Failed to add new application "smplayer2_r6.pnd".

Failed to load application from file /home/myname/Applications/Data/applications//smplayer2_r6.pnd-usercreated-1.desktop.

I have all my pnds on the menu folder btw.
 

thatgui

Advanced Member
Joined
Apr 2, 2009
Messages
3,048
pnd_run /media/YOURSDCARDNAME/menu/PNDNAME.pnd


(substitute 'apps' or 'desktop' for 'menu')


This will start only the pnd, you need a "placeholder" for the resources uri -> see wizardStans solution

thanks for your help but I got the following error:


Failed to add new application "smplayer2_r6.pnd".


Failed to load application from file /home/myname/Applications/Data/applications//smplayer2_r6.pnd-usercreated-1.desktop.


I have all my pnds on the menu folder btw.
it looks like you did not use the pnds file path, but the path of the .desktop file that is automatically created my the system (which just contains infos about the pnd).
 
Last edited by a moderator:
Top