09-28-2017, 12:36 PM
(09-28-2017, 01:14 AM)dahni Wrote:(09-22-2017, 03:32 PM)Siliconserf Wrote:this code doesn't make any sense.Code:Version=1.0
Name=Manuskriptlauncher
mate=terminal -- working-directory= .. -e 'manuskript=develop/bin/manuskript'
please show us the complete content of the .desktop file in question.
Thanks for posting. The only missing line is "exit" at the end. So, the code posted was it. However, I edited the file to be just this:
~/manuskript-develop/bin/manuskript
That works. I still get an exit status message I don't want to see, but it works.
Once I got to that point I added a line that mounts googledrive:
google-drive-ocamlfuse ~/googledrive
~/manuskript-develop/bin/manuskript
I tried putting the mounting command into system startup script, but that seems to cause a problem which I attribute to the wi-fi connection not being completed before the mount command is executed. In any event, my next adventure in command line programming will be to set up issuing a command mounting the googledrive only if it isn't already mounted (just to get rid of the pesky error messaging about needing to unmount a drive before trying to mount it. It would be simpler, I suppose, to put the google mount command in another desktop file and invoking it when I need to use a program that needs to look at files there, but that wouldn't be as much fun.
"Get your facts straight first, then distort them as you wish." -- Mark Twain