hanz99
Posts: 55
Joined: Thu Dec 17, 2015 6:48 pm

Desktop Icon and pgm run

Tue Jan 05, 2016 8:36 pm

I'm a newbee. I cannot create an entry on the Desktop (w icon) to allow me to run a program. Does anyone out there have an example how to do this?? I have program and it needs a file and options to run. ( myprm a.avi -v 12). How do I do this under Raspberry PI 2 ?? I can run the prm using Terminal. ex: mypgm a.avi -v 23? Can someone give me a sample?? I can proceed from there.


Thanz


Hanz

gerdesj
Posts: 24
Joined: Sun Nov 29, 2015 1:52 pm

Re: Desktop Icon and pgm run

Tue Jan 05, 2016 9:48 pm

All my Pis are running headless and I don't have a LXDE desktop handy. However according to this: http://wiki.lxde.org/en/LXPanel you should be able to:

"Basic configuration of LXPanel can be done with the GUI preference configuration dialog. Just right click on the panels, and you can access the config dialog. Please use the GUI instead of directly editing the config files if you don't have very special needs."

.... now having quickly fired up a Lubuntu virtual machine on my laptop and poking around its not quite that simple - sorry

This is the way to do it: https://unix.stackexchange.com/question ... ar-via-cli

It may seem to be a bit of a fiddle but that is the standard way to define applications for *any* window manager to use ie its a sort of language neutral way to do it. Bigger, more complex window managers give you a funky GUI to do what you want but LXDE isn't called lightweight for nothing.

Return to “Beginners”