Remember last choice on installation destination #10

Open
opened 2026-05-29 01:02:43 +00:00 by orzklv · 4 comments
Owner

The default behavior is that, whenever I attempt to install software via software-center, it targets: "Foydalanuvchi (nix profile)" and the bad part is that, I have to choose "Tizim (configuration.nix)" over and over everytime I restart the program. I think storing last choice/decision at dbus and then recover it whenever user opens the program should do the trick.

The default behavior is that, whenever I attempt to install software via software-center, it targets: "Foydalanuvchi (nix profile)" and the bad part is that, I have to choose "Tizim (configuration.nix)" over and over everytime I restart the program. I think storing last choice/decision at dbus and then recover it whenever user opens the program should do the trick.
Owner

Related: xinux/settings#4

Related: https://git.oss.uzinfocom.uz/xinux/settings/issues/4
Owner

D-BUS call not needed. Just write one line of enum choise into ~/.local/state/nix-software-center/intall.ini

D-BUS call not needed. Just write one line of enum choise into `~/.local/state/nix-software-center/intall.ini`
Author
Owner

I forgot the part that the choice is resetted after every installation. For example: you pick a software, you pick system as host, install and when you open another software, it's nix-env again.

I forgot the part that the choice is resetted after every installation. For example: you pick a software, you pick system as host, install and when you open another software, it's nix-env again.
Owner

OK, I understood what you meant

OK, I understood what you meant
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
xinux/software-center#10
No description provided.