Spawn off a terminal emulator to install packages if needed#4
Spawn off a terminal emulator to install packages if needed#4davide125 merged 1 commit intoAsahiLinux:mainfrom
Conversation
|
The current implementation is a hack that just spawns off a foot terminal window. Ideally we would use the default terminal emulator of the running DE, but somewhat surprisingly there doesn't seem to be a standardized way to find out what that is... (@Conan-Kudo any ideas here?) Long term the right solution is sorting out #1 but that's going to take a while, and we need to get this fixed before f42 ships for the FEX change. |
|
Short term, you're going to have to maintain a mapping of preferred terminals to desktops and have a fallback to Longer term, we could package up |
|
|
Signed-off-by: Davide Cavalca <davide@cavalca.name>
|
Switched to use |
If we're not already inside a terminal, we need to run the package installation somewhere, otherwise it'll be completely invisible to the user.