Re: [kde] Kmenu editor - launching files



On Sunday 21 January 2007 23:25 IST, John wrote:
No  don't think it's a bug as such. It seems that if a file such as a pdf
is launched from Kmenu it isn't passed on to to the application it's
associated with.
There also seems to be some inconsistency in this area. For example
a command  - wine "some win application with it's full path" - needs the
quotes and does work where as - acroread "some pdf file with it's full
path" doesn't (kpf and kghost too).
The solution is to put - acroread filename.pdf in command and the pdf
file's full directory in the working directory.
The file name can be in quotes or not in quotes. In the wine case the
quotes must be added.

I am not sure i understand this problem entirely, nevertheless, ill mention.

The quotes are needed when you have spaces in the path. Do you have spaces?
Try putting the command as you did for the menu entry in the run dialog
(ALT+F2) and see what happens.

I don't have acroread here on an amd64.
--
Cheers!
kitts
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.



Relevant Pages

  • Re: [kde] Kmenu editor - launching files
    ... and the full path of the pdf in the working directory box. ... The solution is to put - acroread filename.pdf in command and the pdf ... The file name can be in quotes or not in quotes. ... Try putting the command as you did for the menu entry in the run dialog ...
    (KDE)
  • Re: [SLE] bash Script Using Filenames with Embedded Spaces
    ... If it is a literal space for the ls command, ... wonder what effect the quotes will have placed in different places ... Antonio Vivaldi-Gloria Dixit Dominus Magnificat Choir of Kings College ...
    (SuSE)
  • Re: [SLE] bash Script Using Filenames with Embedded Spaces
    ... If it is a literal space for the ls command, ... wonder what effect the quotes will have placed in different places ... Antonio Vivaldi-Gloria Dixit Dominus Magnificat Choir of Kings College ...
    (SuSE)
  • Re: [SLE] bash Script Using Filenames with Embedded Spaces
    ... command, then it must be a literal space for any other command. ... Antonio Vivaldi-Gloria Dixit Dominus Magnificat Choir of Kings ... College Cambridge and the Academy of Ancient Music.m3u ... command is placed inside double quotes, I get the expected ls output: ...
    (SuSE)
  • Re: Bash commands: maybe they want to drive us crazy?
    ... Bill Unruh wrote: ... single quotes would cause the find command to expand the * ... Which means that a shell command and the shell itself are two very different ...
    (comp.os.linux.misc)