place any script in ~/bin/

check to have something like this in ~/.bash_profile
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

in ~/.local/share/applications/script.desktop edit Exec=
to the name of the script in ~/bin/ like Exec=script %f

On Mon, Jul 10, 2017 at 06:52:29PM +0200, Stefan Kadow wrote:
> Now I wrote a simple shell script named launch-lo.sh
> 
> But my .desktop file, placed in ~/.local/share/applications/, will not
> create a menu entry in the "open with" context menu of PCManFM-Qt.
> 
> Thanks for any help
> Stefan
> 



> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> _______________________________________________
> Lxde-list mailing list
> Lxde-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxde-list


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to