# Processing Shader Tool

**URL:** https://discourse.processing.org/t/processing-shader-tool/5476
**Category:** Gallery
**Created:** [November 12, 2018, 4:47pm UTC](https://discourse.processing.org/t/processing-shader-tool/5476 "2018-11-12T16:47:16Z")
**Posts on this page:** 3
**Page:** 2

<div class="post-metadata">

### Author: ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)
#### Post date: [May 14, 2021, 11:29am UTC](https://discourse.processing.org/t/processing-shader-tool/5476/21 "2021-05-14T11:29:53Z")

</div>

While `Desktop.edit(..)` is, as you said earlier, probably the best way to handle, the other good default approach would be `xdg-open`.

> [@hamoid](#):
>
> as many people will prefer editors that are easier to quit 😉

You mean I don’t have to restart the computer to get out of vi?! 😆

---

<div class="post-metadata">

### Author: ![galousis](https://avatars.discourse-cdn.com/v4/letter/g/ccd318/32.png) [@galousis](https://discourse.processing.org/u/galousis)
#### Post date: [May 14, 2021, 4:01pm UTC](https://discourse.processing.org/t/processing-shader-tool/5476/22 "2021-05-14T16:01:36Z")

</div>

Yes, the key value entry was not there.  
So the code searched per OS trying to to assign value to _editor_ variable.  
I have only one preferences txt file under the same path as yours.

Since xterm got installed the new entry got in place in the preferences file.  
Then i changed that entry to point to _gedit_ and it works fine.

 ![Screenshot from 2021-05-14 19-00-43](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/8/8c68391fe49d110d9f4b429947296ccea0400ff4.png)

---

<div class="post-metadata">

### Author: ![galousis](https://avatars.discourse-cdn.com/v4/letter/g/ccd318/32.png) [@galousis](https://discourse.processing.org/u/galousis)
#### Post date: [May 14, 2021, 4:05pm UTC](https://discourse.processing.org/t/processing-shader-tool/5476/23 "2021-05-14T16:05:23Z")

</div>

> You mean I don’t have to restart the computer to get out of vi?!

🤣

[Previous page](https://discourse.processing.org/t/processing-shader-tool/5476.md?page=1)
