You are not logged in.
I was thinking about how to correctly spawn processes, gui programs etc from the shell in a terminal recently (http://unix.stackexchange.com/questions … om-a-shell). This led me to be interested in how Gnome and KDE and several other desktop environments launch applications. Presumably they all send some sort of command through the shell. Is there some form of standard that has proven to be effective? I have neither Gnome nor KDE on my machine, only DWM.
Offline
Offline
Cheers. I just read the wiki entry. How can I employ desktop entries in an environment like dwm where I do not have something like a desktop where icons are shown. Can I still use these desktop entries somehow and how can I mimic their behavior from the shell i.e. how can I start applications from the shell in the same they I start them from a desktop entry?
Offline
I just use dmenu... If I do want to start an app from the shell, I generally open a scratchpad and `application &`.
Offline
The thing is I want to get rid of dmenu and spawn applications only from the shell but in order to do that I try to understand how applications are launched within different desktop environments.
Offline
So my question comes down to: Do these desktop entries pass some kind of command to a shell i.e. how is the "exec=" field evaluated?
Offline