# How to specify browser command when launching cylc gui?

**URL:** <https://cylc.discourse.group/t/how-to-specify-browser-command-when-launching-cylc-gui/975>\
**Category:** Cylc Support\
**Created:** [July 2, 2024, 1:27pm UTC](https://cylc.discourse.group/t/how-to-specify-browser-command-when-launching-cylc-gui/975 "2024-07-02T13:27:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joem](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/joem/32/408_2.png) [@joem](https://cylc.discourse.group/u/joem)\
**Post date:** [July 2, 2024, 1:27pm UTC](https://cylc.discourse.group/t/how-to-specify-browser-command-when-launching-cylc-gui/975/1 "2024-07-02T13:27:21Z")

</div>

Hi,

I’ve like to be able to launch the cylc 8 gui with a particular firefox profile, ie firefox -p \<profile\_name\> (so I can have a profile with no bookmarks bar, no menu bar). Is there a config where I can specify this somewhere?

Thanks, Joe

---

<div class="post-metadata">

**Author:** ![oliver.sanders](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/oliver.sanders/32/110_2.png) [@oliver.sanders](https://cylc.discourse.group/u/oliver.sanders)\
**Post date:** [July 2, 2024, 1:48pm UTC](https://cylc.discourse.group/t/how-to-specify-browser-command-when-launching-cylc-gui/975/2 "2024-07-02T13:48:38Z")

</div>

Hi,

The `cylc gui` command uses Python’s [`webbrowser.open`](https://docs.python.org/3/library/webbrowser.html#webbrowser.open) interface to pop up your browser, so it is not possible to configure the command that is used.

O

---

<div class="post-metadata">

**Author:** ![joem](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/joem/32/408_2.png) [@joem](https://cylc.discourse.group/u/joem)\
**Post date:** [July 2, 2024, 4:21pm UTC](https://cylc.discourse.group/t/how-to-specify-browser-command-when-launching-cylc-gui/975/3 "2024-07-02T16:21:40Z")

</div>

Ah ok, thanks for the info.

I’ve settled on using the --no-browser option and then manually opening [http://localhost:8888/cylc/#/](http://localhost:8888/cylc/#/) with my preferred command.

---

<div class="post-metadata">

**Author:** ![dpmatthews](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/dpmatthews/32/26_2.png) [@dpmatthews](https://cylc.discourse.group/u/dpmatthews)\
**Post date:** [July 2, 2024, 4:31pm UTC](https://cylc.discourse.group/t/how-to-specify-browser-command-when-launching-cylc-gui/975/4 "2024-07-02T16:31:07Z")

</div>

The Python docs (which Oliver linked to) explain how to configure the browser command.  
This works for me:

```auto
 export BROWSER="firefox -p <profile_name> %s"

```

---

<div class="post-metadata">

**Author:** ![joem](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/joem/32/408_2.png) [@joem](https://cylc.discourse.group/u/joem)\
**Post date:** [July 3, 2024, 10:30am UTC](https://cylc.discourse.group/t/how-to-specify-browser-command-when-launching-cylc-gui/975/5 "2024-07-03T10:30:23Z")

</div>

Briliant! thanks Dave.
