AFK-OS/una

auto update question boxes stack

Closed this issue · 2 comments

It happen to me to be away for several hours while my computer is turned on and when I return to work whit my computer i see several Question boxes of una asking to update.

It would be better if it close old boxes before creating new one.

OS : Ubuntu 22.04 LTS
Gnome version: 42.1

Thanks for your great code

With the latest update, you can edit /etc/una/config and change the value of auto_update to false and the default frequency has been decreased (1 day now).

jclsn commented

Well in my case una doesn't work anymore.

❯ sudo vim /etc/una/config
❯ una search firefox
una v3.2.0

>> creating una directory and config files

❯ sudo vim /etc/una/config
❯ una search firefox
una v3.2.0

>> creating una directory and config files
❯ una
❯ una install firefox
una v3.2.0

>> creating una directory and config files
❯ sudo una search
una v3.2.0
>> running as root can cause problems
[1]    422347 terminated  sudo una search

/etc/una/config is still empty even though it says "config has been created".