# Disable auto-open last file

**URL:** <https://forum.csound.com/t/disable-auto-open-last-file/1095>\
**Category:** CsoundQt\
**Created:** [February 7, 2023, 8:43pm UTC](https://forum.csound.com/t/disable-auto-open-last-file/1095 "2023-02-07T20:43:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dionysis](https://forum.csound.com/user_avatar/forum.csound.com/dionysis/32/325_2.png) [@Dionysis](https://forum.csound.com/u/Dionysis)\
**Post date:** [February 7, 2023, 8:43pm UTC](https://forum.csound.com/t/disable-auto-open-last-file/1095/1 "2023-02-07T20:43:40Z")

</div>

How do I stop qt from automatically opening the last file when I open qt?  
Thank you!

---

<div class="post-metadata">

**Author:** ![eduardomoguillansky](https://forum.csound.com/user_avatar/forum.csound.com/eduardomoguillansky/32/437_2.png) [@eduardomoguillansky](https://forum.csound.com/u/eduardomoguillansky)\
**Post date:** [February 7, 2023, 11:48pm UTC](https://forum.csound.com/t/disable-auto-open-last-file/1095/2 "2023-02-07T23:48:53Z")

</div>

Uncheck “Remember open files from previous session” in Settings/Editor

 ![](https://forum.csound.com/uploads/default/original/1X/0bc4af8b61225cc0db136e2c4e27773a60dca974.png)

---

<div class="post-metadata">

**Author:** ![Dionysis](https://forum.csound.com/user_avatar/forum.csound.com/dionysis/32/325_2.png) [@Dionysis](https://forum.csound.com/u/Dionysis)\
**Post date:** [February 8, 2023, 12:16pm UTC](https://forum.csound.com/t/disable-auto-open-last-file/1095/3 "2023-02-08T12:16:48Z")

</div>

I have.  
It still tries to find the last file opened (which has since been moved).

 ![csoundqt](https://forum.csound.com/uploads/default/original/1X/0fca92812be7bd5b2ecc36e95575de06b81c9139.jpeg)

---

<div class="post-metadata">

**Author:** ![joachim](https://forum.csound.com/letter_avatar_proxy/v4/letter/j/a87d85/32.png) [@joachim](https://forum.csound.com/u/joachim)\
**Post date:** [February 8, 2023, 3:35pm UTC](https://forum.csound.com/t/disable-auto-open-last-file/1095/4 "2023-02-08T15:35:39Z")

</div>

i also have somtimes trouble with it. what you can do:

1. Help \> Reset Preferences  
this will also kill any other settings you perhaps did to customize  
csoundqt.  
if you don’t want this, you can also
2. edit your preference file manually. for linux, it is  
~/.config/csound/qutecsound.conf  
it is easy to understand, and you will find the place where your old  
files are asked to open.

joachim

---

<div class="post-metadata">

**Author:** ![Dionysis](https://forum.csound.com/user_avatar/forum.csound.com/dionysis/32/325_2.png) [@Dionysis](https://forum.csound.com/u/Dionysis)\
**Post date:** [February 8, 2023, 4:20pm UTC](https://forum.csound.com/t/disable-auto-open-last-file/1095/5 "2023-02-08T16:20:13Z")

</div>

That worked, yes!
