# Failed to load module "colorreload-gtk-module" / "window-decorations-gtk-module"

**URL:** <https://discourse.julialang.org/t/failed-to-load-module-colorreload-gtk-module-window-decorations-gtk-module/91118>\
**Category:** General Usage\
**Tags:** plotlyjs\
**Created:** [December 1, 2022, 11:13pm UTC](https://discourse.julialang.org/t/failed-to-load-module-colorreload-gtk-module-window-decorations-gtk-module/91118 "2022-12-01T23:13:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ellocco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ellocco/32/31331_2.png) [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Post date:** [December 1, 2022, 11:13pm UTC](https://discourse.julialang.org/t/failed-to-load-module-colorreload-gtk-module-window-decorations-gtk-module/91118/1 "2022-12-01T23:13:05Z")

</div>

I am frustrated, under Ubuntu 22.04 it is not possible to pipe the output of `PlotlyJS` to the default web-browser. Today I found the advice to edit the Gtk-configuration file `settings.ini` in the following forum thread: [getting-failed-to-load-module-colorreload-gtk-module-when-starting-gtk-apps](https://forum.endeavouros.com/t/getting-failed-to-load-module-colorreload-gtk-module-when-starting-gtk-apps-from-terminal/19102/4)  
Are there other ideas around?

---

<div class="post-metadata">

**Author:** ![jd-foster](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jd-foster/32/35824_2.png) [@jd-foster](https://discourse.julialang.org/u/jd-foster)\
**Post date:** [December 1, 2022, 11:54pm UTC](https://discourse.julialang.org/t/failed-to-load-module-colorreload-gtk-module-window-decorations-gtk-module/91118/2 "2022-12-01T23:54:24Z")

</div>

To clarify: do you just need to see PlotlyJS in a web browser, or do you want to fix the error itself?

---

<div class="post-metadata">

**Author:** ![ellocco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ellocco/32/31331_2.png) [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Post date:** [December 2, 2022, 12:05am UTC](https://discourse.julialang.org/t/failed-to-load-module-colorreload-gtk-module-window-decorations-gtk-module/91118/3 "2022-12-02T00:05:25Z")

</div>

I would like that the plot is displayed in a web-browser, this works perfect under MS-Windows, but on ubuntu it fails.

---

<div class="post-metadata">

**Author:** ![jd-foster](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jd-foster/32/35824_2.png) [@jd-foster](https://discourse.julialang.org/u/jd-foster)\
**Post date:** [December 2, 2022, 12:10am UTC](https://discourse.julialang.org/t/failed-to-load-module-colorreload-gtk-module-window-decorations-gtk-module/91118/4 "2022-12-02T00:10:23Z")

</div>

Ok. How are you piping the output of `PlotlyJS` to the web browser in WIndows?

---

<div class="post-metadata">

**Author:** ![ellocco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ellocco/32/31331_2.png) [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Post date:** [December 2, 2022, 6:30am UTC](https://discourse.julialang.org/t/failed-to-load-module-colorreload-gtk-module-window-decorations-gtk-module/91118/5 "2022-12-02T06:30:54Z")

</div>

Two options:

- Single Line execution
- PlotlyJS.display(plt\_obj\_handle)

---

<div class="post-metadata">

**Author:** ![ellocco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ellocco/32/31331_2.png) [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Post date:** [December 4, 2022, 8:20am UTC](https://discourse.julialang.org/t/failed-to-load-module-colorreload-gtk-module-window-decorations-gtk-module/91118/6 "2022-12-04T08:20:35Z")

</div>

as a workaround on Ubuntu you may use `plotly.express` via `PyCall`, this works:

```julia
using PyCall
px = pyimport("plotly.express")
fig = px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])
fig.show()

```

The graph is displayed without error message in the default web-browser.

---

<div class="post-metadata">

**Author:** ![ellocco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ellocco/32/31331_2.png) [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Post date:** [December 4, 2022, 8:46am UTC](https://discourse.julialang.org/t/failed-to-load-module-colorreload-gtk-module-window-decorations-gtk-module/91118/7 "2022-12-04T08:46:25Z")

</div>

if you see under `kubuntu` the message:

```julia
kf.service.services: KApplicationTrader: mimeType "x-scheme-handler/file" not found

```

you may edit the file `~/.config/mimeapps.list` and add the following line in the subsections of this file:

```julia
[Added Associations]
...
x-scheme-handler/file=org.kde.dolphin.desktop;
...
[Default Applications]
...
x-scheme-handler/file=org.kde.dolphin.desktop;

```

source: [kf.service.services: KApplicationTrader: mimeType “x-scheme-handler/file” not found](https://bugs.kde.org/show_bug.cgi?id=442721)  
At least this error is removed by this. but the plot is still not displayed ☹
