No, a truly extra step. You have to change behavior in the file browsers 
preferences.

On Monday, January 2, 2017 at 8:41:45 PM UTC-8, Riz wrote:
>
> Extra step? I did "chmod +x script.sh" to give myself the necessary 
> permissions. I might be wrong, but I do not think this varies with file 
> browsers. 
>
> On Tuesday, 3 January 2017 09:47:47 UTC+5:30, Mark S. wrote:
>>
>> With nautilus there is an additional step to make a script executable. 
>> Don't know if that's true with Nemo.
>>
>> Good luck,
>> Mark
>>
>> On Monday, January 2, 2017 at 7:49:42 PM UTC-8, Riz wrote:
>>>
>>>
>>>
>>> Mint comes with Nemo as the default file browser.  That is relevant how?
>>>
>>>
>>> On Tuesday, 3 January 2017 08:53:27 UTC+5:30, Mark S. wrote:
>>>>
>>>> There's so many varieties and setups in Linux. Are you using Nautilus 
>>>> for your file browser/launcher by any chance?
>>>>
>>>> Good luck!
>>>> Mark
>>>>
>>>> On Monday, January 2, 2017 at 6:06:47 AM UTC-8, Riz wrote:
>>>>>
>>>>> hese are the things I already tried.
>>>>>
>>>>> Creating a .desktop file with 
>>>>> exec=tiddlywiki /path/to/my/wiki --server 8081 & xdg-open http://
>>>>> 127.0.0.1:8081
>>>>>
>>>>> This quit without executing.
>>>>>
>>>>> Then I created a bash script with the same command and call it via the 
>>>>> launcher, that closed out too. Finally I added $SHELL to the end of bash 
>>>>> script. This one opens the firefox and navigates to the url, but no 
>>>>> tiddlywiki. 
>>>>>
>>>>> *Launcher File contents*
>>>>> [Desktop Entry]
>>>>> Version=1.0
>>>>> Type=Application
>>>>> Terminal=true
>>>>> Exec=bash path/to/my/wiki/serve.sh
>>>>> Name=Something
>>>>> Icon=Some Icon
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Bash File Contents*
>>>>> #!/bin/bash
>>>>>
>>>>> tiddlywiki main-wiki-server --server 8081 & xdg-open http://
>>>>> 127.0.0.1:8081
>>>>> $SHELL
>>>>>
>>>>>
>>>>>
>>>>> I do have the necessary permissions. Both files are marked executable. 
>>>>> The command works when given independently in a terminal.  
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3cb786c3-8364-4ce7-89bf-7a356207b035%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to