View Single Post
adelalgomai's Avatar
Posts: 54 | Thanked: 47 times | Joined on Oct 2011 @ Yemen
#51
Originally Posted by n0idea View Post
Not all apps can to open file from command... but need to try it!

Example for KMPlayer:
  • 1. Try to run from terminal.
    "kmplayer" -> not found
  • 2. Okay, then go to "/usr/share/applications/hildon" and reading ".desktop" file.
    "kmplayer.desktop"
    Exec="/opt/kmplayer/bin/kmplayer"
    It's path to binary - u can run it!
  • 3. Try to run from Hamster.
    "/opt/kmplayer/bin/kmplayer %s" -> it's work - release & happy

"leafpad %s" -> working.
"evince %s" -> working too.
....

I think it's good feature request - preinstalled examples for applications, OR better - "Open with..." show dialog with list of applications, loaded from .desktop files - choose and auto add name and command with %s param favorites in top - it's really like "Open with...". And for commands other item menu...
Million Thanx my brother .. It's really work perfectly .. I think kmplayer was need the full path as u said .. now the program became usefull with this great feature , so when i need to play video which cannot open with default player and only need kmplayer , all i have to do is just : open with ... no need to open kmplayer and search for that file ..
 

The Following User Says Thank You to adelalgomai For This Useful Post: