# Anki Autostart in Linux

**URL:** <https://forums.ankiweb.net/t/anki-autostart-in-linux/3724>\
**Category:** Help\
**Created:** [September 26, 2020, 5:43am UTC](https://forums.ankiweb.net/t/anki-autostart-in-linux/3724 "2020-09-26T05:43:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pynista](https://avatars.discourse-cdn.com/v4/letter/p/f04885/32.png) [@pynista](https://forums.ankiweb.net/u/pynista)\
**Post date:** [September 26, 2020, 5:43am UTC](https://forums.ankiweb.net/t/anki-autostart-in-linux/3724/1 "2020-09-26T05:43:17Z")

</div>

I want the Anki application to run with the login to my operating system (Linux Mint).

For this I use “Session and Startup” with the command “anki %f”.

However, when starting, Anki wants to import some file:  
 ![Screenshot_2020-09-26_08-41-23](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/1/15adb8eafdf92d295715cba3e89283ed1c3907e7.png)

How to fix it?

---

<div class="post-metadata">

**Author:** ![kelciour](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kelciour/32/14770_2.png) [@kelciour](https://forums.ankiweb.net/u/kelciour)\
**Post date:** [September 26, 2020, 8:41pm UTC](https://forums.ankiweb.net/t/anki-autostart-in-linux/3724/2 "2020-09-26T20:41:46Z")

</div>

Just `anki` should work and something like `anki -p "Пользователь 1"` too if you’re using multiple profiles and want to skip the Profiles screen.

![](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/4/458b2e44853dd1d2f172d81fe172157b72a93ead.png)  
For more information, please see [https://docs.ankiweb.net/#/files?id=startup-options](https://docs.ankiweb.net/#/files?id=startup-options)

---

<div class="post-metadata">

**Author:** ![pynista](https://avatars.discourse-cdn.com/v4/letter/p/f04885/32.png) [@pynista](https://forums.ankiweb.net/u/pynista)\
**Post date:** [September 28, 2020, 6:32am UTC](https://forums.ankiweb.net/t/anki-autostart-in-linux/3724/3 "2020-09-28T06:32:04Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 5:29am UTC](https://forums.ankiweb.net/t/anki-autostart-in-linux/3724/4 "2023-05-01T05:29:13Z")

</div>


