# Daedalus on Linux | IOHK Statement

**URL:** <https://forum.cardano.org/t/daedalus-on-linux-iohk-statement/10542>\
**Category:** Developers\
**Tags:** daedalus\
**Created:** [14 April 2018 19:45 UTC](https://forum.cardano.org/t/daedalus-on-linux-iohk-statement/10542 "2018-04-14T19:45:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![\_ilap](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/_ilap/32/80886_2.png) [@\_ilap](https://forum.cardano.org/u/_ilap)\
**Post date:** [16 April 2018 22:10 UTC](https://forum.cardano.org/t/daedalus-on-linux-iohk-statement/10542/5 "2018-04-16T22:10:37Z")

</div>

Partly yes, by adding the followings into the deadalus shell script:

1. export XDG\_DATA\_HOME=\<wherever you want it to store\> and or set it globally (not recommended)
2. add -p XDG\_DATA\_HOME to the nix chroot.

As it will create the Daedalus/mainnet directory under the XDG\_DATA\_HOME.

A working example:

```bash
export XDG_DATA_HOME=/home/user/mainnet_db
 
exec ./nix/store/4xbn31l2fr95vp9z7g7ayxzy19ywcpnd-nix-user-chroot-2c52b5f/bin/nix-user-chroot \ 
-n ./nix -c -m /home:/home -m /etc:/host-etc -m etc:/etc -p DISPLAY \ 
-p HOME -p XAUTHORITY \ 
-p XDG_DATA_HOME \ 
-- /nix/var/nix/profiles/profile/bin/enter-phase2 daedalus

```

---

_[View the full topic](https://forum.cardano.org/t/daedalus-on-linux-iohk-statement/10542)._
