thanks , btw with vlc and i guess other non-kde software i managed to fix with thisprint("vlc raw string "+defaultApplication("video/x-ogm+ogg"), true)var test=defaultApplication("video/x-ogm+ogg").replace(/.*\//, "")print("removing /usr/bin/ from it : "+test)var test2 = test.split(" ")print ("removing options "+test2[0])===================================================what i get for VLC :===================================================vlc raw string /usr/bin/vlc %Uremoving /usr/bin/ from it : vlc %Uremoving options vlc2013/1/31 Aaron J. Seigo <aseigo@kde.org>On Wednesday, January 30, 2013 19:25:05 Nowardev-Team wrote:also fixed properly in master.
> ok :) i managed to fix that with
>
> var test = defaultApplication("filemanager").split(" ")
> print (test[0])
note that you can also do: defaultApplication("filemanager", true) to get the
.desktop file for it rather than the executable
--
Aaron J. Seigo_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel